(function () { var htmlEN = `

Contact Us

At Potion V, we believe that true beauty begins with care. Our water-based nail polish Gives.

`; var htmlAR = `

تواصل معنا

في PotionV، نؤمن أن الجمال الحقيقي يبدأ بالعناية. طلاء الأظافر المائي الخاص بنا يمنحكِ الجمال مع العناية والأمان في آنٍ واحد.

`; var lang = 'ar'; try { if (typeof Salla !== 'undefined' && Salla.config && Salla.config.get) { lang = Salla.config.get('lang') || lang; } else if (document.documentElement.lang) { lang = document.documentElement.lang; } else { var p = window.location.pathname.split('/')[1]; if (p === 'ar' || p === 'en') lang = p; } } catch (e) {} var isArabic = lang.startsWith('ar'); var wrapper = document.createElement('div'); wrapper.innerHTML = isArabic ? htmlAR : htmlEN; var newSection = wrapper.firstElementChild; var footer = document.querySelector('footer.store-footer'); if (footer && footer.parentNode) { footer.parentNode.insertBefore(newSection, footer); } else { document.body.appendChild(newSection); } })(); (function () { var isProductIndex = document.body.classList.contains('product-index'); var pageTitle = document.getElementById('page-main-title'); if (!isProductIndex || !pageTitle) return; var titleText = pageTitle.textContent.trim().toLowerCase(); var isShopEN = titleText.indexOf('shop') !== -1; var isShopAR = titleText.indexOf('المتجر') !== -1; if (!isShopEN && !isShopAR) return; var isRTL = document.documentElement.classList.contains('rtl') || document.body.classList.contains('rtl') || document.documentElement.getAttribute('dir') === 'rtl' || document.body.getAttribute('dir') === 'rtl'; var label = isRTL ? 'المتجر' : 'Shop'; var section = document.createElement('section'); section.className = 'potion-shop-hero'; Object.assign(section.style, { position: 'relative', width: '100%', minHeight: '25rem', display: 'flex', alignItems: 'center', overflow: 'hidden', backgroundImage: 'url(https://cdn.files.salla.network/homepage/1848859324/dee34a61-ed99-4b19-ace4-986d973d62d8.webp)', backgroundSize: 'cover', backgroundPosition: 'center', backgroundRepeat: 'no-repeat', }); var overlay = document.createElement('div'); Object.assign(overlay.style, { position: 'absolute', inset: '0', backgroundImage: 'linear-gradient(140deg, #000000 0%, #C8B3D9 60%)', opacity: '0.83', zIndex: '0', }); var headingContainer = document.createElement('div'); headingContainer.className = 'container'; var heading = document.createElement('h2'); heading.textContent = label; Object.assign(heading.style, { position: 'relative', zIndex: '1', color: '#ffffff', fontWeight: '700', fontSize: 'clamp(1.8rem, 4vw, 3rem)', fontStyle: 'italic', margin: '0', padding: 'clamp(1rem, 4vw, 2rem) 0', }); headingContainer.appendChild(heading); section.appendChild(overlay); section.appendChild(headingContainer); var header = document.querySelector('header'); if (!header) return; header.parentNode.insertBefore(section, header.nextSibling); })(); (function () { var isProductIndex = document.body.classList.contains('product-index'); var pageTitle = document.getElementById('page-main-title'); if (!isProductIndex || !pageTitle) return; var titleText = pageTitle.textContent.trim().toLowerCase(); var isShopEN = titleText.indexOf('little fingers') !== -1; var isShopAR = titleText.indexOf('الأنامل الصغيرة') !== -1; if (!isShopEN && !isShopAR) return; var isRTL = document.documentElement.classList.contains('rtl') || document.body.classList.contains('rtl') || document.documentElement.getAttribute('dir') === 'rtl' || document.body.getAttribute('dir') === 'rtl'; var hero = document.createElement('section'); Object.assign(hero.style, { position: 'relative', width: '100%', minHeight: '25rem', display: 'flex', alignItems: 'center', overflow: 'hidden', backgroundImage: 'url(https://cdn.files.salla.network/homepage/1848859324/6bc76cd8-8c54-4259-9742-51d959367860.webp)', backgroundSize: 'cover', backgroundPosition: 'center', backgroundRepeat: 'no-repeat', }); var heroOverlay = document.createElement('div'); Object.assign(heroOverlay.style, { position: 'absolute', inset: '0', backgroundImage: 'linear-gradient(140deg, #000000 0%, #C8B3D9 60%)', opacity: '0.83', zIndex: '0', }); var heroContainer = document.createElement('div'); heroContainer.className = 'container'; var heading = document.createElement('h2'); heading.innerHTML = isRTL ? 'آمن للصغار
لطيف على أناملهم ..' : 'Safe for little ones
Gentle On Their skin ..'; Object.assign(heading.style, { position: 'relative', zIndex: '1', color: '#fff', fontWeight: '700', fontSize: 'clamp(1.8rem, 4vw, 3rem)', fontStyle: 'italic', margin: '0', padding: 'clamp(1rem, 4vw, 2rem) 0', lineHeight: '3.5rem' }); heroContainer.appendChild(heading); hero.appendChild(heroOverlay); hero.appendChild(heroContainer); var features = document.createElement('section'); Object.assign(features.style, { width: '100%', padding: '80px 0', backgroundImage: 'url(https://wp.potionv.com/wp-content/uploads/2026/02/PotionV-5.jpg.jpeg)', backgroundSize: 'cover', backgroundPosition: 'center', backgroundRepeat: 'no-repeat', position: 'relative' }); var container = document.createElement('div'); container.className = 'container'; Object.assign(container.style, { position: 'relative', zIndex: '1', display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', minHeight: '32rem', textAlign: 'center' }); var data = isRTL ? [ { img: 'https://wp.potionv.com/wp-content/uploads/2026/02/detail01.png', text: 'مصمم للأيدي الصغيرة، آمن للاستخدام' }, { img: 'https://wp.potionv.com/wp-content/uploads/2026/02/detail02.png', text: 'لطيف على بشرة الأطفال' }, { img: 'https://wp.potionv.com/wp-content/uploads/2026/02/detail3.png', text: 'ألوان مصممة للعب الآمن' } ] : [ { img: 'https://wp.potionv.com/wp-content/uploads/2026/02/detail01.png', text: 'Made for little hands, used safely' }, { img: 'https://wp.potionv.com/wp-content/uploads/2026/02/detail02.png', text: 'Gentle on young skin' }, { img: 'https://wp.potionv.com/wp-content/uploads/2026/02/detail3.png', text: 'Colors made for safe play' } ]; data.forEach(function (item, index) { var box = document.createElement('div'); box.className = 'feature-card-' + (index + 1); Object.assign(box.style, { display: 'flex', flexDirection: 'column', alignItems: 'center', padding: '20px' }); var img = document.createElement('img'); img.src = item.img; Object.assign(img.style, { width: 'min(500px, 100%)', height: 'auto', objectFit: 'contain' }); var text = document.createElement('h3'); text.textContent = item.text; Object.assign(text.style, { marginTop: '15px', fontSize: '30px', color: '#807D94', fontWeight: '600' }); box.appendChild(img); box.appendChild(text); container.appendChild(box); }); features.appendChild(container); var header = document.querySelector('header'); if (!header) return; header.parentNode.insertBefore(hero, header.nextSibling); hero.parentNode.insertBefore(features, hero.nextSibling); })(); (function () { var isProductIndex = document.body.classList.contains('product-index'); var pageTitle = document.getElementById('page-main-title'); if (!isProductIndex || !pageTitle) return; var titleText = pageTitle.textContent.trim().toLowerCase(); var isShopEN = titleText.indexOf('little fingers') !== -1; var isShopAR = titleText.indexOf('الأنامل الصغيرة') !== -1; if (!isShopEN && !isShopAR) return; var isRTL = document.documentElement.classList.contains('rtl') || document.body.classList.contains('rtl') || document.documentElement.getAttribute('dir') === 'rtl' || document.body.getAttribute('dir') === 'rtl'; var contactSection = document.querySelector('.potion-contact-sec'); if (!contactSection) return; var section = document.createElement('section'); Object.assign(section.style, { padding: '100px 0', backgroundColor: '#f4f3f8', backgroundSize: 'cover', backgroundPosition: 'center', backgroundRepeat: 'no-repeat' }); var container = document.createElement('div'); container.className = 'container'; var main = document.createElement('div'); Object.assign(main.style, { display: 'flex', alignItems: 'center', gap: '60px', flexWrap: 'wrap' }); var imageWrap = document.createElement('div'); Object.assign(imageWrap.style, { flex: '1 1 400px', textAlign: 'center' }); var img = document.createElement('img'); img.src = 'https://wp.potionv.com/wp-content/uploads/2026/02/Kadi-6-600x600.jpg'; Object.assign(img.style, { width: '100%', maxWidth: '600px', height: 'auto', objectFit: 'contain' }); imageWrap.appendChild(img); var textWrap = document.createElement('div'); Object.assign(textWrap.style, { flex: '1 1 600px', display: 'flex', flexDirection: 'column', gap: '40px' }); var title = document.createElement('h2'); title.innerHTML = isRTL ? 'مصمم من أجل لحظات آمنة للأطفال..' : 'Designed for Safe Little Moments..'; Object.assign(title.style, { fontSize: 'clamp(22px, 2.2vw, 28px)', fontWeight: '700', margin: '0', color: '#5F5F5F' }); var grid = document.createElement('div'); Object.assign(grid.style, { display: 'grid', gridTemplateColumns: '1fr 1fr', gap: '40px' }); var left = [ isRTL ? '62٪ مائي' : '62 % Water Based', isRTL ? 'غير كيميائي' : 'Non Chemical', isRTL ? 'لم يختبر على الحيوانات' : 'Cruelty Free' ]; var right = [ isRTL ? 'غير سام' : 'Non Toxic', isRTL ? 'صديق للبيئة' : 'Eco friendly', isRTL ? 'رائحة خفيفة' : 'Light Scented' ]; function makeList(items) { var box = document.createElement('div'); Object.assign(box.style, { display: 'flex', flexDirection: 'column', gap: '18px' }); items.forEach(function (t) { var row = document.createElement('div'); Object.assign(row.style, { display: 'flex', alignItems: 'center', gap: '10px', fontSize: '22px', color: '#555', fontWeight: '600' }); var icon = document.createElement('span'); icon.textContent = '★'; icon.style.color = '#FCD488'; var text = document.createElement('span'); text.textContent = t; row.appendChild(icon); row.appendChild(text); box.appendChild(row); }); return box; } grid.appendChild(makeList(left)); grid.appendChild(makeList(right)); var center = document.createElement('div'); Object.assign(center.style, { marginTop: '-15px', display: 'flex', alignItems: 'center', gap: '10px', fontSize: '22px', justifyContent: "center", color: '#555', fontWeight: '600' }); var centerIcon = document.createElement('span'); centerIcon.textContent = '★'; centerIcon.style.color = '#FCD488'; var centerText = document.createElement('span'); centerText.textContent = isRTL ? 'آمن لجميع أنواع البشرة' : 'Safe for all skin'; center.appendChild(centerIcon); center.appendChild(centerText); textWrap.appendChild(title); textWrap.appendChild(grid); textWrap.appendChild(center); main.appendChild(imageWrap); main.appendChild(textWrap); container.appendChild(main); section.appendChild(container); contactSection.parentNode.insertBefore(section, contactSection); })(); // (function () { // var isProductIndex = document.body.classList.contains('product-index'); // var pageTitle = document.getElementById('page-main-title'); // if (!isProductIndex || !pageTitle) return; // var titleText = pageTitle.textContent.trim().toLowerCase(); // var isShopEN = titleText.indexOf('little fingers') !== -1; // var isShopAR = titleText.indexOf('الأنامل الصغيرة') !== -1; // if (!isShopEN && !isShopAR) return; // var firstBlock = document.querySelector('.main-content > div'); // if (!firstBlock) return; // firstBlock.style.display = 'none'; // var breadcrumbs = document.querySelector('.breadcrumbs'); // if (breadcrumbs) { // breadcrumbs.style.display = 'none'; // } // var section = document.createElement('section'); // Object.assign(section.style, { // padding: '80px 0', // background: '#fff', // textAlign: isShopAR ? 'right' : 'left', // direction: isShopAR ? 'rtl' : 'ltr' // }); // var container = document.createElement('div'); // container.className = 'container'; // var title = document.createElement('h2'); // if (isShopAR) { // title.innerHTML = ` // متجر // الأنامل الصغيرة .. // `; // } else { // title.innerHTML = ` // Our // Fingers Store .. // `; // } // Object.assign(title.style, { // fontSize: '36px', // fontWeight: '700', // marginBottom: '20px' // }); // var desc = document.createElement('p'); // desc.textContent = isShopAR // ? 'جرعتك اليومية من الأناقة والجمال..' // : 'Your Daily potions of Glamour..'; // Object.assign(desc.style, { // fontSize: '25px', // color: '#1a1a1a', // maxWidth: '700px', // lineHeight: '1.6' // }); // container.appendChild(title); // container.appendChild(desc); // section.appendChild(container); // firstBlock.parentNode.insertBefore(section, firstBlock); // })(); (function () { var isProductIndex = document.body.classList.contains('product-index'); var pageTitle = document.getElementById('page-main-title'); if (!isProductIndex || !pageTitle) return; var titleText = pageTitle.textContent.trim().toLowerCase(); var isShopEN = titleText.indexOf('little fingers') !== -1; var isShopAR = titleText.indexOf('الأنامل الصغيرة') !== -1; if (!isShopEN && !isShopAR) return; var isRTL = document.documentElement.classList.contains('rtl') || document.body.classList.contains('rtl') || document.documentElement.getAttribute('dir') === 'rtl' || document.body.getAttribute('dir') === 'rtl'; var firstBlock = document.querySelector('.main-content > div'); if (!firstBlock) return; firstBlock.style.display = 'none'; var breadcrumbs = document.querySelector('.breadcrumbs'); if (breadcrumbs) { breadcrumbs.style.display = 'none'; } var section = document.createElement('section'); Object.assign(section.style, { padding: '80px 0', background: '#fff', textAlign: isRTL ? 'right' : 'left', direction: isRTL ? 'rtl' : 'ltr' }); var container = document.createElement('div'); container.className = 'container'; var title = document.createElement('h2'); title.innerHTML = isRTL ? ` متجر الأنامل الصغيرة .. ` : ` Our Little Fingers Store .. `; Object.assign(title.style, { fontSize: '36px', fontWeight: '700', marginBottom: '20px' }); var desc = document.createElement('p'); desc.textContent = isRTL ? 'جرعتك اليومية من الأناقة والجمال..' : 'Your Daily potions of Glamour..'; Object.assign(desc.style, { fontSize: '25px', color: '#1a1a1a', maxWidth: '700px', lineHeight: '1.6' }); container.appendChild(title); container.appendChild(desc); section.appendChild(container); firstBlock.parentNode.insertBefore(section, firstBlock); })(); // ------ (function () { var productPage = document.getElementById('product-657366767'); var breadcrumbs = document.querySelector('nav.breadcrumbs'); if (!productPage || !breadcrumbs) return; var isRTL = document.documentElement.classList.contains('rtl') || document.body.classList.contains('rtl') || document.documentElement.getAttribute('dir') === 'rtl' || document.body.getAttribute('dir') === 'rtl'; breadcrumbs.innerHTML = ''; var style = document.createElement('style'); style.innerHTML = ` .content--single-page{ padding-top:0 !important; margin-top:0 !important; } .custom-grow-wrapper{ width:100%; } .custom-grow-hero{ background-image:url(https://wp.potionv.com/wp-content/uploads/2026/03/1066618e2c5aabffc7ee0fdd9bb65029.jpg); background-position:center; background-repeat:no-repeat; background-size:cover; min-height:25rem; display:flex; align-items:center; position:relative; isolation:isolate; overflow:hidden; width:100vw; margin-inline:calc(50% - 50vw); padding-inline:clamp(1.5rem, calc(50vw - var(--container-width, 600px) / 2), 16rem); padding-block:2rem; } .custom-grow-hero::before{ content:""; position:absolute; inset:0; background-image:linear-gradient(140deg, #000000 0%, #C8B3D9 60%); opacity:.83; z-index:-1; } .custom-grow-hero h1{ color:#fff; font-size:clamp(2rem, 5vw, 50px); font-weight:500; margin:0; line-height:1.4; } .potion-split-section{ padding:4rem 0; } .potion-flex{ display:flex; gap:40px; align-items:center; } .potion-col{ flex:1; } .potion-image{ position:relative; width:100%; aspect-ratio:1/1; overflow:hidden; } .potion-image img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:25px; } .potion-title{ font-size:clamp(2rem,3vw,3rem); font-weight:700; margin-bottom:20px; color:#5f5f5f; } .potion-title span{ color:#C8B3D9; } .potion-desc{ font-size:18px; line-height:1.9; color:#5f5f5f; margin-bottom:25px; } .potion-btn{ display:inline-flex; align-items:center; justify-content:center; padding:14px 30px; border-radius:999px; text-decoration:none; transition:.3s ease; font-weight:600; } .potion-btn-dark{ background:#000; color:#fff; } .potion-btn-outline{ border:2px solid #cbb9da; color:#c7b3d8; background:transparent; } .potion-split-section-magic{ position:relative; padding:4rem 0; overflow:hidden; } .potion-split-section-magic::before{ content:""; position:absolute; inset:0; background-image:url("https://cdn.files.salla.network/homepage/1848859324/f012be3a-7101-4ccd-8118-92abbd6704ca.webp"); background-size:cover; background-position:center; background-repeat:no-repeat; z-index:0; } .potion-split-section-magic .container{ position:relative; z-index:1; } @media(max-width:768px){ .potion-flex{ flex-direction:column; } .custom-grow-hero{ min-height:18rem; } .potion-title{ font-size:2rem; } .potion-desc{ font-size:16px; } } `; document.head.appendChild(style); var wrapper = document.createElement('div'); wrapper.className = 'custom-grow-wrapper'; var hero = document.createElement('section'); hero.className = 'custom-grow-hero'; var heroTitle = document.createElement('h1'); heroTitle.innerHTML = isRTL ? 'ازرع سحرك..' : 'Grow your magic ..'; hero.appendChild(heroTitle); var sectionOne = document.createElement('section'); sectionOne.className = 'potion-split-section'; sectionOne.innerHTML = `

${isRTL ? 'راقبيها وهي تنمو..' : 'Watch it Grow'}

${isRTL ? 'تبدأ قصة سحرية تحت التربة، حيث تخبّئ بذرة صغيرة سرّها بداخلها. ومع كل قطرة ماء وكل لمسة عناية، تبدأ الحكاية بالتفتح ورقةً بعد ورقة… إلى أن تأتي اللحظة المنتظرة، وتكتشف المفاجأة: ما الزهرة الجميلة التي كانت تختبئ داخل تلك البذرة الصغيرة؟' : 'A magical story begins beneath the soil, where a mysterious seed holds its secret within. With every drop of water and dedicated care, the story unfolds leaf by leaf—until the moment you discover the surprise: what beautiful flower was hiding inside that tiny seed?'}

${isRTL ? 'تسوق الآن' : 'Shop Now'}
`; wrapper.appendChild(hero); wrapper.appendChild(sectionOne); breadcrumbs.replaceWith(wrapper); })();