/* Computer layout: same app, same views, laid out for wide screens.
   Phones and small tablets never match this query, so the app look is untouched. */
.nav .dlogo{display:none}
@media (min-width:1024px){
 body{display:block;overflow:hidden;background:var(--cream)}
 .app{width:100vw;height:100dvh;border-radius:0;box-shadow:none}
 .status{height:0;padding:0;overflow:hidden}.status>*{display:none!important}

 /* bottom bar becomes a top menu */
 .nav{top:0;bottom:auto;left:0;right:0;height:72px;border-radius:0;justify-content:flex-start;gap:6px;padding:0 max(28px,calc((100% - 1180px)/2));box-shadow:0 1px 0 rgba(15,33,38,.08),0 10px 24px -20px rgba(5,41,37,.5)}
 .nav .dlogo{display:block;order:-2;padding:4px 14px;margin-inline-end:24px;border-radius:14px;background:var(--pat),linear-gradient(165deg,var(--e6),var(--e9))}
 .nav .dlogo:hover{background:var(--pat),linear-gradient(165deg,var(--e6),var(--e9))}
 .nav button{flex-direction:row;gap:7px;width:auto;font-size:15px;padding:10px 16px;border-radius:14px;color:#5d6b6d}
 .nav button:hover{background:#f3efe4;color:var(--e7)}
 .nav .act{color:var(--e7);background:#f3efe4}
 .nav .act:after{bottom:2px;left:50%;transform:translateX(-50%)}
 .nav .home{order:-1;margin:0;width:auto;height:auto;border-radius:14px;background:none;color:#5d6b6d;box-shadow:none}
 .nav .home:after{display:none}
 .nav .home.act{color:var(--e7);background:#f3efe4}
 .nav .home:before{content:"الرئيسية"}

 /* pages: centred column under the menu */
 .view{padding:92px max(28px,calc((100% - 1180px)/2)) 48px;scrollbar-width:thin}
 .view::-webkit-scrollbar{display:block;width:10px}
 .view::-webkit-scrollbar-thumb{background:#d8d0bd;border-radius:9px}
 .view.au,.view.splash{padding-top:24px}
 .view>.gh{border-radius:28px}
 .view:not(#v-home)>.gh{padding-top:18px;padding-bottom:6px}
 /* on a computer the menu stays on every page except the intro and sign-in screens */
 .nav.hide{display:flex}
 .app:has(#v-splash.on) .nav,.app:has(.view.au.on) .nav{display:none}
 .view.splash{padding:0}
 .splash .bot{left:50%;right:auto;width:460px;transform:translateX(-50%)}
 .view.splash>.gh{border-radius:0}

 /* home: hero wide, search card wide */
 .hh{height:262px;padding:28px 40px 0}
 #v-home .svbar{top:-20px} /* sticky is measured from inside the page padding (92px), so this lands just under the 72px menu */
 #v-home .svbar.stuck{box-shadow:0 -40px 0 var(--cream),0 12px 18px -14px rgba(5,41,37,.4)}
 .hello h2{font-size:40px;line-height:1.25}
 .svbar{justify-content:center;margin-top:-80px}
 .sbox{max-width:900px;margin:8px auto 0}
 .morebar{max-width:900px;margin-inline:auto}

 /* lists of cards: several per row */
 .cards,.ofrs,.olist{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}

 /* bottom sheets become centred windows */
 .bs{justify-content:center;align-items:center}
 .bs .pnl{width:min(580px,92vw);max-height:86dvh;overflow-y:auto;border-radius:28px;padding:16px 26px 26px;animation:none}
 .ov{position:fixed}

 .fab{bottom:28px;left:28px}
 .toast{bottom:40px}
}
@media (min-width:1024px) and (hover:hover){
 .card:hover{box-shadow:0 18px 34px -18px rgba(15,33,38,.45),0 0 0 1px rgba(201,163,91,.35)}
}
