משלוח חינם בקנייה מעל 299 ש"ח
הנחה למוסדות/ כמויות לפרטים 052-5665005 או פנו למייל ro****@***il.com
מבצעי שבוע הספר
מבצע!
מבצע!
מבצע!
סדרת ספרי הגיע הזמן
מבצע!
מבצע!
ספרי הרב קוק
ספרי אמונה
חוברות אמונה
:root{
--ca-bg:#ffffff;
--ca-txt:#0e1420;
--ca-muted:#4b5563;
--ca-accent:#0b3a86; /* כחול כהה ראשי */
--ca-accent-2:#1554c0; /* כחול משני */
--ca-border:#e5e7eb;
}
#ry-cookie-banner, #ry-cookie-modal { direction: rtl; font-family: inherit; }
#ry-cookie-banner{
position:fixed; inset-inline:0; bottom:0; z-index:99999;
background:var(--ca-bg); color:var(--ca-txt); border-top:1px solid var(--ca-border);
box-shadow:0 -8px 24px rgba(0,0,0,.07);
}
#ry-cookie-banner .ry-wrap{
max-width:1100px; margin:0 auto; padding:14px 16px;
display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
#ry-cookie-banner p{ margin:0; font-size:14px; line-height:1.6; color:var(--ca-muted); }
#ry-cookie-banner a{ color:var(--ca-accent-2); text-decoration:underline; }
.ry-actions{ display:flex; gap:8px; }
.ry-btn{ border:1px solid var(--ca-border); background:#fff; color:#0e1420; padding:8px 14px; border-radius:10px; font-size:14px; cursor:pointer; }
.ry-btn-primary{ background:var(--ca-accent); color:#fff; border-color:var(--ca-accent); }
.ry-btn:hover{ opacity:.95; }
/* Modal */
#ry-cookie-modal{ position:fixed; inset:0; background:rgba(0,0,0,.4);
display:none; align-items:center; justify-content:center; z-index:100000; }
#ry-cookie-modal .ry-card{
width:min(560px,92vw); background:#fff; border-radius:14px; border:1px solid var(--ca-border);
padding:18px; box-shadow:0 10px 30px rgba(0,0,0,.12);
}
.ry-card h3{ margin:0 0 8px 0; font-size:18px; color:var(--ca-accent); }
.ry-card p{ margin:0 0 12px 0; font-size:14px; color:var(--ca-muted); }
.ry-row{ display:flex; gap:10px; align-items:center; padding:10px 0; border-top:1px solid var(--ca-border); }
.ry-row:first-of-type{ border-top:none; }
.ry-row label{ flex:1; font-size:14px; }
.ry-switch{ width:46px; height:26px; background:#e5e7eb; border-radius:999px; position:relative; display:inline-block; cursor:pointer; }
.ry-switch input{ display:none; }
.ry-switch span{ position:absolute; top:3px; inset-inline-start:3px; width:20px; height:20px; background:#fff; border-radius:999px; transition:all .2s; }
.ry-switch input:checked + span{ inset-inline-start:23px; }
.ry-switch input:checked ~ i{ background:var(--ca-accent); }
.ry-actions-modal{ margin-top:12px; display:flex; gap:8px; justify-content:flex-start; }
@media (max-width:600px){
#ry-cookie-banner .ry-wrap{ flex-direction:column; align-items:flex-start; }
.ry-actions{ width:100%; justify-content:flex-start; flex-wrap:wrap; }
}
(function(){
const BANNER = document.getElementById('ry-cookie-banner');
const MODAL = document.getElementById('ry-cookie-modal');
const KEY = 'ryConsent';
const DAYS = 180;
function getConsent(){
try { return JSON.parse(localStorage.getItem(KEY) || '{}'); } catch(e){ return {}; }
}
function setConsent(obj){
localStorage.setItem(KEY, JSON.stringify({ ...obj, ts: Date.now() }));
document.cookie = KEY + "=" + encodeURIComponent(JSON.stringify(obj)) + "; path=/; max-age=" + (60*60*24*DAYS);
window.dispatchEvent(new CustomEvent('consentchange', { detail: obj }));
}
function hasValidConsent(){
const c = getConsent();
return typeof c.accepted === 'boolean';
}
function hideBanner(){ if(BANNER) BANNER.style.display='none'; }
function showBanner(){ if(BANNER) BANNER.style.display='block'; }
function openModal(){ MODAL.style.display='flex'; MODAL.setAttribute('aria-hidden','false'); }
function closeModal(){ MODAL.style.display='none'; MODAL.setAttribute('aria-hidden','true'); }
document.getElementById('ry-accept')?.addEventListener('click', function(){
setConsent({ accepted:true, analytics:true, marketing:true });
hideBanner();
});
document.getElementById('ry-decline')?.addEventListener('click', function(){
setConsent({ accepted:false, analytics:false, marketing:false });
hideBanner();
});
document.getElementById('ry-preferences')?.addEventListener('click', openModal);
document.getElementById('ry-close-modal')?.addEventListener('click', closeModal);
document.getElementById('ry-accept-all')?.addEventListener('click', function(){
setConsent({ accepted:true, analytics:true, marketing:true });
closeModal(); hideBanner();
});
document.getElementById('ry-save-prefs')?.addEventListener('click', function(){
const analytics = document.getElementById('ry-analytics').checked;
const marketing = document.getElementById('ry-marketing').checked;
setConsent({ accepted: analytics || marketing, analytics, marketing });
closeModal(); hideBanner();
});
if(hasValidConsent()){ hideBanner(); } else { showBanner(); }
// פונקציה ל-GTM/קוד חיצוני: בדיקת הרשאה לפי קטגוריה
window.ryConsentAllowed = function(category){
const c = getConsent();
if(category === 'analytics') return !!c.analytics;
if(category === 'marketing') return !!c.marketing;
return true; // functional
};
})();
אנו משתמשים בקובצי Cookies לצורך תפעול האתר, ניתוח שימוש ותמיכה בפרסום/גיוס משאבים מותאם. ניתן לנהל העדפות. קראו את מדיניות הפרטיות.
ניהול העדפות עוגיות
בחר/י אילו קטגוריות לאפשר. עוגיות הכרחיות תמיד פעילות.