/* =========================================================
   منيو غزة - صفحة المشروع للزبون (menu.css)
   الألوان والخطوط بتيجي من menu.php حسب صفحة الستايلات
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--tx); font-family: var(--ff); font-size: var(--fs); line-height: 1.55; min-height: 100vh; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 14px calc(110px + env(safe-area-inset-bottom)); }
.box { background: var(--cardx); border: 1px solid var(--line); border-radius: var(--r); }
body.glass .box { -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; display: inline-block; vertical-align: bottom; }

/* ---------- الأزرار ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 16px; border-radius: var(--r2); font-weight: 800; font-size: .95em; line-height: 1.2; transition: transform .15s, filter .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.sm { padding: 8px 13px; font-size: .85em; }
.btn.block { width: 100%; padding: 14px; font-size: 1em; }
.btn-solid .btn, .btn-solid .add, .btn-solid .cartbar { background: var(--c); color: var(--on); }
.btn-gradient .btn, .btn-gradient .add, .btn-gradient .cartbar { background: linear-gradient(135deg, var(--c), var(--c2)); color: var(--on); box-shadow: 0 6px 18px rgba(var(--cr), .3); }
.btn-outline .btn, .btn-outline .add { background: transparent; color: var(--c); box-shadow: inset 0 0 0 2px var(--c); }
.btn-outline .cartbar { background: var(--c); color: var(--on); }
.btn.ghost { background: var(--soft) !important; color: var(--tx) !important; box-shadow: inset 0 0 0 1px var(--line) !important; }
.btn.wa { background: #22c55e !important; color: #fff !important; box-shadow: none !important; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- رأس الصفحة ---------- */
.hd { position: relative; margin-bottom: 14px; }
.hd h1 { font-family: var(--tf); font-weight: 800; line-height: 1.25; letter-spacing: -.2px; }
.hd .lg img, .lring .lg img { width: 100%; height: 100%; object-fit: cover; }
.hd .cover { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(var(--cr), .75), rgba(var(--cr2), .55)); }
.hd .cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 120%, rgba(255,255,255,.25), transparent 55%); pointer-events: none; }
.hd .cover img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.chips.c { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 30px; background: var(--soft); border: 1px solid var(--line); font-size: .8em; font-weight: 700; color: var(--tx); }
.chip svg { color: var(--c); }
.chip.brand { background: rgba(var(--cr), .12); border-color: rgba(var(--cr), .35); color: var(--c); }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 30px; font-size: .78em; font-weight: 800; white-space: nowrap; }
.st b { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.st.on { color: #22c55e; background: rgba(34,197,94,.12); }
.st.on b::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; animation: pulse 1.8s ease-out infinite; }
.st.off { color: #ef4444; background: rgba(239,68,68,.12); }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* بطاقة */
.hd.card .cover { height: 170px; margin: 0 -14px; }
.hd.card .info { margin-top: -42px; position: relative; z-index: 2; padding: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.hd.card .top { display: flex; align-items: center; gap: 13px; }
.lring { position: relative; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--c), var(--c2)); flex-shrink: 0; margin-top: -34px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.lring .lg { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--bg); border: 3px solid var(--bg); }
.lring .tagoff { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); background: #e11d48; color: #fff; font-size: .62em; font-weight: 800; padding: 1px 9px; border-radius: 10px; white-space: nowrap; }
.hd.card .wl small { color: var(--c); font-weight: 700; font-size: .78em; }
.hd.card .wl h1 { font-size: 1.45em; }
.hd.card .sl { color: var(--mu); font-size: .85em; margin-top: 2px; }
.hd.card .ds { margin-top: 12px; font-size: .9em; color: var(--tx); opacity: .92; }
.hd.card .rw { display: flex; align-items: center; gap: 8px; font-size: .84em; margin-top: 10px; flex-wrap: wrap; }
.hd.card .rw .ic { color: var(--c); display: inline-flex; }
.hd.card .mapb { margin-inline-start: auto; background: rgba(var(--cr), .12); border: 1px solid rgba(var(--cr), .35); color: var(--c); padding: 5px 11px; border-radius: var(--r2); font-weight: 800; font-size: .9em; display: inline-flex; gap: 5px; align-items: center; }
.hd.card .soc { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; padding-top: 13px; border-top: 1px dashed var(--line); gap: 10px; }
.hd.card .phn { display: inline-flex; gap: 7px; align-items: center; font-weight: 800; font-size: .92em; }
.hd.card .phn svg { color: var(--c); }
.hd.card .sc { display: flex; gap: 7px; }
.hd.card .sc > * { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--soft); border: 1px solid var(--line); color: var(--tx); }
.hd.card .sc .wa { background: #22c55e; color: #fff; border-color: #22c55e; }

/* غلاف */
.hd.banner .cover { height: 150px; margin: 0 -14px; }
.hd.banner .row { display: flex; align-items: flex-end; gap: 12px; margin-top: -36px; position: relative; z-index: 2; }
.hd.banner .lg, .hd.inline .lg, .hd.centered .lg { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 4px solid var(--bg); background: var(--card); flex-shrink: 0; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.hd.banner h1, .hd.inline h1 { font-size: 1.4em; }
.hd.banner p, .hd.inline p, .hd.centered p, .hd.minimal p { color: var(--mu); font-size: .88em; }
.hd.banner .txt { padding-bottom: 4px; min-width: 0; }

/* أفقي */
.hd.inline { padding-top: 18px; }
.hd.inline .row { display: flex; align-items: center; gap: 12px; }
.hd.inline .txt { flex: 1; min-width: 0; }
.hd.inline .lg { width: 64px; height: 64px; border-width: 2px; border-color: var(--line); }
.icb { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }

/* متمركز وبسيط */
.hd.centered, .hd.minimal { text-align: center; padding-top: 24px; }
.hd.centered .lg { margin: 0 auto 10px; width: 88px; height: 88px; border-color: rgba(var(--cr), .4); }
.hd.centered h1 { font-size: 1.55em; }
.hd.minimal h1 { font-size: 1.75em; color: var(--c); }
.hd.minimal .line { display: block; width: 50px; height: 3px; border-radius: 3px; background: var(--c); margin: 10px auto; }

/* ---------- تنبيهات وأزرار الحجز ---------- */
.closed-bar { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: var(--r); margin-bottom: 12px; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #ef4444; }
.closed-bar div { display: flex; flex-direction: column; gap: 1px; }
.closed-bar b { font-size: .92em; }
.closed-bar span { font-size: .8em; opacity: .9; color: var(--tx); }
.closed-bar.soft { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); color: #f59e0b; }
.book-cta { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 12px; border-radius: var(--r); text-align: right; background: linear-gradient(135deg, rgba(var(--cr), .16), rgba(var(--cr2), .08)); border: 1px solid rgba(var(--cr), .35); }
.book-cta .bi { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--c); color: var(--on); flex-shrink: 0; }
.book-cta > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.book-cta b { font-size: .98em; }
.book-cta small { color: var(--mu); font-size: .8em; }
.book-cta .go { background: var(--c); color: var(--on); padding: 7px 14px; border-radius: 30px; font-weight: 800; font-size: .85em; }
.book-cta.static { cursor: default; }

/* ---------- العروض ---------- */
.stories { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -14px; padding-inline: 14px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 70px; flex-shrink: 0; }
.story .sr { width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--c), var(--c2), #e11d48, var(--c)); }
.story.seen .sr { background: var(--line); }
.story .si { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); background: var(--card); }
.story .si img, .story .si video { width: 100%; height: 100%; object-fit: cover; }
.story .sn { font-size: .72em; font-weight: 700; color: var(--mu); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- البحث ---------- */
.search { display: flex; align-items: center; gap: 9px; padding: 0 14px; margin-bottom: 12px; color: var(--mu); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 13px 0; font-size: 16px; color: var(--tx); }
.search input::placeholder { color: var(--mu); }
.search input::-webkit-search-cancel-button { display: none; }
.search .qx { width: 26px; height: 26px; border-radius: 50%; background: var(--soft); font-size: 18px; line-height: 1; color: var(--mu); display: none; }
.search.has .qx { display: block; }

/* ---------- الأقسام ---------- */
.cats { position: sticky; top: 0; z-index: 30; margin: 0 -14px 6px; padding: 8px 14px 10px; background: linear-gradient(var(--bg) 70%, transparent); }
.cats.stuck { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cats .ct { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 2px; }
.cats .ct::-webkit-scrollbar { display: none; }
.cat { flex-shrink: 0; display: flex; align-items: center; gap: 6px; color: var(--mu); font-weight: 700; transition: all .2s; }
.cat .ci { display: flex; align-items: center; justify-content: center; color: var(--c); overflow: hidden; }
.cat .ci svg { width: 18px; height: 18px; }
.cat .ci img { width: 100%; height: 100%; object-fit: cover; }
.cat .cn { white-space: nowrap; font-size: .84em; }
.cats.pill .cat { padding: 8px 14px; border-radius: 40px; background: var(--cardx); border: 1px solid var(--line); }
.cats.pill .cat .ci { width: 18px; height: 18px; border-radius: 50%; }
.cats.pill .cat.on { background: var(--c); border-color: var(--c); color: var(--on); }
.cats.pill .cat.on .ci { color: var(--on); }
.cats.underline .ct { gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.cats.underline .cat { padding: 6px 2px 10px; border-bottom: 3px solid transparent; }
.cats.underline .cat .ci { width: 18px; height: 18px; border-radius: 4px; }
.cats.underline .cat.on { color: var(--c); border-bottom-color: var(--c); }
.cats.circle .cat, .cats.ring .cat, .cats.tile .cat { flex-direction: column; text-align: center; gap: 5px; width: 72px; }
.cats.circle .cat .ci { width: 56px; height: 56px; border-radius: 50%; background: var(--cardx); border: 2px solid var(--line); }
.cats.circle .cat .ci svg, .cats.ring .cat .ci svg, .cats.tile .cat .ci svg { width: 24px; height: 24px; }
.cats.circle .cat.on .ci { border-color: var(--c); box-shadow: 0 0 0 3px rgba(var(--cr), .2); }
.cats.circle .cat.on, .cats.ring .cat.on { color: var(--tx); }
.cats.circle .cn, .cats.ring .cn, .cats.tile .cn { font-size: .74em; max-width: 72px; overflow: hidden; text-overflow: ellipsis; }
.cats.ring .cat .ci { width: 64px; height: 64px; border-radius: 50%; background: var(--cardx); box-shadow: 0 0 0 3px var(--line); border: 3px solid var(--bg); }
.cats.ring .cat.on .ci { box-shadow: 0 0 0 3px var(--c); }
.cats.tile .cat { padding: 10px 4px; border-radius: var(--r2); background: var(--cardx); border: 1px solid var(--line); }
.cats.tile .cat .ci { width: 34px; height: 34px; border-radius: 10px; }
.cats.tile .cat.on { background: var(--c); border-color: var(--c); color: var(--on); }
.cats.tile .cat.on .ci { color: var(--on); }

/* ---------- العناوين والمميز ---------- */
.stitle { display: flex; align-items: center; gap: 8px; font-family: var(--tf); font-size: 1.12em; font-weight: 800; margin: 18px 2px 11px; }
.stitle .ci { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(var(--cr), .14); color: var(--c); overflow: hidden; }
.stitle .ci svg { width: 17px; height: 17px; }
.stitle .ci img { width: 100%; height: 100%; object-fit: cover; }
.stitle > svg { color: var(--c); }
.stitle small { font-family: var(--ff); font-size: .62em; color: var(--mu); background: var(--soft); padding: 1px 8px; border-radius: 20px; font-weight: 700; }
.sec { scroll-margin-top: 80px; }
.specials { margin-top: 4px; }
.sp-row { display: flex; gap: 10px; overflow-x: auto; margin: 0 -14px; padding: 0 14px 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.sp-row::-webkit-scrollbar { display: none; }
.spc { width: 148px; flex-shrink: 0; padding: 8px; text-align: right; display: flex; flex-direction: column; gap: 5px; scroll-snap-align: start; }
.spc .th { height: 104px; border-radius: var(--r2); }
.spc b { font-size: .88em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- الأصناف ---------- */
.items { display: grid; gap: 10px; }
.it { position: relative; cursor: pointer; transition: transform .2s, border-color .2s; outline: none; min-width: 0; }
.it:active { transform: scale(.985); }
.it:focus-visible { border-color: var(--c); }
.it.sold { opacity: .62; }
.it.hl { animation: hl 1.6s ease; }
@keyframes hl { 0%, 60% { box-shadow: 0 0 0 3px var(--c); } 100% { box-shadow: none; } }
.th { position: relative; display: block; overflow: hidden; border-radius: var(--r2); background: rgba(var(--cr), .12); flex-shrink: 0; }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--tf); font-size: 1.8em; font-weight: 800; color: var(--c); opacity: .7; }
.nm { display: block; font-weight: 800; font-size: 1em; line-height: 1.35; }
.d { color: var(--mu); font-size: .82em; line-height: 1.55; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pr { color: var(--c); font-weight: 800; font-size: .98em; white-space: nowrap; }
.pr i { font-style: normal; font-size: .82em; }
.pr small { font-size: .72em; color: var(--mu); font-weight: 700; }
.pr.badge { background: rgba(var(--cr), .14); padding: 3px 10px; border-radius: 20px; }
.bdg { display: inline-block; font-size: .66em; font-weight: 800; padding: 2px 7px; border-radius: 6px; vertical-align: middle; white-space: nowrap; }
.bdg.sp { background: #e11d48; color: #fff; }
.bdg.so { background: rgba(239,68,68,.15); color: #ef4444; }
.th .bdg { position: absolute; top: 7px; right: 7px; z-index: 2; }
.th .bdg.so { top: auto; bottom: 7px; background: rgba(0,0,0,.65); color: #fff; }
.add { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s; }
.add:active { transform: scale(.85); }
.add.pop { animation: pop .4s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }

/* قائمة */
.items.list .it { display: flex; align-items: center; gap: 12px; padding: 10px; }
.items.list .th { width: 84px; height: 84px; }
.items.list .inf { flex: 1; min-width: 0; }
.items.list .bdg { margin: 3px 0 0 4px; }
/* شبكة */
.items.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items.grid .it { padding: 8px; display: flex; flex-direction: column; }
.items.grid .th { aspect-ratio: 1 / .85; width: 100%; }
.items.grid .inf { padding: 8px 4px 2px; display: flex; flex-direction: column; flex: 1; }
.items.grid .foot { margin-top: auto; padding-top: 8px; }
.items.grid .d { -webkit-line-clamp: 1; }
@media (min-width: 560px) { .items.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* كروت كبيرة */
.items.hero { gap: 14px; }
.items.hero .it { overflow: hidden; }
.items.hero .th { height: 190px; border-radius: 0; }
.items.hero .inf { padding: 12px 14px 14px; }
.items.hero .nm { font-family: var(--tf); font-size: 1.12em; }
/* مدمجة */
.items.compact { gap: 6px; }
.items.compact .it { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.items.compact .th { width: 40px; height: 40px; border-radius: 10px; }
.items.compact .th .ph { font-size: 1.1em; }
.items.compact .nm { flex: 1; min-width: 0; font-size: .92em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.items.compact .add { width: 30px; height: 30px; }
/* كلاسيكي */
.items.classic { gap: 0; padding: 4px 16px; background: var(--cardx); border: 1px solid var(--line); border-radius: var(--r); }
body.glass .items.classic { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.items.classic .it { background: none; border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; padding: 13px 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.items.classic .it:last-child { border-bottom: 0; }
.items.classic .ln { display: flex; align-items: baseline; gap: 7px; }
.items.classic .ln b { font-family: var(--tf); font-size: 1.04em; }
.items.classic .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 16px; opacity: .9; }
.items.classic .d { -webkit-line-clamp: 3; }
.items.classic .add { width: 28px; height: 28px; align-self: center; margin-inline-start: 4px; }
.items.classic .ln { align-items: center; }
.items.classic .dots { transform: none; }
.items.classic .bdg { margin-left: 5px; }
/* كرت غني */
/* مجلة: صورة كبيرة ونص، بالتناوب يمين ويسار */
.items.magazine { gap: 12px; }
.items.magazine .it { display: flex; align-items: stretch; gap: 12px; padding: 10px; }
.items.magazine .it:nth-child(even) { flex-direction: row-reverse; }
.items.magazine .th { width: 46%; min-height: 128px; height: auto; flex: none; }
.items.magazine .inf { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 4px 2px; }
.items.magazine .nm { font-family: var(--tf); font-size: 1.1em; }
.items.magazine .d { -webkit-line-clamp: 3; }
.items.magazine .foot { margin-top: 10px; }

/* لوح طباشير */
.items.board { gap: 0; padding: 12px 16px 6px; border-radius: var(--r); background-color: #2b2f2a; background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 7px 7px; border: 8px solid #6b4a2b; box-shadow: inset 0 0 40px rgba(0,0,0,.55), 0 10px 30px rgba(0,0,0,.25); color: #f3f1e8; }
.items.board .bd-t { text-align: center; font-family: var(--tf); font-size: 1.35em; font-weight: 700; color: #fff; margin: 2px 0 6px; text-decoration: underline wavy rgba(255,255,255,.35); text-underline-offset: 6px; }
.items.board .it { background: none !important; border: 0; border-bottom: 1px dashed rgba(255,255,255,.2); border-radius: 0; padding: 12px 0; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; }
.items.board .it:last-child { border-bottom: 0; }
.items.board .ln { display: flex; align-items: center; gap: 7px; }
.items.board .ln b { font-family: var(--tf); font-size: 1.06em; color: #fff; }
.items.board .dots { flex: 1; border-bottom: 2px dotted rgba(255,255,255,.35); min-width: 16px; }
.items.board .d { color: rgba(243,241,232,.62); -webkit-line-clamp: 3; }
.items.board .pr, .items.board .pr.badge { color: var(--c); background: none; border: 0; padding: 0; font-weight: 800; }
.items.board .pr i { color: inherit; }
.items.board .add { width: 28px; height: 28px; margin-inline-start: 4px; }
.items.board .bdg { margin-left: 5px; }
.sec:has(.items.board) .stitle { display: none; }

.items.rich { gap: 12px; }
.items.rich .it { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; padding: 12px; align-items: center; }
.items.rich .th { width: 86px; height: 86px; }
.items.rich .meta { display: flex; align-items: center; gap: 8px; margin-top: 7px; flex-wrap: wrap; }
.lk { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r2); font-weight: 800; font-size: .8em; background: rgba(239,68,68,.1); color: #ef4444; border: 1px solid rgba(239,68,68,.25); }
.lk.on svg { fill: currentColor; }
.lk.bump { animation: pop .35s ease; }
.items.rich .acts { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; }
.items.rich .acts .btn { flex: 1; }
.shr { width: 38px; height: 38px; border-radius: var(--r2); background: var(--soft); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.na { flex: 1; text-align: center; background: var(--soft); color: var(--mu); padding: 9px; border-radius: var(--r2); font-weight: 700; font-size: .85em; }

/* فارغ */
.empty { text-align: center; padding: 34px 18px; color: var(--mu); margin-top: 10px; }
.empty svg { color: var(--c); margin: 0 auto 10px; display: block; }
.empty h3 { color: var(--tx); font-size: 1.05em; margin-bottom: 5px; }
.empty p { font-size: .88em; }

/* ---------- الفوتر ---------- */
.ft { margin-top: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--mu); font-size: .8em; }
.ft .mg { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: var(--tx); }
.ft .mg img { width: 24px; height: 24px; border-radius: 7px; }
.ft span a { color: var(--c); font-weight: 800; }

/* ---------- أزرار عائمة وسلة ---------- */
.dock { position: fixed; left: 14px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; gap: 10px; transition: transform .3s; }
body.cart-shown .dock { transform: translateY(-74px); }
.dk { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--card); color: var(--tx); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.dk.wa { background: #22c55e; color: #fff; border-color: #22c55e; }
.cartbar { position: fixed; z-index: 45; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: calc(100% - 28px); max-width: 652px; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: calc(var(--r) + 4px); font-weight: 800; box-shadow: 0 14px 34px rgba(0,0,0,.35); animation: up .35s cubic-bezier(.16,1,.3,1); }
.cartbar .cnt { min-width: 28px; height: 28px; border-radius: 9px; background: rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; padding: 0 6px; }
.cartbar .lbl { flex: 1; text-align: right; }
.cartbar.bump { animation: bump .4s ease; }
@keyframes up { from { transform: translate(-50%, 120%); } to { transform: translate(-50%, 0); } }
@keyframes bump { 50% { transform: translate(-50%, 0) scale(1.04); } }

/* ---------- النوافذ (من تحت) ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet.on { opacity: 1; pointer-events: auto; }
.sbox { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; background: var(--card); color: var(--tx); border-radius: 26px 26px 0 0; padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(40px); transition: transform .35s cubic-bezier(.16,1,.3,1); box-shadow: 0 -12px 40px rgba(0,0,0,.35); }
.sheet.on .sbox { transform: none; }
.sbox::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: -8px auto 12px; }
@media (min-width: 640px) { .sheet { align-items: center; padding: 20px; } .sbox { border-radius: 24px; } .sbox::before { display: none; } }
.sh-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sh-h h3 { font-size: 1.12em; font-weight: 800; font-family: var(--tf); }
.sx { position: absolute; top: 14px; left: 14px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.sx.in { position: static; background: var(--soft); color: var(--tx); border: 1px solid var(--line); }

/* نافذة الصنف */
.it-sheet { padding-top: 0; }
.it-sheet::before { display: none; }
.is-img { margin: 0 -16px 14px; height: 250px; background: rgba(var(--cr), .12); position: relative; overflow: hidden; border-radius: 26px 26px 0 0; }
.is-img img { width: 100%; height: 100%; object-fit: cover; }
.is-img .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--tf); font-size: 4em; font-weight: 800; color: var(--c); opacity: .5; }
.is-img.noimg { height: 64px; }
@media (min-width: 640px) { .is-img { border-radius: 24px 24px 0 0; } }
.is-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.is-h h3 { font-family: var(--tf); font-size: 1.3em; font-weight: 800; line-height: 1.3; }
.is-d { color: var(--mu); font-size: .92em; margin-top: 8px; white-space: pre-line; }
.is-acts { display: flex; gap: 8px; margin-top: 12px; }
.is-sec { margin-top: 16px; }
.is-sec > b { display: flex; align-items: center; justify-content: space-between; font-size: .92em; margin-bottom: 8px; }
.is-sec > b small { color: var(--mu); font-weight: 600; font-size: .85em; }
.opts { display: flex; flex-direction: column; gap: 7px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: var(--r2); background: var(--soft); border: 2px solid transparent; cursor: pointer; font-weight: 700; }
.opt input { display: none; }
.opt .rd { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; position: relative; }
.opt.on { border-color: var(--c); background: rgba(var(--cr), .1); }
.opt.on .rd { border-color: var(--c); }
.opt.on .rd::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--c); }
.opt .l { display: flex; align-items: center; gap: 10px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 8px 13px; border-radius: 30px; background: var(--soft); border: 1px solid var(--line); font-size: .85em; font-weight: 700; }
.tag.on { background: var(--c); color: var(--on); border-color: var(--c); }
.is-foot { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); margin: 18px -16px calc(-20px - env(safe-area-inset-bottom)); padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.is-foot .btn { flex: 1; }
.qty { display: flex; align-items: center; gap: 4px; background: var(--soft); border-radius: 30px; padding: 4px; border: 1px solid var(--line); }
.qty button { width: 34px; height: 34px; border-radius: 50%; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; background: var(--card); }
.qty span { min-width: 26px; text-align: center; font-weight: 800; }

/* السلة */
.cl { display: flex; flex-direction: column; gap: 8px; }
.cl-it { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r2); background: var(--soft); }
.cl-it .th { width: 52px; height: 52px; border-radius: 12px; }
.cl-it .th .ph { font-size: 1.2em; }
.cl-it .i { flex: 1; min-width: 0; }
.cl-it .i b { display: block; font-size: .92em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-it .i small { display: block; color: var(--mu); font-size: .76em; }
.cl-it .i .pr { font-size: .88em; }
.cl-it .qty { padding: 2px; }
.cl-it .qty button { width: 28px; height: 28px; font-size: 17px; }
.sum { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; font-weight: 800; border-top: 1px dashed var(--line); margin-top: 12px; font-size: 1.05em; }
.sum .pr { font-size: 1.1em; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--soft); padding: 4px; border-radius: calc(var(--r2) + 4px); border: 1px solid var(--line); }
.seg button { padding: 10px 6px; border-radius: var(--r2); font-weight: 800; font-size: .85em; color: var(--mu); display: flex; align-items: center; justify-content: center; gap: 5px; }
.seg button.on { background: var(--c); color: var(--on); }
.fl { margin-top: 12px; }
.fl > label { display: block; font-size: .84em; font-weight: 800; margin-bottom: 6px; }
.fl > label small { color: var(--mu); font-weight: 600; }
.inp { width: 100%; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r2); padding: 12px 14px; font-size: 16px; outline: none; color: var(--tx); transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.inp:focus { border-color: var(--c); }
textarea.inp { resize: none; min-height: 70px; }
select.inp option { background: var(--card); color: var(--tx); }
.fl2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.days { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-bottom: 3px; }
.days::-webkit-scrollbar { display: none; }
.day { flex-shrink: 0; width: 62px; padding: 8px 4px; border-radius: var(--r2); background: var(--soft); border: 2px solid transparent; text-align: center; display: flex; flex-direction: column; gap: 1px; }
.day small { font-size: .7em; color: var(--mu); font-weight: 700; }
.day b { font-size: 1.15em; }
.day.on { border-color: var(--c); background: rgba(var(--cr), .12); }
.day.off { opacity: .4; pointer-events: none; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.slot { padding: 10px 4px; border-radius: var(--r2); background: var(--soft); border: 2px solid transparent; font-weight: 800; font-size: .85em; text-align: center; }
.slot.on { border-color: var(--c); background: var(--c); color: var(--on); }
.slot.full { opacity: .35; text-decoration: line-through; pointer-events: none; }
.slots-msg { color: var(--mu); font-size: .85em; padding: 10px; text-align: center; background: var(--soft); border-radius: var(--r2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { color: #ef4444; font-size: .84em; font-weight: 700; margin-top: 10px; min-height: 1px; }
.done { text-align: center; padding: 10px 4px 4px; }
.done .ok { width: 74px; height: 74px; border-radius: 50%; margin: 6px auto 14px; background: rgba(34,197,94,.14); color: #22c55e; display: flex; align-items: center; justify-content: center; animation: pop .5s ease; }
.done h3 { font-size: 1.2em; margin-bottom: 6px; font-family: var(--tf); }
.done p { color: var(--mu); font-size: .9em; margin-bottom: 16px; }
.done .btn + .btn { margin-top: 8px; }
.note-box { font-size: .8em; color: var(--mu); background: var(--soft); border-radius: var(--r2); padding: 9px 12px; margin-top: 12px; display: flex; gap: 7px; align-items: flex-start; }
.note-box svg { color: var(--c); margin-top: 2px; }

/* معلومات */
.info-b { display: flex; flex-direction: column; gap: 12px; }
.ib-top { display: flex; align-items: center; gap: 12px; }
.ib-top .lg { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line); flex-shrink: 0; }
.ib-top .lg img { width: 100%; height: 100%; object-fit: cover; }
.ib-top b { display: block; font-size: 1.1em; font-family: var(--tf); }
.ib-top span { color: var(--c); font-size: .84em; font-weight: 700; }
.ib-d { color: var(--mu); font-size: .92em; }
.ib-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--soft); border-radius: var(--r2); font-size: .9em; font-weight: 700; flex-wrap: wrap; }
.ib-row svg { color: var(--c); }
.ib-row span { flex: 1; min-width: 0; }
.ib-row .btn { margin-inline-start: auto; }
.ib-h { display: flex; align-items: center; gap: 8px; font-size: .95em; margin-top: 4px; }
.ib-h svg { color: var(--c); }
.ib-h .st { margin-inline-start: auto; }
.hours { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.hr { display: flex; justify-content: space-between; padding: 10px 13px; font-size: .88em; border-bottom: 1px solid var(--line); }
.hr:last-child { border-bottom: 0; }
.hr b { font-weight: 800; direction: rtl; }
.hr.today { background: rgba(var(--cr), .1); color: var(--c); }
.hr em { font-style: normal; font-size: .75em; background: var(--c); color: var(--on); padding: 1px 6px; border-radius: 6px; margin-inline-start: 4px; }
.ib-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 4px; }

/* عارض العروض */
.sv { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.sv.on { opacity: 1; pointer-events: auto; }
.sv-bars { position: absolute; top: calc(10px + env(safe-area-inset-top)); left: 10px; right: 10px; display: flex; gap: 4px; z-index: 3; }
.sv-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.sv-bars span i { display: block; height: 100%; width: 0; background: #fff; }
.sv-bars span.done i { width: 100%; }
.sv-top { position: absolute; top: calc(22px + env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; align-items: center; gap: 9px; z-index: 3; }
.sv-top .lg { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; }
.sv-top .lg img { width: 100%; height: 100%; object-fit: cover; }
.sv-top b { flex: 1; font-size: .92em; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.sv-x { width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; font-size: 24px; line-height: 1; }
.sv-media { width: 100%; height: 100%; max-width: 520px; display: flex; align-items: center; justify-content: center; }
.sv-media img, .sv-media video { width: 100%; height: 100%; object-fit: contain; }
.sv-cap { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); left: 16px; right: 16px; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sv-cap p { font-weight: 800; font-size: 1.05em; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.sv-cap a { background: #fff; color: #000; padding: 10px 20px; border-radius: 30px; font-weight: 800; font-size: .9em; }
.sv-nav { position: absolute; top: 80px; bottom: 110px; width: 40%; z-index: 2; }
.sv-nav.prev { right: 0; } .sv-nav.next { left: 0; }

/* تنبيه */
.toast { position: fixed; z-index: 300; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #0f172a; color: #fff; padding: 11px 18px; border-radius: 30px; font-weight: 800; font-size: .88em; box-shadow: 0 12px 30px rgba(0,0,0,.4); transition: all .3s; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* حركة ظهور */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }

body.light .sx:not(.in) { background: rgba(255,255,255,.85); color: #0f172a; }
body.light .hd.card .info, body.light .cartbar { box-shadow: 0 10px 30px rgba(15,23,42,.12); }
body.light .dk { box-shadow: 0 8px 20px rgba(15,23,42,.15); }
body.noscroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .rv { opacity: 1; transform: none; } }

/* ---------- شاشة الترحيب ---------- */
.splash { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #fff; background-color: var(--bg); background-image: linear-gradient(160deg, rgba(var(--cr), .9), rgba(var(--cr2), .55) 55%, var(--bg)); background-size: cover; background-position: center; transition: opacity .55s ease, transform .55s ease, visibility .55s; }
.splash::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.8) 100%); }
.splash.out { opacity: 0; transform: scale(1.06); visibility: hidden; pointer-events: none; }
.sp-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 360px; animation: spUp .8s cubic-bezier(.16,1,.3,1) both; }
.sp-logo { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,.9); background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.45); margin-bottom: 6px; position: relative; }
.sp-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.splash h1 { font-family: var(--tf); font-size: 1.9em; font-weight: 800; line-height: 1.25; text-shadow: 0 3px 14px rgba(0,0,0,.5); }
.splash p { font-size: 1em; opacity: .92; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.sp-st .st { background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sp-go { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; border-radius: 40px; font-weight: 800; font-size: 1.05em; color: var(--on); background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 12px 30px rgba(var(--cr), .45); animation: spBtn 2.4s ease-in-out 1.2s infinite; }
.sp-go:active { transform: scale(.96); }
@keyframes spUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes spBtn { 0%, 100% { box-shadow: 0 12px 30px rgba(var(--cr), .45); } 50% { box-shadow: 0 12px 30px rgba(var(--cr), .45), 0 0 0 10px rgba(var(--cr), .15); } }

/* ---------- حركة الشعار (اختيارية) ---------- */
.la-pulse .sp-logo, .la-pulse .hd:not(.card) .lg, .la-pulse .lring { animation: laPulse 2.2s ease-in-out infinite; }
.la-float .sp-logo, .la-float .hd:not(.card) .lg, .la-float .lring { animation: laFloat 3s ease-in-out infinite; }
.la-glow .sp-logo, .la-glow .hd:not(.card) .lg, .la-glow .lring { animation: laGlow 2.4s ease-in-out infinite; }
.la-bounce .sp-logo, .la-bounce .hd:not(.card) .lg, .la-bounce .lring { animation: laBounce 1.1s cubic-bezier(.3,1.6,.5,1) both; }
.la-spin .sp-logo, .la-spin .hd:not(.card) .lg { overflow: visible; }
.la-spin .hd:not(.card) .lg img { border-radius: 50%; }
.la-spin .sp-logo::after, .la-spin .hd:not(.card) .lg::after, .la-spin .lring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--c); border-right-color: var(--c2); animation: laSpin 1.6s linear infinite; pointer-events: none; }
.la-spin .hd:not(.card) .lg { position: relative; }
.la-spin .lring { animation: laSpinBg 4s linear infinite; background: conic-gradient(var(--c), var(--c2), #c026d3, var(--c)); }
.la-spin .lring::after { display: none; }
@keyframes laPulse { 50% { transform: scale(1.07); } }
@keyframes laFloat { 50% { transform: translateY(-8px); } }
@keyframes laGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--cr), 0), 0 8px 24px rgba(0,0,0,.3); } 50% { box-shadow: 0 0 0 7px rgba(var(--cr), .18), 0 0 34px rgba(var(--cr), .7); } }
@keyframes laBounce { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes laSpin { to { transform: rotate(360deg); } }
@keyframes laSpinBg { to { filter: hue-rotate(360deg); } }

/* =====================================================================
   شاشات أكبر: تابلت ولابتوب (الجوال بيضل زي ما هو)
   ===================================================================== */
.lay, .side, .mainc { display: contents; }
@media (hover: hover) {
    .it.box, .spc { transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
    .it.box:hover, .spc:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.22); border-color: rgba(var(--cr), .35); }
    .items.classic .it.box:hover, .items.board .it.box:hover { transform: none; box-shadow: none; }
    .cat:hover .cn { color: var(--c); }
}

/* تابلت */
@media (min-width: 720px) {
    .wrap { max-width: 860px; padding-left: 22px; padding-right: 22px; }
    .hd.card .cover { height: 230px; margin: 0; border-radius: 0 0 var(--r) var(--r); }
    .hd.card .info { margin-left: 18px; margin-right: 18px; }
    .cats { margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px; }
    .items.list, .items.rich, .items.magazine, .items.compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .items.magazine .it:nth-child(even) { flex-direction: row; }
    .items.magazine .it { flex-direction: column; }
    .items.magazine .th { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
    .items.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .items.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .items.classic, .items.board { column-count: 2; column-gap: 34px; display: block; }
    .items.classic .it, .items.board .it { break-inside: avoid; }
    .items.board .bd-t { column-span: all; }
}

/* لابتوب وكمبيوتر */
@media (min-width: 1024px) {
    body { font-size: calc(var(--fs) + .5px); }
    .wrap { max-width: 1240px; padding: 0 32px 60px; }
    /* الرأس */
    .hd { margin-bottom: 0; }
    .hd.card .cover { height: 320px; border-radius: 0 0 calc(var(--r) + 6px) calc(var(--r) + 6px); }
    .hd.card .info { margin: -90px 36px 0; padding: 22px 26px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4px 40px; align-items: start; }
    .hd.card .top { grid-column: 1; grid-row: 1 / span 2; }
    .hd.card .lring .lg, .hd.card .lring { width: 96px; height: 96px; }
    .hd.card .wl h1 { font-size: 2em; }
    .hd.card .ds { grid-column: 1; margin-top: 10px; }
    .hd.card .rw { grid-column: 2; margin-top: 4px; }
    .hd.card .soc { grid-column: 2; margin-top: 10px; }
    .hd.banner .cover { height: 300px; border-radius: 0 0 var(--r) var(--r); margin: 0; }
    .hd.inline, .hd.minimal, .hd.centered { padding-top: 34px; }
    .hd h1 { font-size: 2.1em; }
    .closed-bar { margin-top: 18px; }
    /* عمودين: جانب ثابت + المحتوى */
    .lay { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 26px; }
    .side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow-y: auto; scrollbar-width: thin; padding: 2px 2px 10px; }
    .mainc { display: block; min-width: 0; }
    .side .book-cta { margin: 0; flex-wrap: wrap; }
    .side .stories { margin: 0; }
    .side .search { margin: 0; }
    /* الأقسام صارت قائمة جانبية بكل الأشكال */
    .side .cats { position: static; margin: 0; padding: 8px; background: var(--cardx); border: 1px solid var(--line); border-radius: var(--r); -webkit-backdrop-filter: none; backdrop-filter: none; }
    body.glass .side .cats { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
    .side .cats .ct { flex-direction: column; overflow: visible; gap: 3px; border: 0; padding: 0; }
    .side .cats .cat, .side .cats.circle .cat, .side .cats.ring .cat, .side .cats.tile .cat, .side .cats.pill .cat, .side .cats.underline .cat {
        flex-direction: row; width: auto; text-align: right; justify-content: flex-start; gap: 11px; padding: 9px 10px; border-radius: calc(var(--r2) - 2px);
        background: none; border: 0; box-shadow: none; color: var(--tx); font-size: .95em; }
    .side .cats .cat .ci { width: 36px; height: 36px; border-radius: 11px; background: var(--soft); border: 0; box-shadow: none; flex: none; color: var(--c); }
    .side .cats .cat .ci svg { width: 19px; height: 19px; }
    .side .cats .cn { max-width: none; font-size: 1em; font-weight: 700; }
    .side .cats .cat.on { background: rgba(var(--cr), .14); color: var(--c); }
    .side .cats .cat.on .ci { background: var(--c); color: var(--on); box-shadow: none; }
    /* المحتوى */
    .specials { margin-top: 0; }
    .sp-row { flex-wrap: wrap; overflow: visible; }
    .sec { scroll-margin-top: 20px; }
    .stitle { font-size: 1.25em; }
    .items.list, .items.rich, .items.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .items.magazine { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .items.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
    .items.hero { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .items.hero .th { height: 200px; }
    .items.list .th { width: 96px; height: 96px; }
    .items.rich .th { width: 96px; height: 96px; }
    /* السلة والنوافذ */
    .cartbar { max-width: 460px; left: auto; right: 32px; transform: none; bottom: 26px; }
    .dock { left: 26px; bottom: 26px; }
    .ft { margin-top: 40px; }
}
@media (min-width: 1500px) {
    .wrap { max-width: 1400px; }
    .items.grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .items.list, .items.rich { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== نافذة الصنف: أصغر وأرتب + صور الخيارات ===== */
.opt .oi { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex: none; background: var(--soft); }
.opt.has-img { padding-top: 7px; padding-bottom: 7px; }
.opt .on2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.is-img img.fade { animation: isFade .3s ease; }
@keyframes isFade { from { opacity: .35; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@media (max-width: 639px) {
    .it-sheet { font-size: .94em; }
    .it-sheet .is-img { height: min(34vh, 240px); margin-bottom: 12px; }
    .it-sheet .is-img.noimg { aspect-ratio: auto; height: 52px; }
    .it-sheet .is-h h3 { font-size: 1.18em; }
    .it-sheet .is-acts { margin-top: 9px; }
    .it-sheet .is-acts .lk { padding: 5px 10px; font-size: .85em; }
    .it-sheet .is-sec { margin-top: 13px; }
    .it-sheet .opt { padding: 9px 12px; font-size: .93em; border-width: 1.5px; }
    .it-sheet .opt .rd { width: 18px; height: 18px; }
    .it-sheet .is-foot { margin-top: 14px; padding-top: 10px; gap: 8px; }
    .it-sheet .is-foot .btn { padding: 11px 12px; font-size: .95em; }
    .it-sheet .qty button { width: 30px; height: 30px; font-size: 18px; }
    .it-sheet .sx { width: 32px; height: 32px; font-size: 19px; top: 10px; left: 10px; }
}

/* ===== المنصات ===== */
.hd.card .sc { flex-wrap: wrap; justify-content: flex-end; }
.hd.card .sc .so { color: #fff; border: 0; }
.so-instagram { --s: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.so-facebook { --s: #1877f2; } .so-tiktok { --s: #111; } .so-snapchat { --s: #fffc00; } .so-telegram { --s: #229ed9; }
.hd.card .sc .so { background: var(--s); }
.hd.card .sc .so-snapchat { color: #111; }
.chip.ic { padding: 6px 8px; }
.chip.ic svg { margin: 0; }
.ib-soc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ib-soc a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 30px; background: var(--s); color: #fff; font-weight: 700; font-size: .86em; }
.ib-soc a.so-snapchat { color: #111; }

/* ===== عرض الصورة كاملة بدون قص (خلفية مغبشة من نفس الصورة) ===== */
.th img.bl, .is-img img.bl { display: none; }
.items.grid .th, .items.hero .th, .items.magazine .th, .spc .th, .is-img { isolation: isolate; }
.items.grid .th img.bl, .items.hero .th img.bl, .items.magazine .th img.bl, .spc .th img.bl, .is-img img.bl {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(1.25); transform: scale(1.3); opacity: .9; z-index: 0; }
.items.grid .th img:not(.bl), .items.hero .th img:not(.bl), .items.magazine .th img:not(.bl), .spc .th img:not(.bl), .is-img img:not(.bl) {
    position: relative; z-index: 1; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.items.grid .th { aspect-ratio: 4 / 3; }
.is-img { height: 260px; }
@media (min-width: 640px) { .is-img { height: 300px; } }

/* ===== الجوال: كل شي أصغر وأخف ===== */
@media (max-width: 639px) {
    .sbox { font-size: .93em; padding-left: 14px; padding-right: 14px; }
    .is-img { margin-left: -14px; margin-right: -14px; }
    .is-foot { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
    .items.grid { gap: 10px; }
    .items.grid .it { padding: 6px; }
    .items.grid .inf { padding: 7px 3px 1px; }
    .items.grid .nm { font-size: .95em; }
    .items.grid .add { width: 32px; height: 32px; }
    .items.grid .pr.badge { padding: 3px 8px; font-size: .9em; }
    .items.hero .th { height: 170px; }
    .day { width: 54px; padding: 6px 3px; }
    .day b { font-size: 1.05em; }
    .slots { gap: 6px; }
    .slot { padding: 8px 3px; font-size: .82em; }
    .inp { padding: 10px 12px; }
    textarea.inp { min-height: 56px; }
    .cl-it { padding: 8px; }
    .cl-it .th { width: 46px; height: 46px; }
    .cartbar { padding: 11px 14px; }
}

/* ===== الصورة بحجمها الطبيعي: المربع بياخد شكل الصورة (بدون قص وبدون جوانب) ===== */
.items.grid .th, .items.hero .th, .items.magazine .th { aspect-ratio: auto; height: auto; min-height: 0; }
.items.grid .th img.bl, .items.hero .th img.bl, .items.magazine .th img.bl { display: none; }
.items.grid .th img:not(.bl), .items.hero .th img:not(.bl), .items.magazine .th img:not(.bl) {
    position: static; display: block; width: 100%; height: auto; object-fit: initial; filter: none; }
.items.grid .th .ph, .items.hero .th .ph, .items.magazine .th .ph { position: relative; inset: auto; aspect-ratio: 4 / 3; }
.items.magazine .th { align-self: flex-start; }
/* شبكة متداخلة (كل كرت بطول صورته) */
.items.grid { display: block; column-count: 2; column-gap: 10px; }
.items.grid > .it { display: inline-flex; width: 100%; vertical-align: top; margin: 0 0 10px; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; }
.items.grid > .it[hidden] { display: none; }
@media (min-width: 720px) { .items.grid { column-count: 3; column-gap: 14px; } .items.grid > .it { margin-bottom: 14px; } }
@media (min-width: 1024px) { .items.grid { column-count: 4; } }
@media (min-width: 1500px) { .items.grid { column-count: 5; } }
/* نافذة الصنف: الصورة بشكلها، وبحد أقصى عشان ما تعبي الشاشة */
.is-img { height: auto; min-height: 120px; max-height: 46vh; display: flex; align-items: center; justify-content: center; }
.is-img img:not(.bl) { width: auto; max-width: 100%; height: auto; max-height: 46vh; }
.it-sheet .is-img { height: auto; max-height: 42vh; }
.it-sheet .is-img img:not(.bl) { max-height: 42vh; }
.is-img.noimg { min-height: 0; }

/* ===== الصورة بحجمها الطبيعي (الكرت بياخد شكل الصورة) ===== */
.items.grid .th, .items.hero .th, .items.magazine .th { aspect-ratio: auto; height: auto; min-height: 0; }
.items.grid .th img.bl, .items.hero .th img.bl, .items.magazine .th img.bl { display: none; }
.items.grid .th img:not(.bl), .items.hero .th img:not(.bl), .items.magazine .th img:not(.bl) {
    display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; filter: none; position: static; }
.items.grid .th:not(:has(img)), .items.hero .th:not(:has(img)), .items.magazine .th:not(:has(img)) { aspect-ratio: 4 / 3; }
.items.grid { align-items: start; }
.items.grid .it { height: auto; }
@media (min-width: 720px) {
    .items.grid { display: block; column-count: 3; column-gap: 14px; }
    .items.grid .it { break-inside: avoid; margin-bottom: 14px; display: flex; }
}
@media (min-width: 1024px) { .items.grid { column-count: 4; } }
@media (min-width: 1500px) { .items.grid { column-count: 5; } }
/* الجوال: عمودين بشكل مجلة (كل كرت بطول صورته) */
@media (max-width: 719px) {
    .items.grid { display: block; column-count: 2; column-gap: 10px; }
    .items.grid .it { break-inside: avoid; margin-bottom: 10px; display: flex; }
}
.items.grid .th { position: relative; }

/* نافذة الصنف: الصورة بشكلها، وإذا طويلة كتير بتنعرض كاملة */
.is-img { height: auto; min-height: 0; max-height: min(46vh, 380px); display: flex; align-items: center; justify-content: center; }
.is-img img:not(.bl) { width: 100%; height: auto; max-height: min(46vh, 380px); object-fit: contain; }
.is-img.noimg { height: 52px; max-height: 52px; }
@media (max-width: 639px) { .it-sheet .is-img { height: auto; max-height: min(40vh, 320px); } .it-sheet .is-img img:not(.bl) { max-height: min(40vh, 320px); } }

/* الطلب المسبق */
.bdg.pre { display: inline-flex; align-items: center; gap: 3px; background: rgba(var(--cr), .14); color: var(--c); border: 1px solid rgba(var(--cr), .3); }
.th .bdg.pre { top: auto; bottom: 7px; right: 7px; background: rgba(255,255,255,.92); color: var(--c); }
.th .bdg.pre ~ .bdg.so, .th .bdg.so ~ .bdg.pre { bottom: 34px; }
.is-pre { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 10px 12px; border-radius: var(--r2); background: rgba(var(--cr), .1); border: 1px dashed rgba(var(--cr), .45); color: var(--tx); font-size: .88em; line-height: 1.6; }
.is-pre svg { color: var(--c); flex: none; margin-top: 2px; }
.is-pre b { color: var(--c); }

/* ===== شكل صور الأصناف ===== */
body:not(.sh-natural) .items.grid .th, body:not(.sh-natural) .items.hero .th, body:not(.sh-natural) .items.magazine .th { aspect-ratio: 1 / 1; height: auto; }
body:not(.sh-natural) .items.grid .th img:not(.bl), body:not(.sh-natural) .items.hero .th img:not(.bl), body:not(.sh-natural) .items.magazine .th img:not(.bl) { height: 100%; max-height: none; object-fit: cover; }
.sh-square .items .th, .sh-square .spc .th { border-radius: 6px; }
.sh-rounded .items .th, .sh-rounded .spc .th { border-radius: 26px; }
.sh-circle .items .th, .sh-circle .spc .th { border-radius: 50%; }
.sh-circle .items.grid .th, .sh-circle .items.hero .th, .sh-circle .items.magazine .th { width: 86%; margin: 6px auto 0; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.sh-circle .items.hero .th { width: 70%; }
.sh-circle .items.grid .inf, .sh-circle .items.hero .inf { text-align: center; }
.sh-circle .items.grid .foot { justify-content: space-between; }
.sh-wide .items.grid .th, .sh-wide .items.hero .th, .sh-wide .items.magazine .th { aspect-ratio: 16 / 10; }
.sh-portrait .items.grid .th, .sh-portrait .items.hero .th, .sh-portrait .items.magazine .th { aspect-ratio: 3 / 4; }
.sh-hero-fix { }
.items.hero .th { height: auto; }
body:not(.sh-natural) .items.hero .th { height: auto; }
.sh-natural .items.hero .th img:not(.bl) { max-height: 460px; }
.th .bdg { z-index: 3; }

/* ===== حركة ظهور الأصناف ===== */
@keyframes anUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes anFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes anZoom { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes anFlip { from { opacity: 0; transform: perspective(700px) rotateX(-28deg) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes anSlide { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
.an-up .items .it:not(.rv), .an-up .spc:not(.rv) { animation: anUp .55s cubic-bezier(.2,.8,.2,1) both; }
.an-fade .items .it:not(.rv), .an-fade .spc:not(.rv) { animation: anFade .6s ease both; }
.an-zoom .items .it:not(.rv), .an-zoom .spc:not(.rv) { animation: anZoom .5s cubic-bezier(.2,.8,.2,1) both; }
.an-flip .items .it:not(.rv), .an-flip .spc:not(.rv) { animation: anFlip .6s cubic-bezier(.2,.8,.2,1) both; }
.an-slide .items .it:not(.rv), .an-slide .spc:not(.rv) { animation: anSlide .55s cubic-bezier(.2,.8,.2,1) both; }
.items .it:nth-child(2) { animation-delay: .06s; } .items .it:nth-child(3) { animation-delay: .12s; } .items .it:nth-child(4) { animation-delay: .18s; } .items .it:nth-child(5) { animation-delay: .24s; } .items .it:nth-child(6) { animation-delay: .3s; }
.an-fade .rv { transform: none; }
.an-zoom .rv { transform: scale(.88); }
.an-flip .rv { transform: perspective(700px) rotateX(-28deg) translateY(10px); transform-origin: top center; }
.an-slide .rv { transform: translateX(-26px); }
.rv { transition: opacity .55s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.rv.in { transform: none; }
.an-none .rv { opacity: 1; transform: none; transition: none; }
.items .it.rv:nth-child(2n) { transition-delay: .07s; }
.items .it.rv:nth-child(3n) { transition-delay: .14s; }
.hd { animation: anFade .5s ease both; }
.an-none .hd { animation: none; }

/* ===== الطلب بالاتصال + إخفاء الأسعار ===== */
.add.call { display: inline-flex; align-items: center; justify-content: center; background: #22c55e !important; color: #fff !important; }
.callbar { background: #22c55e !important; color: #fff !important; text-decoration: none; }
.callbar .cnt { background: rgba(0,0,0,.15); }
body.has-callbar .dock { transform: translateY(-74px); }
.pr.ask { font-size: .82em; font-weight: 700; color: var(--mu); background: var(--soft); border: 1px dashed var(--line); padding: 3px 9px; border-radius: 20px; }

/* ===== اختيار الوقت: فترات + محجوز ===== */
.pers { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin-bottom: 10px; background: var(--soft); padding: 4px; border-radius: calc(var(--r2) + 4px); }
.per { padding: 8px 4px; border-radius: var(--r2); font-weight: 800; font-size: .88em; display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--tx); transition: background .2s; }
.per small { font-size: .72em; font-weight: 700; color: var(--mu); }
.per.on { background: var(--c); color: var(--on); box-shadow: 0 4px 12px rgba(var(--cr), .3); }
.per.on small { color: inherit; opacity: .85; }
.per.off { opacity: .5; }
.slots { grid-template-columns: repeat(4, minmax(0, 1fr)); animation: anFade .25s ease; }
.slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px; line-height: 1.2; }
.slot small { font-size: .68em; font-weight: 700; }
.slot.full { opacity: .45; text-decoration: none; background: repeating-linear-gradient(135deg, var(--soft) 0 6px, transparent 6px 12px); cursor: not-allowed; }
.slot.full small { color: #ef4444; }
.slot.few small { color: #f59e0b; }
.slot.on small { color: inherit; }
@media (max-width: 380px) { .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== شريط الطاولة (لما الزبون يمسح باركود طاولته) ===== */
.tbl-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: center; margin: 12px 0; padding: 12px; border-radius: var(--r); background: linear-gradient(135deg, rgba(var(--cr), .16), rgba(var(--cr2), .1)); border: 1px solid rgba(var(--cr), .35); animation: anUp .5s ease both; }
.tb-n { width: 56px; height: 56px; border-radius: 16px; background: var(--c); color: var(--on); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 8px 18px rgba(var(--cr), .35); }
.tb-n b { font-size: 1.55em; font-weight: 800; font-family: 'Plus Jakarta Sans', var(--ff); }
.tb-n small { font-size: .62em; font-weight: 700; opacity: .9; margin-top: 2px; }
.tb-t b { display: block; font-size: 1em; font-family: var(--tf); }
.tb-t small { color: var(--mu); font-size: .8em; }
.tb-a { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tb-b { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border-radius: var(--r2); background: var(--cardx); border: 1px solid var(--line); font-weight: 800; font-size: .88em; color: var(--tx); transition: .2s; }
.tb-b svg { color: var(--c); }
.tb-b.wait { opacity: .6; }
.tb-b.sent { background: #22c55e; border-color: #22c55e; color: #fff; }
.tb-b.sent svg { color: #fff; }
@media (min-width: 1024px) { .tbl-bar { grid-template-columns: auto minmax(0, 1fr) auto; } .tb-a { grid-column: auto; } .tbl-bar { margin-top: 20px; } }

/* ===== أشكال أعلى المتجر الجديدة ===== */
.hd .lg { overflow: hidden; }
/* غلاف كامل */
.hd.hero { margin: 0 -14px 14px; position: relative; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 0 0 calc(var(--r) + 8px) calc(var(--r) + 8px); }
.hd.hero .cover { position: absolute; inset: 0; }
.hd.hero .cover::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.82) 100%); }
.hd.hero .hx { position: relative; z-index: 3; width: 100%; padding: 90px 18px 20px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; }
.hd.hero .lg { width: 86px; height: 86px; border-radius: 50%; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(0,0,0,.4); margin-bottom: 10px; background: #fff; }
.hd.hero h1 { font-size: 1.8em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hd.hero p { color: rgba(255,255,255,.85); font-size: .92em; margin-top: 3px; }
.hd.hero .chips { margin-top: 14px; justify-content: center; }
.hd.hero .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hd.hero .chip svg { color: #fff; }
/* زجاجي */
.hd.glassy { position: relative; margin: 0 -14px 14px; }
.hd.glassy .cover { height: 230px; }
.hd.glassy .gc { position: relative; z-index: 2; margin: -110px 16px 0; padding: 16px; border-radius: calc(var(--r) + 4px); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
body.light .hd.glassy .gc { background: rgba(255,255,255,.72); border-color: rgba(255,255,255,.9); }
.hd.glassy .row { display: flex; align-items: center; gap: 13px; }
.hd.glassy .lg { width: 66px; height: 66px; border-radius: 20px; flex: none; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.hd.glassy h1 { font-size: 1.4em; }
.hd.glassy .txt p { color: var(--mu); font-size: .86em; }
.hd.glassy .chips { margin-top: 12px; }
/* بروفايل */
.hd.profile { margin: 0 -14px 14px; }
.hd.profile .cover { height: 130px; }
.hd.profile .pf { padding: 0 16px; }
.hd.profile .pr-row { display: flex; align-items: flex-end; gap: 16px; margin-top: -44px; position: relative; z-index: 2; }
.hd.profile .ring { width: 98px; height: 98px; border-radius: 50%; padding: 4px; background: conic-gradient(from 210deg, var(--c), var(--c2), #f9ce34, var(--c)); flex: none; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.hd.profile .lg { width: 100%; height: 100%; border-radius: 50%; border: 4px solid var(--bg); background: var(--card); }
.hd.profile .stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-bottom: 6px; }
.hd.profile .stats b { display: block; font-size: 1.2em; font-weight: 800; font-family: 'Plus Jakarta Sans', var(--ff); }
.hd.profile .stats small { color: var(--mu); font-size: .75em; font-weight: 700; }
.hd.profile h1 { font-size: 1.3em; margin-top: 10px; }
.hd.profile .sl { color: var(--c); font-size: .84em; font-weight: 700; }
.hd.profile .ds { font-size: .86em; color: var(--tx); opacity: .85; margin-top: 6px; line-height: 1.6; }
.hd.profile .chips { margin-top: 10px; }
.hd.profile .acts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 7px; margin-top: 12px; }
.hd.profile .a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; border-radius: var(--r2); background: var(--soft); border: 1px solid var(--line); font-weight: 800; font-size: .84em; color: var(--tx); }
.hd.profile .a.wa { background: var(--c); border-color: var(--c); color: var(--on); }
/* موجة */
.hd.wave { margin: 0 -14px 14px; text-align: center; }
.hd.wave .cover { height: 210px; position: relative; }
.hd.wave .wv { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; z-index: 2; fill: var(--bg); }
.hd.wave .wx { position: relative; z-index: 3; margin-top: -58px; padding: 0 16px; display: flex; flex-direction: column; align-items: center; }
.hd.wave .lg { width: 92px; height: 92px; border-radius: 28px; background: #fff; border: 4px solid var(--bg); box-shadow: 0 12px 28px rgba(0,0,0,.25); transform: rotate(-4deg); }
.hd.wave h1 { font-size: 1.55em; margin-top: 10px; }
.hd.wave p { color: var(--mu); font-size: .9em; }
.hd.wave .chips { margin-top: 12px; justify-content: center; }
@media (min-width: 720px) {
    .hd.hero, .hd.glassy, .hd.profile, .hd.wave { margin-left: 0; margin-right: 0; }
    .hd.hero { min-height: 420px; }
    .hd.glassy .cover, .hd.profile .cover, .hd.wave .cover { border-radius: 0 0 var(--r) var(--r); }
}
@media (min-width: 1024px) {
    .hd.hero { min-height: 460px; }
    .hd.glassy .cover { height: 320px; } .hd.glassy .gc { max-width: 760px; margin: -140px auto 0; }
    .hd.profile .cover { height: 240px; } .hd.profile .pf { max-width: 900px; margin: 0 auto; }
    .hd.wave .cover { height: 300px; }
}

/* ===== النوافذ: مناسبة لشريط المتصفح تحت + سحب للإغلاق ===== */
.sbox { max-height: 92vh; max-height: 90dvh; touch-action: pan-y; will-change: transform; }
@media (max-width: 639px) {
    .sheet { padding-bottom: 0; }
    .sbox { border-radius: 24px 24px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
    .sbox::before { width: 44px; height: 5px; margin: -6px auto 12px; background: var(--mu); opacity: .35; }
    .it-sheet::before { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); margin: 0; z-index: 6; background: rgba(255,255,255,.85); opacity: 1; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
    .is-foot { bottom: calc(-16px - env(safe-area-inset-bottom)); margin-bottom: calc(-16px - env(safe-area-inset-bottom)); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
.cartbar { bottom: calc(14px + env(safe-area-inset-bottom)); }

/* غلاف: الاسم دايماً تحت الصورة، مش فوقها */
.hd.banner .row { align-items: flex-end; }
.hd.banner .txt { padding-top: 42px; padding-bottom: 6px; }
.hd.banner h1 { line-height: 1.2; overflow-wrap: anywhere; }

/* ===== اختيار الخدمة من نافذة الحجز (صالون) ===== */
.pk{display:grid;gap:8px}
.pk-i{display:flex;align-items:center;gap:10px;width:100%;text-align:start;padding:8px;border:1.5px solid var(--line);border-radius:14px;background:var(--card);color:var(--tx);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.pk-i img,.pk-i .ph{width:46px;height:46px;border-radius:11px;object-fit:cover;flex:none;display:grid;place-items:center;background:var(--soft);color:var(--c);font-weight:800}
.pk-i .n{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pk-i .n b{font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pk-i .n small{color:var(--c);font-weight:700}
.pk-i .ck{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--line);font-size:1.2rem;font-weight:700;flex:none}
.pk-i .ck svg{width:16px;height:16px}
.pk-i.on{border-color:var(--c);background:color-mix(in srgb,var(--c) 10%,var(--card))}
.pk-i.on .ck{background:var(--c);border-color:var(--c);color:var(--on)}
.pk-more{display:block;width:100%;margin:10px 0 4px;padding:10px;border:1.5px dashed var(--line);border-radius:12px;background:none;color:var(--c);font:inherit;font-weight:700;cursor:pointer}
#pkMore{margin-bottom:8px}
/* أزرار الأيام والساعات: لمسة سريعة على أندرويد */
.day,.slot,.per,.seg button,.qty button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.closed-bar .cb-back{display:inline-block;align-self:flex-start;margin-top:5px;font-style:normal;font-weight:800;font-size:.82rem;padding:3px 10px;border-radius:999px;background:rgba(239,68,68,.15)}

/* ======================= هيدرات جديدة ======================= */
/* نص ونص: غلاف + معلومات */
.hd.split { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.hd.split .cover { height: 150px; }
.hd.split .spx { padding: 0 14px 14px; }
.hd.split .row { display: flex; align-items: flex-end; gap: 12px; }
.hd.split .lg { width: 74px; height: 74px; border-radius: 20px; overflow: hidden; margin-top: -34px; border: 4px solid var(--card); background: var(--card); flex: none; position: relative; z-index: 2; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.hd.split .txt { padding-bottom: 4px; min-width: 0; }
.hd.split h1 { font-size: 1.35em; }
.hd.split .txt p { color: var(--mu); font-size: .9em; }
.hd.split .ds { color: var(--mu); font-size: .88em; line-height: 1.7; margin-top: 10px; }
@media (min-width: 760px) {
    .hd.split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 250px; }
    .hd.split .cover { height: auto; order: 2; }
    .hd.split .spx { padding: 22px; display: flex; flex-direction: column; justify-content: center; }
    .hd.split .lg { margin-top: 0; }
}
/* شريط ملون */
.hd.ribbon { text-align: center; }
.hd.ribbon .band { position: relative; height: 118px; border-radius: var(--r); overflow: hidden; background: linear-gradient(120deg, var(--c), var(--c2)); }
.hd.ribbon .band .pt { position: absolute; inset: 0; opacity: .18; background-image: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 14px); }
.hd.ribbon .band .bn { position: absolute; top: 12px; right: 14px; font-size: .72em; letter-spacing: .5px; color: var(--on); background: rgba(0,0,0,.18); padding: 4px 10px; border-radius: 999px; }
.hd.ribbon .lg { width: 98px; height: 98px; border-radius: 50%; overflow: hidden; margin: -50px auto 8px; border: 5px solid var(--bg); background: var(--card); position: relative; z-index: 2; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.hd.ribbon h1 { font-size: 1.55em; }
.hd.ribbon p { color: var(--mu); }
/* نيون */
.hd.neon .nx { position: relative; text-align: center; padding: 26px 16px 18px; border-radius: var(--r); background: radial-gradient(120% 90% at 50% 0%, rgba(var(--cr), .22), transparent 60%), #0c0c12; color: #fff; overflow: hidden; isolation: isolate; }
.hd.neon .nx::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: conic-gradient(from var(--na, 0deg), rgba(var(--cr), 1), rgba(var(--cr2), .2), rgba(var(--cr), 1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; animation: neonSpin 6s linear infinite; }
@property --na { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes neonSpin { to { --na: 360deg; } }
.hd.neon .lg { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; background: #15151d; box-shadow: 0 0 0 3px rgba(var(--cr), .95), 0 0 34px rgba(var(--cr), .55); }
.hd.neon h1 { font-size: 1.6em; color: #fff; text-shadow: 0 0 18px rgba(var(--cr), .75); }
.hd.neon p { color: rgba(255,255,255,.7); }
.hd.neon .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }
@media (prefers-reduced-motion: reduce) { .hd.neon .nx::before { animation: none; } }

/* ======================= طرق عرض جديدة للأصناف ======================= */
/* شرائح بتتمرر بالعرض */
.items.slider { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.items.slider::-webkit-scrollbar { display: none; }
.items.slider > .it { flex: 0 0 64%; scroll-snap-align: start; padding: 8px; display: flex; flex-direction: column; }
.items.slider > .it[hidden] { display: none; }
.items.slider .th { aspect-ratio: 1 / 1; width: 100%; }
.items.slider .inf { padding: 8px 4px 2px; display: flex; flex-direction: column; flex: 1; }
.items.slider .d { -webkit-line-clamp: 2; }
.items.slider .foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
@media (min-width: 760px) { .items.slider > .it { flex-basis: 34%; } }
@media (min-width: 1200px) { .items.slider > .it { flex-basis: 26%; } }
/* صور دائرية */
.items.circle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.items.circle > .it { background: none !important; border: 0 !important; box-shadow: none !important; padding: 4px; text-align: center; display: flex; flex-direction: column; align-items: center; backdrop-filter: none !important; }
.items.circle .th { width: 82%; aspect-ratio: 1 / 1; border-radius: 50% !important; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(var(--cr), .55), 0 12px 26px rgba(0,0,0,.2); transition: transform .3s; }
.items.circle > .it:active .th { transform: scale(.96); }
.items.circle .th .bdg { top: 2px; right: 2px; }
.items.circle .inf { padding-top: 12px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.items.circle .d { display: none; }
.items.circle .foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
@media (min-width: 760px) { .items.circle { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .items.circle { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* بولارويد */
.items.polaroid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding: 4px 2px; }
.items.polaroid > .it { background: #fff !important; color: #1e1e1e; border: 0 !important; border-radius: 4px !important; padding: 8px 8px 12px; box-shadow: 0 10px 24px rgba(0,0,0,.18) !important; transform: rotate(-1.4deg); transition: transform .25s; display: flex; flex-direction: column; backdrop-filter: none !important; }
.items.polaroid > .it:nth-child(even) { transform: rotate(1.4deg); }
.items.polaroid > .it:active { transform: rotate(0) scale(.98); }
.items.polaroid .th { aspect-ratio: 1 / 1; width: 100%; border-radius: 2px !important; }
.items.polaroid .inf { padding: 10px 2px 0; text-align: center; display: flex; flex-direction: column; flex: 1; }
.items.polaroid .nm { font-family: var(--tf); color: #1e1e1e; }
.items.polaroid .d { display: none; }
.items.polaroid .foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding-top: 6px; }
@media (min-width: 760px) { .items.polaroid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .items.polaroid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* الصور بطرق العرض الجديدة: مربعة ومعبّاية دايماً */
.items.slider .th, .items.circle .th, .items.polaroid .th { aspect-ratio: 1 / 1 !important; height: auto !important; min-height: 0 !important; }
.items.slider .th img:not(.bl), .items.circle .th img:not(.bl), .items.polaroid .th img:not(.bl) { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover !important; }
.items.slider .th .ph, .items.circle .th .ph, .items.polaroid .th .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.items.circle .th .bdg { display: none; }
.items.circle > .it.sold { opacity: .55; }
.items.circle > .it.sold .nm::after { content: " · غير متوفر"; color: var(--mu); font-weight: 600; font-size: .8em; }
.items.circle .th .bdg.sp { display: inline-flex; top: 4px; right: 4px; }

/* ======================= نافذة الصنف: شكل موحّد وزر إضافة مميز ======================= */
.it-sheet .is-img, .is-img { max-height: min(34vh, 300px) !important; }
.it-sheet .is-img img:not(.bl) { max-height: min(34vh, 300px) !important; object-fit: contain; }
.is-h { align-items: flex-start; gap: 12px; }
.is-h h3 { font-family: var(--tf); font-size: 1.35em; line-height: 1.3; }
.is-h .pr { font-size: 1.25em; white-space: nowrap; background: rgba(var(--cr), .12); padding: 4px 12px; border-radius: 12px; }
.is-sec { margin-top: 16px; }
.is-sec > b { display: flex; align-items: center; justify-content: space-between; font-size: .98em; margin-bottom: 9px; }
.is-sec > b small { font-size: .72em; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--soft); color: var(--mu); }
/* الإضافات: زي مربعات اختيار، والسعر واضح */
.tags { display: grid; grid-template-columns: 1fr; gap: 8px; }
.tag { display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; padding: 12px 14px; border-radius: 16px; background: var(--soft); border: 1.5px solid var(--line); font-size: .92em; font-weight: 700; color: var(--tx); cursor: pointer; transition: border-color .15s, background .15s; }
.tag .tk { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; transition: .15s; }
.tag em { margin-inline-start: auto; font-style: normal; font-weight: 800; color: var(--c); font-family: Jak, var(--ff); white-space: nowrap; }
.tag.on { background: rgba(var(--cr), .12); border-color: var(--c); color: var(--tx); }
.tag.on .tk { background: var(--c); border-color: var(--c); }
.tag.on .tk::after { content: ""; width: 10px; height: 6px; border: solid var(--on); border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); }
/* الأحجام نفس الشكل */
.opts { gap: 8px; }
.opt { border-radius: 16px !important; border-width: 1.5px !important; }
/* الشريط تحت: عداد + زر إضافة عريض ومميز (ما بيتأثر بستايل الأزرار) */
.is-foot { gap: 10px; }
.is-foot .qty { flex: none; height: 56px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); padding: 0 6px; display: inline-flex; align-items: center; gap: 4px; }
.is-foot .qty button { width: 40px; height: 40px; border-radius: 13px; font-size: 1.3em; font-weight: 800; background: var(--card); color: var(--tx); border: 1px solid var(--line); }
.is-foot .qty span { min-width: 26px; text-align: center; font-weight: 800; font-family: Jak, var(--ff); }
.is-addbtn { flex: 1; height: 56px; border: 0; border-radius: 18px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 16px; background: linear-gradient(135deg, var(--c), var(--c2)); color: var(--on); font: inherit; font-weight: 800; font-size: 1.02em; cursor: pointer; box-shadow: 0 10px 26px rgba(var(--cr), .4); position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.is-addbtn::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); animation: addShine 3.2s ease-in-out infinite; }
@keyframes addShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.is-addbtn .pl { width: 34px; height: 34px; border-radius: 11px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 1.4em; line-height: 1; flex: none; }
.is-addbtn .tx { flex: 1; text-align: start; }
.is-addbtn .tt { background: rgba(0,0,0,.18); padding: 7px 12px; border-radius: 12px; font-family: Jak, var(--ff); white-space: nowrap; }
.is-addbtn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .is-addbtn::before { animation: none; } }

/* العروض بصورة البروفايل */
body.st-logo #stories { display: none; }
.st-ring { cursor: pointer; box-shadow: 0 0 0 3px var(--bg), 0 0 0 7px #e1306c, 0 0 0 9px rgba(245,133,41,.55), 0 10px 26px rgba(225,48,108,.35) !important; animation: stRing 2.4s ease-in-out infinite; }
.lring.st-ring { border-radius: 50%; }
@keyframes stRing { 0%, 100% { box-shadow: 0 0 0 3px var(--bg), 0 0 0 7px #e1306c, 0 0 0 9px rgba(245,133,41,.55), 0 10px 26px rgba(225,48,108,.35); } 50% { box-shadow: 0 0 0 3px var(--bg), 0 0 0 7px #f58529, 0 0 0 11px rgba(221,42,123,.35), 0 10px 26px rgba(225,48,108,.45); } }
@media (prefers-reduced-motion: reduce) { .st-ring { animation: none; } }
/* المحجوز أوضح */
.slot.full { opacity: .55 !important; background: repeating-linear-gradient(135deg, rgba(239,68,68,.12) 0 6px, transparent 6px 12px) !important; border-color: rgba(239,68,68,.35) !important; color: var(--mu) !important; text-decoration: line-through; }
.slot.full small { display: block; color: #ef4444 !important; font-weight: 800; text-decoration: none; }

/* ======================= آراء الزبائن ======================= */
.chip.rv { color: #f5b301; font-weight: 800; }
.chip.rv small { color: var(--mu); font-weight: 600; }
.reviews { margin-top: 26px; scroll-margin-top: 80px; }
.rv-top { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--r); }
.rv-avg { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-inline-end: 16px; border-inline-end: 1px solid var(--line); min-width: 104px; }
.rv-avg b { font-size: 2.4em; font-family: Jak, var(--ff); line-height: 1; }
.rv-avg small { font-size: .78em; color: var(--mu); text-align: center; }
.rv-txt { flex: 1; min-width: 0; }
.rv-txt h2 { font-family: var(--tf); font-size: 1.2em; }
.rv-txt p { font-size: .86em; color: var(--mu); margin: 3px 0 10px; line-height: 1.6; }
.rv-stars { --v: 0; display: inline-block; font-size: 1.1em; letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, #f5b301 calc(var(--v) / 5 * 100%), rgba(128,128,128,.35) 0); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.rv-stars::before { content: "★★★★★"; }
.rv-stars.sm { font-size: .85em; margin-inline-start: auto; }
.rv-list { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 760px) { .rv-list { grid-template-columns: 1fr 1fr; } }
.rv { padding: 14px; border-radius: var(--r2); }
.rv-h { display: flex; align-items: center; gap: 10px; }
.rv-h .av { width: 38px; height: 38px; border-radius: 50%; background: rgba(var(--cr), .15); color: var(--c); display: grid; place-items: center; font-weight: 800; flex: none; }
.rv-h b { font-size: .95em; }
.rv p { margin-top: 8px; font-size: .92em; line-height: 1.7; color: var(--tx); }
.rv-reply { margin-top: 8px; font-size: .85em; line-height: 1.6; color: var(--mu); background: var(--soft); border-radius: 12px; padding: 8px 10px; border-inline-start: 3px solid var(--c); }
.rv-reply b { color: var(--tx); }
.rv-pick { display: flex; justify-content: center; gap: 8px; direction: ltr; margin-top: 4px; }
.rv-pick button { font-size: 46px; line-height: 1; background: none; border: 0; color: rgba(128,128,128,.35); cursor: pointer; transition: transform .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.rv-pick button.on { color: #f5b301; transform: scale(1.08); }
.rv-lbl { text-align: center; font-weight: 800; margin: 6px 0 4px; color: var(--mu); }

/* العربون */
.dep { margin-top: 14px; padding: 14px; border-radius: 18px; background: rgba(var(--cr), .08); border: 1.5px dashed rgba(var(--cr), .45); }
.dep-h { display: flex; gap: 12px; align-items: center; }
.dep-i { width: 44px; height: 44px; border-radius: 14px; background: var(--card); display: grid; place-items: center; font-size: 22px; flex: none; }
.dep-h b { display: block; font-size: 1em; }
.dep-h small { display: block; font-size: .8em; color: var(--mu); }
.dep-info { margin-top: 10px; font-size: .9em; line-height: 1.7; background: var(--card); border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.dep-file { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 10px; padding: 14px; border-radius: 14px; background: var(--card); border: 1.5px solid var(--line); font-weight: 800; font-size: .92em; cursor: pointer; }
.dep-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dep-file.ok { border-color: #16a34a; color: #16a34a; }
.dep-wa { margin-top: 10px; font-size: .85em; color: var(--mu); line-height: 1.6; }

/* حالة الحجز بعد الإرسال */
.cf-st { margin: 4px 0 12px; padding: 12px 14px; border-radius: 14px; font-weight: 800; font-size: .9em; line-height: 1.6; display: flex; align-items: center; gap: 8px; justify-content: center; }
.cf-st.cf-ok { background: rgba(22,163,74,.12); color: #16a34a; }
.cf-st.cf-wa { background: rgba(37,211,102,.12); color: #128c4a; }
.cf-st.cf-wait { background: rgba(245,158,11,.13); color: #b45309; }
body.dark .cf-st.cf-wait { color: #fbbf24; } body.dark .cf-st.cf-ok { color: #4ade80; } body.dark .cf-st.cf-wa { color: #4ade80; }
.cf-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: cfp 1.2s infinite; flex: none; }
@keyframes cfp { 50% { opacity: .25; transform: scale(.7); } }
