
/* ===== بن العرب: Naskh typography & heritage-inspired navigation (Nov 2026) ===== */
:root{
  --f-body:'Noto Naskh Arabic','Amiri',serif;
  --f-disp:'Noto Naskh Arabic','Amiri',serif;
}
body{font-family:var(--f-body);font-weight:400;line-height:1.78}
body,button,input,select,textarea{font-family:var(--f-body)}
/* Keep earlier dedicated Ruq'ah and Thuluth styles untouched. */
h2,h3{line-height:1.52}
.menu-sec,.menu-sec button,.menu-sec input,.menu-sec .item,.menu-sec .item b,
.menu-sec .item small,.menu-sec .item em,.menu-sec .tab,.menu-sec .category-count,
.menu-sec .category-cta,.option-sheet,.option-sheet button,.option-sheet h3,
.option-sheet p,.bottom-nav,.dr,.dr-l a,.bar .links a,.bar .status{
  font-family:var(--f-body);
}
#categoryResultsTitle,#menu #mgrid .mcard > header h3,
#categoryGallery .category-copy > strong{
  font-family:'Amoshref Thulth','Aref Ruqaa','Amiri',serif !important;
}
.logo,.dr-brand strong,.hero h1,.accent-italic{font-family:var(--f-ruqaa)}

/* Delicate header; the desktop remains compact and the phone sees a real brand. */
.bar{border-bottom:1px solid transparent}
.bar.solid{background:rgba(255,249,240,.96);box-shadow:0 7px 23px rgba(66,28,27,.08);border-bottom-color:rgba(195,151,83,.35)}
.bar .links a{font-size:1.06rem;font-weight:700}
.bar .links a:hover,.bar .links a.on{background:#641526;color:#fff6e8}
.burger{border:1px solid rgba(128,57,47,.2);border-radius:15px;background:#f8eddd;box-shadow:inset 0 1px 0 #fff,0 5px 12px rgba(76,12,24,.08);width:45px;height:45px;transition:transform .25s var(--ease),background .25s}
.burger:active{transform:scale(.94)}
.burger span{height:2px;background:#641526;width:20px}
.burger span:nth-child(2){width:15px;align-self:center}

/* Drawer: a boutique coffee menu rather than a generic options list. */
.ov{background:rgba(25,6,10,.6);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.dr{width:min(88vw,390px);background:#fcf7ef;border-inline-end:1px solid rgba(196,153,86,.3);padding:calc(18px + env(safe-area-inset-top,0px)) 19px calc(22px + env(safe-area-inset-bottom,0px));gap:13px;box-shadow:-18px 0 45px rgba(27,5,9,.15)}
.dr::before{content:'';height:4px;position:absolute;top:0;inset-inline:0;background:linear-gradient(90deg,#8a2734,#d5b078,#8a2734)}
.dr-h{background:transparent;border-bottom:1px solid #e6d8c4;padding:8px 0 15px;font-size:1.55rem}
.dr-brand{display:grid;grid-template-columns:48px auto;column-gap:10px;align-items:center}
.dr-brand img{grid-row:span 2;border:1px solid #cba464;background:#fff;border-radius:50%;width:46px;height:46px}
.dr-brand strong{font-size:1.65rem;line-height:1.15}
.dr-subbrand{font-family:var(--f-body);font-size:.78rem;line-height:1.1;color:#927c6b;font-weight:500;grid-column:2}
.dr .x{background:#efe2d0;border:1px solid #deceba;width:41px;height:41px;font-family:var(--f-body);font-size:1.65rem}
.dr-feature{position:relative;text-decoration:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:99px;border-radius:22px;padding:16px 19px;background:radial-gradient(circle at 85% 30%,rgba(224,191,132,.17),transparent 48%),linear-gradient(120deg,#4d0a15,#731a2a);color:#fff9ef;box-shadow:0 11px 26px rgba(67,15,26,.2);overflow:hidden}
.dr-feature::before{content:'✦';position:absolute;inset-inline-end:22px;top:-17px;color:rgba(238,207,143,.18);font-size:120px;line-height:1;font-family:serif}
.dr-feature-eyebrow{font-size:.79rem;color:#e9c895;position:relative;z-index:1;line-height:1.5}
.dr-feature strong{font:700 1.18rem/1.8 var(--f-body);z-index:1;position:relative}
.dr-feature-arrow{position:absolute;left:21px;bottom:18px;background:#d9af6a;color:#45111b;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;line-height:1}
.dr-l{gap:5px}
.dr-l li{margin:0}
.dr-l a{display:flex;align-items:center;gap:13px;min-height:50px;padding:8px 11px;text-decoration:none;border-radius:14px;font-size:1.03rem;font-weight:700;color:#381e1b;border:1px solid transparent;line-height:1.7;transition:background .23s,color .23s,transform .23s,border-color .23s}
.dr-l a:active{transform:scale(.98)}
.dr-l a:hover,.dr-l a:focus-visible{background:#f3e7d7;border-color:#e4d0b7;color:#741426}
.dr-link-num{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;background:#f3e7d7;border:1px solid #eadac3;color:#906c53;border-radius:11px;font-family:var(--f-body);font-size:.86rem;font-weight:700;font-variant-numeric:tabular-nums}
.dr-l a:hover .dr-link-num{background:#741426;color:#f8e9d0}
.dr-link-label{flex:1;min-width:0}
.dr-link-arrow{color:#bb9866;font-size:1.18rem;line-height:1}
.dr-cats{margin-top:5px;padding:15px 0 0;border-top:1px solid #eadbc8}
.dr-caption{font:700 .88rem/1.6 var(--f-body);color:#782031;letter-spacing:0;margin:0 1px 10px}
.dr-cats-grid{gap:9px}
.dr-cats-grid a{background:#fffaf3;border:1px solid #e7d5bd;padding:12px 9px;border-radius:14px;font:700 .96rem/1.5 var(--f-body);color:#5d252a;box-shadow:0 3px 8px rgba(64,24,30,.04)}
.dr-cats-grid a:hover{background:#faeddb;border-color:#c9a06d}
.dr-c{gap:7px;padding-top:14px;border-top:1px solid #e6d8c4}
.dr-c a,.dr-c button{background:transparent;border:1px solid #ebdfcf;border-radius:12px;padding:7px 11px;font:600 .95rem/1.6 var(--f-body);color:#67473d;transition:background .23s}
.dr-c a:hover,.dr-c button:hover{background:#f5eada}

/* Text-led category chips for the expanded menu (leave ornate headers alone). */
.menu-tabs .tab{font:700 1rem/1.7 var(--f-body);border:1px solid #ddcdb8;background:#fffaf3;color:#693d39;border-radius:13px;padding:8px 15px;box-shadow:0 2px 8px rgba(51,18,15,.03)}
.menu-tabs .tab[aria-selected='true']{background:#741b2b;border-color:#741b2b;color:#fff3e5;box-shadow:0 5px 12px rgba(77,10,21,.15)}
.menu-tabs .tab:hover{border-color:#bb9460}
/* More breathing room and readable Naskh in product names/options */
.product-info .it b,.item .it b{font-size:1.06rem;line-height:1.5}
.product-bottom em{font-family:var(--f-body)}

/* Bottom tab bar: soft-ivory ceramic with brass rim and a raised plum basket. */
@media(max-width:760px){
  .bar{gap:8px;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top,0px));min-height:74px;align-items:center}
  .logo{gap:9px;flex:1;min-width:0}
  .logo img{width:41px;height:41px;flex:0 0 auto}
  .logo span{display:inline!important;font:700 1.35rem/1.15 var(--f-ruqaa);white-space:nowrap}
  .bar-end{gap:9px;flex:0 0 auto}
  .status{background:#fffaf3;border-color:#e6d8c9;padding:5px 9px;font-size:.82rem;line-height:1.2;gap:6px;box-shadow:0 2px 5px rgba(58,18,22,.035)}
  .status i{width:7px;height:7px;flex:0 0 auto}
  .bottom-nav{bottom:calc(10px + env(safe-area-inset-bottom,0px));left:12px;right:12px;max-width:550px;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:0;border-radius:24px;padding:9px 7px 7px;min-height:76px;background:linear-gradient(180deg,rgba(255,251,244,.985),rgba(249,236,217,.985));border:1px solid #d6b780;box-shadow:0 4px 0 rgba(255,255,255,.64) inset,0 -1px 0 rgba(255,255,255,.58) inset,0 12px 35px rgba(60,13,26,.19);backdrop-filter:blur(24px) saturate(1.1);-webkit-backdrop-filter:blur(24px) saturate(1.1)}
  .bottom-nav::before{content:'';position:absolute;inset-inline:23px;top:0;height:1px;background:linear-gradient(90deg,transparent,#b98543,transparent);opacity:.8}
  .bn-item{min-height:54px;padding:6px 1px 3px;gap:3px;border-radius:15px;color:#71514b;font:700 .73rem/1.35 var(--f-body);background:transparent;transition:background .24s var(--ease),color .24s var(--ease),transform .24s var(--ease)}
  .bn-item svg{width:21px;height:21px;stroke-width:1.75}
  .bn-item.is-active{color:#fff3dd;background:linear-gradient(145deg,#762030,#4c0c1b);box-shadow:0 5px 12px rgba(88,17,34,.2)}
  .bn-item.is-active svg{stroke:#f3cb88;stroke-width:2.05}
  .bn-item:focus-visible{outline:2px solid #a67a44;outline-offset:2px}
  .bn-item.bn-cart{position:relative;color:#fff9eb;min-height:62px;margin-top:-14px;border-radius:20px 20px 17px 17px;background:linear-gradient(150deg,#8e2938,#56101e);border:1px solid #d1a366;box-shadow:0 4px 0 rgba(255,255,255,.09) inset,0 6px 14px rgba(77,10,21,.24);z-index:2}
  .bn-item.bn-cart svg{width:24px;height:24px;stroke:#f4d198;stroke-width:1.9}
  .bn-item.bn-cart.is-active{color:#fff8e9}
  .bn-item.bn-cart .bn-badge{top:-9px;left:-13px;min-width:18px;height:18px;border:1px solid #fff1d9;background:#edbf78;color:#48131c;font:800 .76rem/1 var(--f-body)}
  .menu-tabs{background:rgba(255,249,240,.97);box-shadow:0 5px 14px rgba(56,19,19,.045);border-color:#e8d9c6}
  .menu-tabs .tab{flex:0 0 auto;font-size:.91rem;padding:8px 13px}
  .foot{padding-bottom:calc(139px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:375px){
  .bar{padding-inline:11px}
  .bar-end{gap:6px}
  .logo span{font-size:1.22rem}
  .logo img{width:37px;height:37px}
  .status{font-size:.71rem;padding:5px 7px}
  .burger{width:40px;height:40px}
  .bottom-nav{left:7px;right:7px;padding:8px 4px 6px}
  .bn-item{font-size:.66rem}
}
@media(prefers-reduced-motion:reduce){.dr-feature,.bottom-nav,.bn-item,.dr-l a{transition:none!important}}
