html, body, #root { margin: 0; min-height: 100%; }
:root {
  --teal: #1a8c9b; --teal-d: #0f6471; --teal-l: #8fd3da; --ink: #15414b;
  --gold: #f2a20a; --gold-d: #c98400; --cream: #fff7ea; --cream2: #fdeccb;
  --card: #fff5e6; --line: #ead9bb; --muted: #5f7d84; --white: #fff;
  --red: #d8453a; --wa: #1faa59;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body { font-family:'Cairo','Noto Sans Arabic','Tajawal',sans-serif; background:#fff; color:var(--ink); min-height:100vh; }
button, input, textarea, select { font-family:inherit; }

/* header */
nav.top { position:sticky; top:0; z-index:900; background:var(--teal); box-shadow:0 2px 14px rgba(15,100,113,.25); }
.top-in { max-width:1120px; margin:0 auto; display:flex; align-items:center; gap:1.2rem; padding:.55rem 16px; }
.brand { display:flex; align-items:center; gap:.65rem; color:#fff; font-weight:900; font-size:1.05rem; line-height:1.15; }
.brand img { width:44px; height:44px; border-radius:50%; border:2px solid #fff; background:#fff; }
.brand small { display:block; font-size:.62rem; font-weight:600; letter-spacing:1.5px; opacity:.85; }
.nav-links { display:flex; gap:1.4rem; margin-inline-start:1rem; flex:1; }
.nl { color:#fff; text-decoration:none; font-weight:700; font-size:.92rem; opacity:.92; }
.nl:hover { opacity:1; text-decoration:underline; text-underline-offset:6px; }
.nav-btns { margin-inline-start:auto; }
#cartBtn { background:#fff; color:var(--teal-d); border:none; cursor:pointer; padding:.5rem 1.1rem; border-radius:50px; font-size:.9rem; font-weight:800; display:flex; align-items:center; gap:.45rem; box-shadow:0 3px 10px rgba(0,0,0,.12); }
#cartCount { background:var(--gold); color:#2b1a00; min-width:22px; height:22px; border-radius:50px; display:inline-flex; align-items:center; justify-content:center; font-size:.72rem; font-weight:800; padding:0 5px; }
.strip { background:var(--cream2); color:var(--ink); display:flex; justify-content:center; align-items:center; gap:.9rem; flex-wrap:wrap; padding:.5rem 16px; font-size:.8rem; font-weight:700; }
.strip i { width:4px; height:4px; border-radius:50%; background:var(--gold); }

/* hero */
.hero { background:linear-gradient(180deg,#fff 0%,#f1fafb 100%); overflow:hidden; }
.hero-in { max-width:1120px; margin:0 auto; padding:3.2rem 16px 3.6rem; display:grid; grid-template-columns:1.1fr .9fr; gap:2rem; align-items:center; }
.hero-kicker { color:var(--teal); font-weight:800; font-size:1.05rem; margin-bottom:.6rem; }
.hero h1 { font-weight:900; font-size:clamp(2.3rem,6.2vw,4.4rem); line-height:1.18; color:var(--ink); margin-bottom:1rem; }
.hero h1 span { color:var(--gold-d); }
.hero-p { color:var(--muted); font-size:1.08rem; line-height:1.95; max-width:34rem; margin-bottom:1.6rem; font-weight:500; }
.hero-cta { display:inline-flex; align-items:center; gap:.8rem; background:var(--teal); color:#fff; border:none; cursor:pointer; padding:.55rem .6rem .55rem 1.6rem; border-radius:60px; font-size:1.1rem; font-weight:800; box-shadow:0 10px 24px rgba(26,140,155,.35); transition:transform .2s; }
.hero-cta:hover { transform:translateY(-2px); }
.hero-cta b { width:42px; height:42px; border-radius:50%; background:#fff; color:var(--teal); display:flex; align-items:center; justify-content:center; font-size:1.3rem; }
.hero-art { position:relative; display:flex; justify-content:center; align-items:center; }
.hero-art .ring { position:absolute; width:min(430px,92%); aspect-ratio:1; border-radius:50%; border:2px dashed var(--teal-l); transform:scale(1.08); }
.hero-logo { position:relative; width:min(380px,82%); height:auto; aspect-ratio:1; border-radius:50%; box-shadow:0 24px 50px rgba(15,100,113,.28); background:#fff; }
.install-btn { margin-top:1rem; background:#fff; color:var(--teal-d); border:1.5px solid var(--teal); border-radius:50px; padding:.5rem 1.2rem; font-weight:700; cursor:pointer; font-size:.85rem; }
.install-btn[hidden], .ios-hint[hidden] { display:none; }
.ios-hint { margin-top:.7rem; font-size:.78rem; color:var(--muted); line-height:1.8; }

/* marquee */
.marquee { background:var(--gold); color:#2b1a00; overflow:hidden; white-space:nowrap; padding:.7rem 0; font-weight:800; font-size:1.05rem; direction:ltr; }
.mq-track { display:inline-flex; animation:mq 28s linear infinite; }
.mq-track span { padding-inline:.5rem; direction:rtl; }
@keyframes mq { from { transform:translateX(0); } to { transform:translateX(-33.333%); } }

/* info */
.info-row { max-width:1000px; margin:2.4rem auto 0; padding:0 16px; display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.info-it { display:flex; gap:.8rem; align-items:center; background:#f1fafb; border-radius:20px; padding:1rem 1.1rem; }
.info-it .ic { width:48px; height:48px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0; box-shadow:0 3px 10px rgba(15,100,113,.12); }
.info-it b { display:block; font-size:.95rem; color:var(--ink); }
.info-it small { color:var(--muted); font-size:.76rem; line-height:1.6; font-weight:500; }

/* menu */
.menu-wrap { max-width:1060px; margin:0 auto; padding:3rem 16px 3rem; }
.menu-head { text-align:center; margin-bottom:1.6rem; }
.kicker { display:inline-block; background:var(--cream2); color:var(--gold-d); font-weight:800; font-size:.8rem; padding:.2rem .9rem; border-radius:50px; margin-bottom:.6rem; }
.menu-head h2 { font-size:clamp(2rem,5vw,3rem); font-weight:900; color:var(--teal); line-height:1.3; }
.menu-head p { color:var(--muted); font-weight:500; margin-top:.3rem; }
.menu-tools { position:sticky; top:62px; z-index:800; background:rgba(255,255,255,.96); backdrop-filter:blur(10px); padding:.7rem 0 .6rem; margin:0 -16px 1.6rem; padding-inline:16px; border-bottom:1px solid var(--line); }
.search-wrap { margin-bottom:.7rem; }
.search-box { width:100%; padding:.75rem 1.2rem; border-radius:50px; border:1.5px solid var(--line); background:var(--cream); color:var(--ink); font-size:1rem; outline:none; }
.search-box:focus { border-color:var(--teal); background:#fff; }
.cats { display:flex; gap:.5rem; overflow-x:auto; padding-bottom:.2rem; scrollbar-width:none; }
.cats::-webkit-scrollbar { display:none; }
.cat { flex-shrink:0; background:#fff; color:var(--teal-d); border:1.5px solid var(--teal-l); cursor:pointer; padding:.42rem 1.05rem; border-radius:50px; font-size:.86rem; font-weight:700; transition:all .2s; white-space:nowrap; }
.cat:hover { border-color:var(--teal); }
.cat.active { background:var(--teal); color:#fff; border-color:var(--teal); }
.sec { margin-bottom:2.4rem; }
.sec-title { font-size:1.5rem; font-weight:900; color:var(--ink); margin:1.2rem 0 3.4rem; display:flex; align-items:center; gap:.8rem; }
.sec-title::after { content:''; flex:1; height:2px; background:linear-gradient(90deg,var(--line),transparent); }
html[dir=rtl] .sec-title::after, .cinnabon-root .sec-title::after { background:linear-gradient(270deg,var(--line),transparent); }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:3.6rem 1.4rem; }
.card { position:relative; background:var(--card); border-radius:26px; display:flex; flex-direction:column; padding:0 1.1rem 1.1rem; transition:transform .25s, box-shadow .25s; }
.card:hover { transform:translateY(-4px); box-shadow:0 16px 34px rgba(15,100,113,.12); }
.card.unavail { opacity:.55; }
.card.unavail .add-btn { background:#aaa; cursor:not-allowed; pointer-events:none; }
.card-img { width:calc(100% - 1.6rem); margin:-2.6rem auto 0; aspect-ratio:1/1; object-fit:cover; display:block; border-radius:22px; box-shadow:0 14px 28px rgba(21,65,75,.22); background:var(--cream2); }
.card-img-placeholder { width:110px; height:110px; margin:-2.6rem auto 0; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; font-size:3.2rem; box-shadow:0 12px 26px rgba(21,65,75,.15); }
.unavail-badge { display:none; background:#fde4e1; color:var(--red); border-radius:10px; padding:.35rem .7rem; font-size:.75rem; font-weight:800; text-align:center; margin:.6rem 0 0; }
.card.unavail .unavail-badge { display:block; }
.card-top { padding:.9rem .2rem .2rem; text-align:center; }
.card-name { font-weight:800; font-size:1.08rem; color:var(--teal-d); line-height:1.5; }
.card-desc { font-size:.8rem; color:var(--muted); margin-top:.25rem; line-height:1.7; font-weight:500; }
.card-note { font-size:.74rem; color:var(--gold-d); margin-top:.25rem; line-height:1.6; font-weight:700; }
.card-body { padding:.7rem 0; flex:1; }
.sauce-lbl { font-size:.74rem; color:var(--ink); font-weight:800; margin-bottom:.4rem; line-height:1.6; }
.sauce-sel { width:100%; padding:.62rem .8rem; margin-bottom:.6rem; border-radius:14px; border:1.5px solid var(--line); background:#fff; color:var(--ink); font-size:.92rem; font-weight:600; }
.sauce-sel:focus { border-color:var(--teal); outline:none; }
.piece-row { display:flex; align-items:center; gap:.5rem; margin-bottom:.35rem; }
.piece-row .sauce-sel { margin-bottom:0; flex:1; }
.piece-num { background:var(--teal); color:#fff; width:24px; height:24px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:800; }
.nuts-btn, .pmore-btn { background:#fff; color:var(--teal-d); border:1.5px dashed var(--teal-l); cursor:pointer; padding:.35rem .9rem; border-radius:50px; font-size:.76rem; font-weight:700; transition:all .15s; margin-top:.2rem; }
.nuts-btn.on { background:#e5f6ea; color:#1d8a4a; border:1.5px solid #1d8a4a; }
.pmore-btn { display:block; width:100%; margin-bottom:.5rem; text-align:center; }
.psum { background:#fff; border:1px dashed var(--line); border-radius:12px; padding:.45rem .7rem; font-size:.76rem; color:var(--ink); margin-bottom:.5rem; line-height:1.8; }
.psum .miss { color:var(--red); font-weight:700; }
.pieces-box { margin-bottom:.4rem; }
.kilo-opts { display:flex; flex-wrap:wrap; gap:.35rem; margin-bottom:.5rem; }
.kopt { background:#fff; color:var(--teal-d); border:1.5px solid var(--teal-l); cursor:pointer; padding:.3rem .8rem; border-radius:50px; font-size:.78rem; font-weight:700; }
.kopt.on { background:var(--teal); color:#fff; border-color:var(--teal); }
.card-foot { border-top:1px solid var(--line); padding-top:.9rem; display:flex; flex-direction:column; gap:.7rem; }
.price-val { font-size:1.35rem; font-weight:900; color:var(--teal-d); white-space:nowrap; }
.price-note { font-size:.7rem; color:var(--muted); }
.card-foot > div:first-child { display:flex; align-items:baseline; gap:.5rem; }
.qty-row { display:flex; align-items:center; gap:.5rem; }
.qty-btn { background:#fff; color:var(--teal-d); border:1.5px solid var(--teal-l); cursor:pointer; width:34px; height:34px; border-radius:50%; font-size:1.05rem; font-weight:800; display:flex; align-items:center; justify-content:center; transition:all .18s; flex-shrink:0; }
.qty-btn:hover { background:var(--teal); color:#fff; border-color:var(--teal); }
.qty-val { font-weight:900; font-size:1.05rem; min-width:22px; text-align:center; }
.add-btn { flex:1; background:var(--teal); color:#fff; border:none; cursor:pointer; padding:.62rem 1rem; border-radius:50px; font-size:.92rem; font-weight:800; transition:all .2s; white-space:nowrap; box-shadow:0 6px 14px rgba(26,140,155,.28); }
.add-btn:hover { background:var(--teal-d); }
.no-results { text-align:center; color:var(--muted); padding:2rem 1rem; font-size:1rem; }
.no-results[hidden] { display:none; }

/* footer */
.site-foot { background:var(--teal-d); color:#fff; padding:2.6rem 16px 6rem; text-align:center; display:flex; flex-direction:column; align-items:center; gap:.6rem; }
.foot-brand { font-weight:900; font-size:1.3rem; }
.foot-brand span { display:block; font-size:.85rem; font-weight:600; opacity:.85; margin-top:.2rem; }
.foot-link { color:#fff; text-decoration:none; font-size:.95rem; font-weight:800; background:rgba(255,255,255,.14); padding:.5rem 1.2rem; border-radius:50px; }
.foot-line { opacity:.9; font-size:.88rem; }
#waFab { position:fixed; bottom:1.1rem; right:16px; z-index:850; background:var(--wa); color:#fff; text-decoration:none; border-radius:50px; padding:.65rem 1.1rem; font-size:.86rem; font-weight:800; box-shadow:0 8px 20px rgba(0,0,0,.28); }

/* drawer */
.overlay { position:fixed; inset:0; background:rgba(15,40,46,.6); z-index:1000; display:none; }
.overlay.show { display:block; }
.drawer { position:fixed; top:0; left:0; width:min(460px,100vw); height:100vh; height:100dvh; background:#fff; overflow-y:auto; padding:1.4rem 18px 2rem; z-index:1001; transform:translateX(-100%); transition:transform .3s ease; box-shadow:10px 0 40px rgba(0,0,0,.2); }
.drawer.show { transform:translateX(0); }
.drawer-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.2rem; padding-bottom:.9rem; border-bottom:2px solid var(--cream2); }
.drawer-head h3 { font-size:1.3rem; font-weight:900; color:var(--teal-d); }
.close-x { background:var(--cream); border:none; cursor:pointer; color:var(--ink); width:36px; height:36px; border-radius:50%; font-size:.95rem; }
.cart-item { display:flex; justify-content:space-between; padding:.8rem 0; border-bottom:1px solid var(--line); gap:.5rem; }
.ci-info { flex:1; min-width:0; }
.ci-name { font-weight:800; font-size:.92rem; color:var(--ink); }
.ci-detail { font-size:.72rem; color:var(--muted); margin-top:.15rem; line-height:1.7; }
.ci-qty { display:flex; align-items:center; gap:.4rem; margin-top:.45rem; }
.ci-qty .qty-btn { width:28px; height:28px; font-size:.9rem; }
.ci-right { display:flex; flex-direction:column; align-items:flex-end; justify-content:space-between; gap:.35rem; }
.ci-price { color:var(--teal-d); font-weight:900; font-size:.95rem; white-space:nowrap; }
.ci-del { background:none; border:none; cursor:pointer; font-size:.9rem; }
.cart-empty { text-align:center; padding:3rem 1rem; color:var(--muted); font-size:.95rem; line-height:2; }
.total-bar { display:flex; justify-content:space-between; padding:.9rem 1rem; background:var(--cream); border-radius:16px; margin-top:.8rem; font-weight:800; }
.total-bar span:last-child { color:var(--teal-d); font-size:1.2rem; font-weight:900; }
.total-note { font-size:.72rem; color:var(--muted); margin:.5rem 0; line-height:1.8; }
.form-wrap { margin-top:1.2rem; }
.form-wrap h4 { font-weight:900; margin-bottom:.8rem; font-size:1rem; color:var(--teal-d); }
.field { margin-bottom:.8rem; }
.field label { display:block; font-size:.78rem; font-weight:700; color:var(--ink); margin-bottom:.3rem; }
.field input, .field textarea { width:100%; background:var(--cream); border:1.5px solid var(--line); border-radius:14px; color:var(--ink); font-size:1rem; padding:.65rem .9rem; outline:none; resize:none; }
.field input:focus, .field textarea:focus { border-color:var(--teal); background:#fff; }
.field.err input, .field.err textarea { border-color:var(--red); }
.pay-opts { display:flex; gap:.6rem; margin-bottom:.7rem; }
.pay-opt { flex:1; background:#fff; border:2px solid var(--line); border-radius:16px; padding:.75rem; text-align:center; cursor:pointer; transition:all .2s; }
.pay-opt.on { border-color:var(--teal); background:#f1fafb; }
.pay-opt .pi { font-size:1.5rem; display:block; margin-bottom:.25rem; }
.pay-opt strong { font-size:.82rem; display:block; }
.pay-opt small { font-size:.66rem; color:var(--muted); }
.instapay-info { background:#f1fafb; border:1px solid var(--teal-l); border-radius:14px; padding:.7rem 1rem; margin-bottom:.8rem; font-size:.82rem; color:var(--teal-d); line-height:1.8; display:none; }
.instapay-info.show { display:block; }
.submit-btn { width:100%; background:var(--teal); color:#fff; border:none; cursor:pointer; padding:.95rem; border-radius:50px; font-size:1.05rem; font-weight:800; margin-top:.4rem; box-shadow:0 8px 18px rgba(26,140,155,.3); }
.success-scr { text-align:center; padding:2.5rem 1rem; display:none; }
.success-scr.show { display:block; }
.success-scr .si { font-size:3rem; display:block; margin-bottom:.7rem; }
.success-scr h3 { font-size:1.4rem; font-weight:900; color:#1d8a4a; margin-bottom:.6rem; }
.success-scr p { color:var(--muted); font-size:.9rem; line-height:1.9; }
.success-scr .ref { color:var(--teal-d); font-weight:800; }
.new-order-btn { display:inline-block; margin-top:1rem; background:var(--cream); color:var(--ink); border:1.5px solid var(--line); border-radius:50px; padding:.55rem 1.4rem; cursor:pointer; font-size:.88rem; font-weight:800; }
.toast { position:fixed; bottom:1.5rem; left:50%; transform:translateX(-50%) translateY(160px); background:var(--ink); color:#fff; padding:.6rem 1.3rem; border-radius:18px; font-size:.85rem; font-weight:700; text-align:center; transition:transform .3s cubic-bezier(.34,1.56,.64,1); z-index:2100; width:max-content; max-width:min(92vw,420px); }
.toast.show { transform:translateX(-50%) translateY(0); }

@media (max-width:820px) {
  .nav-links { display:none; }
  .hero-in { grid-template-columns:1fr; text-align:center; padding:2rem 16px 2.4rem; gap:1.4rem; }
  .hero-art { order:-1; }
  .hero-logo { width:min(230px,62vw); }
  .hero-art .ring { width:min(262px,72vw); }
  .hero-p { margin-inline:auto; font-size:.98rem; }
  .info-row { grid-template-columns:1fr; margin-top:1.6rem; }
  .menu-tools { top:56px; }
  .grid { grid-template-columns:1fr; gap:3.4rem 1rem; }
  .strip { font-size:.72rem; gap:.5rem; }
  .strip i { display:none; }
}
