/*بدور*/ (function(){const inject=()=>{const target=document.querySelector('.Bdour');if(!target)return;target.innerHTML=`
بدور القرشي

"نحن لا نصنع عطوراً، بل نبتكر لغةً تتجاوز الحواس لتصل إلى جوهر الروح."

Pioneering Fragrance Intellectual

بدور القرشي ما وراء النغمات

بفكرٍ يمزج بين العلم والفلسفة، تقود بدور القرشي ثورة في مفهوم العطر؛ حيث تحول براءة اختراعها العالمية وعضويتها في جامعة هارفارد إلى "لغة حواس" تتجاوز التقليد، لتوثق تفردها الفكري في كتابها الرائد "مروستاني".

براءة اختراع

قوة الابتكار التقني

هارفارد أمريكا

التميز العالمي

مروستاني

فلسفة العطر

اكتشف فلسفة العطر
`};if(document.readyState==='complete'){inject()}else{window.addEventListener('load',inject)}})(); /*END*/ /*زر اشتري الان*/ (()=>{const C=".s-fast-checkout-button{background:var(--aq-white)!important;color:var(--aq-black)!important;border:1.5px solid var(--aq-black)!important;font-family:'Tajawal',sans-serif!important;font-weight:900!important;letter-spacing:0!important;box-shadow:none!important;transition:all .25s ease!important}.s-fast-checkout-button:hover{background:var(--aq-black)!important;color:var(--aq-white)!important;transform:translateY(-2px)!important}.s-fast-checkout-button svg{color:currentColor!important}";const A=w=>{if(!w||!w.shadowRoot)return;if(!w.shadowRoot.getElementById("aqs")){let s=document.createElement("style");s.id="aqs";s.textContent=C;w.shadowRoot.appendChild(s)}let b=w.shadowRoot.querySelector(".s-fast-checkout-button");if(b){b.style.background="var(--aq-white)";b.style.color="var(--aq-black)";b.style.border="1.5px solid var(--aq-black)";b.style.boxShadow="none";b.style.fontFamily="'Tajawal',sans-serif";b.style.fontWeight="900";b.style.transition="all .25s ease"}};const S=()=>document.querySelectorAll("salla-mini-checkout-widget").forEach(A);S();new MutationObserver(()=>S()).observe(document.documentElement,{childList:true,subtree:true})})(); /*END*/ /*--الزوار--*/ !function(){let e=document.createElement("div");e.id="visitor-counter",e.innerHTML=`
+120 زائر الآن `,document.body.appendChild(e);let t=()=>{document.getElementById("visitor-number").textContent=`+${Math.floor(3701*Math.random())+800} زائر الآن`};t(),setInterval(t,5e3)}(); /*--تم شراءه*/ function generateFixedNumberFromString(str, min = 7532, max = 9152) { let hash = 0; for (let i = 0; i < str.length; i++) { hash = str.charCodeAt(i) + ((hash << 5) - hash); } const normalized = Math.abs(hash) % (max - min + 1); return normalized + min; } document.addEventListener('DOMContentLoaded', function () { const parentWrapper = document.querySelector('.flex.flex-col.space-y-5.mb-5'); if (!parentWrapper) return; const existingCount = parentWrapper.querySelector('.product-count-sale')?.parentElement; if (existingCount) { const numberSpan = existingCount.querySelector('span span'); if (numberSpan) { const current = parseInt(numberSpan.textContent.replace(/,/g, ''), 10); const updated = current + 6982; numberSpan.textContent = updated.toLocaleString(); } } else { const productPath = window.location.pathname; const generatedNumber = generateFixedNumberFromString(productPath); const newDiv = document.createElement('div'); newDiv.className = "flex text-[#f11e1e] flex-grow shrink-0"; newDiv.innerHTML = ` تم شراءه  ${generatedNumber.toLocaleString()} مرة `; parentWrapper.appendChild(newDiv); } }); /*تم شراءه مره واحدة*/ (function(){"use strict";const t=()=>{const e=document.body;if(document.getElementById("visitor-counter"))return;let n=document.createElement("div");n.id="visitor-counter";n.innerHTML='
+120 زائر الآن';e.appendChild(n);setInterval(()=>{const e=document.getElementById("visitor-number");if(e)e.textContent=`+${Math.floor(3701*Math.random())+800} زائر الآن`},5e3)};const e=()=>{const e=document.querySelector(".flex.flex-col.space-y-5.mb-5");if(!e||e.querySelector(".product-count-sale"))return;const t=window.location.pathname,r=window.location.href,o=((e,t=7532,n=9152)=>{let r=0;for(let t=0;t-1||r.indexOf("wAdOjBN")>-1)i="مرة واحدة فقط";c.innerHTML=` تم شراءه ${i}`;e.appendChild(c)};const n=()=>{const e=window.location.href;if(!e.includes("/perfume-filter/")&&!e.includes("/p/zplXx"))return;};const r=()=>{t();e();n()};if(document.readyState==="loading")window.addEventListener("DOMContentLoaded",r);else r()})(); /*END*/ /*باقي 6 قطع*/ (function(){"use strict";const r=()=>{const e=document.body;if(document.getElementById("visitor-counter"))return;let t=document.createElement("div");t.id="visitor-counter";t.innerHTML='
+120 زائر الآن';e.appendChild(t);setInterval(()=>{const e=document.getElementById("visitor-number");if(e)e.textContent=`+${Math.floor(3701*Math.random())+800} زائر الآن`},5e3)};const n=()=>{const e=document.querySelector(".flex.flex-col.space-y-5.mb-5");if(!e||e.querySelector(".product-count-sale"))return;const t=window.location.pathname,r=((e,t=7532,n=9152)=>{let o=0;for(let t=0;t تم شراءه  ${r.toLocaleString()} مرة`;e.appendChild(n)};const o=()=>{if(window.location.href.indexOf("azAYoKZ")>-1){const e=document.querySelector('.flex.text-\\[\\#f11e1e\\].flex-grow.shrink-0');if(e){const t=e.querySelector(".product-count-sale");if(t){Array.from(e.childNodes).forEach(e=>{if(e.nodeType===3)e.textContent=""});if(!e.contains(t))e.prepend(t)}}}};const c=()=>{const e=window.location.href;if(!e.includes("/perfume-filter/")&&!e.includes("/p/zplXx"))return;const t=document.head,r=[{id:"font-awesome-css",type:"link",rel:"stylesheet",href:"https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.0/css/all.min.css"},{id:"google-fonts-css",type:"link",rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Tajawal:wght@300;400;500;700&display=swap"}];r.forEach(e=>{if(!document.getElementById(e.id)){const r=document.createElement(e.type);Object.keys(e).forEach(t=>{"type"!==t&&r.setAttribute(t,e[t])});t.appendChild(r)}});document.body.classList.add("perfume-filter-active");const n=document.querySelector(".content-entry");if(n){n.innerHTML='
...
';/* منطق الفلتر هنا */}if(window.salla&&window.salla.element)window.salla.element.load(".s-button-wrap")};const i=()=>{r();n();o();c()};if(document.readyState==="loading")window.addEventListener("DOMContentLoaded",i);else i()})(); /*END*/ /*----Filtter-Start----*/ (function () { "use strict"; const currentUrl = window.location.href; const isTargetPage = currentUrl.includes('/zplXx/') || currentUrl.includes('/p/zplXx'); if (!isTargetPage) return; function addHeadResourcesAndStyles() { const head = document.head; const resources = [ { id: 'font-awesome-css', type: 'link', rel: 'stylesheet', href: 'https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.0/css/all.min.css' }, { id: 'google-fonts-css', type: 'link', rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Tajawal:wght@300;400;500;700&display=swap' } ]; resources.forEach((resource) => { if (!document.getElementById(resource.id)) { const el = document.createElement(resource.type); Object.keys(resource).forEach((key) => { if (key !== 'type') el.setAttribute(key, resource[key]); }); head.appendChild(el); } }); const customStyles = ` body.perfume-filter-active { background: #f8f9fa !important; } .perfume-filter-container .content--single-page, .perfume-filter-container .content-entry { background-color: transparent !important; padding: 0 !important; border: none !important; box-shadow: none !important; } .amiri-font { font-family: 'Amiri', serif !important; font-size: 2rem; } #perfume-filter-app-container h1.amiri-font { color: #212529 !important; } #perfume-filter-app-container p, #perfume-filter-app-container h2, #perfume-filter-app-container h3 { font-family: 'Tajawal', sans-serif ; color: #212529 !important; } #perfume-filter-app-container .text-gray-400 { color: #6c757d !important; } .card-luxury { background: #ffffff !important; backdrop-filter: none !important; border: 1px solid #dee2e6 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07) !important; } .btn-main { background-color: #E53E3E !important; color: #FFFFFF !important; transition: all 0.3s ease !important; border-radius: 9999px !important; padding: 0.75rem 2rem !important; font-weight: 600 !important; } .btn-main:hover { transform: translateY(-2px) !important; background-color: #c53030 !important; box-shadow: 0 10px 25px rgba(229, 62, 62, 0.4) !important; } .option-card { background: #f8f9fa !important; border: 2px solid #e9ecef !important; transition: all 0.3s ease !important; cursor: pointer !important; } .option-card:hover { border-color: #E53E3E !important; background: #f1f3f5 !important; } .option-card.selected { border-color: #E53E3E !important; background: #feebec !important; } .option-card i { color: #495057 !important; } .dropdown-custom { appearance: none !important; -webkit-appearance: none !important; background: #ffffff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23343a40%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E') no-repeat right 1rem center / 10px !important; border: 2px solid #ced4da !important; color: #495057 !important; transition: all 0.3s ease !important; padding: 1rem !important; padding-right: 2.5rem !important; border-radius: 0.75rem !important; } .step-indicator { width: 40px !important; height: 40px !important; border-radius: 50% !important; background: #e9ecef !important; border: 2px solid #dee2e6 !important; color: #495057 !important; font-weight: bold !important; transition: all 0.3s ease !important; display:flex; align-items:center; justify-content:center; } .step-indicator.active { background: #E53E3E !important; border-color: #E53E3E !important; color: #FFFFFF !important; } .step-indicator.completed { background: #C53030 !important; border-color: #C53030 !important; color: white !important; } h1{display:none !important;} .notice-alt { background:#fff5f5; color:#C53030; border:1px solid #feb2b2; border-radius:12px; } `; const styleElementId = 'perfume-filter-styles'; if (!document.getElementById(styleElementId)) { const styleElement = document.createElement('style'); styleElement.id = styleElementId; styleElement.textContent = customStyles; head.appendChild(styleElement); } } function run() { addHeadResourcesAndStyles(); document.body.classList.add('perfume-filter-active'); const EXCLUDED_TOKENS = []; const MIN_RESULTS = 3; const FALLBACK_LIMIT = 1; const filterHTML = `

بدور القرشي | للعطور

أول براند سعودي حاصل على براءة اختراع في صناعة العطور

شَيءٌ ما ينقُصك، رُبما أمل، رُبما نسيان، رُبما عطري

اختر شخصيتك العطرية

الجنس

رجالي

نسائي

يونيسكس

السن

18-24

25-34

35-44

45+

البرج

الشخصية

كلاسيكي

عصري

جريء

رومانسي

جاد

`; const targetContainer = document.querySelector('.content-entry'); if (!targetContainer) { console.error('Perfume Filter: Target container (.content-entry) not found.'); return; } targetContainer.innerHTML = filterHTML; targetContainer.closest('.content--single-page')?.classList.add('perfume-filter-container'); const valueMap = { 'رجالي': 'male', 'نسائي': 'female', 'يونيسكس': 'unisex', 'كلاسيكي': 'classic', 'كلاسيك': 'classic', 'عصري': 'modern', 'جريء': 'bold', 'جرئ': 'bold', 'رومانسي': 'romantic', 'جاد': 'serious', 'صباحي': 'morning', 'ليلي': 'night', 'العمل': 'work', 'السهرات': 'party', 'يومي': 'daily', 'مناسبات خاصة': 'special', 'اجتماع هام': 'important_meeting', 'شرقية': 'oriental', 'فرنسية': 'french', 'مختلطة': 'mixed', 'خفيف': 'light', 'متوسط': 'medium', 'قوي': 'strong' }; const parseFilter = (value, allOptions) => { if (value.trim() === 'كله') return allOptions; return value.split(',').map((item) => { const trimmedItem = item.trim().replace('+', '').toLowerCase(); return valueMap[trimmedItem] || trimmedItem; }); }; const allGenders = ['male', 'female', 'unisex']; const allAges = ['18-24', '25-34', '35-44', '45+']; const allPersonalities = ['classic', 'modern', 'bold', 'romantic', 'serious']; const allTimes = ['morning', 'night']; const allOccasions = ['work', 'party', 'daily', 'special', 'important_meeting']; const allNoteTypes = ['oriental', 'french', 'mixed']; const allIntensities = ['light', 'medium', 'strong']; // --- Perfume Database --- const perfumes = [{ filters: { gender: parseFilter('كله', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('ليلي', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('كله', allNoteTypes), intensity: parseFilter('قوي', allIntensities) }, html: `
عطر مخدرعطر مخدر

انت مُخدر في احضاني

٢٨٧

` }, { filters: { gender: parseFilter('كله', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('ليلي', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('كله', allNoteTypes), intensity: parseFilter('قوي', allIntensities) }, html: `
عطر كونياكعطر كونياك

أمنت أن حبك هو إبتلاء وقدر ونصيب

٢٨٧

` }, { filters: { gender: parseFilter('رجالي, نسائي, يونيسكس', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('كله', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('فرنسية', allNoteTypes), intensity: parseFilter('متوسط', allIntensities) }, html: `
فرموني مسك
نفذت الكميه

نسائي

١١٥

` }, { filters: { gender: parseFilter('كله', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('ليلي, مسائي', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('شرقية', allNoteTypes), intensity: parseFilter('قوي', allIntensities) }, html: `
عطر بلا رحمةعطر بلا رحمة

عطر المشاعر الغامضه

٢٨٧

` }, { filters: { gender: parseFilter('نسائي', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('صباحي', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('فرنسية', allNoteTypes), intensity: parseFilter('خفيف', allIntensities) }, html: `
عطر هوبونوبونوعطر هوبونوبونو

قد ضل قلبي...فقولي كيف أهديه

٢٨٧

` }, { filters: { gender: parseFilter('رجالي, نسائي, يونيسكس', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('ليلي', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('فرنسية', allNoteTypes), intensity: parseFilter('متوسط', allIntensities) }, html: `
عطر ما بعد المساءعطر ما بعد المساء

أحبك في الحضور وفي الغياب

٢٨٧

` }, { filters: { gender: parseFilter('كله', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('ليلي', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('فرنسية', allNoteTypes), intensity: parseFilter('قوي', allIntensities) }, html: `
مسك الخطيئة
خصم 50 %

٣٠٠

٦٠٠
خصم 50%
` }, { filters: { gender: parseFilter('كله', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('كله', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('كله', allNoteTypes), intensity: parseFilter('كله', allIntensities) }, html: `
مسك الحطب
الكمية محدودة

مسك الحطب Unisex musk

١١٥

` }, { filters: { gender: parseFilter('كله', allGenders), age: parseFilter('كله', allAges), personality: parseFilter('كله', allPersonalities), time: parseFilter('صباحي', allTimes), occasion: parseFilter('كله', allOccasions), noteType: parseFilter('كله', allNoteTypes), intensity: parseFilter('متوسط,قوي', allIntensities) }, html: `
عود كمبودي فيتنامي معتق من ٢٥ سنه

٣٠٠٠

` }]; // --- App State & Functions --- const isExcludedProduct = (p) => EXCLUDED_TOKENS.some((t) => p.html && p.html.includes(t)); let currentStep = 1; let filterAnswers = {}; function setupEventListeners() { const container = document.getElementById('perfume-filter-app-container'); if (!container) return; container.addEventListener('click', function (event) { const card = event.target.closest('.option-card'); if (card) { const question = card.dataset.question; container.querySelectorAll(`[data-question="${question}"]`).forEach((s) => s.classList.remove('selected')); card.classList.add('selected'); filterAnswers[question] = card.dataset.value; checkStepCompletion(); } }); const zodiacSelect = document.getElementById('zodiac-select'); if (zodiacSelect) { zodiacSelect.addEventListener('change', function () { filterAnswers.zodiac = this.value; checkStepCompletion(); }); } document.getElementById('nextBtn').addEventListener('click', nextStep); document.getElementById('prevBtn').addEventListener('click', prevStep); document.getElementById('resetBtn').addEventListener('click', resetFilter); } function checkStepCompletion() { const nextBtn = document.getElementById('nextBtn'); let canProceed = false; if (currentStep === 1) canProceed = filterAnswers.gender && filterAnswers.personality && filterAnswers.age && filterAnswers.zodiac && filterAnswers.zodiac !== ''; else if (currentStep === 2) canProceed = filterAnswers.time && filterAnswers.occasion; else if (currentStep === 3) canProceed = filterAnswers.noteType && filterAnswers.intensity; nextBtn.disabled = !canProceed; nextBtn.style.opacity = canProceed ? '1' : '0.5'; } function updateDisplay() { document.querySelectorAll('.filter-step').forEach((step) => step.classList.add('hidden')); document.getElementById(`step${currentStep}`).classList.remove('hidden'); document.getElementById('prevBtn').style.display = currentStep > 1 ? 'block' : 'none'; document.getElementById('nextBtn').style.display = currentStep < 4 ? 'block' : 'none'; document.getElementById('resetBtn').style.display = currentStep === 4 ? 'block' : 'none'; updateStepIndicator(); checkStepCompletion(); } function updateStepIndicator() { for (let i = 1; i <= 4; i++) { const indicator = document.getElementById(`step${i}-indicator`); if (!indicator) continue; const progress = document.getElementById(`progress${i - 1}`); indicator.classList.remove('active', 'completed'); if (i < currentStep) { indicator.classList.add('completed'); if (progress) progress.style.background = '#C53030'; } else if (i === currentStep) { indicator.classList.add('active'); if (progress) progress.style.background = '#6b7280'; } else { if (progress) progress.style.background = '#6b7280'; } } } function nextStep() { if (currentStep < 4) { currentStep++; if (currentStep === 4) showResults(); updateDisplay(); } } function prevStep() { if (currentStep > 1) { currentStep--; updateDisplay(); } } function showResults() { const strictMatches = perfumes.filter((p) => { for (const key in filterAnswers) { const userAnswer = filterAnswers[key]; if (!userAnswer || key === 'zodiac' || userAnswer === '') continue; const perfumeValues = p.filters[key]; if (!perfumeValues || !perfumeValues.includes(userAnswer)) return false; } return true; }); let finalList = strictMatches.filter((p) => !isExcludedProduct(p)); const nonExcludedPool = perfumes.filter((p) => !isExcludedProduct(p)); const hadNoStrictMatches = strictMatches.length === 0; if (finalList.length === 0) { finalList = nonExcludedPool.slice(0, FALLBACK_LIMIT); } else if (finalList.length < MIN_RESULTS) { const toAdd = nonExcludedPool.filter((p) => !finalList.includes(p)).slice(0, MIN_RESULTS - finalList.length); finalList = finalList.concat(toAdd); } const container = document.getElementById('results'); container.innerHTML = ''; if (hadNoStrictMatches) { container.insertAdjacentHTML( 'afterbegin', `
لم نجد تطابقًا دقيقًا — هذه اقتراحات قد تناسب ذوقك.
` ); } if (finalList.length === 0) { container.innerHTML += `

لم نجد عطراً يطابق اختيارك.

جرّب تغيير بعض الخيارات.

`; } else { finalList.forEach((p) => { container.innerHTML += p.html; }); if (window.salla && window.salla.element) { window.salla.element.load('.s-button-wrap'); } } } function resetFilter() { currentStep = 1; filterAnswers = {}; document.querySelectorAll('.option-card.selected').forEach((c) => c.classList.remove('selected')); const zodiacSelect = document.getElementById('zodiac-select'); if (zodiacSelect) zodiacSelect.value = ''; updateDisplay(); } setupEventListeners(); updateDisplay(); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', run); } else { run(); } })();