:root{
  --bg:#0d0907; --bg2:#17100c; --card:#1c130e; --line:#2e1f16;
  --orange:#ff5a1f; --orange2:#ff7a2f; --red:#e53a12;
  --cream:#fff6ee; --cream2:#ffe9d8; --ink:#1d1410; --muted:#9b8a7e; --muted-d:#7a6a5f;
  --radius:22px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Cairo',Tahoma,sans-serif;background:var(--bg);color:#fff;line-height:1.7;
  background-image:radial-gradient(1200px 500px at 85% -5%,rgba(255,90,31,.18),transparent 60%),radial-gradient(900px 500px at 5% 40%,rgba(229,58,18,.10),transparent 60%);
  background-attachment:fixed}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font-family:inherit}
.container{width:min(1200px,100% - 32px);margin-inline:auto}
.muted{color:var(--muted)}
.hide-sm{display:inline-flex}

/* ===== Topbar ===== */
.topbar{position:sticky;top:0;z-index:50;background:rgba(13,9,7,.85);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.topbar-in{display:flex;align-items:center;gap:22px;height:74px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.brand span{display:flex;flex-direction:column;line-height:1.1}
.brand b{font-size:1.5rem;font-weight:900}
.brand small{font-size:.7rem;letter-spacing:2px;color:#fff;opacity:.8}
.nav{display:flex;gap:6px;margin-inline-start:20px;flex:1}
.nav a{padding:8px 16px;border-radius:999px;font-weight:600;font-size:.92rem;color:#e8ddd5;transition:.2s}
.nav a:hover{color:var(--orange)}
.nav a.active{border:1px solid var(--orange);color:var(--orange)}
.topbar-actions{display:flex;align-items:center;gap:10px}
.icon-btn{position:relative;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:#150e0a;color:#fff;cursor:pointer;transition:.2s}
.icon-btn:hover{border-color:var(--orange);color:var(--orange)}
.badge{position:absolute;top:-4px;inset-inline-start:-4px;background:var(--orange);color:#fff;border-radius:999px;font-size:.7rem;font-weight:800;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px}
.badge[hidden]{display:none}
.search-pop{display:flex;align-items:center;position:relative}
.search-pop input{width:0;opacity:0;padding:0;border:0;background:#150e0a;color:#fff;border-radius:999px;height:42px;transition:.3s;outline:0}
.search-pop.open input{width:230px;opacity:1;padding:0 16px;border:1px solid var(--orange);margin-inline-end:6px}
.user-menu{position:relative}
.dropdown{position:absolute;top:100%;inset-inline-end:0;min-width:200px;max-width:calc(100vw - 24px);background:#150e0a;border:1px solid var(--line);border-radius:14px;padding:8px;display:none;margin-top:0;box-shadow:0 18px 40px rgba(0,0,0,.5);z-index:60}
.dropdown::before{content:"";position:absolute;top:-10px;inset-inline:0;height:10px}
.user-menu:hover .dropdown{display:block}
.dropdown a,.dd-name{display:block;padding:8px 12px;border-radius:8px;font-size:.9rem}
.dd-name{color:var(--orange);font-weight:700}
.dropdown a:hover{background:var(--line)}
.burger{display:none;background:none;border:1px solid var(--line);color:#fff;width:42px;height:42px;border-radius:12px;font-size:1.2rem;cursor:pointer}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 22px;border-radius:999px;font-weight:700;border:1.5px solid transparent;cursor:pointer;transition:.2s;font-size:.95rem}
.btn-sm{padding:8px 18px;font-size:.85rem}
.btn-lg{padding:14px 34px;font-size:1.05rem}
.btn-primary{background:linear-gradient(135deg,var(--orange2),var(--red));color:#fff;box-shadow:0 8px 24px rgba(255,90,31,.35)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(255,90,31,.5)}
.btn-outline{border-color:var(--orange);color:#fff;background:transparent}
.btn-outline:hover{background:var(--orange)}
.btn-cream{background:var(--cream);color:var(--red)}
.btn-block{width:100%}
.btn-danger{background:#3a1410;color:#ff7a66;border-color:#5a2018}
.link-orange{color:var(--orange);font-weight:700;font-size:.9rem}

/* ===== Hero ===== */
.hero{position:relative;overflow:hidden;padding:46px 0 70px;
  background:linear-gradient(180deg,rgba(13,9,7,.2),var(--bg)),
  radial-gradient(600px 300px at 70% 30%,rgba(255,138,48,.18),transparent 70%),
  linear-gradient(90deg,transparent 0 55%,rgba(255,90,31,.06))}
.hero::before{content:"";position:absolute;inset:0;background:
  repeating-linear-gradient(90deg,transparent 0 38px,rgba(255,138,48,.05) 38px 40px),
  linear-gradient(180deg,transparent 55%,rgba(255,90,31,.15));opacity:.7;pointer-events:none}
.hero-in{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:30px;align-items:center}
.hero-kicker{font-size:.72rem;letter-spacing:5px;color:var(--muted)}
.hero h1{font-size:clamp(2.4rem,5.5vw,4.4rem);font-weight:900;line-height:1.2;margin:10px 0 14px}
.hero h1 em{font-style:normal;background:linear-gradient(90deg,#ff8a3d,#ff4d1a);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-text>p{color:#d8c9bd;max-width:480px;margin-bottom:24px}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.hero-feats{display:flex;gap:28px;margin-top:38px;flex-wrap:wrap}
.hero-feats div{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}
.hero-feats i{grid-row:span 2;font-style:normal;font-size:1.8rem;width:50px;height:50px;border:1px solid var(--orange);border-radius:50%;display:grid;place-items:center;color:var(--orange)}
.hero-feats b{font-size:.9rem;line-height:1.2}
.hero-feats small{color:var(--muted);font-size:.78rem;line-height:1.2}
.hero-visual{position:relative;height:460px}
.hv-burger{position:absolute;inset-inline-end:-30px;bottom:-10px;font-size:11rem;filter:drop-shadow(0 20px 40px rgba(255,90,31,.4));transform:rotate(-8deg);z-index:1}

/* Phones */
.phone{position:absolute;background:#0b0705;border:5px solid #26201c;border-radius:34px;box-shadow:0 25px 60px rgba(0,0,0,.6),0 0 40px rgba(255,90,31,.15);overflow:hidden}
.phone-back{width:230px;height:400px;top:0;inset-inline-start:15%}
.phone-front{width:205px;height:380px;top:22px;inset-inline-start:48%}
.phone-screen{padding:14px 12px;font-size:.62rem;height:100%;background:linear-gradient(180deg,#161009,#0d0907)}
.ph-head{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.ph-head img{width:22px;height:22px;border-radius:50%}
.ph-search{background:#fff;color:#999;border-radius:8px;padding:6px 10px;margin-bottom:8px}
.ph-banner{background:linear-gradient(135deg,#ff7a2f,#d62718);border-radius:12px;padding:12px;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.7rem}
.ph-banner span{background:#fff;color:var(--red);padding:3px 8px;border-radius:99px;font-weight:800;font-size:.55rem}
.ph-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 4px;text-align:center}
.ph-cats i{font-style:normal;display:grid;place-items:center;width:34px;height:34px;margin:0 auto 2px;border-radius:50%;background:#2a1c13;font-size:1rem}
.ph-photo{height:130px;margin:-14px -12px 8px;overflow:hidden;background:#2a1c13}
.ph-photo img,.ph-photo .emoji-fb{width:100%;height:100%;object-fit:cover}
.ph-info{margin-bottom:8px}.ph-info b{font-size:.8rem;display:block}.ph-info small{color:var(--muted)}
.ph-item{display:flex;justify-content:space-between;align-items:center;background:#1c130e;border-radius:10px;padding:8px;margin-bottom:6px}
.ph-item i{font-style:normal;font-size:1.6rem}.ph-item b{display:block}.ph-item small{color:var(--orange)}
.app-logo{display:grid;place-items:center;background:#000}.app-logo img{width:110px;border-radius:50%}

/* emoji fallback for images */
.emoji-fb{display:grid;place-items:center;font-size:3rem;background:linear-gradient(135deg,#2a1c13,#3a2418);width:100%;height:100%;min-height:60px}

/* ===== Sections ===== */
.sec{margin-top:26px}
.card-cream{background:linear-gradient(180deg,var(--cream),var(--cream2));color:var(--ink);border-radius:var(--radius);padding:26px 28px;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.card-dark{background:linear-gradient(180deg,#1a110c,#120b08);border:1px solid var(--line);border-radius:var(--radius);padding:26px 28px;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px}
.sec-head h2{font-size:1.35rem;font-weight:800;line-height:1.3}
.sec-head p{font-size:.85rem;opacity:.65}
.sec-head.center{justify-content:center;text-align:center}
.card-cream .link-orange{color:var(--orange)}

/* Categories */
.cat-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:14px}
.cat{text-align:center;font-weight:700;transition:.2s}
.cat:hover{transform:translateY(-4px)}
.cat-img{aspect-ratio:1.15;border-radius:16px;overflow:hidden;margin-bottom:8px;background:#f3d9c4;border:1px solid #f1d6c2}
.cat-img img{width:100%;height:100%;object-fit:cover}
.cat .emoji-fb{background:#f3d9c4;font-size:2.4rem}

/* Restaurants */
.rest-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.rest-card{background:#241810;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.25s;display:block}
.rest-card:hover{transform:translateY(-5px);border-color:var(--orange);box-shadow:0 14px 34px rgba(255,90,31,.2)}
.rc-cover{height:150px;position:relative;overflow:hidden}
.rc-cover img{width:100%;height:100%;object-fit:cover}
.rc-heart{position:absolute;top:10px;inset-inline-end:10px;background:rgba(0,0,0,.45);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;backdrop-filter:blur(4px)}
.rc-body{padding:0 14px 14px;position:relative;text-align:start}
.rc-logo{position:relative;margin-top:-26px;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;border:3px solid #fff;font-size:1.5rem;box-shadow:0 4px 12px rgba(0,0,0,.4)}
.rc-body h3{font-size:1.05rem;margin:6px 0 2px}
.rc-meta{display:flex;gap:14px;font-size:.8rem;color:#d8c9bd;flex-wrap:wrap}
.rc-meta small{color:var(--muted)}
.rc-tag{display:inline-block;margin-top:10px;padding:3px 14px;border:1px solid #4a3426;border-radius:99px;font-size:.75rem;color:#cdbcae}

/* How */
.how{position:relative;display:grid;grid-template-columns:260px 1fr;gap:20px;align-items:center;overflow:hidden;padding-inline-start:10px}
.how-rider{font-size:9rem;text-align:center;filter:drop-shadow(0 10px 20px rgba(229,58,18,.4))}
.steps{display:flex;align-items:flex-start;justify-content:space-around;gap:10px}
.step{text-align:center;flex:1;position:relative;padding-top:6px}
.step i{font-style:normal;font-size:2rem;display:grid;place-items:center;width:78px;height:78px;margin:0 auto 10px;border-radius:50%;background:linear-gradient(135deg,#ffe0cc,#ffd0b4);border:1px solid #ffc4a0}
.step-n{position:absolute;top:0;inset-inline-start:calc(50% + 24px);background:var(--orange);color:#fff;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:.85rem;z-index:2}
.step h3{font-size:1rem}.step p{font-size:.78rem;color:var(--muted-d);padding:0 8px}
.step-arrow{color:#ffb089;font-size:1.8rem;margin-top:28px}

/* Features */
.feat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.feat{background:linear-gradient(180deg,#2b1b11,#1c130e);border:1px solid #3a281b;border-radius:16px;padding:20px 12px;text-align:center;transition:.2s}
.feat:hover{border-color:var(--orange)}
.feat i{font-style:normal;font-size:1.6rem;display:block;margin-bottom:6px;color:var(--orange)}
.feat h3{font-size:.95rem}.feat p{font-size:.75rem;color:var(--muted)}

/* Offer */
.offer{position:relative;overflow:hidden;border-radius:var(--radius);padding:34px 40px;display:flex;justify-content:space-between;align-items:center;gap:20px;
  background:radial-gradient(500px 250px at 20% 50%,rgba(255,138,48,.5),transparent),linear-gradient(100deg,#6b1708,#d62d0c 55%,#ff6a1f)}
.offer h2{font-size:1.8rem;font-weight:900;max-width:520px;line-height:1.35}
.offer p{opacity:.9;margin:6px 0 16px}
.offer-visual{position:relative;display:flex;align-items:center;gap:20px}
.offer-burger{font-size:8rem;filter:drop-shadow(0 12px 24px rgba(0,0,0,.4))}
.offer-badge{background:#fff;color:var(--red);border-radius:16px;padding:10px 22px;text-align:center;transform:rotate(-8deg);box-shadow:0 10px 30px rgba(0,0,0,.35)}
.offer-badge small{display:block;font-weight:700}.offer-badge b{font-size:3rem;line-height:1;font-weight:900}

/* App */
.app{position:relative;display:grid;grid-template-columns:1.2fr 1fr 1fr;align-items:center;gap:20px;min-height:200px;overflow:hidden}
.app-text h2{font-size:1.7rem;font-weight:900}.app-text p{color:#d8c9bd;margin:6px 0 16px}
.stores{display:flex;gap:12px;flex-wrap:wrap}
.store{display:flex;align-items:center;gap:10px;background:#000;border:1px solid #444;border-radius:12px;padding:8px 16px;min-width:150px}
.store i{font-style:normal;font-size:1.5rem}.store small{display:block;font-size:.65rem;color:#bbb;line-height:1}.store b{font-size:1rem;line-height:1.2}
.app-visual{position:relative;height:210px}
.app-visual .phone{position:absolute;width:150px;height:260px;top:-10px;inset-inline-start:30%}
.app-list{list-style:none;display:grid;gap:8px}
.app-list li{background:#241810;border:1px solid var(--line);border-radius:12px;padding:8px 14px;font-size:.85rem}

/* Testimonials */
.testi-wrap{display:grid;grid-template-columns:2.3fr 1fr;gap:20px}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.testi{background:#fff;border-radius:16px;padding:16px;box-shadow:0 6px 18px rgba(120,60,20,.08)}
.testi-top{display:flex;gap:10px;align-items:center;margin-bottom:8px}
.avatar{width:44px;height:44px;border-radius:50%;background:#ffe2cf;display:grid;place-items:center;font-size:1.6rem}
.stars{color:#ffa41b;font-size:.85rem;letter-spacing:2px}
.testi p{font-size:.85rem;color:#5a4a40}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.stats div{background:#fff;border-radius:16px;padding:14px 6px;text-align:center;box-shadow:0 6px 18px rgba(120,60,20,.08)}
.stats i{font-style:normal;display:block;font-size:1.4rem}.stats b{display:block;font-size:1.3rem;color:var(--red);line-height:1.2}.stats small{color:var(--muted-d);font-size:.72rem}

/* ===== Footer ===== */
.footer{margin-top:26px;background:#0a0605;border-top:1px solid var(--line);border-radius:36px 36px 0 0;padding-top:34px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.3fr 1fr;gap:26px;padding-bottom:26px}
.footer h4{font-size:.95rem;margin-bottom:10px}
.footer-grid a{display:block;font-size:.85rem;color:var(--muted);margin-bottom:4px}
.footer-grid a:hover{color:var(--orange)}
.f-brand p{margin-top:10px;font-size:.85rem}
.f-line{font-size:.82rem;color:var(--muted);margin-bottom:6px}
.socials{display:flex;gap:8px;flex-wrap:wrap}
.socials a{width:34px;height:34px;display:grid!important;place-items:center;border-radius:50%;background:#1c130e;border:1px solid var(--line);margin:0!important;color:#fff!important}
.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:14px 0;font-size:.78rem;color:var(--muted);gap:10px;flex-wrap:wrap}

/* ===== Inner pages ===== */
.page{padding:34px 0 20px}
.page-title{font-size:1.8rem;font-weight:900;margin-bottom:6px}
.page-sub{color:var(--muted);margin-bottom:22px}
.panel{background:linear-gradient(180deg,#1a110c,#120b08);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.chip{padding:8px 18px;border-radius:99px;border:1px solid var(--line);background:#150e0a;font-size:.88rem;font-weight:600;transition:.2s}
.chip:hover,.chip.on{border-color:var(--orange);color:var(--orange)}
.chip.on{background:rgba(255,90,31,.12)}
.search-row{display:flex;gap:10px;margin-bottom:16px}
.field{width:100%;padding:12px 16px;border-radius:14px;border:1px solid var(--line);background:#150e0a;color:#fff;font-size:.95rem;outline:0;transition:.2s}
.field:focus{border-color:var(--orange)}
label.lbl{display:block;font-size:.85rem;margin:12px 0 5px;color:#d8c9bd;font-weight:600}
.empty{text-align:center;padding:50px 10px;color:var(--muted)}

/* Restaurant page */
.r-hero{position:relative;height:230px;border-radius:var(--radius);overflow:hidden;margin-bottom:60px}
.r-hero>img,.r-hero>.emoji-fb{width:100%;height:100%;object-fit:cover}
.r-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(13,9,7,.85))}
.r-info{position:absolute;z-index:2;inset-inline:24px;bottom:-44px;display:flex;align-items:flex-end;gap:16px}
.r-info .rc-logo{width:84px;height:84px;font-size:2.4rem;margin:0;border-width:4px}
.r-info h1{font-size:1.7rem;line-height:1.2}
.r-meta{display:flex;gap:16px;flex-wrap:wrap;color:#d8c9bd;font-size:.88rem;margin-top:4px}
.menu-layout{display:grid;grid-template-columns:1fr 340px;gap:22px;align-items:start}
.menu-section h3{font-size:1.2rem;margin:20px 0 10px;color:var(--orange)}
.menu-item{display:flex;gap:14px;background:#1c130e;border:1px solid var(--line);border-radius:18px;padding:12px;margin-bottom:12px;align-items:center;transition:.2s}
.menu-item:hover{border-color:#4a3426}
.mi-img{width:104px;height:104px;border-radius:14px;overflow:hidden;flex:none}
.mi-img img{width:100%;height:100%;object-fit:cover}
.mi-img .emoji-fb{font-size:2.4rem}
.mi-body{flex:1}.mi-body h4{font-size:1rem}.mi-body p{font-size:.8rem;color:var(--muted);margin:2px 0 8px}
.mi-foot{display:flex;justify-content:space-between;align-items:center}
.price{font-weight:800;color:var(--orange);font-size:1.05rem}
.add-btn{background:var(--orange);color:#fff;border:0;width:38px;height:38px;border-radius:50%;font-size:1.4rem;cursor:pointer;transition:.2s;line-height:1}
.add-btn:hover{transform:scale(1.12)}
.side-cart{position:sticky;top:94px}
.side-cart h3{margin-bottom:12px}

/* Cart */
.cart-line{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.cart-line:last-child{border:0}
.cart-line .mi-img{width:70px;height:70px}
.cl-name{flex:1}.cl-name b{display:block}.cl-name small{color:var(--muted)}
.qty{display:inline-flex;align-items:center;gap:8px;background:#150e0a;border:1px solid var(--line);border-radius:99px;padding:3px}
.qty button{width:28px;height:28px;border-radius:50%;border:0;background:var(--line);color:#fff;cursor:pointer;font-size:1rem}
.qty button:hover{background:var(--orange)}
.qty span{min-width:20px;text-align:center;font-weight:700}
.sum-row{display:flex;justify-content:space-between;padding:6px 0;color:#d8c9bd}
.sum-row.total{border-top:1px dashed #4a3426;margin-top:8px;padding-top:12px;color:#fff;font-weight:800;font-size:1.15rem}
.sum-row .green{color:#4ade80}
.two-col{display:grid;grid-template-columns:1fr 360px;gap:22px;align-items:start}
.coupon-row{display:flex;gap:8px;margin:14px 0}
.pay-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pay-opts label{border:1px solid var(--line);border-radius:14px;padding:12px;text-align:center;cursor:pointer;background:#150e0a}
.pay-opts input{display:none}.pay-opts input:checked+span{color:var(--orange);font-weight:800}
.pay-opts label:has(input:checked){border-color:var(--orange);background:rgba(255,90,31,.1)}

/* Auth */
.auth{max-width:440px;margin:30px auto}
.auth h1{text-align:center;margin-bottom:4px}
.auth .brand{justify-content:center;margin-bottom:16px}
.auth-alt{text-align:center;margin-top:14px;color:var(--muted);font-size:.9rem}
.auth-alt a{color:var(--orange);font-weight:700}

/* Orders */
.order-card{background:#1c130e;border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:14px}
.order-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.status{display:inline-block;padding:3px 14px;border-radius:99px;font-size:.78rem;font-weight:800;color:#fff}
.track{display:flex;justify-content:space-between;margin:20px 0 6px;position:relative}
.track::before{content:"";position:absolute;top:14px;inset-inline:6%;height:3px;background:var(--line)}
.tr-step{position:relative;text-align:center;flex:1;font-size:.78rem;color:var(--muted)}
.tr-step i{display:grid;place-items:center;width:30px;height:30px;margin:0 auto 4px;border-radius:50%;background:var(--line);font-style:normal;position:relative;z-index:1}
.tr-step.done{color:#fff}.tr-step.done i{background:var(--orange)}

/* Toast */
.toast-bar{max-width:600px;margin:14px auto 0;padding:12px 20px;border-radius:14px;text-align:center;font-weight:700;background:rgba(34,197,94,.15);border:1px solid #22c55e;color:#86efac}
.toast-bar.err{background:rgba(239,68,68,.15);border-color:#ef4444;color:#fca5a5}
#toast{position:fixed;bottom:24px;inset-inline:0;margin:auto;width:max-content;max-width:90%;background:var(--orange);color:#fff;padding:12px 24px;border-radius:99px;font-weight:700;box-shadow:0 10px 30px rgba(0,0,0,.5);opacity:0;transform:translateY(20px);transition:.3s;pointer-events:none;z-index:99}
#toast.show{opacity:1;transform:none}

/* Admin */
.admin-wrap{display:grid;grid-template-columns:220px 1fr;gap:20px;padding:26px 0}
.admin-nav{background:#150e0a;border:1px solid var(--line);border-radius:var(--radius);padding:12px;height:max-content;position:sticky;top:94px}
.admin-nav a{display:block;padding:10px 14px;border-radius:12px;font-weight:600;margin-bottom:4px}
.admin-nav a:hover,.admin-nav a.on{background:rgba(255,90,31,.14);color:var(--orange)}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}
.stat-box{background:#1c130e;border:1px solid var(--line);border-radius:18px;padding:18px}
.stat-box b{display:block;font-size:1.7rem;color:var(--orange)}.stat-box small{color:var(--muted)}
table.tbl{width:100%;border-collapse:collapse;font-size:.88rem}
.tbl th{text-align:start;color:var(--muted);font-weight:600;padding:10px;border-bottom:1px solid var(--line)}
.tbl td{padding:10px;border-bottom:1px solid #22170f;vertical-align:middle}
.tbl select,.tbl input.field{padding:6px 10px;border-radius:10px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.form-grid .full{grid-column:1/-1}

/* ===== Responsive ===== */
@media(max-width:1000px){
  .hero-in{grid-template-columns:1fr}.hero-visual{height:420px;max-width:520px;margin-inline:auto;width:100%}
  .cat-grid{grid-template-columns:repeat(4,1fr)}
  .rest-grid{grid-template-columns:repeat(2,1fr)}
  .feat-grid{grid-template-columns:repeat(3,1fr)}
  .how{grid-template-columns:1fr}.how-rider{font-size:6rem}
  .app{grid-template-columns:1fr}.app-visual{display:none}
  .testi-wrap{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .menu-layout,.two-col{grid-template-columns:1fr}.side-cart{position:static}
  .admin-wrap{grid-template-columns:1fr}.admin-nav{position:static;display:flex;flex-wrap:wrap;gap:4px}
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .offer{flex-direction:column;text-align:center}
}
@media(max-width:760px){
  .burger{display:block;margin-inline-start:auto;order:3}
  .nav{display:none;position:absolute;top:74px;inset-inline:0;background:#0d0907;flex-direction:column;padding:12px 16px;border-bottom:1px solid var(--line);margin:0}
  .nav.open{display:flex}
  .hide-sm{display:none}
  .topbar-in{gap:10px}
  .topbar-actions{margin-inline-start:auto}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .rest-grid{grid-template-columns:1fr}
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .steps{flex-direction:column;align-items:center}.step-arrow{transform:rotate(-90deg);margin:0}
  .testi-grid{grid-template-columns:1fr}
  .hero-visual{height:360px}.hv-burger{font-size:7rem}
  .phone-back{width:180px;height:320px;inset-inline-start:2%}.phone-front{width:165px;height:300px;inset-inline-start:42%}
  .offer{padding:24px}.offer h2{font-size:1.35rem}.offer-burger{font-size:5rem}
  .menu-item{flex-direction:row}.mi-img{width:84px;height:84px}
  .form-grid{grid-template-columns:1fr}
  .search-pop.open input{width:150px}
}

/* ===== Language / location / modal ===== */
.loc-btn{display:inline-flex;align-items:center;gap:4px;background:#150e0a;border:1px solid var(--line);color:#fff;border-radius:999px;padding:8px 14px;font-weight:700;font-size:.82rem;cursor:pointer;max-width:150px;white-space:nowrap}
.loc-btn span{overflow:hidden;text-overflow:ellipsis}
.loc-btn:hover{border-color:var(--orange);color:var(--orange)}
.lang-btn{display:grid;place-items:center;height:42px;min-width:42px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:#150e0a;font-weight:800;font-size:.8rem}
.lang-btn:hover{border-color:var(--orange);color:var(--orange)}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.7);display:grid;place-items:center;z-index:100;padding:16px}
.modal[hidden]{display:none}
.modal-box{background:#1c130e;border:1px solid var(--line);border-radius:22px;padding:26px;width:min(420px,100%);position:relative}
.modal-box h3{margin-bottom:2px}.modal-box .muted{margin-bottom:16px;font-size:.88rem}
.modal-x{position:absolute;top:12px;inset-inline-end:14px;background:none;border:0;color:#fff;font-size:1.2rem;cursor:pointer}
.or{text-align:center;margin:16px 0;color:var(--muted);font-size:.8rem}
.city-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.city-list .chip{cursor:pointer;color:#fff}
.rc-dist,.rc-closed{position:absolute;bottom:8px;inset-inline-end:10px;background:rgba(0,0,0,.6);padding:2px 10px;border-radius:99px;font-size:.75rem;backdrop-filter:blur(4px)}
.rc-closed{inset-inline-end:auto;inset-inline-start:10px;background:#ef4444}
.rest-card.is-closed{opacity:.6}
.rc-heart.on{color:var(--orange)}
body.lang-en .hero h1{line-height:1.15}
.search-box{width:min(520px,100%)}
.search-box .search-row{margin-bottom:0}
.search-box .chip{display:inline-block}
.status{background:var(--c,#777);color:#fff}

/* ===== Mobile header fix ===== */
.nav-m{display:none}
@media(max-width:760px){
  .topbar-in{height:64px;gap:8px}
  .brand img{width:38px;height:38px}
  .brand b{font-size:1.2rem}.brand small{display:none}
  .topbar-actions{gap:6px;margin-inline-start:auto}
  .lang-btn,.user-menu,.topbar-actions>.btn{display:none}
  .loc-btn{width:38px;height:38px;padding:0;justify-content:center;border-radius:50%;font-size:1rem}
  .loc-btn span{display:none}
  .icon-btn{width:38px;height:38px}
  .burger{margin-inline-start:0;order:5;width:38px;height:38px}
  .nav{top:64px;gap:2px;max-height:calc(100vh - 64px);overflow:auto}
  .nav a{padding:12px 14px;border-radius:12px}
  .nav .nav-m{display:block}
  .hero{padding-top:26px}
}
@media(max-width:380px){.brand span{display:none}}

/* ===== Hamburger sidebar (drawer) ===== */
.nav-head,.nav-scrim{display:none}
@media(max-width:900px){
  .burger{display:grid!important;place-items:center;order:5;margin-inline-start:0;width:40px;height:40px;border-radius:12px}
  .topbar-actions{margin-inline-start:auto}
  .nav{display:flex!important;flex-direction:column;position:fixed;top:0;bottom:0;inset-inline-start:0;width:min(300px,84vw);max-height:none;margin:0;padding:16px 14px 24px;gap:4px;
    background:#120c09;border-inline-end:1px solid var(--line);box-shadow:0 0 60px rgba(0,0,0,.7);z-index:120;overflow:auto;
    transform:translateX(-105%);transition:transform .28s ease;flex:none}
  html[dir=rtl] .nav{transform:translateX(105%)}
  .nav.open{transform:none!important}
  .nav-head{display:flex;justify-content:space-between;align-items:center;padding:4px 6px 16px;margin-bottom:8px;border-bottom:1px solid var(--line)}
  .nav-x{background:#1c130e;border:1px solid var(--line);color:#fff;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:1rem}
  .nav a{padding:13px 16px;border-radius:14px;font-size:1rem;display:flex;align-items:center;gap:10px}
  .nav a.active{background:rgba(255,90,31,.14);border-color:transparent}
  .nav .nav-m{display:flex;margin-top:0}
  .nav-scrim{display:block;position:fixed;inset:0;background:rgba(0,0,0,.6);backdrop-filter:blur(2px);z-index:110;opacity:0;visibility:hidden;transition:.25s}
  .nav-scrim.open{opacity:1;visibility:visible}
  body.nav-lock{overflow:hidden}
}
@media(max-width:900px){
  /* backdrop-filter يجعل العناصر fixed بالداخل نسبةً للهيدر، لذا نلغيه هنا */
  .topbar{backdrop-filter:none;-webkit-backdrop-filter:none;background:#0d0907}
}

/* ===== Footer contact lines ===== */
.f-line{display:flex;align-items:flex-start;gap:10px;font-size:.88rem;color:var(--muted);margin-bottom:10px;line-height:1.6}
.f-line i{font-style:normal;flex:none;width:22px;text-align:center}
.f-line span[dir=ltr]{unicode-bidi:isolate;white-space:nowrap}
@media(max-width:760px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:22px 16px}
  .footer-grid>div:first-child,.footer-grid>div:nth-child(4){grid-column:1/-1}
}

/* ===== Add-ons sheet (site) ===== */
.ad-txt{display:block;color:var(--muted);font-size:.78rem}
.opt-box{max-height:90vh;overflow:auto;width:min(460px,100%)}
.opt-base{color:var(--orange);font-weight:800;margin-bottom:6px}
.opt-title{display:flex;justify-content:space-between;align-items:baseline;margin:14px 0 4px}.opt-title small{color:var(--muted)}
.opt-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 4px;border-bottom:1px solid var(--line);cursor:pointer}
.opt-row input{accent-color:#ff5a1f;width:20px;height:20px;vertical-align:middle;margin-inline-end:6px}
.opt-qty{display:flex;justify-content:space-between;align-items:center;margin:16px 0}
.opt-box .c-qty{display:inline-flex;align-items:center;gap:12px;font-weight:900}
.opt-box .c-qty button{width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:#1c130e;color:#fff;cursor:pointer}
.opt-box .c-qty button.p{background:var(--orange);border-color:var(--orange)}
.opt-go{padding:14px;font-size:1rem}

/* ===== Site steppers ===== */
.qty{direction:ltr}
.qty button{display:grid;place-items:center;padding:0;font-size:0;line-height:1}
.opt-box .c-qty{direction:ltr}
.opt-box .c-qty button{display:grid;place-items:center;padding:0;font-size:0}
.coupon-row .btn{white-space:nowrap}
.sum-row .green,.green{color:#4ade80}
