/* SX Countdown: strip above the header, and the window shown once per visitor.
   Site identity: green #048238, gray #f5f5f5, Almarai (Arabic) / Barlow (English) text,
   Thmanyah Serif headings, regular weight only, flat (no shadows), light only. */

/* ---------------- strip ---------------- */
#sxcd-strip { position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; min-height: 40px; padding: 7px 44px; background: #048238; color: #fff; font-size: 14px; line-height: 1.5; font-weight: 400; text-align: center; box-sizing: border-box; }
#sxcd-strip[hidden], #sxcd-strip [hidden] { display: none !important; }
#sxcd-strip, #sxcd-pop { font-family: Barlow, Almarai, system-ui, "Segoe UI", sans-serif; }
#sxcd-strip[lang="ar"], #sxcd-pop[lang="ar"] { font-family: Almarai, Barlow, system-ui, "Segoe UI", sans-serif; }
#sxcd-strip *, #sxcd-pop * { box-sizing: border-box; font-weight: 400; letter-spacing: 0; }
#sxcd-strip .sxcd-strip__t { color: #fff; }
#sxcd-strip .sxcd-strip__c { display: inline-flex; align-items: center; gap: 8px; }
#sxcd-strip .sxcd-u { display: inline-flex; align-items: center; gap: 4px; }
#sxcd-strip .sxcd-u b { display: inline-block; min-width: 28px; padding: 1px 5px; border-radius: 6px; background: #fff; color: #048238; font-size: 14px; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; direction: ltr; }
#sxcd-strip .sxcd-u i { font-style: normal; font-size: 13px; color: #fff; }
#sxcd-strip .sxcd-strip__a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; cursor: pointer; }
#sxcd-strip .sxcd-strip__a:hover, #sxcd-strip .sxcd-strip__a:focus-visible { color: #fff; text-decoration-thickness: 2px; }
#sxcd-strip .sxcd-strip__x { position: absolute; top: 50%; inset-inline-end: 10px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
#sxcd-strip .sxcd-strip__x:hover { background: rgba(255, 255, 255, .16); }
#sxcd-strip .sxcd-strip__x:focus-visible, #sxcd-strip .sxcd-strip__a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------------- window ---------------- */
/* Above the header (999) and the WhatsApp button (100001); the cookie notice is answered
   before this window opens, and its settings dialog (100003) still opens over it. */
#sxcd-pop { position: fixed; inset: 0; z-index: 100002; display: flex; align-items: center; justify-content: center; padding: 20px; }
#sxcd-pop[hidden], #sxcd-pop [hidden] { display: none !important; }
#sxcd-pop .sxcd-pop__back { position: absolute; inset: 0; background: rgba(20, 32, 26, .45); }
#sxcd-pop .sxcd-pop__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 40px 36px 34px; background: #fff; border: 1px solid #e4ebe6; border-radius: 24px; text-align: center; color: #262626; outline: 0; animation: sxcdIn .25s ease; }
#sxcd-pop .sxcd-pop__x { position: absolute; top: 14px; inset-inline-end: 14px; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px; background: #f5f5f5; color: #555; cursor: pointer; }
#sxcd-pop .sxcd-pop__x:hover { background: #ebebeb; color: #262626; }
#sxcd-pop .sxcd-pop__h { margin: 0 0 12px; padding: 0; font-family: "Thmanyah Serif", Almarai, Barlow, Georgia, serif; font-size: 32px; line-height: 1.45; color: #262626; text-transform: none; }
#sxcd-pop .sxcd-pop__h span { display: block; }
#sxcd-pop .sxcd-pop__h2 { color: #048238; }
#sxcd-pop .sxcd-pop__p { margin: 0 0 22px; padding: 0; font-size: 16px; line-height: 1.9; color: #555; }
#sxcd-pop .sxcd-pop__c { display: flex; justify-content: center; gap: 10px; margin: 0 0 24px; }
#sxcd-pop .sxcd-u { flex: 1 1 0; max-width: 104px; padding: 14px 4px 10px; border: 1px solid #e4ebe6; border-radius: 16px; background: #fff; }
#sxcd-pop .sxcd-u b { display: block; font-size: 32px; line-height: 1.1; color: #048238; font-variant-numeric: tabular-nums; direction: ltr; }
#sxcd-pop .sxcd-u i { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: #676879; }
#sxcd-pop .sxcd-pop__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
#sxcd-pop .sxcd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 26px; border: 1px solid #048238; border-radius: 999px; background: #048238; color: #fff; font-size: 15px; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
#sxcd-pop .sxcd-btn:hover { background: #036d2f; border-color: #036d2f; color: #fff; }
#sxcd-pop .sxcd-btn.is-light { background: #fff; color: #048238; }
#sxcd-pop .sxcd-btn.is-light:hover { background: #e3f3ea; color: #036d2f; }
#sxcd-pop .sxcd-btn:focus-visible, #sxcd-pop .sxcd-pop__x:focus-visible { outline: 2px solid #048238; outline-offset: 2px; }
html.sxcd-open { overflow: hidden; }
@keyframes sxcdIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
	/* Two rows: the text and its link, then the clock. */
	#sxcd-strip { padding: 6px 12px; padding-inline-end: 40px; font-size: 13px; gap: 4px 10px; }
	#sxcd-strip .sxcd-strip__c { order: 3; flex-basis: 100%; justify-content: center; gap: 6px; }
	#sxcd-strip .sxcd-strip__a { font-size: 13px; }
	#sxcd-strip .sxcd-u b { min-width: 26px; font-size: 13px; }
	#sxcd-strip .sxcd-u i { font-size: 12px; }
	#sxcd-pop { padding: 14px; }
	#sxcd-pop .sxcd-pop__box { padding: 44px 20px 26px; border-radius: 20px; }
	#sxcd-pop .sxcd-pop__h { font-size: 25px; }
	#sxcd-pop .sxcd-pop__p { font-size: 15px; }
	#sxcd-pop .sxcd-pop__c { gap: 8px; }
	#sxcd-pop .sxcd-u b { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { #sxcd-pop .sxcd-pop__box { animation: none; } #sxcd-pop .sxcd-btn { transition: none; } }
@media print { #sxcd-strip, #sxcd-pop { display: none !important; } }
