/* Opening offer banner, shared by every page that shows it (moved out of app.css, 27 Nov 2026).
   Pages without app.css get the colour and font tokens below; app.css pages already have the same values. */
:root{--yellow:#ffd43b;--magenta:#ff2bd6;--display:"Big Shoulders Display","Arial Narrow",Impact,sans-serif;--mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;--body:"Cairo Arabic","Montserrat","Readex Pro","Segoe UI",Tahoma,sans-serif}
html[dir=rtl]{--display:"Cairo Arabic","Big Shoulders Display","Arial Narrow","Readex Pro","Segoe UI",Tahoma,sans-serif;--mono:"Cairo Arabic","Readex Pro","Segoe UI",Tahoma,sans-serif}
/* simple pages (about, faq, legal: body padding 32px 16px): the banner runs edge to edge at the very top */
.bfban.bftop{margin:-32px -16px 28px}
/* Opening price banner above the sign (Ahmed, 19 Oct): live wave, price and clock; links to /first300 */
.bfban{display:flex;gap:10px 16px;flex-wrap:wrap;align-items:center;justify-content:center;margin:0 calc(-1 * clamp(16px,4vw,56px));padding:10px clamp(16px,4vw,56px);background:var(--magenta);color:#0a0a0a;text-decoration:none;text-align:center;font:600 13px/1.35 "Montserrat",var(--body)}
.bfban[hidden]{display:none}
/* "34% OFF" burst sticker for the opening offer (Ahmed, option C, 12 Nov 2026): banner + plans hero, gone with the offer */
.burst{display:inline-grid;place-items:center;width:62px;height:62px;flex:none;background:var(--yellow);color:#0a0a0a;font:900 15px/.95 var(--display);text-align:center;letter-spacing:.02em;text-transform:uppercase;transform:rotate(-12deg);clip-path:polygon(50% 0,61% 13%,77% 6%,79% 23%,96% 25%,89% 41%,100% 54%,86% 64%,90% 81%,73% 81%,65% 97%,50% 87%,35% 97%,27% 81%,10% 81%,14% 64%,0 54%,11% 41%,4% 25%,21% 23%,23% 6%,39% 13%)}
.bfban .burst{width:68px;height:68px;font-size:17px;margin:-14px 0}
.bfban b{font:900 20px/1 var(--display);letter-spacing:.08em;text-transform:uppercase}
.bfban u{font:700 12px var(--mono);text-decoration:none;border:1.5px solid #0a0a0a;border-radius:999px;padding:5px 12px}
.bfban u{background:#0a0a0a;color:var(--magenta);animation:bfpulse 2.5s ease-out infinite}
.bfban .bfact{display:inline-flex;align-items:stretch;background:#0a0a0a;border-radius:9px;overflow:hidden}   /* timer + Take your seat in one bar (Ahmed, 26 Nov) */
.bfban .bfact u{display:flex;align-items:center;white-space:nowrap;border:0;border-radius:0;border-inline-start:1px solid rgba(255,255,255,.18);animation:none}
.bfban .bfclock{display:inline-flex;font-style:normal;padding:4px 2px}
.bfban .bfclock i{display:flex;flex-direction:column;align-items:center;min-width:26px;padding:0 6px;font-style:normal}.bfban .bfclock i+i{border-inline-start:1px solid rgba(255,255,255,.18)}
.bfban .bfclock b{font:900 14px/1 var(--display);letter-spacing:0;color:var(--yellow);font-variant-numeric:tabular-nums;text-transform:none}
.bfban .bfclock small{font:500 6.5px/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#bdb5a6}
html[lang=ar] .bfban .bfclock small{font-family:inherit;font-size:7.5px;font-weight:600;letter-spacing:0}
.bfban:hover u{background:#0a0a0a;color:#fff}
@media (max-width:640px){.bfban b{flex-basis:100%;text-align:center;margin-bottom:1px}.bfban .bfact{order:2;flex-basis:auto;margin:6px auto 0}.bfban .bfact u{font-size:min(3.6vw,14px);padding:0 2.5vw}html[lang=ar] .bfban .bfact u{font-size:min(4.2vw,16px)}}   /* phone: the timer boxes get their own line (Ahmed, 26 Nov) */
/* offer bar button: pink on black, a slow soft ring every 2.5s; still for reduced motion (Ahmed, 23 Nov 2026) */
/* 34% sticker spins slowly; phones: on the end side (right in English, left in Arabic); desktop: one wide strip, sticker | title + details | timer | button (Ahmed, 26 Nov) */
.bfban{position:relative}
html[lang=ar] .bfban .burst{line-height:1.3;padding-top:2px}   /* Arabic sticker: room between خصم and 34% (Ahmed, 26 Nov) */
/* the sticker wiggles in both languages (Ahmed, 26 Nov: "the Arabic wiggle, let's use that") */
@keyframes bfsway{0%,100%{transform:rotate(-14deg)}50%{transform:rotate(10deg)}}
@media (prefers-reduced-motion:no-preference){.bfban .burst{animation:bfsway 3.2s ease-in-out infinite}}
@media (max-width:640px){.bfban .burst{position:absolute;inset-inline-end:3px;top:3px;width:36px;height:36px;margin:0;font-size:9.5px}}   /* sticker floats in the pink corner, outside the centring (Ahmed, 26 Nov) */
.bfban .bfc{font-style:normal}
@media (min-width:960px){.bfban:not(.bfmini):has(.bfact){display:grid;grid-template-columns:repeat(3,auto);justify-content:center;grid-template-areas:"ti ti ti" "dt ck bt";column-gap:0;row-gap:12px;align-items:stretch;padding-block:20px;padding-inline:max(clamp(16px,4vw,56px),calc((100vw - 1180px) / 2))}
.bfban .burst{position:relative;inset:auto;grid-column:1;grid-row:1/3;justify-self:start;align-self:center;width:76px;height:76px;font-size:19px;margin:0;margin-inline-start:-96px}html[lang=ar] .bfban .burst{margin:0;margin-inline-start:-96px}   /* right next to the offer block but outside its centring (Ahmed, 26 Nov) */
.bfban b{grid-area:ti;font-size:26px;text-align:center}
.bfban span:not(.bfact){grid-area:dt;display:block;align-self:stretch;line-height:1.45;text-align:start;background:#0a0a0a;color:#efe9dd;font-size:14px;white-space:nowrap;padding:9px 24px;border-start-start-radius:12px;border-end-start-radius:12px}
.bfban span:not(.bfact) strong{display:block;font-size:18px;color:#fff}.bfban .bfc{display:none}
.bfban .bfact{display:contents}.bfban .bfclock{grid-area:ck;background:#0a0a0a;border-inline-start:1px solid rgba(255,255,255,.18);padding:8px 10px;align-items:center}
.bfban .bfclock b{font-size:26px}.bfban .bfclock small{font-size:8.5px}.bfban .bfclock i{min-width:46px;padding:0 9px}
.bfban .bfact u{grid-area:bt;background:#0a0a0a;padding:0 28px;font-size:15px;border-start-end-radius:12px;border-end-end-radius:12px}html[lang=ar] .bfban .bfact u{font-size:17px}html[lang=ar] .bfban .bfclock small{font-size:9.5px}}
@keyframes bfpulse{0%{box-shadow:0 0 0 0 rgba(10,10,10,.55)}70%,100%{box-shadow:0 0 0 5px rgba(10,10,10,0)}}
@media (prefers-reduced-motion:reduce){.bfban u{animation:none}}
/* the offer stays on screen while scrolling: desktop keeps the whole strip, phones a slim timer + button bar once the banner scrolls away (Ahmed, 26 Nov) */
/* phones: title + price + timer bar centred on full width (Ahmed, 26 Nov) */
@media (max-width:640px){.bfban.bfban:not(.bfmini):has(.bfact){padding-inline:8px;column-gap:8px}
.bfban:has(.bfact) .bfact{margin:5px 0 0}}
.bfmini{display:none}
body.offer-on :is(#out,#boardbar){scroll-margin-top:calc(var(--bfh,0px) + 90px)}
body.bfstuck .bfmini{display:flex;position:fixed;top:0;left:0;right:0;z-index:35;margin:0;padding:6px 8px}body.bfstuck .bfmini .bfact{margin:0}body.bfstuck .bfmini{align-items:center;justify-content:center;flex-wrap:nowrap}.bfban.bfban.bfmini{padding-inline:8px}.bfban.bfmini .bfact{flex-shrink:0}body.bfstuck .searchrow{top:var(--bfh,0px)}   /* desktop too: only timer + button while scrolling (Ahmed, 26 Nov) */
@media (min-width:960px){body.bfstuck .bfmini{padding:8px}.bfban.bfmini .bfact{display:inline-flex}.bfban.bfmini .bfclock{border:0;padding:5px 6px}.bfban.bfmini .bfclock b{font-size:20px}.bfban.bfmini .bfact u{padding:0 24px;border-radius:0}}
/* UX pass (Ahmed, 19 Oct): compact banner on phones, one emphasised button while the offer runs, larger tap targets */
@media (max-width:640px){.bfban{padding:8px 12px;gap:2px 2.5vw}.bfban b{font-size:min(3.7vw,18px)}.bfban u{font-size:min(2.53vw,12.3px);line-height:1;padding:.3em .75em;white-space:nowrap}.bfban span{font-size:12px}}
/* phone: two lines, the title then price + clock on one line; "first 300" drops (Ahmed, 23 Nov 2026) */
@media (max-width:640px){.bfban b{flex:0 1 auto}.bfban span{order:1;flex-basis:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:min(2.92vw,14.2px)}.bfban i{font-style:normal}.bfban .b3{display:none}[dir=rtl] .bfban span{white-space:normal}[dir=rtl] .bfban .bftime{display:block}[dir=rtl] .bfban .bdot{display:none}}
.bfban strong{font-weight:800}   /* the offer price stands out in the banner (Ahmed, 23 Nov 2026) */
