/* ZAHMA — digital menu. Navy night + liquid gold, art-deco bones. */
:root {
  --navy-950: #040915;
  --navy-900: #071127;
  --navy-800: #0b1a38;
  --navy-700: #11264d;
  --navy-600: #183465;
  --gold-50: #fff6d6;
  --gold-200: #f6e2a0;
  --gold-300: #ecca72;
  --gold-500: #d0a243;
  --gold-700: #9c7423;
  --ivory: #f3eee1;
  --mist: #a9b7d3;
  --mist-dim: #7586a8;
  --line: rgba(208, 162, 67, .28);
  --gold-grad: linear-gradient(115deg, #b98a2c 0%, #f3d98c 22%, #fff3c9 38%, #d6a94a 55%, #a87b25 72%, #f0d586 100%);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --f-display: 'Cinzel', 'Times New Roman', serif;
  --f-text: 'Cormorant Garamond', Georgia, serif;
  --f-ar-display: 'Aref Ruqaa', 'El Messiri', serif;
  --f-ar-name: 'El Messiri', 'Tajawal', sans-serif;
  --f-ar-text: 'Tajawal', system-ui, sans-serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ivory);
  background: var(--navy-900);
  font-family: var(--f-text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--f-ar-text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 1.5px solid var(--gold-300); outline-offset: 3px; border-radius: 4px; }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- shared bits ---------- */
.lang {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .85rem; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--f-display); font-size: .72rem; letter-spacing: .14em; line-height: 1;
  color: var(--mist); background: rgba(7, 17, 39, .45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .3s, color .3s;
}
.lang:hover { border-color: var(--gold-500); }
.lang-ar { font-family: var(--f-ar-name); font-size: .95rem; letter-spacing: 0; transform: translateY(-1px); }
.lang-sep { width: 1px; height: .8rem; background: var(--line); }
html[lang="ar"] .lang-ar, html[lang="en"] .lang-en { color: var(--gold-300); }

.deco-rule { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.deco-rule span { height: 1px; width: min(22vw, 120px); background: linear-gradient(90deg, transparent, var(--gold-500)); }
.deco-rule span:last-child { transform: scaleX(-1); }
.deco-rule i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-grad); box-shadow: 0 0 12px rgba(236, 202, 114, .7); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 56px; padding: .9rem 1.7rem; border-radius: 2px; overflow: hidden; isolation: isolate;
  font-family: var(--f-display); font-size: .82rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s, color .4s, background-color .4s;
}
html[lang="ar"] .btn { font-family: var(--f-ar-name); font-size: 1.08rem; font-weight: 600; letter-spacing: 0; }
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn:active { transform: scale(.975); }
.btn-gold {
  color: #1a1204; background: var(--gold-grad); background-size: 220% 100%; background-position: 0% 0;
  box-shadow: 0 10px 34px -10px rgba(236, 202, 114, .55), inset 0 0 0 1px rgba(255, 246, 214, .55);
  animation: goldDrift 7s ease-in-out infinite alternate;
}
.btn-gold::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%);
  transform: translateX(-120%); animation: sheen 4.2s var(--ease-io) 2.6s infinite;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(236, 202, 114, .75), inset 0 0 0 1px rgba(255, 246, 214, .7); }
.btn-arrow { transition: transform .5s var(--ease-out); }
html[dir="rtl"] .btn-arrow { transform: scaleX(-1); }
.btn-gold:hover .btn-arrow { transform: translateX(5px); }
html[dir="rtl"] .btn-gold:hover .btn-arrow { transform: scaleX(-1) translateX(5px); }
.btn-ghost { color: var(--gold-200); border: 1px solid var(--line); background: rgba(7, 17, 39, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold-300); color: var(--gold-50); transform: translateY(-3px); background: rgba(208, 162, 67, .1); }
.btn-sm { min-height: 46px; padding: .6rem 1.3rem; font-size: .78rem; letter-spacing: .12em; }

@keyframes goldDrift { to { background-position: 100% 0; } }
@keyframes sheen { 0% { transform: translateX(-120%); } 38%, 100% { transform: translateX(120%); } }

/* ================= LANDING ================= */
#landing {
  position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column;
  padding: calc(var(--safe-t) + 22px) 22px calc(var(--safe-b) + 22px);
  background:
    radial-gradient(120% 70% at 50% 112%, #1c3d78 0%, rgba(24, 52, 101, .55) 32%, transparent 68%),
    radial-gradient(90% 60% at 50% 38%, #0f2349 0%, transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 45%, #0c1d40 100%);
}
#fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.rays {
  position: absolute; left: 50%; top: 42%; width: 190vmax; height: 190vmax; translate: -50% -50%; opacity: 0;
  background: repeating-conic-gradient(from 0deg, rgba(236, 202, 114, .085) 0deg 1.4deg, transparent 1.4deg 9deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .5) 18%, transparent 46%);
  mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, .5) 18%, transparent 46%);
  animation: spin 160s linear infinite;
}
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(2, 5, 14, .72) 100%); }
@keyframes spin { to { rotate: 360deg; } }

.frame { position: absolute; inset: calc(var(--safe-t) + 10px) 10px calc(var(--safe-b) + 10px); pointer-events: none; }
.frame::before { content: ''; position: absolute; inset: 0; border: 1px solid rgba(208, 162, 67, .2); opacity: 0; }
.corner { position: absolute; width: clamp(84px, 24vw, 168px); aspect-ratio: 1; }
.corner svg { display: block; width: 100%; height: 100%; overflow: visible; }
.corner g:first-of-type path, .corner line { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.corner .fill { stroke: none; opacity: 0; }
.corner.tl { top: 0; left: 0; }
.corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.corner.br { bottom: 0; right: 0; transform: scale(-1); }

.l-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 1.4rem; padding: 4px 0 0; opacity: 0; }
.l-est { font-family: var(--f-display); font-size: .62rem; letter-spacing: .34em; color: var(--mist-dim); text-transform: uppercase; }
html[lang="ar"] .l-est { font-family: var(--f-ar-name); font-size: .82rem; letter-spacing: .04em; }

.hero { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem 0 1rem; }
.kicker { display: flex; align-items: center; gap: .9rem; font-family: var(--f-display); font-size: .68rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-300); opacity: 0; }
html[lang="ar"] .kicker { font-family: var(--f-ar-name); font-size: .95rem; letter-spacing: .08em; }
.k-line { width: 26px; height: 1px; background: var(--gold-500); }

.logo { position: relative; display: flex; flex-direction: column; align-items: center; margin: clamp(1.4rem, 4.5vh, 2.8rem) 0 clamp(1.1rem, 3vh, 1.8rem); font-weight: 400; }
.logo-halo { position: absolute; left: 50%; top: 40%; width: 150%; aspect-ratio: 1.6; translate: -50% -50%; background: radial-gradient(closest-side, rgba(236, 202, 114, .2), transparent 72%); filter: blur(12px); opacity: 0; }
.logo-calli {
  position: relative; display: block; width: min(74vw, 440px); aspect-ratio: 1685 / 656;
  background: var(--gold-grad); background-size: 240% 100%;
  -webkit-mask: url(../img/logo-mask.png) center / contain no-repeat; mask: url(../img/logo-mask.png) center / contain no-repeat;
  clip-path: inset(-6% -2% -6% 102%);
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .45));
  animation: goldDrift 9s ease-in-out infinite alternate;
}
.logo-calli::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .95) 50%, transparent 62%);
  transform: translateX(130%);
}
.logo-word { display: flex; justify-content: center; gap: clamp(.9rem, 5.2vw, 2rem); margin-top: clamp(.5rem, 1.8vh, 1rem); direction: ltr; font-family: var(--f-display); font-size: clamp(1.5rem, 7.4vw, 2.7rem); font-weight: 400; line-height: 1; }
.logo-word b { font-weight: 400; background: var(--gold-grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(.6em); filter: blur(6px); }

.hero > .deco-rule { opacity: 0; }
.hero > .deco-rule span { width: min(26vw, 130px); }
.tagline { margin-top: clamp(.9rem, 2.4vh, 1.4rem); font-family: var(--f-text); font-style: italic; font-size: clamp(1.15rem, 4.6vw, 1.5rem); color: var(--ivory); opacity: 0; letter-spacing: .01em; }
html[lang="ar"] .tagline { font-family: var(--f-ar-display); font-style: normal; font-size: clamp(1.35rem, 5.6vw, 1.8rem); }

.cta { display: flex; flex-direction: column; gap: .85rem; width: min(100%, 340px); margin-top: clamp(1.8rem, 5.5vh, 3rem); }
.cta .btn { width: 100%; opacity: 0; }
.handle { margin-top: 1rem; font-family: var(--f-display); font-size: .7rem; letter-spacing: .3em; color: var(--mist-dim); opacity: 0; }
.l-foot { position: relative; z-index: 3; text-align: center; font-family: var(--f-display); font-size: .6rem; letter-spacing: .5em; color: var(--mist-dim); text-transform: uppercase; opacity: 0; padding-bottom: 4px; }

/* -- intro choreography (runs once .ready lands on #landing) -- */
#landing.ready .rays { animation: spin 160s linear infinite, fadeIn 2.6s ease .3s forwards; }
#landing.ready .frame::before { animation: fadeIn 1.6s ease 1s forwards; }
#landing.ready .corner g:first-of-type path, #landing.ready .corner line { animation: draw 1.7s var(--ease-io) forwards; animation-delay: calc(.15s + var(--d, 0) * .09s); }
#landing.ready .corner .fill { animation: fadeIn .8s ease 1.4s forwards; }
#landing.ready .l-top { animation: fadeIn 1.2s ease 1.5s forwards; }
#landing.ready .kicker { animation: riseIn 1s var(--ease-out) .25s forwards; }
#landing.ready .logo-halo { animation: fadeIn 2.4s ease .6s forwards, breathe 7s ease-in-out 3s infinite; }
#landing.ready .logo-calli { animation: goldDrift 9s ease-in-out infinite alternate, inkIn 1.7s var(--ease-io) .35s forwards; }
#landing.ready .logo-calli::after { animation: sheen 6.5s var(--ease-io) 2.3s infinite reverse; }
#landing.ready .logo-word b { animation: letterIn .9s var(--ease-out) forwards, goldDrift 8s ease-in-out infinite alternate; animation-delay: calc(1.15s + var(--i) * .085s), 0s; }
.logo-word b:nth-child(1) { --i: 0; } .logo-word b:nth-child(2) { --i: 1; } .logo-word b:nth-child(3) { --i: 2; } .logo-word b:nth-child(4) { --i: 3; } .logo-word b:nth-child(5) { --i: 4; }
#landing.ready .hero > .deco-rule { animation: ruleIn 1.1s var(--ease-out) 1.55s forwards; }
#landing.ready .tagline { animation: riseIn 1s var(--ease-out) 1.7s forwards; }
#landing.ready .cta .btn:nth-child(1) { animation: riseIn .9s var(--ease-out) 1.9s forwards, goldDrift 7s ease-in-out infinite alternate; }
#landing.ready .cta .btn:nth-child(2) { animation: riseIn .9s var(--ease-out) 2.05s forwards; }
#landing.ready .handle, #landing.ready .l-foot { animation: fadeIn 1.4s ease 2.4s forwards; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes inkIn { to { clip-path: inset(-6% -2% -6% -2%); } }
@keyframes letterIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ruleIn { from { opacity: 0; transform: scaleX(.2); } to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { opacity: .55; transform: scale(1.08); } }

@media (max-height: 640px) {
  .logo-calli { width: min(58vw, 300px); }
  .cta { margin-top: 1.2rem; }
  .btn { min-height: 50px; }
}
@media (min-width: 720px) {
  .cta { flex-direction: row; width: auto; }
  .cta .btn { width: auto; min-width: 240px; }
}

/* ================= DOORS ================= */
.doors { position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden; }
.doors.on { visibility: visible; pointer-events: auto; }
.door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: linear-gradient(180deg, var(--navy-950), var(--navy-800)); transition: transform .62s var(--ease-io); }
.door-a { left: 0; transform: translateX(-101%); border-right: 1px solid var(--gold-500); box-shadow: 8px 0 40px rgba(0, 0, 0, .5); }
.door-b { right: 0; transform: translateX(101%); border-left: 1px solid var(--gold-500); box-shadow: -8px 0 40px rgba(0, 0, 0, .5); }
.doors.closed .door { transform: none; }
.doors-seal {
  position: absolute; left: 50%; top: 50%; width: 132px; aspect-ratio: 1685 / 656; translate: -50% -50%;
  background: var(--gold-grad);
  -webkit-mask: url(../img/logo-mask.png) center / contain no-repeat; mask: url(../img/logo-mask.png) center / contain no-repeat;
  opacity: 0; transform: scale(.86); transition: opacity .3s ease, transform .5s var(--ease-out);
}
.doors.closed .doors-seal { opacity: 1; transform: none; transition-delay: .38s; }

/* ================= MENU ================= */
#menu {
  position: relative; min-height: 100vh; min-height: 100dvh;
  background:
    radial-gradient(100% 420px at 50% 0, rgba(24, 52, 101, .7), transparent 70%),
    linear-gradient(180deg, var(--navy-900) 0%, #0a1731 40%, #0d1f45 100%);
}
.m-watermark {
  position: fixed; left: 50%; top: 52%; width: min(120vw, 900px); aspect-ratio: 1685 / 656; translate: -50% -50%; pointer-events: none;
  background: #9db6e8; opacity: .045;
  -webkit-mask: url(../img/logo-mask.png) center / contain no-repeat; mask: url(../img/logo-mask.png) center / contain no-repeat;
}
.m-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.m-progress i { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: 0 50%; }
html[dir="rtl"] .m-progress i { transform-origin: 100% 50%; }

.m-top {
  position: sticky; top: 0; z-index: 50; padding-top: var(--safe-t);
  background: linear-gradient(180deg, rgba(5, 11, 26, .94), rgba(7, 17, 39, .86));
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(208, 162, 67, .18);
}
.m-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 58px; padding: 0 16px; max-width: 1160px; margin: 0 auto; }
.m-back { justify-self: start; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-200); transition: background-color .3s, border-color .3s; }
.m-back:hover { background: rgba(208, 162, 67, .12); border-color: var(--gold-500); }
.m-back svg { width: 18px; height: 18px; }
html[dir="rtl"] .m-back svg { transform: scaleX(-1); }
.m-brand { display: block; padding: 6px 10px; }
.m-brand-logo { display: block; width: 92px; aspect-ratio: 1685 / 656; background: var(--gold-grad); -webkit-mask: url(../img/logo-mask.png) center / contain no-repeat; mask: url(../img/logo-mask.png) center / contain no-repeat; }
.m-head .lang { justify-self: end; }

.m-nav { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-width: none; scroll-behavior: smooth; max-width: 1160px; margin: 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.m-nav::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: .52rem 1rem; border-radius: 999px; border: 1px solid rgba(208, 162, 67, .22); white-space: nowrap;
  font-family: var(--f-display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mist);
  transition: color .35s, background-color .35s, border-color .35s, box-shadow .35s;
}
html[lang="ar"] .chip { font-family: var(--f-ar-name); font-size: .95rem; font-weight: 500; letter-spacing: 0; padding: .4rem 1rem .46rem; }
.chip.active { color: #1a1204; background: var(--gold-grad); border-color: transparent; box-shadow: 0 6px 20px -8px rgba(236, 202, 114, .8); font-weight: 600; }

.m-intro { position: relative; text-align: center; padding: clamp(2.2rem, 7vw, 4rem) 22px 1.2rem; max-width: 640px; margin: 0 auto; }
.m-eyebrow { font-family: var(--f-display); font-size: .66rem; letter-spacing: .44em; text-transform: uppercase; color: var(--gold-300); }
html[lang="ar"] .m-eyebrow { font-family: var(--f-ar-name); font-size: .95rem; letter-spacing: .06em; }
.m-title { margin: .7rem 0 1.1rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 10vw, 3.6rem); letter-spacing: .14em; line-height: 1.1; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: goldDrift 9s ease-in-out infinite alternate; }
html[lang="ar"] .m-title { font-family: var(--f-ar-display); font-weight: 700; letter-spacing: 0; font-size: clamp(2.8rem, 13vw, 4.4rem); line-height: 1.35; margin: .2rem 0 .7rem; }
.m-search { display: flex; align-items: center; gap: .7rem; margin: 1.6rem auto 0; padding: 0 1.1rem; height: 52px; max-width: 440px; border: 1px solid var(--line); border-radius: 2px; background: rgba(4, 9, 21, .45); color: var(--gold-300); transition: border-color .3s, box-shadow .3s; }
.m-search:focus-within { border-color: var(--gold-300); box-shadow: 0 0 0 4px rgba(208, 162, 67, .12); }
.m-search svg { width: 18px; height: 18px; flex: none; }
.m-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ivory); font-family: var(--f-text); font-size: 1.1rem; }
html[lang="ar"] .m-search input { font-family: var(--f-ar-text); font-size: 1rem; }
.m-search input::placeholder { color: var(--mist-dim); }
.m-search input::-webkit-search-cancel-button { filter: invert(.8) sepia(1) saturate(2); }
.m-note { margin-top: .9rem; font-size: .92rem; font-style: italic; color: var(--mist-dim); }
html[lang="ar"] .m-note { font-style: normal; font-size: .82rem; }

.m-body { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 18px 2rem; }
.cat { padding-top: clamp(2.6rem, 8vw, 4.2rem); scroll-margin-top: calc(var(--safe-t) + 104px); }
.cat-head { position: relative; text-align: center; margin-bottom: clamp(1.4rem, 4vw, 2.2rem); }
.cat-num { display: block; direction: ltr; font-family: var(--f-display); font-size: .7rem; letter-spacing: .4em; color: var(--gold-500); }
.cat-title {
  display: inline-block; margin: .55rem 0 .7rem; padding: .5rem 1.9rem .55rem; position: relative;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 5.4vw, 1.75rem); letter-spacing: .2em; text-transform: uppercase; line-height: 1.25;
  background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[lang="ar"] .cat-title { font-family: var(--f-ar-display); font-weight: 700; font-size: clamp(1.9rem, 8.4vw, 2.6rem); letter-spacing: 0; line-height: 1.5; padding: .1rem 2rem .3rem; }
.cat-title::before, .cat-title::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12px; border: 1px solid var(--gold-500); }
.cat-title::before { inset-inline-start: 0; border-inline-end: 0; }
.cat-title::after { inset-inline-end: 0; border-inline-start: 0; }
.cat-count { display: block; font-size: .95rem; font-style: italic; color: var(--mist-dim); }
html[lang="ar"] .cat-count { font-style: normal; font-size: .82rem; }

.items { display: grid; grid-template-columns: 1fr; gap: 0 3.2rem; }
.sub { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0 .4rem; font-family: var(--f-display); font-size: .82rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-300); }
html[lang="ar"] .sub { font-family: var(--f-ar-display); font-size: 1.5rem; letter-spacing: 0; }
.sub::before, .sub::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.sub::after { transform: scaleX(-1); }

.item { display: flex; align-items: center; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid rgba(169, 183, 211, .1); opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--s, 0) * 60ms); }
.item.in { opacity: 1; transform: none; }
.thumb { position: relative; flex: none; width: 72px; height: 72px; border-radius: 50%; padding: 2px; background: var(--gold-grad); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8), 0 0 0 5px rgba(208, 162, 67, .07); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.thumb img, .thumb-ph { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--navy-700); }
.thumb img { opacity: 0; transform: scale(1.12); transition: opacity .7s ease, transform 1.1s var(--ease-out); }
.thumb img.ok { opacity: 1; transform: none; }
.thumb-ph { position: relative; background: radial-gradient(circle at 35% 30%, var(--navy-600), var(--navy-900)); }
.thumb-ph::after { content: ''; position: absolute; inset: 22% 14%; background: var(--gold-grad); opacity: .85; -webkit-mask: url(../img/logo-mask.png) center / contain no-repeat; mask: url(../img/logo-mask.png) center / contain no-repeat; }
.item:hover .thumb { transform: scale(1.07) rotate(-3deg); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .85), 0 0 0 6px rgba(208, 162, 67, .16); }

.info { flex: 1; min-width: 0; }
.row { display: flex; align-items: baseline; gap: .6rem; }
.name { font-family: var(--f-text); font-weight: 600; font-size: 1.24rem; line-height: 1.25; color: var(--ivory); letter-spacing: .01em; }
html[lang="ar"] .name { font-family: var(--f-ar-name); font-weight: 600; font-size: 1.1rem; line-height: 1.45; letter-spacing: 0; }
.dots { flex: 1; min-width: 14px; border-bottom: 1px dotted rgba(208, 162, 67, .4); transform: translateY(-.28em); }
.price { flex: none; display: inline-flex; align-items: baseline; gap: .3rem; direction: ltr; font-family: var(--f-display); font-weight: 500; font-size: 1.06rem; letter-spacing: .04em; color: var(--gold-200); font-variant-numeric: lining-nums tabular-nums; }
.price small { font-size: .56rem; letter-spacing: .16em; color: var(--gold-500); }
html[lang="ar"] .price { direction: rtl; }
html[lang="ar"] .price small { font-family: var(--f-ar-text); font-size: .72rem; letter-spacing: 0; }
.desc { margin-top: .22rem; font-family: var(--f-text); font-style: italic; font-size: 1.02rem; line-height: 1.35; color: var(--mist); max-width: 46ch; }
html[lang="ar"] .desc { font-family: var(--f-ar-text); font-style: normal; font-weight: 300; font-size: .88rem; line-height: 1.65; }
.sig { display: inline-flex; align-items: center; gap: .3rem; margin-inline-start: .45rem; padding: .16rem .5rem; border: 1px solid var(--line); border-radius: 999px; vertical-align: middle; white-space: nowrap; font-family: var(--f-display); font-size: .5rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); transform: translateY(-.15em); }
html[lang="ar"] .sig { font-family: var(--f-ar-text); font-size: .66rem; font-weight: 500; letter-spacing: 0; padding: .05rem .5rem .1rem; }
.sig::before { content: ''; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold-300); }

.item.vip { margin-top: 1.4rem; padding: 1.2rem 1.1rem; border: 1px solid var(--gold-500); border-radius: 2px; background: linear-gradient(135deg, rgba(208, 162, 67, .14), rgba(208, 162, 67, .02) 60%); grid-column: 1 / -1; }
.item.vip .name { font-size: 1.35rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.item.vip .price { font-size: 1.3rem; color: var(--gold-50); }

.m-empty { text-align: center; padding: 4rem 1.5rem; font-size: 1.2rem; font-style: italic; color: var(--mist); }
html[lang="ar"] .m-empty { font-style: normal; font-size: 1rem; }

.m-foot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-top: 3rem; padding: 3.2rem 22px calc(var(--safe-b) + 2.6rem); text-align: center; border-top: 1px solid rgba(208, 162, 67, .18); background: linear-gradient(180deg, rgba(4, 9, 21, 0), rgba(4, 9, 21, .7)); }
.m-foot-logo { width: 150px; aspect-ratio: 1685 / 656; background: var(--gold-grad); -webkit-mask: url(../img/logo-mask.png) center / contain no-repeat; mask: url(../img/logo-mask.png) center / contain no-repeat; }
.m-foot-thanks { font-size: 1.25rem; font-style: italic; color: var(--ivory); }
html[lang="ar"] .m-foot-thanks { font-family: var(--f-ar-display); font-style: normal; font-size: 1.6rem; }
.m-foot-copy { font-family: var(--f-display); font-size: .6rem; letter-spacing: .3em; color: var(--mist-dim); }

.to-top { position: fixed; z-index: 55; bottom: calc(var(--safe-b) + 18px); inset-inline-end: 18px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold-500); background: rgba(7, 17, 39, .85); color: var(--gold-200); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

@media (min-width: 620px) {
  .thumb { width: 84px; height: 84px; }
  .item { padding: 1.1rem 0; gap: 1.25rem; }
}
@media (min-width: 940px) {
  .items { grid-template-columns: 1fr 1fr; }
  .m-nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .rays { opacity: .6; }
}
