/* Interactive, presentation-only floating cards and their shared detail dialog. */
body.casablanca-home :is(.hf-payment,.hf-insight)[data-hf-popup]{pointer-events:auto;cursor:pointer;text-align:start;font-family:inherit;color:inherit;appearance:none;transition:box-shadow .2s,filter .2s}
.hf-popup-trigger-copy{display:block}
body.casablanca-home :is(.hf-payment,.hf-insight)[data-hf-popup]::after{content:'↗';position:absolute;inset-inline-end:-7px;top:-7px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #cfe0ff;border-radius:50%;background:#fff;color:#155bff;font-size:16px;line-height:1;box-shadow:0 3px 9px #1d4c8220}
body.casablanca-home :is(.hf-payment,.hf-insight)[data-hf-popup]:hover{box-shadow:0 15px 35px #1c4f7930,0 0 0 2px #155bff45;filter:saturate(1.08)}
body.casablanca-home :is(.hf-payment,.hf-insight)[data-hf-popup]:focus-visible{outline:3px solid #155bff;outline-offset:5px}
.hf-popup-dialog,.hf-popup-dialog *{box-sizing:border-box}
.hf-popup-dialog{width:min(900px,calc(100% - 40px));max-width:none;max-height:calc(100svh - 40px);padding:0;border:1px solid #d8e5fa;border-radius:26px;background:#f6f9ff;color:#153455;font:15px/1.65 Inter,'Segoe UI',Arial,sans-serif;box-shadow:0 32px 100px #09244e55;text-align:start;overflow:auto;overscroll-behavior:contain}
.hf-popup-dialog::backdrop{background:#0d234a66;backdrop-filter:blur(9px)}
.hf-popup-dialog[open]{animation:hf-popup-arrive .25s ease-out both;overflow:hidden}
.hf-popup-dialog :is(h2,h3,h4,p){font-family:inherit;margin:0}
.hf-popup-dialog button{font-family:inherit;cursor:pointer;letter-spacing:normal}
.hf-popup-dialog button:focus-visible{outline:3px solid #155bff;outline-offset:3px}
.hf-popup-tabs[hidden]{display:none!important}
.hf-popup-sr-only{position:absolute!important;width:1px;height:1px;padding:0!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0!important}
.hf-popup-shell{position:relative;isolation:isolate;overflow:hidden;border-radius:inherit;background:radial-gradient(ellipse at 95% 0,#dfeeff99,transparent 48%),linear-gradient(#fcfdff,#f3f7ff);display:flex;flex-direction:column;max-height:calc(100svh - 42px)}
.hf-popup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 30px 18px;flex:none}
.hf-popup-head h2{font-size:30px;font-weight:720;letter-spacing:-.045em;line-height:1.25;margin-top:10px}
.hf-popup-head p{font-size:14px;line-height:1.65;color:#6d83a0;margin-top:9px;max-width:620px}
.hf-popup-eyebrow{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #dce8fb;border-radius:7px;background:#edf4ff;color:#6a83a4;font-size:11px;font-weight:550;line-height:1.5}
.hf-popup-brand{display:flex;align-items:center;gap:10px;color:#547397;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.hf-popup-brand img{display:block;object-fit:contain;width:35px;height:35px}
.hf-popup-close{display:grid;place-items:center;width:40px;height:40px;flex:none;padding:0;border:1px solid #dce7f8;border-radius:50%;background:#fff;color:#59799c;font-size:26px;line-height:1;box-shadow:0 3px 10px #1645760a}
.hf-popup-close:hover{background:#eaf1ff;color:#155bff}
.hf-popup-tabs{display:flex;gap:6px;margin:0 30px 18px;padding:5px;width:max-content;max-width:calc(100% - 60px);background:#e9f0fc;border:1px solid #dde7f9;border-radius:12px;flex:none}
.hf-popup-tabs button{border:0;border-radius:8px;background:transparent;padding:9px 18px;min-height:40px;color:#6d83a0;font-size:14px;font-weight:550}
.hf-popup-tabs button[aria-selected=true]{background:#fff;color:#155bff;box-shadow:0 3px 10px #143e7112}
.hf-popup-body{padding:0 30px 24px;min-width:0;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.hf-popup-receipt{position:relative;isolation:isolate;padding:25px 28px;border:1px solid #d9e6f8;border-radius:20px;background:linear-gradient(140deg,#fff,#fff 65%,#eef6ff);box-shadow:0 12px 30px #2454870c;min-width:0}
.hf-popup-receipt::before{content:'';position:absolute;z-index:-1;inset:0;border-radius:inherit;background:radial-gradient(ellipse at 100% 0,#e6fff44d,transparent 55%);pointer-events:none}
.hf-popup-receipt h3{font-size:19px;line-height:1.4;letter-spacing:-.025em}
.hf-popup-receipt-masthead,.hf-popup-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
.hf-popup-receipt-masthead p,.hf-popup-receipt-head p{font-size:13px;color:#7b90a9;margin-top:3px}
.hf-popup-status{display:inline-flex;align-items:center;gap:7px;flex:none;background:#e4f8ef;color:#199c77;border:1px solid #c9ecdf;border-radius:30px;padding:6px 12px;font-size:12px;font-weight:600}
.hf-popup-status.is-preparing{background:#f0ecff;border-color:#e0d8fd;color:#8560d5}
.hf-popup-receipt-brand{display:grid;place-items:center;width:49px;height:49px;background:#fff;border:1px solid #e0eafb;border-radius:13px;box-shadow:0 5px 13px #155bff12}
.hf-popup-receipt-brand img{width:37px;height:37px;object-fit:contain}
.hf-popup-amount{padding:23px 0 21px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.hf-popup-amount strong{font-size:48px;line-height:1.1;font-weight:760;letter-spacing:-.055em;color:#153f6d}
.hf-popup-amount small,.hf-popup-amount span{font-size:15px;color:#8198b3}
.hf-popup-amount>span{font-size:12px;color:#8296af}
.hf-popup-facts,.hf-popup-definition,.hf-popup-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0 0 22px;padding:18px 0;border-block:1px solid #e5edf8}
.hf-popup-facts>div,.hf-popup-definition>div,.hf-popup-meta>div{min-width:0}
.hf-popup-dialog dt{font-size:12px;color:#8a9db5;margin:0 0 3px}
.hf-popup-dialog dd{font-size:14px;font-weight:550;color:#315777;margin:0;overflow-wrap:anywhere}
.hf-popup-lines{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.hf-popup-line,.hf-popup-lines>div{display:flex;align-items:baseline;justify-content:space-between;gap:20px;font-size:14px;color:#6c83a0}
.hf-popup-line strong,.hf-popup-lines>div strong{font-weight:600;color:#315777;white-space:nowrap}
.hf-popup-lines strong small{font-size:11px;color:#8a9db4;font-weight:400}
.hf-popup-item{font-size:12px;color:#8197b2;margin-bottom:3px!important}
.hf-popup-line-total{border-top:1px dashed #d5e3f5;padding-top:13px;margin-top:3px;color:#193f69;font-weight:650}
.hf-popup-lines>.hf-popup-line-total strong{color:#155bff;font-size:19px}
.hf-popup-context{padding:14px 16px;margin-top:20px;border:1px solid #dfebfa;border-radius:11px;background:#edf5ff66}
.hf-popup-context strong{font-size:12px;display:block;color:#4d7096}
.hf-popup-context>span{display:block;font-size:13px;color:#6986a6;margin-top:3px}
.hf-popup-context p{font-size:12px;color:#8a9cb3;line-height:1.6;margin-top:7px}
.hf-popup-journey>h3{font-size:19px;letter-spacing:-.02em;margin-bottom:16px}
.hf-popup-line.is-total{border-top:1px dashed #d5e3f5;padding-top:13px;margin-top:3px;color:#193f69;font-weight:650}
.hf-popup-line.is-total strong{color:#155bff;font-size:19px}
.hf-popup-line.is-balance{color:#159575}
.hf-popup-timeline{list-style:none;padding:24px;margin:0;border:1px solid #dce7f8;border-radius:20px;background:#fff}
.hf-popup-timeline li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:15px;padding:0 0 27px;align-items:start;min-width:0}
.hf-popup-timeline li:last-child{padding-bottom:0}
.hf-popup-timeline li:not(:last-child)::before{content:'';position:absolute;top:32px;bottom:1px;inset-inline-start:16px;width:1px;background:#d6e6fa}
.hf-popup-timeline .hf-popup-step,.hf-popup-timeline li>span:first-child{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d2e8e1;background:#e6f8f0;color:#17a27b;border-radius:50%;font-size:14px;font-weight:650}
.hf-popup-timeline strong{display:block;font-size:15px;color:#2a5076}
.hf-popup-timeline p{font-size:13px;color:#8195ad;margin-top:4px}
.hf-popup-event h4{font-size:15px;font-weight:600;color:#2a5076;line-height:1.4;margin-top:4px}
.hf-popup-event-date{font-size:11px;color:#8da0b9}
.hf-popup-timeline time{font-size:12px;color:#7d94af;white-space:nowrap;margin-top:4px}
.hf-popup-analysis-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.hf-popup-analysis-head h3{font-size:18px;letter-spacing:-.02em}
.hf-popup-analysis-head p{font-size:13px;color:#7a90ab;margin-top:4px}
.hf-popup-period{display:flex;gap:4px;flex:none;padding:4px;border:1px solid #d8e5fa;border-radius:10px;background:#eaf1fc}
.hf-popup-period button{padding:7px 13px;border:0;border-radius:7px;background:none;color:#6b84a5;font-size:13px;min-height:36px;white-space:nowrap}
.hf-popup-period button[aria-pressed=true]{background:#fff;color:#155bff;box-shadow:0 2px 8px #24416b12}
.hf-popup-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.hf-popup-kpi,.hf-popup-kpis>div{padding:17px;border:1px solid #dae7fa;border-radius:14px;background:#fff;min-width:0}
.hf-popup-kpi span,.hf-popup-kpi small,.hf-popup-kpis>div>span{display:block;font-size:12px;color:#7b92ae;line-height:1.4}
.hf-popup-kpi strong,.hf-popup-kpis>div>strong{display:block;font-size:27px;font-weight:720;letter-spacing:-.04em;line-height:1.25;color:#164575;margin:8px 0 6px;white-space:nowrap}
.hf-popup-kpi strong small,.hf-popup-kpis>div>strong small{display:inline;font-size:11px;letter-spacing:normal;margin-inline-start:4px}
.hf-popup-kpi em{font-size:11px;font-style:normal;color:#14a17f}
.hf-popup-chart{padding:22px;border:1px solid #dce7fa;border-radius:18px;background:#fff;min-width:0}
.hf-popup-chart h3{font-size:16px;font-weight:600;letter-spacing:-.02em}
.hf-popup-chart p{font-size:12px;color:#7890ac;margin-top:4px}
.hf-popup-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.hf-popup-chart-heading strong{font-size:16px;color:#155bff;white-space:nowrap}
.hf-popup-chart-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.hf-popup-chart-head>span{font-size:12px;color:#859ab3}
.hf-popup-bars{display:grid;grid-template-columns:repeat(var(--popup-month-count,6),minmax(0,1fr));align-items:stretch;gap:14px;height:185px;padding-top:16px;border-bottom:1px solid #dce8f8;background:repeating-linear-gradient(to top,transparent 0 calc(33% - 1px),#eaf1fb calc(33% - 1px) 33%)}
.hf-popup-bars button{position:relative;display:flex;align-items:flex-end;justify-content:center;min-width:0;padding:0 0 27px;border:0;background:none;color:#8098b4;font-size:12px}
.hf-popup-bars button>i{position:absolute;inset-inline:14%;bottom:27px;height:calc(var(--popup-bar-height,50%) * .8);border-radius:7px 7px 0 0;background:linear-gradient(145deg,#4bc8fa,#1462fa);box-shadow:0 4px 9px #155bff0a;transform-origin:bottom;animation:hf-popup-bar .6s ease-out both}
.hf-popup-bars button>span,.hf-popup-bars button>small{position:absolute;bottom:3px;font-size:11px;white-space:nowrap}
.hf-popup-bars button>strong{position:absolute;bottom:calc(32px + var(--popup-bar-height,50%) * .8);font-size:11px;color:#4676ae;font-weight:600;white-space:nowrap}
.hf-popup-bars button[aria-pressed=true]>i,.hf-popup-bars button:hover>i{background:linear-gradient(#3b9afb,#1648cc);box-shadow:0 0 0 3px #155bff1a}
.hf-popup-bars .hf-popup-bar-value{top:0;bottom:auto;font-size:11px;color:#6688b0;white-space:nowrap;width:100%}
.hf-popup-bars .hf-popup-bar-track{position:absolute;top:22px;bottom:26px;inset-inline:14%;display:block}
.hf-popup-bar-fill{position:absolute;inset-inline:0;bottom:0;height:var(--popup-bar-height,50%);display:block;border-radius:7px 7px 0 0;background:linear-gradient(145deg,#4bc8fa,#1462fa);box-shadow:0 4px 9px #155bff0a;transform-origin:bottom;animation:hf-popup-bar .6s ease-out both}
.hf-popup-bars button[aria-pressed=true] .hf-popup-bar-fill,.hf-popup-bars button:hover .hf-popup-bar-fill{background:linear-gradient(#3b9afb,#1648cc);box-shadow:0 0 0 3px #155bff1a}
.hf-popup-selection{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding-top:15px;border-top:1px solid #e6edf9}
.hf-popup-selection>div{display:flex;flex-direction:column;gap:5px;flex:none}
.hf-popup-selection>div>span{font-size:12px;color:#8299b4}
.hf-popup-selection strong{font-size:20px;color:#155bff;font-weight:650;letter-spacing:-.025em;line-height:1.3}
.hf-popup-selection strong small{font-size:11px;font-weight:400;letter-spacing:0;color:#8ba0b9}
.hf-popup-selection p{font-size:12px;color:#91a3b9;max-width:360px;text-align:end}
.hf-popup-selection button{min-height:36px;border:1px solid #d9e6fa;border-radius:9px;background:#f1f6ff;color:#155bff;font-size:12px;padding:7px 11px}
.hf-popup-chart-summary,.hf-popup-chart-legend,.hf-popup-legend{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;font-size:12px;color:#7c93af}
.hf-popup-chart-summary strong,.hf-popup-chart-legend strong{color:#155bff;font-weight:600}
.hf-popup-note{padding:12px 15px;margin-top:16px!important;border:1px solid #e0eafa;border-radius:11px;background:#edf4fd80;color:#7a90ac;font-size:12px;line-height:1.6}
.hf-popup-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 30px;border-top:1px solid #dfe8f7;background:#fff;flex:none}
.hf-popup-footer p,.hf-popup-footer small{font-size:12px;color:#7e94af;line-height:1.5;max-width:430px}
.hf-popup-footer>.hf-popup-note{padding:0;margin:0!important;border:0;background:none}
.hf-popup-cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;flex:none;min-height:46px;padding:12px 18px;border:1px solid #155bff;border-radius:11px;background:#155bff;color:#fff;font-size:14px;font-weight:650;line-height:1.4;box-shadow:0 6px 18px #155bff20}
.hf-popup-cta:hover{background:#064ee9}
.hf-popup-dialog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.hf-popup-head p,.hf-popup-dialog dt,.hf-popup-amount>span,.hf-popup-item,.hf-popup-lines>div,.hf-popup-context>span,.hf-popup-context p,.hf-popup-event-date,.hf-popup-timeline p,.hf-popup-kpis>div>span,.hf-popup-chart-head>span,.hf-popup-selection>div>span,.hf-popup-selection p,.hf-popup-footer>.hf-popup-note{color:#58718f}
.hf-popup-tabs button,.hf-popup-period button{color:#526d8e}
.hf-popup-close{width:44px;height:44px}
html[lang=ar] .hf-popup-dialog{font-family:'Noto Sans Arabic','Segoe UI',Tahoma,sans-serif}
html[lang=ar] .hf-popup-head h2{letter-spacing:0;line-height:1.5}
@keyframes hf-popup-arrive{from{opacity:0;transform:translateY(13px) scale(.985)}to{opacity:1;transform:none}}
@keyframes hf-popup-bar{from{transform:scaleY(.15)}to{transform:scaleY(1)}}
@media(max-width:700px){
body.casablanca-home .hf-stage{grid-template-rows:auto auto auto}
body.casablanca-home .hf-phone{position:relative;grid-column:1;grid-row:1;align-self:end;justify-self:end;right:auto;bottom:auto;top:auto;left:auto;margin:0 -1% 0 0}
body.casablanca-home .hf-payment[data-hf-popup]{position:relative;display:flex;grid-column:1;grid-row:2;justify-self:center;left:auto;right:auto;bottom:auto;top:auto;width:min(calc(100% - 24px),320px);min-width:0;min-height:64px;margin-top:32px;padding:11px 14px;border-radius:13px;gap:10px;scale:1;rotate:0deg;transform:none;translate:none!important;animation:none;visibility:visible!important}
body.casablanca-home .hf-payment[data-hf-popup] strong{font-size:12px;line-height:1.5}
body.casablanca-home .hf-payment[data-hf-popup] small{font-size:10px;line-height:1.6}
body.casablanca-home .hf-payment[data-hf-popup] .hf-payment-check{width:30px;height:30px;font-size:18px;flex:none}
body.casablanca-home .hf-controls{grid-row:3;margin-top:26px}
body.casablanca-home .hf-insight[data-hf-popup]{min-height:58px;scale:.85}
.hf-popup-dialog{width:calc(100% - 20px);max-height:calc(100svh - 24px);border-radius:20px;font-size:14px}
.hf-popup-shell{max-height:calc(100svh - 26px)}
.hf-popup-head{padding:20px 17px 18px;gap:12px}
.hf-popup-head h2{font-size:25px;line-height:1.3}
.hf-popup-head p{font-size:13px}
.hf-popup-brand{font-size:9px;gap:7px;letter-spacing:.05em}
.hf-popup-brand img{width:29px;height:29px}
.hf-popup-close{width:44px;height:44px;font-size:24px}
.hf-popup-tabs{margin:0 17px 18px;max-width:calc(100% - 34px);width:auto}
.hf-popup-tabs button{flex:1;padding:8px 11px;font-size:13px}
.hf-popup-body{padding:0 17px 21px}
.hf-popup-receipt{padding:19px 17px;border-radius:15px}
.hf-popup-receipt-masthead,.hf-popup-receipt-head{align-items:flex-start;gap:10px;flex-wrap:wrap}
.hf-popup-receipt h3{font-size:17px}
.hf-popup-status{font-size:11px;padding:5px 10px}
.hf-popup-amount{padding:21px 0}
.hf-popup-amount strong{font-size:41px}
.hf-popup-amount small,.hf-popup-amount span{font-size:13px}
.hf-popup-facts,.hf-popup-definition,.hf-popup-meta{gap:15px 17px}
.hf-popup-dialog dt{font-size:11px}.hf-popup-dialog dd{font-size:13px}
.hf-popup-line{font-size:13px;gap:12px}
.hf-popup-timeline{padding:18px 14px}
.hf-popup-timeline li{grid-template-columns:30px minmax(0,1fr);gap:10px;padding-bottom:23px}
.hf-popup-timeline time{grid-column:2;margin-top:-10px}
.hf-popup-timeline .hf-popup-step,.hf-popup-timeline li>span:first-child{width:30px;height:30px}
.hf-popup-timeline li:not(:last-child)::before{inset-inline-start:14px;top:30px}
.hf-popup-timeline strong{font-size:14px}.hf-popup-timeline p{font-size:12px}
.hf-popup-analysis-head{align-items:flex-start;flex-direction:column;gap:13px}
.hf-popup-analysis-head h3{font-size:17px}
.hf-popup-period{align-self:flex-start}.hf-popup-period button{min-height:44px}
.hf-popup-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hf-popup-kpi,.hf-popup-kpis>div{padding:13px;border-radius:12px}.hf-popup-kpi:last-child:nth-child(odd),.hf-popup-kpis>div:last-child:nth-child(odd){grid-column:1/-1}
.hf-popup-kpi strong,.hf-popup-kpis>div>strong{font-size:24px}.hf-popup-kpi span,.hf-popup-kpi small,.hf-popup-kpis>div>span{font-size:11px}
.hf-popup-chart{padding:16px 12px}.hf-popup-chart h3{font-size:14px}
.hf-popup-chart-heading{align-items:flex-start;flex-direction:column;gap:9px}
.hf-popup-chart-heading strong{font-size:14px}
.hf-popup-bars{height:170px;gap:8px}
.hf-popup-bars button>i{inset-inline:8%;border-radius:4px 4px 0 0}
.hf-popup-bars button>strong{font-size:9px}
.hf-popup-bars button>span,.hf-popup-bars button>small{font-size:10px}
.hf-popup-bars .hf-popup-bar-track{inset-inline:8%}
.hf-popup-bars .hf-popup-bar-value{font-size:9px}
.hf-popup-chart-head{flex-direction:column;align-items:flex-start;gap:6px}
.hf-popup-chart-head>span{font-size:11px}
.hf-popup-selection{gap:12px;align-items:flex-start;flex-direction:column}
.hf-popup-selection p{text-align:start;font-size:11px}
.hf-popup-chart-summary,.hf-popup-chart-legend,.hf-popup-legend{font-size:11px;flex-wrap:wrap;gap:5px}
.hf-popup-note{font-size:11px;padding:10px 12px}
.hf-popup-footer{padding:16px 17px;flex-direction:column;align-items:stretch;gap:12px}
.hf-popup-footer p,.hf-popup-footer small{font-size:11px;max-width:none}
.hf-popup-cta{width:100%;min-height:46px;font-size:13px;padding:11px 13px;gap:12px}
}
@media(prefers-reduced-motion:reduce){.hf-popup-dialog[open],.hf-popup-bars button>i,.hf-popup-bar-fill{animation:none}body.casablanca-home :is(.hf-payment,.hf-insight)[data-hf-popup]{transition:none}}
