/* ===== بيتزا بيكر - طبقة التجميل (تُحمَّل بعد motion.css) =====
   كل شي هنا فوق الستايل القديم؛ احذف الملف وسطر الربط بـ index.html لو بدك ترجع للشكل السابق. */
:root { --disp: "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif; --gold: #ffc61a; }

/* 1) الخطوط: Cairo للعناوين والأسعار، Tajawal للنص */
.hero h1, .sec-title, .card h3, .price, .total, .info h2, .sheet-head h2, .itext, .cart-bar, .reorder p, .gal h2, .rvs h2 { font-family: var(--disp); }
.hero h1 { font-weight: 900; letter-spacing: -.5px; text-shadow: 0 6px 34px rgba(255,160,0,.28); }
.sec-title { font-weight: 900; }
.card h3 { font-weight: 800; letter-spacing: 0; }

/* 8) خلفية بعمق: توهّج دافئ + حبيبات خفيفة بدل الأسود المسطح */
html { background: #101010; }
body { background: transparent; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -4%, rgba(255,170,0,.13), transparent 62%),
    radial-gradient(700px 520px at -5% 48%, rgba(214,40,40,.08), transparent 66%),
    radial-gradient(800px 600px at 105% 100%, rgba(255,198,26,.07), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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 .8 0 0 0 0 .3 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 0%, rgba(60,44,8,.85) 0%, rgba(16,16,16,0) 72%); }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 60px; background: linear-gradient(to bottom, transparent, #101010); pointer-events: none; }
.hero-pizza { isolation: isolate; }
.hero-pizza::before { content: ""; position: absolute; z-index: -1; inset: -18% -34%; background: radial-gradient(circle, rgba(255,170,0,.30), rgba(255,120,0,.08) 45%, transparent 66%); filter: blur(8px); }
.btn.red { background: linear-gradient(180deg, #e63535, #c01f1f); box-shadow: 0 8px 22px rgba(214,40,40,.35); }
.btn.yellow { background: linear-gradient(180deg, #ffd23d, #ffb400); box-shadow: 0 8px 22px rgba(255,180,0,.28); }

/* 5) شريط الأقسام: زجاجي + مؤشر أصفر بينزلق */
.tabs { background: rgba(16,16,16,.78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(255,198,26,.14); }
#tabs { position: relative; }
.tab { position: relative; z-index: 1; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10); font-family: var(--disp); font-weight: 700; transition: color .25s; }
.tab.on { background: transparent; border-color: transparent; color: #151515; }
.tabind { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 0; pointer-events: none; border-radius: 99px; background: linear-gradient(180deg, #ffd23d, #ffb400); box-shadow: 0 5px 16px rgba(255,180,0,.38); transition: transform .38s cubic-bezier(.3,1.2,.4,1), width .38s cubic-bezier(.3,1.2,.4,1), height .2s; }
.tabind.first { transition: none; }

/* العناوين */
.sec-title { background: linear-gradient(270deg, rgba(34,34,34,.9), rgba(16,16,16,0)); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }

/* 2) بطاقات أفخم */
.card { position: relative; border-radius: 26px; border: 1px solid rgba(255,198,26,.16); background: linear-gradient(180deg, #232323 0%, #171717 100%); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 12px 30px rgba(0,0,0,.45); }
.card .pw, .card .photo { border-radius: 25px 25px 0 0; }
.card .photo { filter: saturate(1.1) contrast(1.05) brightness(1.02); transition: opacity .5s; }
/* 4) توحيد الصور: تدرج دافئ + فينيت + اندماج مع البطاقة من تحت */
.pw::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, #1b1b1b 0%, rgba(27,27,27,0) 36%), radial-gradient(120% 95% at 50% 42%, transparent 58%, rgba(0,0,0,.38) 100%), linear-gradient(135deg, rgba(255,150,0,.10), transparent 45%); }
.price { background: var(--gold); color: #151515; padding: .1rem .95rem; border-radius: 99px; font-size: 1.3rem; box-shadow: 0 5px 16px rgba(255,198,26,.28); }
.size { background: #262626; border-color: rgba(255,255,255,.06); transition: border-color .2s, box-shadow .2s, background .2s; }
.size.on { box-shadow: 0 0 0 4px rgba(255,198,26,.14); }
.qty button { box-shadow: 0 4px 12px rgba(255,198,26,.25); }
.add { background: linear-gradient(180deg, #e63535, #c01f1f); box-shadow: 0 8px 20px rgba(214,40,40,.32), 0 1px 0 rgba(255,255,255,.25) inset; font-family: var(--disp); }
.card.sold .price { background: #3a3a3a; color: #aaa; box-shadow: none; }

/* 3) شارات الأصناف */
.bdg { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 6; display: flex; gap: .35rem; flex-wrap: wrap; max-width: 78%; pointer-events: none; }
.bdg i { font-style: normal; font-weight: 800; font-size: .82rem; line-height: 1.5; padding: .12rem .7rem; border-radius: 99px; box-shadow: 0 4px 12px rgba(0,0,0,.45); font-family: var(--disp); }
.b-best { background: linear-gradient(90deg, #ff8a00, #ff4d00); color: #fff; }
.b-new { background: #46d36d; color: #06260f; }
.b-hot { background: #d62828; color: #fff; }
.b-sale { background: var(--gold); color: #151515; }

/* 7) هياكل التحميل (Skeleton) */
@keyframes bShimmer { to { background-position: -200% 0; } }
.skg { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; padding-top: 1.6rem; }
.sk, .pw.ld { background: linear-gradient(110deg, #1c1c1c 30%, #2a2a2a 45%, #1c1c1c 60%); background-size: 200% 100%; animation: bShimmer 1.3s linear infinite; }
.sk { height: 380px; border-radius: 26px; }
.pw.ld .photo { opacity: 0; }

/* 6) السلة: ورقة سفلية */
.overlay { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(0,0,0,.6); }
.overlay.open { animation: ovIn .25s ease-out; }
.overlay.open .sheet { animation: sheetUp .42s cubic-bezier(.2,.9,.25,1); }
@keyframes ovIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet { border-radius: 30px 30px 0 0; background: linear-gradient(180deg, #202020, #141414); border-top: 1px solid rgba(255,198,26,.25); box-shadow: 0 -20px 60px rgba(0,0,0,.6); overscroll-behavior: contain; }
.sheet.dragging { transition: none; animation: none; }
.grab { width: 48px; height: 5px; border-radius: 9px; background: #4a4a4a; margin: -.35rem auto .9rem; }
.grab-zone { touch-action: none; }
.sheet-head { touch-action: none; }
.cart-bar { background: linear-gradient(180deg, #ffd23d, #ffb400); box-shadow: 0 12px 30px rgba(255,180,0,.35), 0 1px 0 rgba(255,255,255,.35) inset; }

/* معلومات + قسم الصور + آراء الزبائن */
.info .box { background: linear-gradient(180deg, #202020, #171717); border-color: rgba(255,198,26,.14); }
.gal, .rvs { max-width: 1100px; margin: 2rem auto 0; padding-inline: 1rem; }
.gal h2, .rvs h2 { font-size: 2rem; font-weight: 900; color: var(--gold); border-inline-start: 6px solid var(--red); padding-inline-start: 1rem; margin-bottom: 1rem; }
.strip { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .4rem .2rem 1rem; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.gi { flex: none; width: 128px; text-align: center; scroll-snap-align: start; background: none; border: 0; color: #fff; }
.gi img { display: block; width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,198,26,.55); box-shadow: 0 10px 24px rgba(0,0,0,.5), 0 0 0 6px rgba(255,198,26,.08); background: #222; }
.gi span { display: block; margin-top: .55rem; font-size: .92rem; font-weight: 700; line-height: 1.3; font-family: var(--disp); }
.rvw { flex: none; width: min(78vw, 300px); scroll-snap-align: start; background: linear-gradient(180deg, #232323, #171717); border: 1px solid rgba(255,198,26,.16); border-radius: 22px; padding: 1rem 1.1rem; box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.rvw .st5 { color: var(--gold); font-size: 1.25rem; letter-spacing: 2px; }
.rvw .st5 s { text-decoration: none; color: #4a4a4a; }
.rvw p { color: #e9e9e9; margin: .4rem 0 .6rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rvw b { color: var(--muted); font-size: .92rem; }
.rvsum { color: var(--muted); margin: -.4rem 0 .8rem; font-weight: 700; }
.rvsum b { color: var(--gold); font-size: 1.2rem; font-family: var(--disp); }

@media (prefers-reduced-motion: reduce) {
  .sk, .pw.ld { animation: none; }
  .overlay.open, .overlay.open .sheet { animation: none; }
  .tabind { transition: none; }
}

/* الشيف محذوف بطلب صاحب المشروع */
.chef { display: none !important; }

/* ===== المقدمة (خفيفة): بيتزا ثلاثية الأبعاد بسماكة + دوران كاميرا + وميض + شعار وترحيب ===== */
.cin2 { position: relative; display: grid; place-items: center; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); }
.cin2 > * { grid-area: 1 / 1; }
.c2-glow { width: 120vw; height: 120vw; max-width: 700px; max-height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(255,150,0,.34) 0%, rgba(255,150,0,0) 62%); opacity: 0; animation: c2glow 3.6s ease-out forwards; }
.c2-scene { width: min(58vw, 240px); aspect-ratio: 1; perspective: 900px; animation: c2stage .55s 3.15s ease-in forwards; }
.c2-pz { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: c2spin 3.5s cubic-bezier(.3,.1,.25,1) forwards; }
.c2-pz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c2-l1 { transform: translateZ(-5px); filter: brightness(.62); }
.c2-l2 { transform: translateZ(-10px); filter: brightness(.5); }
.c2-l3 { transform: translateZ(-15px); filter: brightness(.38); }
.c2-top { transform: translateZ(0); }
@keyframes c2spin { 0% { transform: rotateX(78deg) rotateZ(-420deg) scale(.15); opacity: 0; } 18% { opacity: 1; } 62% { transform: rotateX(34deg) rotateZ(-40deg) scale(1); } 100% { transform: rotateX(6deg) rotateZ(8deg) scale(1.45); opacity: 1; } }
@keyframes c2stage { to { opacity: 0; transform: scale(1.35); } }
@keyframes c2glow { 0% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; } 100% { opacity: .55; transform: scale(1.1); } }
.c2-flash { width: 44vw; height: 44vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,232,160,.95), rgba(255,170,0,0) 70%); opacity: 0; animation: c2flash .8s 3.2s ease-out forwards; }
@keyframes c2flash { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(4.5); } }
.c2-spk { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #ffc61a; box-shadow: 0 0 10px 3px rgba(255,190,40,.8); opacity: 0; animation: c2spk 1s 3.25s ease-out forwards; }
@keyframes c2spk { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); } }
.c2-end { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem; }
.c2-logo { width: 96px; height: 96px; border-radius: 26px; opacity: 0; box-shadow: 0 0 46px rgba(255,190,40,.5); animation: c2logo .8s 3.45s cubic-bezier(.2,1.3,.4,1) forwards; }
@keyframes c2logo { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }
.c2-name { font-family: var(--disp); color: #ffc61a; font-size: 2.6rem; line-height: 1.15; margin-top: .8rem; font-weight: 900; }
.c2-cw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; }
.c2-cw i { display: inline-block; font-style: normal; transform: translateY(115%); animation: c2word .7s 3.75s cubic-bezier(.2,.8,.2,1) forwards; }
.c2-cw + .c2-cw i { animation-delay: 3.9s; }
@keyframes c2word { to { transform: none; } }
.c2-name small { display: block; color: #fff; font-size: 1rem; letter-spacing: 6px; opacity: 0; animation: c2up .7s 4.2s both; }
.c2-hello { color: #fff; font-family: var(--disp); font-size: 2.1rem; font-weight: 900; margin-top: 1rem; opacity: 0; animation: c2up .8s 4.4s both; }
.c2-sub { color: #ffd98a; margin-top: .5rem; opacity: 0; animation: c2up .7s 4.8s both; }
@keyframes c2up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ===== (1) خط زمني لتتبع الطلب ===== */
.tl { list-style: none; margin: .8rem 0 .4rem; padding: 0; }
.tl li { position: relative; display: flex; align-items: center; gap: .9rem; padding-bottom: 1.15rem; color: var(--muted); font-weight: 700; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 3px; border-radius: 3px; background: #333; }
.tl li:last-child::before { display: none; }
.tl li.done::before { background: linear-gradient(180deg, #ffc61a, #ffb400); }
.tl-dot { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; background: #262626; border: 2px solid #3a3a3a; color: #888; filter: grayscale(1); opacity: .7; transition: all .3s; }
.tl li.done .tl-dot { background: linear-gradient(180deg, #ffd23d, #ffb400); border-color: #ffb400; color: #151515; font-weight: 900; filter: none; opacity: 1; }
.tl li.now { color: #fff; }
.tl li.now .tl-dot { background: #3a2a00; border-color: var(--gold); filter: none; opacity: 1; animation: tlPulse 1.6s ease-in-out infinite; }
@keyframes tlPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,198,26,.55); } 50% { box-shadow: 0 0 0 11px rgba(255,198,26,0); } }
.tl li.now .tl-t { font-size: 1.1rem; }

/* ===== (2) سحب للتحديث بشكل عجينة ===== */
html, body { overscroll-behavior-y: contain; }
.ptr { position: fixed; top: 0; left: 50%; width: 58px; height: 58px; margin-left: -29px; z-index: 9998; pointer-events: none; opacity: 0; transform: translateY(-80px); }
.ptr-d { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; background: radial-gradient(circle at 35% 30%, #fff1cc, #f0cd86 60%, #d9a954); box-shadow: 0 8px 22px rgba(0,0,0,.5), 0 0 0 3px rgba(255,198,26,.35); transform-origin: 50% 0; }
.ptr.go .ptr-d { animation: ptrSpin .7s linear infinite; }
@keyframes ptrSpin { to { transform: rotate(360deg); } }

/* ===== (3) ألوان الأقسام: لمسة خفيفة من لون كل قسم على البطاقات ===== */
.sec .card { border-color: color-mix(in srgb, var(--c) 32%, transparent); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 12px 30px rgba(0,0,0,.45), 0 -1px 18px color-mix(in srgb, var(--c) 10%, transparent); }
.sec .card .size.on { border-color: var(--c); }
.sec-title { border-inline-start-color: var(--c); }

/* ===== (4) لافتة "المطعم مسكّر" ===== */
.closedbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem .9rem; background: linear-gradient(135deg, #3b1212, #1f0a0a); border: 1px solid rgba(255,107,107,.55); box-shadow: 0 10px 30px rgba(214,40,40,.18); font-family: var(--disp); }
.closedbar[hidden] { display: none; }
.closedbar::before { content: "🌙"; font-size: 1.6rem; animation: tlPulse 2.4s ease-in-out infinite; border-radius: 50%; }
.closedbar .cdn { background: var(--gold); color: #151515; border-radius: 99px; padding: .15rem .9rem; font-weight: 900; }

/* ===== (5) دخول البطاقات: نابض مع تدرّج ===== */
.card.rv { opacity: 0; transform: translateY(42px) scale(.94); filter: blur(4px); }
.card.rv.in { opacity: 1; transform: none; filter: none; transition: opacity .55s ease, transform .75s cubic-bezier(.2,1.15,.3,1), filter .5s ease; }

/* ===== (8) زر واتساب عائم ===== */
.fab.wa { right: 1rem; bottom: calc(6rem + 80px); background: #25d366; font-size: 1.9rem; box-shadow: 0 8px 22px rgba(37,211,102,.4); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .tl li.now .tl-dot, .closedbar::before, .ptr.go .ptr-d { animation: none; } .card.rv { filter: none; } }

/* ===== (9) لافتة تثبيت التطبيق ===== */
.pwa-bn { position: fixed; z-index: 9990; top: max(10px, env(safe-area-inset-top)); inset-inline: 12px; max-width: 520px; margin-inline: auto; display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: 22px; background: linear-gradient(135deg, #2a2a2a, #181818); border: 1px solid rgba(255,198,26,.45); box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 26px rgba(255,198,26,.14); transform: translateY(-130%); transition: transform .45s cubic-bezier(.2,1.1,.3,1); }
.pwa-bn.in { transform: none; }
.pwa-bn img { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.pwa-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.pwa-t b { font-family: var(--disp); color: var(--gold); font-weight: 800; }
.pwa-t span { color: #ccc; font-size: .88rem; }
.pwa-go { flex: none; background: linear-gradient(180deg, #ffd23d, #ffb400); color: #151515; border: 0; border-radius: 99px; padding: .5rem 1.1rem; font-weight: 900; font-family: var(--disp); box-shadow: 0 6px 16px rgba(255,180,0,.3); }
.pwa-x { flex: none; background: none; border: 0; color: #888; font-size: 1.1rem; padding: .3rem; }

/* صور البكجات عليها كتابة: نوقف طبقة الحركة (إيموجي طايرة/بخار) فوقها */
[id*="packages"] .pw > :not(.photo) { display: none !important; }
[id*="packages"] .card .photo { animation: none; transform: none; }

/* ===== المقدمة: علبة بيتزا بتنفتح ويطلع منها البيتزا ===== */
.bx-wrap { position: relative; width: min(66vw, 260px); aspect-ratio: 1; perspective: 900px; animation: bxDrop .9s cubic-bezier(.3,1.45,.5,1) both, bxOut .5s 3.05s ease-in forwards; }
@keyframes bxDrop { from { transform: translateY(-170%) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bxOut { to { opacity: 0; transform: translateY(30px) scale(.92); } }
.bx-scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(54deg); animation: bxShake .6s .95s ease-in-out; }
@keyframes bxShake { 0%, 100% { transform: rotateX(54deg) rotateZ(0); } 20% { transform: rotateX(54deg) rotateZ(-3.5deg); } 45% { transform: rotateX(54deg) rotateZ(3.5deg); } 70% { transform: rotateX(54deg) rotateZ(-2deg); } }
.bx-scene > * { position: absolute; inset: 0; border-radius: 16px; }
.bx-shadow { transform: translateZ(-34px); background: rgba(0,0,0,.65); filter: blur(16px); inset: 8%; }
.bx-s1 { transform: translateZ(-7px); background: #b98d5a; }
.bx-s2 { transform: translateZ(-14px); background: #a47a49; }
.bx-s3 { transform: translateZ(-21px); background: #8f6a3c; }
.bx-base { transform: translateZ(0); background: radial-gradient(circle at 50% 45%, #2b1d11 0 52%, #3d2916 100%); border: 7px solid #d9b382; box-shadow: inset 0 0 34px rgba(0,0,0,.75); }
.bx-paper { position: absolute; inset: 11%; border-radius: 50%; background: #f1e3c8; box-shadow: 0 0 0 3px rgba(0,0,0,.15) inset; transform: translateZ(1px); }
.bx-beam { transform: translateZ(3px); inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,100,.95), rgba(255,170,0,0) 66%); opacity: 0; animation: bxBeam 1.6s 1.7s ease-out forwards; }
@keyframes bxBeam { 0% { opacity: 0; transform: translateZ(3px) scale(.4); } 40% { opacity: 1; } 100% { opacity: .5; transform: translateZ(3px) scale(1.25); } }
.bx-pizza { inset: 13%; border-radius: 50%; transform: translateZ(2px); animation: bxRise 1.5s 1.95s cubic-bezier(.3,.1,.25,1) forwards; }
.bx-pizza svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 18px rgba(255,150,0,.5)); }
@keyframes bxRise { 0% { transform: translateZ(2px) rotateZ(0) scale(.96); } 55% { transform: translateZ(130px) rotateZ(240deg) scale(1.08); } 100% { transform: translateZ(300px) rotateZ(430deg) scale(1.5); } }
.bx-lid { transform-origin: 50% 0; transform: translateZ(5px); transform-style: preserve-3d; animation: bxLid .85s 1.6s cubic-bezier(.3,1.3,.5,1) forwards; }
@keyframes bxLid { to { transform: translateZ(5px) rotateX(114deg); } }
.bx-lf, .bx-lb { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 7px solid #cfa66f; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; }
.bx-lf { background: linear-gradient(135deg, #e8c895, #d9b382); }
.bx-lf img { width: 44%; border-radius: 22%; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.bx-lf b { font-family: var(--disp); letter-spacing: 4px; font-size: .8rem; color: #3b2815; }
.bx-lb { background: #c79a62; transform: rotateY(180deg); }
.bx-st { position: absolute; left: 50%; top: 40%; width: 48px; height: 48px; margin-left: calc(var(--x) - 24px); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); filter: blur(7px); opacity: 0; animation: bxSteam 1.7s var(--d) ease-out forwards; }
@keyframes bxSteam { 0% { opacity: 0; transform: translateY(0) scale(.5); } 25% { opacity: .6; } 100% { opacity: 0; transform: translateY(-190px) scale(1.9); } }
@media (prefers-reduced-motion: reduce) { .bx-wrap, .bx-scene, .bx-lid, .bx-pizza, .bx-beam, .bx-st { animation-duration: .01s; } }

/* ===== (4) جبنة مسحوبة ===== */
.cheese-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 9997; pointer-events: none; overflow: visible; }

/* ===== الإعدادات ===== */
.lite *, .lite *::before, .lite *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
.lite .pw > :not(.photo), .lite .fl, .lite .steam { display: none !important; }
.set-gear { position: absolute; top: calc(.9rem + env(safe-area-inset-top)); left: .9rem; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,198,26,.35); background: rgba(30,30,30,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 1.35rem; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.set-footlink { text-align: center; padding: 1.2rem 1rem 0; }
.set-footlink button { margin: 0 .3rem; background: #222; color: #fff; border: 1px solid rgba(255,198,26,.3); border-radius: 99px; padding: .6rem 1.4rem; font-family: var(--disp); font-weight: 700; }
.set-ov .sheet { max-width: 520px; }
.set-h { color: var(--gold); font-family: var(--disp); font-weight: 800; margin: 1.1rem 0 .5rem; }
.sw { display: flex; align-items: center; gap: 1rem; background: #1f1f1f; border-radius: 16px; padding: .75rem 1rem; margin-bottom: .5rem; cursor: pointer; }
.sw span { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.sw b { font-family: var(--disp); }
.sw small { color: #999; font-size: .82rem; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw i { flex: none; width: 52px; height: 30px; border-radius: 99px; background: #444; position: relative; transition: background .2s; }
.sw i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sw input:checked + i { background: var(--gold); }
.sw input:checked + i::after { transform: translateX(-22px); background: #151515; }
.set-note { background: rgba(255,198,26,.12); border: 1px solid rgba(255,198,26,.35); border-radius: 14px; padding: .55rem .9rem; font-weight: 700; font-size: .9rem; }
.set-note button { margin-inline-start: .4rem; background: var(--gold); color: #151515; border: 0; border-radius: 99px; padding: .25rem .9rem; font-weight: 800; }
.set-card { background: #1f1f1f; border-radius: 16px; padding: .8rem 1rem; }
.set-card p { margin: .2rem 0; }
.set-mut { color: #999; font-size: .9rem; line-height: 1.6; }
.set-btn2 { display: block; width: 100%; margin-top: .6rem; background: #2c2c2c; color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: .7rem; font-family: var(--disp); font-weight: 700; }
.set-btn2.danger { color: #ff8a8a; border-color: rgba(255,107,107,.4); }
.set-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.set-links a { background: #1f1f1f; border-radius: 16px; padding: .8rem .3rem; text-align: center; color: #fff; text-decoration: none; font-size: 1.6rem; display: flex; flex-direction: column; gap: .2rem; }
.set-links a span { font-size: .85rem; font-family: var(--disp); font-weight: 700; }
.set-foot2 { text-align: center; margin: 1rem 0 .4rem; }

/* ===== صفحة المصمم (فخمة) ===== */
.dz-ov { background: #0a0a0a; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 60; align-items: stretch; justify-content: center; }
.dz-ov.open { animation: dzOpen .5s cubic-bezier(.2,.9,.25,1); }
@keyframes dzOpen { from { opacity: 0; transform: scale(1.04); } }
.dz-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dz-aur { position: absolute; width: 440px; height: 440px; border-radius: 50%; filter: blur(70px); animation: dzDrift 12s ease-in-out infinite alternate; }
.dz-aur.a1 { top: -140px; right: -120px; background: rgba(255,170,0,.30); }
.dz-aur.a2 { bottom: -160px; left: -140px; background: rgba(214,40,40,.18); animation-delay: -6s; }
@keyframes dzDrift { to { transform: translate(40px, 50px) scale(1.15); } }
.dz-p { position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: #ffc61a; box-shadow: 0 0 10px 2px rgba(255,190,40,.7); opacity: 0; animation: dzRise var(--d) var(--t) linear infinite; }
@keyframes dzRise { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .85; } 100% { opacity: 0; transform: translateY(-105vh); } }
.dz-x { position: absolute; z-index: 3; top: calc(14px + env(safe-area-inset-top)); right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,198,26,.4); background: rgba(20,20,20,.7); color: #fff; font-size: 1.1rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dz-page { position: relative; z-index: 1; width: 100%; max-width: 560px; height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.1rem 2.5rem; -webkit-overflow-scrolling: touch; }
.dz-hero { text-align: center; padding-top: calc(3.2rem + env(safe-area-inset-top)); }
.dz-hero > * { animation: dzUp .8s both; }
.dz-lbl { animation-delay: .35s; } .dz-name { animation-delay: .5s; } .dz-chips { animation-delay: .7s; } .dz-tag { animation-delay: .85s; } .dz-down { animation-delay: 1s; }
@keyframes dzUp { from { opacity: 0; transform: translateY(22px); } }
.dz-medal { position: relative; width: 140px; height: 140px; margin: 0 auto 1.1rem; display: grid; place-items: center; animation: dzPop 1s .1s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes dzPop { from { opacity: 0; transform: scale(.3) rotate(-90deg); } }
.dz-medal::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; background: radial-gradient(circle, rgba(255,180,0,.5), rgba(255,180,0,0) 68%); animation: dzPulse 3s ease-in-out infinite; }
@keyframes dzPulse { 50% { transform: scale(1.18); opacity: .65; } }
.dz-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(#ffd23d, #ff7a00, #ffd23d, #fff3b0, #ffd23d); animation: dzSpin 5s linear infinite; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
@keyframes dzSpin { to { transform: rotate(360deg); } }
.dz-core { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-size: 2.5rem; font-weight: 900; letter-spacing: 1px; color: #1a1200; background: radial-gradient(circle at 35% 28%, #ffe27a, #ffb400 55%, #d98200); box-shadow: inset 0 -7px 16px rgba(120,60,0,.35), 0 14px 40px rgba(255,170,0,.4); }
.dz-star { position: absolute; color: #fff3b0; font-size: 1.1rem; text-shadow: 0 0 10px #ffc61a; animation: dzTwinkle 2.2s ease-in-out infinite; }
.dz-star.s1 { top: -6px; right: 4px; } .dz-star.s2 { bottom: 2px; left: -4px; font-size: .8rem; animation-delay: -1.1s; }
@keyframes dzTwinkle { 50% { opacity: .2; transform: scale(.6) rotate(25deg); } }
.dz-lbl { display: flex; align-items: center; justify-content: center; gap: .8rem; color: #cfcfcf; font-weight: 700; letter-spacing: 3px; }
.dz-lbl i { width: 40px; height: 1px; background: linear-gradient(90deg, transparent, #ffc61a); }
.dz-lbl i:last-child { transform: scaleX(-1); }
.dz-name { direction: ltr; font-family: var(--disp); font-weight: 900; font-size: clamp(2rem, 9.5vw, 2.8rem); letter-spacing: 3px; margin: .3rem 0 .8rem; background: linear-gradient(110deg, #c98a00 20%, #fff3b0 40%, #ffd23d 50%, #c98a00 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 20px rgba(255,160,0,.35)); animation: dzUp .8s .5s both, dzShine 3.6s 1.4s linear infinite; }
@keyframes dzShine { to { background-position: -250% 0; } }
.dz-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-bottom: 1rem; }
.dz-chips span { background: rgba(255,198,26,.1); border: 1px solid rgba(255,198,26,.3); border-radius: 99px; padding: .25rem .85rem; font-size: .85rem; font-weight: 700; }
.dz-tag { color: #e2e2e2; line-height: 1.7; font-size: 1.05rem; padding-inline: .6rem; }
.dz-down { font-size: 1.6rem; margin: .6rem 0 .2rem; animation: dzUp .8s 1s both, dzBob 1.6s 1.8s ease-in-out infinite; }
@keyframes dzBob { 50% { transform: translateY(8px); } }
.dz-sec { text-align: center; font-family: var(--disp); font-weight: 900; font-size: 1.7rem; color: var(--gold); margin: 1.2rem 0 1rem; }
.dz-sec::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 3px; margin: .45rem auto 0; background: linear-gradient(90deg, transparent, #ffc61a, transparent); }
.dz-card { position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,198,26,.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 24px; padding: 1.1rem 1.2rem 1rem; margin-bottom: .95rem; box-shadow: 0 14px 34px rgba(0,0,0,.45); opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .6s ease, transform .7s cubic-bezier(.2,1.1,.3,1); }
.dz-card.in { opacity: 1; transform: none; }
.dz-card.in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.14) 50%, transparent 62%); transform: translateX(130%); animation: dzSweep 1.3s .25s ease-out forwards; pointer-events: none; }
@keyframes dzSweep { to { transform: translateX(-130%); } }
.dz-n { position: absolute; top: .3rem; inset-inline-end: 1rem; font-family: var(--disp); font-weight: 900; font-size: 3.8rem; line-height: 1; color: rgba(255,198,26,.09); }
.dz-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: .6rem; background: radial-gradient(circle at 30% 25%, rgba(255,210,61,.35), rgba(255,170,0,.08)); border: 1px solid rgba(255,198,26,.4); box-shadow: 0 0 22px rgba(255,170,0,.25); }
.dz-card h4 { font-family: var(--disp); font-weight: 900; font-size: 1.3rem; color: var(--gold); margin-bottom: .55rem; }
.dz-card ul { list-style: none; margin: 0; padding: 0; }
.dz-card li { position: relative; padding: .3rem 2rem .3rem 0; line-height: 1.6; color: #eee; }
.dz-card li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .32rem; width: 1.4rem; height: 1.4rem; border-radius: 7px; background: linear-gradient(135deg, #46e07d, #22b556); color: #fff; font-size: .85rem; font-weight: 900; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(34,181,86,.35); }
.dz-made { text-align: center; margin: 1.3rem 0 .4rem; padding: .7rem 1rem; border: 1px dashed rgba(255,198,26,.45); border-radius: 18px; color: #ddd; font-size: .95rem; line-height: 1.7; }
.dz-made b { color: var(--gold); font-family: var(--disp); direction: ltr; unicode-bidi: isolate; }
.dz-contact { margin: .9rem 0; grid-template-columns: repeat(2, 1fr); }
.dz-foot { text-align: center; margin-top: 1.6rem; }
.dz-line { height: 1px; margin-bottom: 1.2rem; background: linear-gradient(90deg, transparent, #ffc61a, transparent); }
.dz-yz { color: #cfcfcf; font-weight: 700; letter-spacing: 3px; }
.dz-co { font-family: var(--disp); font-weight: 900; font-size: 1.45rem; margin: .2rem 0; background: linear-gradient(110deg, #c98a00 20%, #fff3b0 40%, #ffd23d 50%, #c98a00 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: dzShine 3.6s linear infinite; }
.dz-stars { color: #ffc61a; letter-spacing: 10px; animation: dzTwinkle 2.6s ease-in-out infinite; }
.dz-open { margin-top: 1rem; border-color: rgba(255,198,26,.35); color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .dz-ov.open, .dz-hero > *, .dz-medal, .dz-p, .dz-aur, .dz-star, .dz-ring, .dz-name, .dz-co, .dz-stars, .dz-down { animation: none; } .dz-card { opacity: 1; transform: none; transition: none; } .dz-card.in::after { animation: none; } .dz-name, .dz-co { background-position: 0 0; } }
