/* Moran Gil - time-aware popup, centered modal (brand: radius 0, fonts inherited).
   The bottom of the screen stays free for the cookie banner. */
.mgpop-backdrop{position:fixed;inset:0;z-index:99969;background:rgba(46,42,43,.42);opacity:0;pointer-events:none;transition:opacity .5s ease;}
.mgpop-backdrop.show{opacity:1;pointer-events:auto;}
.mgpop{position:fixed;top:50%;left:50%;z-index:99970;width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;background:#f7f1e8;border:1px solid #e1d7c6;box-shadow:0 24px 60px rgba(46,42,43,.24);padding:38px 34px 32px;text-align:center;opacity:0;visibility:hidden;transform:translate(-50%,-46%);transition:opacity .6s cubic-bezier(.22,.61,.36,1),transform .6s cubic-bezier(.22,.61,.36,1),visibility 0s linear .6s;border-radius:0;}
.mgpop.show{opacity:1;visibility:visible;transform:translate(-50%,-50%);transition:opacity .6s cubic-bezier(.22,.61,.36,1),transform .6s cubic-bezier(.22,.61,.36,1);}
.mgpop-script{font-size:15px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#b47f60;display:block;direction:ltr;text-align:center;margin-bottom:12px;}
.mgpop-script.mgpop-script-he{direction:rtl;letter-spacing:.02em;font-size:24px;text-transform:none;color:#2e2a2b;margin-bottom:10px;}

/* ---------- פופאפ קמפיין (העיצוב של מורן): קארד מעוגל + סופגנייה מאוירת ---------- */
.mgpop-backdrop.mgpop-backdrop-dark{background:rgba(54,43,37,.88);}
.mgpop.mgpop-camp{width:min(430px,calc(100vw - 36px));border-radius:28px;padding:104px 36px 34px;overflow:visible;max-height:none;}
.mgpop-donut{position:absolute;top:-92px;left:50%;transform:translateX(-50%);width:184px;height:184px;filter:drop-shadow(0 12px 20px rgba(0,0,0,.28));}
.mgpop-donut svg{display:block;width:100%;height:100%;}
.mgpop-camp .mgpop-script{margin-bottom:12px;}
.mgpop-camp-title{font-size:31px;font-weight:600;color:#2e2a2b;margin:0 0 14px;line-height:1.2;}
.mgpop-camp p{font-size:16px;line-height:1.7;margin:0 0 16px;}
.mgpop-camp p.mgpop-strong{font-weight:700;margin-bottom:26px;}
.mgpop-camp .mgpop-btn{display:block;border-radius:999px;padding:16px 24px;font-size:16px;}
.mgpop-camp .mgpop-close{top:16px;font-size:24px;}
@media(max-width:560px){
	.mgpop.mgpop-camp{width:min(342px,calc(100vw - 36px));padding:88px 26px 26px;border-radius:24px;}
	.mgpop-donut{width:152px;height:152px;top:-76px;}
	.mgpop-camp-title{font-size:26px;}
	.mgpop-camp p{font-size:14.5px;line-height:1.65;}
	.mgpop-camp .mgpop-btn{padding:14px 20px;font-size:14.5px;}
}
.mgpop p{font-size:16px;line-height:1.65;color:#2e2a2b;margin:0 0 22px;}
.mgpop-btn{display:inline-block;background:#2e2a2b;color:#eddfd4 !important;border:1px solid #2e2a2b;padding:13px 30px;font-size:14.5px;font-weight:700;letter-spacing:.04em;text-decoration:none;border-radius:0;transition:.35s;}
.mgpop-btn:hover{background:transparent;color:#2e2a2b !important;}
.mgpop-close{position:absolute;top:10px;inset-inline-end:12px;background:none;border:none;font-size:22px;color:rgba(46,42,43,.5);cursor:pointer;line-height:1;padding:6px;border-radius:0;}
.mgpop-close:hover{color:#2e2a2b;}
body.mgpop-open{overflow:hidden;}
@media(max-width:560px){
	/* 1.2.2: קופסה קומפקטית בפרופורציה לטקסט, לא כמעט ברוחב המסך */
	.mgpop{width:min(304px,calc(100vw - 64px));padding:28px 20px 22px;}
	.mgpop-script{font-size:13px;letter-spacing:.14em;margin-bottom:8px;}
	.mgpop-script.mgpop-script-he{font-size:21px;letter-spacing:.02em;}
	.mgpop p{font-size:14.5px;line-height:1.55;margin:0 0 16px;}
	.mgpop-btn{padding:11px 22px;font-size:13.5px;}
	.mgpop-close{top:6px;inset-inline-end:6px;font-size:20px;padding:9px;}
}

/* ---------- Cookie notice: compact card in the bottom corner (above the popup backdrop) ---------- */
.mgck{position:fixed;right:18px;left:auto;bottom:18px;z-index:99975;width:min(360px,calc(100vw - 36px));display:flex;flex-direction:column;gap:12px;padding:16px 18px;background:#3b3f4a;color:#eddfd4;box-shadow:0 14px 40px rgba(46,42,43,.28);opacity:0;transform:translateY(16px);transition:opacity .45s ease,transform .5s cubic-bezier(.22,.61,.36,1);direction:rtl;}
.mgck.show{opacity:1;transform:none;}
.mgck[hidden]{display:none;}
.mgck-text{min-width:0;max-height:40vh;overflow:auto;}
.mgck-text p{margin:0;font-size:12.5px;line-height:1.55;color:rgba(237,223,212,.9);}
.mgck-more p{margin-top:6px;}
html body .mgck-more-btn,html body .mgck-more-btn:is(:hover,:focus,:active){background:none !important;border:none !important;padding:0 !important;margin:0;color:#eddfd4 !important;font:inherit;font-size:12.5px !important;font-weight:700 !important;text-decoration:underline;text-underline-offset:2px;cursor:pointer;box-shadow:none !important;}
.mgck-actions{display:flex;align-items:center;gap:14px;}
html body .mgck-ok,html body .mgck-ok:is(:hover,:focus,:active){background:#eddfd4 !important;color:#2e2a2b !important;border:1px solid #eddfd4 !important;border-radius:0 !important;padding:7px 22px !important;font-family:inherit;font-size:13px !important;font-weight:700 !important;cursor:pointer;box-shadow:none !important;}
html body .mgck-ok:hover{background:transparent !important;color:#eddfd4 !important;}
.mgck-policy{color:#eddfd4 !important;font-size:12.5px;font-weight:500;text-decoration:none;border-bottom:1px solid rgba(237,223,212,.5);padding:2px 0;white-space:nowrap;}
.mgck-policy:hover{border-bottom-color:#eddfd4;}
@media(max-width:600px){
	.mgck{right:12px;left:auto;bottom:12px;width:calc(100vw - 24px);padding:14px 16px;gap:10px;}
	.mgck-text p,html body .mgck-more-btn{font-size:12px !important;}
}


/* 25.11 audit: ניגודיות הכיתוב הקטן */
.mgpop-script{color:#8a5a3c;}
