/* Flash unified public navigation / footer, scoped safety styles. 2026-11-02 */
:root{--flash-shell-navy:#071a36;--flash-shell-blue:#0877ff;--flash-shell-line:#e1eaf5}
body{font-family:'Cairo',system-ui,sans-serif}
.nav .brand img{object-fit:contain}
.nav .navlinks a[aria-current="page"]{color:#086bd9;font-weight:800}
.footer{margin-top:32px;border-top:1px solid var(--flash-shell-line);background:#fff}
.footer .foot{min-height:100px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;color:#617189;font-size:.8rem}
.footer .footlinks{display:flex;gap:18px;flex-wrap:wrap}
.footer .footlinks a{color:inherit;text-decoration:none}
.footer .footlinks a:hover{color:#086bd9}
@media(max-width:900px){.nav .navlinks.is-open a:not(.navcta){display:block!important}.nav .navlinks.is-open{max-height:min(75vh,620px);overflow-y:auto;overscroll-behavior:contain;z-index:100}}
@media(max-width:600px){.footer .foot{padding:25px 0;justify-content:center;text-align:center}.footer .footlinks{justify-content:center}}
/* Policy pages retain their own content stylesheet and original language direction. */
.flash-policy-page{background:#f5f9ff}
.flash-policy-page .policy-shell{max-width:1100px;margin:35px auto;padding:0 18px}
.flash-policy-page .policy-card{background:#fff;border:1px solid #e1eaf5;border-radius:22px;box-shadow:0 12px 40px #0b31500b;overflow:hidden}
.flash-policy-page .policy-content{font-family:'Cairo',system-ui,sans-serif;line-height:1.95}
.flash-policy-page .policy-content.en,.flash-policy-page [lang="en"]{direction:ltr;text-align:left}
.flash-policy-page .policy-content h1,.flash-policy-page .policy-content h2{color:#071a36}
.flash-policy-page .policy-content a{color:#086bd9}
.flash-policy-page .nav,.flash-policy-page .footer{direction:rtl}
.flash-policy-page .navlinks{direction:rtl}

/* V2 content integration: intentionally scoped, no checkout behavior or global layout overrides */
.flash-public-content,.flash-policy-page{--fp-ink:#071a36;--fp-blue:#0877ff;--fp-muted:#526780;--fp-border:#dfe9f6;--fp-surface:#fff;--fp-soft:#f3f8ff;color:var(--fp-ink)}
.flash-checkout-page{background:linear-gradient(180deg,#f2f8ff 0,#fff 440px);padding:32px 0 56px}
.flash-checkout-page .payment-wrap{max-width:1180px}
.flash-content-intro,.flash-policy-hero{background:linear-gradient(115deg,#fff 25%,#eaf4ff 100%);border:1px solid var(--fp-border,#dfe9f6);border-radius:26px;padding:clamp(22px,3.5vw,42px);margin-bottom:24px;box-shadow:0 12px 36px rgba(7,26,54,.045)}
.flash-content-kicker{display:inline-block;color:#0877ff;font-weight:800;font-size:.83rem;letter-spacing:.1px;margin-bottom:8px}
.flash-content-intro h1,.flash-policy-hero-title{font-size:clamp(1.55rem,3vw,2.35rem);font-weight:800;line-height:1.5;color:#071a36;margin:0 0 8px}
.flash-content-intro p,.flash-policy-hero p{color:#526780;line-height:1.9;margin:0;max-width:850px}
.flash-checkout-page .checkout-hero{border:1px solid #dfe9f6;border-radius:25px;overflow:hidden;box-shadow:0 15px 40px rgba(9,48,96,.07);background:#fff;margin-bottom:24px}
.flash-checkout-page .checkout-hero h2{color:#071a36;line-height:1.5}
.flash-checkout-page .checkout-packages{gap:14px}
.flash-checkout-page .checkout-package,.flash-checkout-page .checkout-panel,.flash-checkout-page .payment-card{border-radius:20px;box-shadow:0 9px 28px rgba(7,26,54,.045)}
.flash-checkout-page .checkout-step{scroll-margin-top:110px}
.flash-checkout-page .checkout-step h3{color:#071a36}
.flash-checkout-page :is(input,select,textarea){font-family:inherit;max-width:100%}
.flash-checkout-page :is(button,.btn){font-family:inherit}
.flash-checkout-page .payment-error{border-radius:14px}
.flash-policy-page{background:linear-gradient(180deg,#f2f8ff,#fff 540px)}
.flash-policy-page .policy-shell{max-width:1060px;margin:28px auto 56px;padding:0 18px}
.flash-policy-page .flash-policy-content{border-radius:25px;overflow:hidden;border:1px solid #dfe9f6;box-shadow:0 14px 42px rgba(7,26,54,.055);background:#fff}
.flash-policy-page .flash-policy-hero{border:0;border-bottom:1px solid #e2ecf8;border-radius:0;margin:0;box-shadow:none;padding:clamp(24px,4vw,46px)}
.flash-policy-page .policy-content{padding:clamp(22px,4vw,48px);line-height:2;color:#263c55;font-size:1rem}
.flash-policy-page .policy-content h1{font-size:1.65rem;margin:0 0 12px}
.flash-policy-page .policy-content h2{font-size:1.16rem;line-height:1.6;margin:30px 0 10px;padding-inline-start:12px;border-inline-start:4px solid #0877ff}
.flash-policy-page .policy-content p{margin:0 0 16px}
.flash-policy-page .policy-content :is(ul,ol){padding-inline-start:26px;margin:12px 0 20px}
.flash-policy-page .policy-content li{margin-bottom:9px}
.flash-policy-page .policy-top{padding:12px 24px;border-bottom:1px solid #e6edf7;background:#fff}
.flash-policy-page .policy-top .policy-brand{display:none} /* main nav already contains brand; preserve language selector */
.flash-policy-page .policy-switch{display:flex;gap:12px;flex-wrap:wrap}
.flash-policy-page .policy-content.en,.flash-policy-page #en{direction:ltr;text-align:left}
.flash-policy-page .policy-content #en h2{border-inline-start:4px solid #0877ff}
.flash-policy-page .policy-footer{margin-top:35px;border-top:1px solid #e2ecf8;padding-top:20px}
@media(max-width:700px){.flash-checkout-page{padding-top:16px}.flash-content-intro,.flash-policy-hero{border-radius:18px;padding:22px}.flash-policy-page .policy-shell{padding:0 10px;margin-top:15px}.flash-policy-page .policy-content{padding:20px}.flash-checkout-page .checkout-hero{border-radius:18px}}

/* V3: remove duplicated intro cards; restore readable policy content without affecting checkout logic. */
.flash-checkout-page{padding-top:18px}
.flash-checkout-page .checkout-hero{margin-top:0}
.flash-policy-page .policy-shell{margin-top:22px;max-width:1120px}
.flash-policy-page .policy-content{font-size:16px!important;line-height:1.95!important}
.flash-policy-page .policy-content p,.flash-policy-page .policy-content li{font-size:1em!important;line-height:1.95!important}
.flash-policy-page .policy-content h1{font-size:clamp(1.6rem,2.5vw,2rem)!important;line-height:1.5!important}
.flash-policy-page .policy-content h2{font-size:clamp(1.15rem,1.7vw,1.35rem)!important;line-height:1.55!important}
.flash-policy-page .policy-content .muted{font-size:.9rem!important}
.flash-policy-page .policy-content #en,.flash-policy-page .policy-content.en{font-family:'Cairo',system-ui,sans-serif;font-size:16px!important}
.flash-policy-page .policy-content a{overflow-wrap:anywhere}
@media(max-width:700px){.flash-policy-page .policy-content{padding:22px 18px;font-size:15px!important}.flash-checkout-page{padding-top:12px}}
