/* الجولة التاسعة — شبكة التوزيع / الخريطة / السلة / الروبوت / السوشيال / زر المشاهدة */
:root { --gold: #d3d8df; --tan: #e2b681; --tan2: #cfa874; --navy: #10151f; --navy2: #181f2e; --navy3: #222b3f; }
/* زر الرجوع + رابط التطبيق */
.back { width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: color-mix(in srgb,var(--card) 60%,transparent); color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; transition: background .25s,color .25s,border-color .25s,transform .25s,box-shadow .25s; }
.back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.back:hover { background: var(--card); color: var(--red); border-color: var(--red); box-shadow: 0 4px 12px rgba(225,6,19,.15); transform: translateY(-2px); }
.back:hover svg { transform: translateX(2px); }
nav ul a .ext { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-inline-start: 3px; vertical-align: -1px; opacity: .7; }
/* شبكة التوزيع: ألوان الحالات */
.nd .core { stroke: #fff; }
.nd.act .core { fill: var(--red); }
.nd.soon .core { fill: var(--gold); stroke: #fff; }
.nd.prime .core { fill: var(--red); stroke: #fff; stroke-width: 4; }
.nd .cdot { fill: #fff; pointer-events: none; }
.nd.prime .ring { stroke: var(--red); }
.nd.soon .ring { stroke: var(--gold); }
.nd.soon:hover .core,.nd.soon.on .core { fill: var(--gold); }
.nd.soon text { fill: var(--mute); }
.nd.soon.on text,.nd.act.on text,.nd.prime text { fill: var(--ink); }
.nd.prime text { font-weight: 800; }
.nd.prime .core { filter: drop-shadow(0 0 10px rgba(209,32,46,.65)); }
.lk { stroke-width: 2.2; }
.lk.act { stroke: var(--red); opacity: .55; stroke-dasharray: 6 6; animation: lkd 1.2s linear infinite; }
.lk.soon { stroke: var(--gold); opacity: .28; stroke-dasharray: 2 9; stroke-linecap: round; }
.lk.on { opacity: 1; stroke-width: 3; }
.lk.soon.on { stroke: var(--gold); opacity: .95; }
@keyframes lkd {
    to { stroke-dashoffset: -24; }
}
.nlg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; padding: 6px 8px 4px; font-size: 13.5px; font-weight: 500; }
.nlg i,.hgt i,.ndot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; margin-inline-end: 8px; vertical-align: -1px; }
.nlg i.prime,.hgt.prime i,.ndot.prime { background: var(--red); box-shadow: 0 0 0 4px rgba(209,32,46,.25),0 0 12px rgba(209,32,46,.7); }
.nlg i.act,.hgt.act i,.ndot.act { background: var(--red); }
.nlg i.soon,.hgt.soon i,.ndot.soon { background: var(--gold); }
.hubs { display: block; margin-bottom: 18px; }
.hg { margin-bottom: 14px; }
.hgt { font-family: var(--head); font-weight: 700; font-size: 14.5px; margin-bottom: 8px; display: flex; align-items: center; }
.hgt em { font-style: normal; margin-inline-start: 8px; background: var(--bg2); border: 1px solid var(--line); min-width: 24px; padding: 0 7px; height: 22px; display: inline-grid; place-items: center; font-size: 12.5px; border-radius: 12px; }
.hgb { display: flex; flex-wrap: wrap; gap: 8px; }
.hb.act { border-color: rgba(209,32,46,.45); }
.hb.soon { border-color: rgba(190,198,210,.45); }
.hb.act.on,.hb.prime.on { background: var(--red); border-color: var(--red); color: #fff; }
.hb.soon.on { background: var(--gold); border-color: var(--gold); color: #171b20; }
.hb.prime { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.hd h3 { display: flex; align-items: center; }
.badge { display: inline-block; padding: 2px 14px; border-radius: 20px; font-size: 14px; font-weight: 700; color: #fff; }
.badge.prime,.badge.act { background: var(--red); }
.badge.soon { background: var(--gold); color: #171b20; }
.hd { border-right-color: var(--red); }
/* خريطة الانتشار: تصميم زجاجي فاخر متكيف مع الوضعين الداكن والفاتح */
.gmap { position: relative; width: 100%; max-width: 100%; background: transparent !important; border: none; border-radius: 0; box-shadow: none; aspect-ratio: 548/300; overflow: hidden; transition: none; }
:root[data-theme="dark"] .gmap { background: transparent !important; border: none; box-shadow: none; }
:root[data-theme="light"] .gmap { background: transparent !important; border: none; box-shadow: none; }
/* إخفاء سقطرى مع تمديد الخريطة وتحويل جسم المحافظات إلى الأبيض اللامع المجسم */
.g3s>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; clip-path: polygon(0 0, 100% 0, 100% 74%, 82% 74%, 78% 100%, 0 100%); transform-origin: 35% 45%; transform: scale(1.1); filter: brightness(2.4) contrast(1.6) drop-shadow(0 26px 20px rgba(0,0,0,0.35)); }
:root[data-theme="dark"] .g3s>img { filter: brightness(2.5) contrast(1.65) drop-shadow(0 28px 24px rgba(0,0,0,0.45)); }
:root[data-theme="light"] .g3s>img { filter: brightness(2.4) contrast(1.6) drop-shadow(0 22px 18px rgba(0,0,0,0.3)); }
.g3s #gov-ov { transform-origin: 35% 45%; transform: translateZ(16px) scale(1.1); }
.gh .ghc { fill: transparent; stroke: transparent; }
.gt { fill: #0c0f14 !important; font-family: var(--head); font-size: 8.5px !important; font-weight: 800; text-anchor: middle; paint-order: stroke fill; stroke: #ffffff !important; stroke-width: 2.5px; stroke-linejoin: round; pointer-events: none; transition: font-size .25s, fill .25s, stroke .25s; }
:root[data-theme="dark"] .gt, :root[data-theme="light"] .gt { fill: #0c0f14 !important; stroke: #ffffff !important; }
/* المحافظات النشطة (نوزّع فيها حالياً): تحديد باللون الأخضر */
.gh.act:hover .ghc, .gh.prime:hover .ghc, .gh.act:focus-visible .ghc, .gh.prime:focus-visible .ghc { fill: rgba(22,163,74,.15); stroke: #16a34a; stroke-width: 1.2; }
.gh.act.on .ghc, .gh.prime.on .ghc { fill: rgba(22,163,74,.28); stroke: #16a34a; stroke-width: 1.8; }
.gh.act.on .gt, .gh.prime.on .gt { font-size: 10.5px !important; fill: #16a34a !important; stroke: #ffffff !important; }
:root[data-theme="dark"] .gh.act.on .gt, :root[data-theme="dark"] .gh.prime.on .gt, :root[data-theme="light"] .gh.act.on .gt, :root[data-theme="light"] .gh.prime.on .gt { fill: #16a34a !important; stroke: #ffffff !important; }
/* محافظات قريباً: إبقاء التنسيق السابق الأصلي (الذهبي/المحايد) */
.gh.soon:hover .ghc, .gh.soon:focus-visible .ghc { fill: rgba(246,178,27,.15); stroke: var(--gold); stroke-width: 1.2; }
.gh.soon.on .ghc { fill: rgba(246,178,27,.25); stroke: var(--gold); stroke-width: 1.8; }
.gh.soon.on .gt { font-size: 10.5px !important; fill: var(--gold) !important; stroke: #ffffff !important; }
:root[data-theme="dark"] .gh.soon.on .gt, :root[data-theme="light"] .gh.soon.on .gt { fill: var(--gold) !important; stroke: #ffffff !important; }
.gt.hubt { font-size: 9.5px !important; }
#hub-pulse-layer { position: relative; z-index: 10; }
.gr { stroke: #16a34a; stroke-width: 2.2; }
.gcap { position: absolute; top: 24px; right: 24px; z-index: 100 !important; background: color-mix(in srgb, var(--card) 92%, transparent); color: var(--ink); backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-right: 4px solid var(--red); box-shadow: 0 12px 32px rgba(0,0,0,0.18); border-radius: 12px; padding: 12px 20px; pointer-events: auto; transition: transform .3s ease, box-shadow .3s ease; min-width: 170px; }
.gcap b { font-size: 18px; color: var(--ink); display: block; font-family: var(--head); font-weight: 800; line-height: 1.3; }
.gcap span { color: var(--mute); font-size: 13.5px; font-weight: 600; display: block; margin-top: 2px; }
@media(max-width:768px) {
    .gcap { position: static; margin-bottom: 14px; width: 100%; min-width: 0; }
}
/* أيقونات التواصل: دوائر رمادية */
.soc { gap: 20px; }
.soc-r { gap: 14px; }
.soc-b { display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 12px; background: #323842; border: 1px solid rgba(255,255,255,.1); box-shadow: none; overflow: hidden; transition: transform .35s cubic-bezier(.2,.9,.3,1.4),background .3s,box-shadow .3s,border-color .3s; }
.soc-b svg { width: 21px; height: 21px; padding: 0; border-radius: 0; background: none!important; box-shadow: none!important; fill: #fff; color: #fff; transition: transform .5s; }
.soc-b.instagram svg { fill: #fff; }
.soc-b:hover,.soc-b:focus-visible { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,.45); border-color: rgba(255,255,255,.25); }
.soc-b:hover svg { transform: scale(1.12) rotate(6deg); }
.soc-b::after { border-radius: 12px; inset: -1px; }
.soc-b.instagram:hover { background: linear-gradient(45deg,#f9a53a,#e1306c 55%,#833ab4); }
.soc-b.youtube:hover { background: #f00; }
.soc-b.facebook:hover { background: #1877f2; }
.soc-b.x:hover { background: #000; }
.soc-b.linkedin:hover { background: #0a66c2; }
.soc-b.pinterest:hover { background: #e60023; }
.soc-b.tiktok:hover { background: #000; box-shadow: 3px 3px 0 #25f4ee,-3px -3px 0 #fe2c55; }
.soc-b.whatsapp:hover { background: #25d366; }
.soc-b:active,.fsoc a:active { transform: scale(.94); }
/* زر «Watch now» */
.vc .play { align-items: center; justify-content: center; pointer-events: none; }
.wn { pointer-events: auto; display: inline-flex; align-items: center; gap: 14px; direction: ltr; height: 54px; padding: 0 7px 0 24px; border-radius: 40px; background: #131313; border: 2px solid var(--tan); color: #efcb9d; font-family: Roboto,'Segoe UI',Arial,sans-serif; font-weight: 500; font-size: 21px; letter-spacing: .2px; box-shadow: 0 10px 28px rgba(0,0,0,.5); transition: transform .35s cubic-bezier(.2,.9,.3,1.4),box-shadow .3s,border-color .3s; }
.wn i { width: 40px; height: 40px; border-radius: 50%; background: var(--tan2); display: grid; place-items: center; flex: none; animation: none!important; transition: transform .35s; }
.wn svg { width: 17px; height: 17px; fill: #171310; margin-left: 2px; }
.vc:hover .wn { transform: scale(1.07); box-shadow: 0 14px 34px rgba(0,0,0,.6),0 0 0 6px rgba(226,182,129,.18); }
.vc:hover .wn i { transform: rotate(360deg); transition-duration: .7s; }
.vc .play i { width: auto; height: auto; background: none; }
.vc:hover .play i { transform: none; }
.vc .wn i { width: 40px; height: 40px; background: var(--tan2); }
.vc:hover .wn i { transform: scale(1.12); }
.vpz { position: absolute; top: 14px; right: 14px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; background: #131313; border: 2px solid var(--tan); color: var(--tan); display: grid; place-items: center; padding: 0; cursor: pointer; transition: transform .3s,background .3s; }
.vpz:hover { transform: scale(1.12); background: #000; }
.vpz svg { width: 16px; height: 16px; fill: var(--tan); }
.vpz .i-play { display: block; }
.vpz .i-pause { display: none; }
.vc.pv-on .vpz .i-play { display: none; }
.vc.pv-on .vpz .i-pause { display: block; }
.vc.pv-on .wn { opacity: .0; transform: scale(.8); transition: opacity .3s,transform .3s; }
.vc.pv-on:hover .wn { opacity: 1; transform: scale(1); }
.vm-pz { position: absolute; left: 18px; bottom: 20px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; background: rgba(15,18,23,.85); backdrop-filter: blur(8px); border: 1.5px solid var(--tan); box-shadow: 0 4px 16px rgba(0,0,0,.45); display: grid; place-items: center; cursor: pointer; padding: 0; opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .3s ease, background .25s ease; }
#vm-v:hover .vm-pz, .vm-pz.paused { opacity: 1; pointer-events: auto; }
.vm-pz svg { width: 16px; height: 16px; fill: var(--tan); }
.vm-pz:hover { transform: scale(1.1); background: #000; border-color: #fff; }
.vm-pz .i-play { display: none; }
.vm-pz.paused .i-play { display: block; }
.vm-pz.paused .i-pause { display: none; }
@media(max-width:640px) {
    .vmodal { padding: 10px; }
    .vm-in { border-radius: 14px; }
    .vm-top { padding: 10px 14px; }
    .vm-top b { font-size: 14px; }
    .vm-top button { width: 32px; height: 32px; font-size: 14px; }
    .vm-pz { width: 38px; height: 38px; left: 12px; bottom: 14px; }
    .vm-pz svg { width: 14px; height: 14px; }
}
@media(max-width:560px) {
    .wn { height: 46px; font-size: 18px; padding-left: 18px; }
    .wn i { width: 34px; height: 34px; }
    .wn svg { width: 14px; height: 14px; }
}
@media(max-height:520px) {
    .vmodal { padding: 6px; }
    .vm-top { padding: 8px 14px; }
    #vm-v { max-height: calc(96vh - 46px); }
}
/* الأكثر طلباً (مدمج ضمن قسم منتجاتنا) */
.tp-wrap { position: relative; margin-top: 48px; padding-top: 10px; }
.tp-divider { height: 1px; background: linear-gradient(90deg,transparent,var(--line) 20%,var(--line) 80%,transparent); margin-bottom: 38px; }
.tp-title-main { font-family: var(--head); font-weight: 800; font-size: clamp(22px,3.2vw,32px); line-height: 1.35; max-width: 24em; margin-bottom: 6px; letter-spacing: -.01em; color: var(--ink); }
.tp-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.tp-chips:empty { display: none; }
.tpchip { border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 24px; padding: 7px 20px; font-family: var(--body); font-weight: 700; font-size: 14.5px; min-height: 40px; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.04); transition: background .25s,border-color .25s,color .25s,transform .2s,box-shadow .25s; }
.tpchip:hover { background: color-mix(in srgb,var(--red) 8%,var(--card)); border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.tpchip.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(225,6,19,.28); }
.tp-g { grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 24px; margin-top: 30px; perspective: 1200px; }
.prc { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); transition: transform .4s cubic-bezier(.2,.9,.3,1.1),box-shadow .4s,border-color .4s; transform-style: preserve-3d; }
.prc:hover { transform: translateY(-8px); border-color: var(--red); box-shadow: 0 20px 40px rgba(0,0,0,.14),0 0 0 1px var(--red); }
.pc-i { position: relative; aspect-ratio: 4/3; background: color-mix(in srgb,var(--bg) 80%,#000); overflow: hidden; }
.pc-i::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 45%,rgba(255,255,255,.08),transparent 70%); opacity: .6; transition: opacity .5s; }
.prc:hover .pc-i::before { opacity: 1; }
.pc-i img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.prc:hover .pc-i img { transform: scale(1.08) translateY(-2px); }
.pc-i::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; background: linear-gradient(100deg,transparent,rgba(255,255,255,.2),transparent); transform: skewX(-18deg); transition: left 0s; pointer-events: none; }
.prc:hover .pc-i::after { left: 130%; transition: left .9s ease; }
.pc-new { position: absolute; top: 12px; right: 12px; z-index: 2; background: linear-gradient(135deg,#ffcf4a,#f2a900); color: #201500; font-weight: 800; font-size: 13.5px; padding: 3px 14px; border-radius: 20px; box-shadow: 0 6px 16px rgba(0,0,0,.2); animation: newPulse 2.4s ease-in-out infinite; }
@keyframes newPulse {
    50% { transform: scale(1.08); }
}
.pc-brand { position: absolute; right: clamp(6px,1.8vw,10px); top: clamp(6px,1.8vw,10px); z-index: 2; height: clamp(22px,5.5vw,32px); max-width: clamp(60px,16vw,92px); background: rgba(255,255,255,.94); border-radius: clamp(5px,1.2vw,8px); padding: 2px clamp(4px,1.2vw,8px); display: flex; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pc-brand img { height: 100%; width: auto; max-width: 100%; object-fit: contain; transform: none!important; }
.pc-title { position: absolute; right: clamp(6px,1.8vw,10px); bottom: clamp(6px,1.8vw,10px); z-index: 2; min-height: clamp(24px,5.5vw,34px); max-width: calc(100% - clamp(12px,3.6vw,20px)); background: rgba(18,23,34,.88); color: #ffffff; border: 1px solid rgba(255,255,255,.2); border-radius: clamp(6px,1.5vw,8px); padding: clamp(3px,1vw,5px) clamp(8px,2vw,14px); display: inline-flex; align-items: center; margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(10.5px,2.5vw,14px); line-height: 1.3; box-shadow: 0 6px 16px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-shadow: 0 1px 2px rgba(0,0,0,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .25s,border-color .25s,color .25s; }
.pc-b { display: none; }
.tp-more { display: flex; align-items: center; justify-content: center; margin-top: 15px; padding-top: 10px; }
.tp-more-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 16px; min-height: 52px; font-size: 16.5px; font-weight: 700; border-radius: 30px; background: var(--maroon); color: #fff; text-decoration: none; border: 1.5px solid var(--maroon); box-shadow: 0 8px 24px rgba(137,24,17,.25); transition: background .25s,border-color .25s,transform .25s,box-shadow .25s; }
.tp-more-btn svg { width: 20px; height: 20px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.tp-more-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(225,6,19,.35); }
.tp-more-btn:hover svg { transform: translateX(-5px); }
.pc-act { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.pc-add { flex: 1; height: 44px; border-radius: 12px; border: 1px solid #454b55; background: #262a31; color: var(--gold); font-family: var(--body); font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; position: relative; overflow: hidden; transition: background .3s,color .3s,transform .2s,border-color .3s; }
.pc-add svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-add:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pc-add:active { transform: scale(.95); }
.pc-add.ok { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
.pc-fav { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #cfd5de; display: grid; place-items: center; cursor: pointer; transition: background .3s,color .3s,transform .3s; }
.pc-fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; transition: transform .35s cubic-bezier(.2,.9,.3,1.6); }
.pc-fav:hover { background: rgba(255,255,255,.08); }
.pc-fav.on { color: #ff4d63; border-color: rgba(255,77,99,.5); }
.pc-fav.on svg { fill: #ff4d63; transform: scale(1.2); }
.qty { display: flex; align-items: center; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); direction: ltr; overflow: hidden; }
.qty button { width: 34px; height: 100%; border: 0; background: transparent; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s; }
.qty button:hover { background: rgba(255,255,255,.1); }
.qty b { min-width: 26px; text-align: center; font-weight: 700; color: #fff; }
.prc .fly { position: fixed; z-index: 200; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); pointer-events: none; box-shadow: 0 0 14px var(--gold); }
/* السلة */
.cart-fab { position: fixed; right: 18px; bottom: calc(48px + env(safe-area-inset-bottom,0px))!important; z-index: 900; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px rgba(209,32,46,.5); transition: transform .3s cubic-bezier(.2,.9,.3,1.4),opacity .3s; }
@media(max-width:768px) {
    .cart-fab { bottom: calc(66px + env(safe-area-inset-bottom,0px))!important; }
}
.cart-fab svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cart-fab .cart-n { position: absolute; top: -6px; left: -6px; border: 2px solid var(--bg); }
.cart-fab:hover { transform: scale(1.1); }
.cart-fab.bump { animation: bump .5s; }
.cart-fab.empty { opacity: 0; pointer-events: none; transform: scale(.6); }
@keyframes bump {
    30% { transform: scale(1.28) rotate(-8deg); }
    60% { transform: scale(.94) rotate(4deg); }
}
/* زر الصعود للأعلى العائم */
.scroll-top-btn { position: fixed; right: 22px; bottom: calc(48px + env(safe-area-inset-bottom,0px))!important; z-index: 1000; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: color-mix(in srgb,var(--card) 85%,transparent); color: var(--ink); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.15); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px) scale(.85); transition: opacity .3s cubic-bezier(.2,.8,.2,1),transform .3s cubic-bezier(.2,.8,.2,1),visibility .3s,background .25s,border-color .25s,color .25s,box-shadow .25s; }
.scroll-top-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.scroll-top-btn.visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.scroll-top-btn:hover { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 10px 28px rgba(209,32,46,.45); transform: translateY(-4px) scale(1.04); }
.scroll-top-btn:hover svg { transform: translateY(-3px); }
.scroll-top-btn:active { transform: translateY(-1px) scale(.97); }
/* إزاحة الزر للأعلى إذا كانت سلة الشراء ممتلئة ومرئية في نفس الزاوية */
body:has(.cart-fab:not(.empty)) .scroll-top-btn { bottom: calc(116px + env(safe-area-inset-bottom,0px))!important; }
@media(max-width:768px) {
    .scroll-top-btn { bottom: calc(66px + env(safe-area-inset-bottom,0px))!important; }
    body:has(.cart-fab:not(.empty)) .scroll-top-btn { bottom: calc(132px + env(safe-area-inset-bottom,0px))!important; }
}
@media(max-width:560px) {
    .scroll-top-btn { right: 16px; width: 44px; height: 44px; border-radius: 12px; }
    .scroll-top-btn svg { width: 20px; height: 20px; }
}
.cart-ov { position: fixed; inset: 0; z-index: 150; background: rgba(5,8,12,.6); backdrop-filter: blur(3px); animation: fade .3s both; }
.cart { position: fixed; top: 0; bottom: 0; right: 0; width: min(430px,100%); z-index: 160; background: #131a29; color: #eef0f2; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 60px rgba(0,0,0,.5); }
.cart.open { transform: none; }
.cart-h { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--head); font-size: 20px; padding-top: calc(18px + env(safe-area-inset-top,0px)); }
.cart-h button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 17px; cursor: pointer; transition: background .2s; }
.cart-h button:hover { background: var(--red); border-color: var(--red); }
.cart-b { flex: 1; overflow: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { margin: auto; text-align: center; color: #9aa4b5; padding: 30px 10px; }
.cart-empty svg { width: 64px; height: 64px; fill: none; stroke: #4b5870; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.cit { display: grid; grid-template-columns: 78px 1fr auto; gap: 12px; align-items: center; background: #1b2336; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 10px; animation: ciIn .4s both; }
@keyframes ciIn {
    from { opacity: 0; transform: translateX(20px); }
}
.cit img { width: 78px; height: 62px; object-fit: cover; border-radius: 9px; background: #181f2e; }
.cit h4 { font-family: var(--head); font-size: 14.5px; line-height: 1.5; font-weight: 600; color: #fff; }
.cit .cp { color: var(--gold); font-weight: 800; direction: ltr; text-align: right; font-size: 15px; }
.cit .qty { height: 34px; margin-top: 6px; width: max-content; }
.cit .qty button { width: 30px; font-size: 17px; }
.cit-x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.07); color: #cfd5de; cursor: pointer; font-size: 14px; transition: background .2s; }
.cit-x:hover { background: var(--red); color: #fff; }
.cart-f { padding: 16px 20px calc(18px + env(safe-area-inset-bottom,0px)); border-top: 1px solid rgba(255,255,255,.1); background: #0f1522; }
.cart-f:empty { display: none; }
.ct-r { display: flex; justify-content: space-between; color: #aeb6c4; margin-bottom: 6px; font-size: 15px; }
.ct-r.tot { color: #fff; font-size: 20px; font-weight: 800; margin: 10px 0 14px; }
.ct-r.tot b { color: var(--gold); direction: ltr; font-family: var(--head); }
.ct-go { width: 100%; height: 52px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font-family: var(--body); font-weight: 800; font-size: 17px; cursor: pointer; transition: background .25s,transform .2s; }
.ct-go:hover { background: #e6283a; }
.ct-go:active { transform: scale(.98); }
.ct-clr { width: 100%; margin-top: 10px; background: none; border: 0; color: #9aa4b5; font-family: var(--body); font-size: 14px; cursor: pointer; text-decoration: underline; }
.ct-note { margin-top: 8px; color: #7d889b; font-size: 12.5px; text-align: center; }
.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom,0px)); transform: translate(-50%,30px); background: #111; color: #fff; border: 1px solid rgba(255,255,255,.2); padding: 11px 22px; border-radius: 30px; z-index: 300; font-weight: 700; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .3s,transform .3s; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
body.cart-lock { overflow: hidden; }
/* الروبوت العائم والمحادثة */
.bot { position: fixed; left: 14px; bottom: calc(48px + env(safe-area-inset-bottom,0px))!important; z-index: 920; display: flex; align-items: flex-end; gap: 8px; pointer-events: none; }
@media(max-width:768px) {
    .bot { bottom: calc(66px + env(safe-area-inset-bottom,0px))!important; }
}
.bot>* { pointer-events: auto; }
.bot-btn { position: relative; width: 96px; height: 118px; border: 0; background: none; padding: 0; cursor: pointer; animation: botBob 3.2s ease-in-out infinite; filter: drop-shadow(0 14px 14px rgba(0,0,0,.35)); transition: transform .3s; }
.bot-btn:hover { transform: scale(1.1) rotate(-3deg); }
.bot-btn img { position: relative; width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 90%; animation: botWave 4.5s ease-in-out infinite; }
.bot-glow { position: absolute; left: 50%; bottom: 6px; width: 70px; height: 18px; margin-left: -35px; border-radius: 50%; background: radial-gradient(ellipse,rgba(209,32,46,.55),transparent 70%); animation: botSh 3.2s ease-in-out infinite; }
.bot-dot { position: absolute; top: 8px; right: 10px; width: 15px; height: 15px; border-radius: 50%; background: #2ecc71; border: 2px solid #fff; animation: dotp 2s infinite; }
@keyframes botBob {
    50% { transform: translateY(-9px); }
}
@keyframes botSh {
    50% { transform: scale(.78); opacity: .5; }
}
@keyframes botWave {
    0%,60%,100% { transform: rotate(0); }
    66% { transform: rotate(-5deg); }
    72% { transform: rotate(4deg); }
    78% { transform: rotate(-4deg); }
    84% { transform: rotate(2deg); }
}
@keyframes dotp {
    50% { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
    0% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
}
.bot-pop { position: relative; direction: rtl; background: #fff; color: #14171c; border-radius: 18px; padding: 14px 40px 14px 18px; max-width: min(285px,calc(100vw - 150px)); margin-bottom: 34px; box-shadow: 0 14px 34px rgba(0,0,0,.35); animation: popIn .6s cubic-bezier(.2,.9,.3,1.4) both; line-height: 1.6; }
.bot-pop::after { content: ""; position: absolute; left: -7px; bottom: 22px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.bot-pop[hidden] { display: none; }
.bot-pop .bulb { position: absolute; top: 12px; right: 12px; font-size: 20px; }
.bot-pop b { display: block; font-size: 15px; font-weight: 700; padding-right: 26px; }
.bot-pop small { display: block; font-size: 12.5px; color: #4b5563; margin-top: 4px; direction: ltr; text-align: left; }
.bot-px { position: absolute; top: -10px; left: -10px; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1.5px solid #14171c; color: #14171c; font-size: 16px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
@keyframes popIn {
    from { opacity: 0; transform: translateY(16px) scale(.8); }
}
.bot.open .bot-pop { display: none; }
.chat { position: fixed; left: 20px; bottom: calc(68px + env(safe-area-inset-bottom,0px)); z-index: 1200; width: 390px; max-width: calc(100vw - 32px); height: min(600px,calc(100vh - 84px - env(safe-area-inset-bottom,0px))); background: #0f1626; color: #f1f5f9; border: 1.5px solid rgba(255,255,255,.14); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.06); transform-origin: left bottom; transform: scale(.92) translateY(24px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .35s cubic-bezier(.16,1,.3,1),opacity .25s,visibility 0s .35s; }
.chat.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .35s cubic-bezier(.16,1,.3,1),opacity .25s,visibility 0s; }
.chat-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(135deg,#7f1319 0%,#b81723 50%,#e10606 100%); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); flex-shrink: 0; }
.chat-h img { width: 44px; height: 50px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); animation: botBob 3.2s ease-in-out infinite; }
.chat-h>div { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.chat-h b { display: flex; align-items: center; gap: 6px; font-family: var(--head); font-size: 16px; font-weight: 800; color: #fff; line-height: 1.2; }
.chat-h small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.9); margin-top: 3px; font-family: var(--body); }
.chat-h small i { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 8px #2ecc71; animation: dotp 2s infinite; flex-shrink: 0; }
.chat-h #chatSpk { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; flex-shrink: 0; margin: 0; transition: all .2s; }
.chat-h #chatSpk:hover { background: rgba(255,255,255,.25); border-color: #fff; transform: scale(1.06); }
.chat-h #chatX { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); background: rgba(0,0,0,.22); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; display: grid; place-items: center; padding: 0; flex-shrink: 0; margin: 0; line-height: 1; transition: all .2s; }
.chat-h #chatX:hover { background: rgba(225,6,19,.85); border-color: var(--red); transform: scale(1.06); }
.chat-m { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; background: radial-gradient(120% 60% at 50% 0,#17223b 0%,#0d121c 65%,#080b12 100%); }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; line-height: 1.65; font-size: 14.5px; animation: msgIn .35s cubic-bezier(.16,1,.3,1) both; white-space: pre-line; word-break: break-word; font-family: var(--body); }
@keyframes msgIn {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
}
.msg.bt { align-self: flex-start; background: #1a2438; color: #f1f5f9; border-top-right-radius: 4px; border: 1.5px solid rgba(255,255,255,.08); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.msg.me { align-self: flex-end; background: linear-gradient(135deg,#e10606 0%,#a80505 100%); color: #fff; border-top-left-radius: 4px; box-shadow: 0 4px 14px rgba(225,6,19,.35); font-weight: 500; }
.msg a { color: #ffd37a; }
.msg .macts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.macts button,.macts a { border: 1.5px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; border-radius: 20px; padding: 6px 14px; font-family: var(--body); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.macts button:hover,.macts a:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(225,6,19,.4); }
.msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg.typing i { width: 8px; height: 8px; border-radius: 50%; background: #8b97b3; animation: ty 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ty {
    40% { transform: translateY(-6px); background: #fff; }
}
.chat-q { display: flex; gap: 8px; overflow-x: auto; padding: 8px 14px; scrollbar-width: none; }
.chat-q::-webkit-scrollbar { display: none; }
.chat-q button { flex: none; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #e2e8f0; border-radius: 20px; padding: 7px 15px; font-family: var(--body); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .2s; }
.chat-q button:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-1px); }
.chat-f { display: flex; align-items: center; gap: 10px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom,0px)); border-top: 1px solid rgba(255,255,255,.1); background: #090d16; flex-shrink: 0; }
.chat-f input { flex: 1; min-width: 0; height: 46px; border-radius: 24px; border: 1.5px solid rgba(255,255,255,.18); background: #141c2e; color: #fff; padding: 0 18px; font-family: var(--body); font-size: 15px; outline: none; transition: border-color .2s,box-shadow .2s; }
.chat-f input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,6,19,.25); }
.chat-f button[type="submit"] { width: 44px; height: 44px; border-radius: 50%; border: 0; background: linear-gradient(135deg,#e10606 0%,#aa0505 100%); cursor: pointer; display: grid; place-items: center; flex: none; box-shadow: 0 4px 14px rgba(225,6,19,.4); transition: transform .2s,box-shadow .2s; }
.chat-f button[type="submit"]:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(225,6,19,.55); }
.chat-f svg { width: 20px; height: 20px; fill: #fff; transform: scaleX(-1); }
@media(max-width:768px) {
    .chat { position: fixed!important; inset: 0!important; top: 0!important; left: 0!important; right: 0!important; bottom: 0!important; width: 100vw!important; max-width: 100vw!important; min-width: 100vw!important; height: 100vh!important; height: 100dvh!important; max-height: 100vh!important; max-height: 100dvh!important; min-height: 100vh!important; min-height: 100dvh!important; border-radius: 0!important; border: none!important; margin: 0!important; z-index: 9999!important; box-shadow: none!important; }
    .chat:not(.open) { opacity: 0!important; visibility: hidden!important; pointer-events: none!important; transform: translateY(100%)!important; transition: transform .35s ease,opacity .25s,visibility 0s .35s!important; }
    .chat.open,.chat.open.talk { opacity: 1!important; visibility: visible!important; pointer-events: auto!important; transform: none!important; transition: transform .35s cubic-bezier(.16,1,.3,1),opacity .25s!important; }
    .chat-h { padding: calc(14px + env(safe-area-inset-top,0px)) 16px 14px!important; border-radius: 0!important; }
    .chat-f { padding: 10px 14px calc(14px + env(safe-area-inset-bottom,0px))!important; }
    .chat-qw .qa { display: none!important; }
    .chat-q { padding: 6px 14px!important; }
    body.chat-open { overflow: hidden!important; touch-action: none!important; }
    body.chat-open .bot,body.chat-open .cart-fab,body.chat-open .scroll-top-btn,body.chat-open footer { display: none!important; }
    .bot-btn { width: 78px; height: 96px; }
    .bot-pop { max-width: calc(100vw - 120px); }
}
/* قسم الروبوت أسفل الصفحة */
.bot-sec { background: linear-gradient(135deg,#0c1018 0%,#1b0f13 55%,#0c1018 100%); color: #fff; position: relative; overflow: hidden; padding: 48px 16px!important; min-height: auto!important; scroll-margin-top: 90px; border-top: 4px solid var(--maroon); }
.bot-sec::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 75% 55%,rgba(209,32,46,.2),transparent 70%); pointer-events: none; }
.bot-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; min-height: auto!important; }
.bot-sec h2 { color: #fff; margin: 6px 0 12px; font-size: clamp(24px,2.4vw,34px); }
.bot-sec .kick { color: #ff8a96; font-size: 13.5px; font-weight: 700; }
.bot-sec .lead { color: #c5cbd4; line-height: 1.75; font-size: 15.5px; max-width: 520px; margin: 0 0 8px; }
.bot-cta { margin-top: 18px; cursor: pointer; font-family: var(--body); font-size: 15.5px; font-weight: 700; padding: 12px 32px; border-radius: 30px; background: var(--red); border: 1.5px solid var(--red); color: #fff; box-shadow: 0 6px 20px rgba(225,6,19,.35); transition: transform .25s,box-shadow .25s; display: inline-flex; align-items: center; justify-content: center; }
.bot-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(225,6,19,.5); }
.bot-vis { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 15px; padding: 6px 0; width: 100%; z-index: 15!important; }
.bot-bub { position: relative; direction: rtl; background: linear-gradient(180deg,#ffffff 0%,#f8fafc 100%); color: #11151c; border-radius: 18px; padding: 14px 20px; flex: 0 1 320px; max-width: 340px; height: auto; min-height: 72px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 12px 28px rgba(0,0,0,.35),0 2px 6px rgba(0,0,0,.15); border: 1.5px solid rgba(255,255,255,.9); z-index: 4; text-align: right; box-sizing: border-box; overflow: visible!important; scrollbar-width: none!important; }
.bot-bub::-webkit-scrollbar { display: none!important; }
.bot-bub::after { content: ""; position: absolute; top: 50%; left: -8px; transform: translateY(-50%); border-width: 7px 7px 7px 0; border-style: solid; border-color: transparent #ffffff transparent transparent; display: block; width: 0; }
.bot-bub b { display: block; font-size: 14px; line-height: 1.6; color: #0f172a; font-weight: 700; }
.bot-bub small { display: block; direction: ltr; text-align: left; color: #64748b; font-size: 11.5px; line-height: 1.5; margin-top: 6px; font-weight: 500; }
@media(max-width:980px) {
    .bot-in { display: flex!important; flex-direction: column!important; gap: 20px; text-align: center; }
    .bot-sec .lead { margin-inline: auto; }
    .bot-vis { order: -1!important; flex-direction: column; gap: 16px; z-index: 15!important; margin-bottom: 12px!important; }
    .bot-txt { order: 1!important; }
    .bot-bub { margin-inline: auto; text-align: center; max-width: min(340px,92%); width: 100%; height: auto; min-height: auto; overflow: visible!important; padding: 12px 16px; }
    .bot-bub small { text-align: center; }
    .bot-bub::after { top: auto; bottom: -8px; left: 50%; transform: translateX(-50%); border-width: 6px 6px 0 6px; border-color: #f8fafc transparent transparent transparent; }
}
@media(max-width:820px) {
    .bot-sec { padding: 40px 16px!important; scroll-margin-top: 95px; }
}
@media (prefers-reduced-motion:reduce) {
    .bot-btn,.bot-btn img,.bot-glow,.chat-h img,.tp::before,.tp::after,.pc-new,.lk.act,.bot-dot { animation: none!important; }
    .bot-moto { transform: none!important; opacity: 1!important; animation: none!important; }
    .prc,.prc:hover { transform: none; }
}
.bot-sec .mg,.bot-sec h2 { --tc: #fff; }
nav ul a { white-space: nowrap; }
nav ul a .ext { display: inline-block; }
.cart:not(.open) { visibility: hidden; box-shadow: none; transition: transform .45s cubic-bezier(.2,.8,.2,1),visibility 0s .45s; }
.cart.open { visibility: visible; }
.prc.rv { opacity: 1; transform: none; }
.chat { padding: 0!important; margin: 0; }
@media(max-width:560px) {
    .bot-pop { padding: 10px 34px 10px 12px; max-width: calc(100vw - 112px); margin-bottom: 26px; }
    .bot-pop b { font-size: 13.5px; padding-right: 20px; }
    .bot-pop small { display: none; }
    .bot-pop .bulb { font-size: 16px; top: 9px; right: 9px; }
}
/* جولة 10 */
/* 1) إزالة المستطيلات الحمراء في الجوال */
.gochips { display: none!important; }
/* 2) زر Watch now: سلفر + أحمر داكن، أسفل البطاقة بجانب العنوان */
.vc .play { inset: auto auto 14px 14px; display: block; }
.wn { height: 46px; padding: 0 6px 0 18px; gap: 11px; font-size: 17px; background: #101214; border: 2px solid #c3c9d2; color: #e6e9ee; box-shadow: 0 8px 20px rgba(0,0,0,.55); }
.wn i,.vc .wn i { width: 34px; height: 34px; background: linear-gradient(145deg,#b3182a,#6a0c16); }
.wn svg { width: 14px; height: 14px; fill: #fff; }
.vc:hover .wn { box-shadow: 0 10px 26px rgba(0,0,0,.6),0 0 0 5px rgba(195,201,210,.16); }
.vc .cap { padding-left: 200px; }
.vc .cap b { font-size: 20px; }
.vpz,.vm-pz { background: #101214; border-color: #c3c9d2; }
.vpz svg,.vm-pz svg { fill: #c3c9d2; }
.vpz:hover,.vm-pz:hover { background: #6a0c16; }
.vc.pv-on .wn { opacity: 1; transform: none; }
@media(max-width:560px) {
    .vc .play { inset: auto auto 12px 12px; }
    .wn { height: 40px; font-size: 14.5px; padding-left: 13px; gap: 8px; }
    .wn i,.vc .wn i { width: 29px; height: 29px; }
    .vc .cap { padding-left: 158px; }
    .vc .cap b { font-size: 17px; }
}
/* 3) المنتجات: ذهبي -> سلفر فاتح + شريط جانبي أيسر */
.cart-n { background: #e3e7ec; color: #14171c; }
.pc-price { color: #e3e7ec; }
.pc-rate svg { fill: #d3d8df; }
.pc-add { color: #e3e7ec; }
.prc:hover { border-color: rgba(205,212,222,.6); box-shadow: 0 30px 60px rgba(0,0,0,.55),0 0 0 1px rgba(205,212,222,.3),0 0 40px rgba(205,212,222,.12); }
.pc-new { display: none; }
.pc-rib { position: absolute; left: 16px; top: 0; z-index: 3; writing-mode: vertical-rl; text-orientation: mixed; padding: 18px 9px 26px; font-family: var(--head); font-weight: 800; font-size: 14.5px; letter-spacing: .5px; line-height: 1; clip-path: polygon(0 0,100% 0,100% 100%,50% calc(100% - 10px),0 100%); box-shadow: 0 8px 18px rgba(0,0,0,.4); overflow: hidden; }
.pc-rib.rh { background: linear-gradient(180deg,#f3f5f8,#aab1bc 55%,#d9dde3); color: #14171c; }
.pc-rib.rn { background: linear-gradient(180deg,#c2182b,#6a0c16 70%,#8f1220); color: #fff; }
.pc-rib::after { content: ""; position: absolute; left: -60%; top: 0; width: 60%; height: 100%; background: linear-gradient(100deg,transparent,rgba(255,255,255,.6),transparent); animation: ribSh 4s ease-in-out infinite; }
@keyframes ribSh {
    0% { left: -80%; }
    45%,100% { left: 140%; }
}
/* 4) المحافظات: الفضي للـ"قريباً" وخافت */
.nd.soon .core { fill: #8e949b; stroke: #c3c9d2; opacity: .55; }
.nd.soon .ring { stroke: #c3c9d2; }
.nd.soon text { fill: var(--mute); opacity: .55; }
.nd.soon:hover text,.nd.soon.on text { opacity: 1; }
.nd.soon.on .core,.nd.soon:hover .core { opacity: 1; fill: #aab1bc; }
.lk.soon { stroke: #aab1bc; opacity: .18; }
.lk.soon.on { stroke: #aab1bc; opacity: .8; }
.nlg i.soon,.hgt.soon i,.ndot.soon { background: #aab1bc; opacity: .7; }
.hb.soon { border-color: var(--line); opacity: .62; }
.hb.soon.on { background: #aab1bc; border-color: #aab1bc; color: #14171c; opacity: 1; }
.badge.soon { background: transparent; color: var(--mute); border: 1px solid var(--steel); }
/* 5) خريطة ثلاثية الأبعاد */
.gmap { perspective: 1500px; perspective-origin: 50% 38%; --mx: 0; --my: 0; }
.g3 { position: absolute; inset: 0; transform-style: preserve-3d; }
.g3s { position: absolute; inset: 3% 4% 3%; transform-style: preserve-3d; transform: rotateX(calc(34deg + var(--my)*-8deg)) rotateZ(calc(var(--mx)*7deg)); transition: transform .5s ease-out; animation: g3sway 12s ease-in-out infinite; }
@keyframes g3sway {
    0%,100% { rotate: y -9deg; }
    50% { rotate: y 9deg; }
}
.g3s>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 24px rgba(0,0,0,.55)); }
.g3s>img.ext { filter: none; }
.g3s #gov-ov { position: absolute; inset: 0; transform: translateZ(14px); overflow: visible; }
.g3s #gov-ov .gt { font-size: 8px; }
.gcap { z-index: 5; }
@media (prefers-reduced-motion:reduce) {
    .g3s { animation: none; }
}
/* جولة 11: الروبوت على الدراجة عائم دائماً · الواقف في آخر الصفحة */
.bot-btn { width: 128px; height: 118px; }
.bot-btn img { transform-origin: 50% 85%; }
.bot-dot { top: 2px; right: 30px; }
.bot-glow { width: 96px; margin-left: -48px; }
@media(max-width:560px) {
    .bot-btn { width: 104px; height: 96px; }
}
/* جولة 12: الدراجة تعبر من اليمين لليسار + غبار خفيف */
.bot-btn { animation: botBob 3.2s ease-in-out infinite,botRide 17s cubic-bezier(.45,.05,.3,1) 2.5s infinite; }
@keyframes botRide {
    0% { translate: calc(100vw - 100% - 30px) 0; }
    26%,100% { translate: 0 0; }
}
.bot.open .bot-btn,.bot.still .bot-btn { animation: botBob 3.2s ease-in-out infinite; translate: none; }
.dust { position: fixed; z-index: 89; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: radial-gradient(circle,rgba(205,195,180,.7),rgba(205,195,180,0) 70%); pointer-events: none; animation: dust 1.3s ease-out forwards; }
@keyframes dust {
    from { opacity: .75; transform: translate(0,0) scale(.5); }
    to { opacity: 0; transform: translate(var(--dx,24px),var(--dy,-18px)) scale(3); }
}
@media (prefers-reduced-motion:reduce) {
    .bot-btn { animation: none!important; translate: none!important; }
    .dust { display: none; }
}
.dust { width: 30px; height: 30px; margin: -15px 0 0 -15px; background: radial-gradient(circle,rgba(222,196,150,.95) 0,rgba(196,168,122,.7) 45%,rgba(196,168,122,0) 72%); filter: blur(1.5px); box-shadow: 0 0 10px rgba(150,120,80,.25); animation: dust 1.8s ease-out forwards; }
@keyframes dust {
    0% { opacity: .95; transform: translate(0,0) scale(.5); }
    60% { opacity: .6; }
    100% { opacity: 0; transform: translate(var(--dx,40px),var(--dy,-26px)) scale(3.6); }
}
.dust { background: radial-gradient(circle,rgba(238,241,245,.95) 0,rgba(196,202,212,.65) 45%,rgba(196,202,212,0) 72%); box-shadow: 0 0 10px rgba(160,168,180,.3); }
/* جولة 15: شريط مائل في الزاوية اليسرى + حدود دوّارة أحمر/سلفر لامع */
.pc-rib { writing-mode: horizontal-tb; clip-path: none; position: absolute; text-align: center; transform: rotate(-45deg); font-family: var(--head); font-weight: 800; letter-spacing: .25px; line-height: 1; box-shadow: 0 6px 16px rgba(0,0,0,.5); border-top: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(0,0,0,.35); z-index: 4; width: clamp(116px,26vw,176px); left: clamp(-46px,-8vw,-34px); top: clamp(16px,4vw,26px); padding: clamp(3px,1vw,6px) 0; font-size: clamp(10px,2.4vw,14.5px); }
.pc-rib.rh { background: linear-gradient(180deg,#f7f8fa,#b3bac4 55%,#e2e5ea); color: #14171c; }
.pc-rib.rn { background: linear-gradient(180deg,#d4202f,#7a0d17 70%,#a01422); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.prc::after { content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 2px; pointer-events: none; z-index: 6; background: conic-gradient(from var(--ang),#d1202e 0%,#6f0c15 12%,rgba(0,0,0,0) 28%,#ffffff 42%,#a7afba 52%,rgba(0,0,0,0) 68%,#d1202e 100%); -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ringSpin 5s linear infinite; filter: drop-shadow(0 0 4px rgba(209,32,46,.45)); }
@keyframes ringSpin {
    to { --ang: 360deg; }
}
.prc:hover::after { animation-duration: 2.6s; }
@media (prefers-reduced-motion:reduce) {
    .prc::after { animation: none; }
}
/* خريطة واضحة ونقية بدون انعكاسات زجاجية */
.g3s>img:not(.ext) { filter: contrast(1.08); }
.g3gloss,.g3glint { display: none !important; }
.g3s #gov-ov .gt { font-family: var(--head); stroke-width: 2.2px; paint-order: stroke fill; filter: none; }
@media (prefers-reduced-motion:reduce) {
    .g3glint { animation: none; opacity: 0; }
}
/* خريطة متجاوبة ومتوسطة بالكامل لكافة أحجام الشاشات */
.gmap { position: relative; margin: 0 auto; width: 100%; max-width: 860px; aspect-ratio: 548/358; overflow: visible!important; display: flex; justify-content: center; align-items: center; }
.g3 { position: absolute; inset: 0; width: 100%; height: 100%; }
.g3s { position: absolute; inset: 0; width: 100%; height: 100%; }
.g3s>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.g3s #gov-ov { position: absolute; inset: 0; width: 100%; height: 100%; }
@media(max-width:768px) {
    .gmap { width: 100%!important; max-width: 100%!important; height: auto!important; aspect-ratio: 548/358!important; overflow: visible!important; }
    .g3 { position: absolute!important; inset: 0!important; width: 100%!important; height: 100%!important; perspective: none!important; }
    .g3s { position: absolute!important; inset: 0!important; width: 100%!important; height: 100%!important; transform: none!important; animation: none!important; }
    .g3s #gov-ov .gt { font-size: 10px!important; stroke-width: 2.2px!important; }
    .gcap { position: relative!important; top: auto!important; right: 0!important; left: auto!important; margin: 14px 0 0 auto!important; margin-right: 0!important; margin-left: auto!important; width: fit-content!important; min-width: 160px!important; max-width: 90%!important; text-align: right!important; }
}
/* أسهم تمرير الأسئلة السريعة */
.chat-qw { position: relative; flex: none; }
.chat-q { padding: 4px 34px 12px; scroll-behavior: smooth; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #d1202e #1b2336; }
.chat-q::-webkit-scrollbar { display: block; height: 4px; }
.chat-q::-webkit-scrollbar-thumb { background: #d1202e; border-radius: 3px; }
.chat-q::-webkit-scrollbar-track { background: #1b2336; }
.qa { position: absolute; top: 2px; z-index: 2; width: 30px; height: 34px; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; transition: opacity .25s,background .2s; }
.qa-r { right: 0; background: linear-gradient(270deg,#0f1522 55%,rgba(15,21,34,0)); }
.qa-l { left: 0; background: linear-gradient(90deg,#0f1522 55%,rgba(15,21,34,0)); }
.qa:hover { color: #ff5a6e; }
.qa.off { opacity: 0; pointer-events: none; }
.qa::after { content: ""; position: absolute; inset: 6px 4px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(209,32,46,.7); animation: qaP 2s infinite; pointer-events: none; }
@keyframes qaP {
    70% { box-shadow: 0 0 0 8px rgba(209,32,46,0); }
    100% { box-shadow: 0 0 0 0 rgba(209,32,46,0); }
}
.wa-tag { display: inline-block; font-style: normal; font-family: var(--head); font-weight: 800; font-size: .72em; letter-spacing: 1.5px; line-height: 1; padding: 3px 9px; margin-inline-start: 8px; border-radius: 7px; background: linear-gradient(145deg,#f3f5f8,#aab1bc); color: #7f1319; vertical-align: middle; box-shadow: 0 2px 8px rgba(0,0,0,.3); direction: ltr; }
.chat-h b .wa-tag { font-size: 12px; }
/* صوت WA */
.chat-h #chatSpk { margin-inline-start: auto; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.chat-h #chatSpk+button { margin-inline-start: 0; }
.chat-h #chatSpk svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.chat-h #chatSpk .w { fill: none; }
.chat-h #chatSpk .x { fill: none; display: none; }
.chat-h #chatSpk.mute .w { display: none; }
.chat-h #chatSpk.mute .x { display: block; }
.chat-h #chatSpk:hover { background: rgba(255,255,255,.2); }
.chat-h .eq { display: none; align-items: flex-end; gap: 3px; height: 20px; margin-inline-start: auto; }
.chat.talk .chat-h .eq { display: flex; }
.chat.talk .chat-h #chatSpk { margin-inline-start: 0; }
.eq i { width: 4px; height: 6px; border-radius: 2px; background: #fff; animation: eqb .7s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: .12s; }
.eq i:nth-child(3) { animation-delay: .24s; }
.eq i:nth-child(4) { animation-delay: .36s; }
@keyframes eqb {
    50% { height: 20px; }
}
.chat.talk .chat-h img,.bot.talk .bot-btn img { animation: talkP .5s ease-in-out infinite!important; }
@keyframes talkP {
    50% { transform: scale(1.07) rotate(-2deg); }
}
.chat-f .mic { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: #171f33; cursor: pointer; display: grid; place-items: center; padding: 0; flex: none; transition: background .25s,border-color .25s,transform .2s; }
.chat-f .mic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chat-f .mic:hover { border-color: #d1202e; transform: scale(1.08); }
.chat-f .mic.rec { background: #d1202e; border-color: #d1202e; animation: micP 1.2s infinite; }
@keyframes micP {
    0% { box-shadow: 0 0 0 0 rgba(209,32,46,.7); }
    100% { box-shadow: 0 0 0 14px rgba(209,32,46,0); }
}
/* أيقونة الفكرة والروبوت الواقف أسفل الصفحة */
.bot-rb { position: relative; width: min(160px,46%); flex: 0 0 auto; padding-top: 34px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bot-rb .bot-moto { width: 100%; max-height: 160px; object-fit: contain; margin: 0 auto; display: block; filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); transform: translateX(-140%) rotate(-3deg); opacity: 0; }
.bot-vis.in .bot-moto { animation: ride 1.6s cubic-bezier(.15,.8,.25,1) .1s forwards,idleBob 3.6s ease-in-out 1.8s infinite; }
@keyframes ride {
    0% { transform: translateX(-140%) rotate(-3deg); opacity: 0; }
    20% { opacity: 1; }
    75% { transform: translateX(2%) rotate(1deg); }
    100% { transform: none; opacity: 1; }
}
@keyframes idleBob {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.bulb3d { position: absolute; top: 2px; left: 50%; transform: translateX(-50%) translateY(10px) scale(.5); width: 32px; height: 40px; z-index: 3; perspective: 360px; opacity: 0; pointer-events: none; }
.bulb3d svg { width: 32px; height: 40px; display: block; overflow: visible; transform-style: preserve-3d; animation: bulbSpin 5s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(255,214,90,.9)) drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
.bot-vis.in .bulb3d { animation: bulbIn .8s cubic-bezier(.2,1.4,.4,1) 1.2s forwards,bulbFloat 3.2s ease-in-out 2s infinite; }
.bulb3d .gl { animation: bulbGl 3.2s ease-in-out infinite; }
.bulb3d .bh { position: absolute; left: 50%; top: 32%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: radial-gradient(circle,rgba(255,226,120,.45),transparent 65%); z-index: -1; animation: bulbHalo 2.4s ease-in-out infinite; }
@keyframes bulbIn {
    to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes bulbFloat {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes bulbSpin {
    0%,100% { transform: rotateY(-18deg) rotateX(4deg); }
    50% { transform: rotateY(18deg) rotateX(-3deg); }
}
@keyframes bulbGl {
    0%,35% { transform: translateX(0) skewX(-20deg); }
    75%,100% { transform: translateX(120px) skewX(-20deg); }
}
@keyframes bulbHalo {
    50% { transform: scale(1.2); opacity: .65; }
}
@media(max-width:980px) {
    .bot-rb { width: min(160px,70%); padding-top: 34px; margin-inline: auto; }
}
@media(max-width:820px) {
    .bulb3d { width: 30px; height: 38px; top: 0; }
    .bulb3d svg { width: 30px; height: 38px; }
}
@media (prefers-reduced-motion:reduce) {
    .bulb3d { opacity: 1!important; transform: translateX(-50%)!important; animation: none!important; }
    .bulb3d svg,.bulb3d .gl,.bulb3d .bh { animation: none!important; }
}
/* تناسق قسم المساعد مع الصفحة والمحتوى */
@media(min-width:821px) {
    .bot-sec { padding: 48px 16px!important; min-height: auto!important; }
    .bot-in { padding-block: 0!important; min-height: auto!important; }
}
/* أداء: إيقاف الحركة خارج الشاشة */
.vis-off,.vis-off *,.vis-off *::before,.vis-off *::after,.tab-off * { animation-play-state: paused!important; }
@media(max-width:820px) {
    * { backdrop-filter: none!important; backdrop-filter: none!important; }
    .dust { display: none!important; }
    .bot-moto,.prc,.g3s { will-change: auto; }
}
/* جوال: لا حركات متكررة إلا الأساسية (أداء) */
@media(max-width:820px),(pointer:coarse) {
    html *,html *::before,html *::after { animation-iteration-count: 1!important; }
    html .bot-btn,html .bot-btn *,html .bot-btn::before,html .bot-btn::after,html .bulb3d,html .bulb3d *,html .eq i,html .mic.rec,html .chat.talk,html .bot.talk,html .typ i,html .msg.typ *,html .cart-fab.bump { animation-iteration-count: infinite!important; }
}
/* أداء: إيقاف الحركة خارج الشاشة */
@media(max-width:820px) {
    img { filter: none!important; }
    .bot-moto,.bot-btn img { filter: none!important; }
}
/* جوال وشاشات: شريط الروابط مع تفعيل المقبض اليدوي والسحب الأفقي */
header nav { display: flex; align-items: center; justify-content: space-between; flex-direction: row!important; }
.brand { order: 1!important; margin-inline-end: auto; }
header nav ul { order: 2!important; }
.nav-r { order: 3!important; margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
header nav ul { cursor: grab; user-select: none; -webkit-user-select: none; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
header nav ul.grabbing { cursor: grabbing!important; cursor: -webkit-grabbing!important; scroll-behavior: auto!important; }
.notif-btn { width: 38px; height: 38px; border-radius: 12px; border: 1.5px solid var(--line); background: color-mix(in srgb,var(--card) 60%,transparent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; position: relative; transition: background .22s,color .22s,border-color .22s,transform .22s,box-shadow .22s; flex-shrink: 0; }
.notif-btn:hover { background: var(--card); color: var(--red); border-color: var(--red); box-shadow: 0 4px 12px rgba(225,6,19,.15); transform: translateY(-2px); }
.notif-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notif-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--card); line-height: 1; box-shadow: 0 2px 6px rgba(225,6,19,.4); }
@media(max-width:1020px) {
    html { scroll-padding-top: 112px; }
    header nav { flex-wrap: wrap; row-gap: 0; padding-bottom: 0; }
    header nav ul { display: flex!important; order: 5!important; flex: 0 0 100%; width: 100%; gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 6px 4px 6px; margin-top: 4px; border-top: 1px solid var(--line); -webkit-overflow-scrolling: touch; direction: rtl; }
    header nav ul::-webkit-scrollbar { height: 4px; }
    header nav ul::-webkit-scrollbar-thumb { background: rgba(225,6,19,.3); border-radius: 4px; }
    header nav ul li { flex: 0 0 auto; }
    header nav ul a { font-size: 14px; padding: 6px 12px; display: block; border-radius: 8px; white-space: nowrap; }
    header nav ul a.on { border-color: transparent; color: var(--red); background: color-mix(in srgb,var(--red) 12%,transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--red) 30%,transparent); }
}
/* درج الإشعارات المنسدل التفاعلي (Notification Modal Drawer) */
body.notif-lock { overflow: hidden !important; }
.notif-modal-overlay { position: fixed; inset: 0; background: rgba(12, 13, 16, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s ease; }
.notif-modal-overlay.open { opacity: 1; visibility: visible; }
.notif-card { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 68px); left: max(16px, calc(50% - 200px)); background: #1c1e24; color: #ECEFF1; width: 400px; max-width: calc(100vw - 24px); max-height: calc(85vh - 20px); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 4px 16px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.12); overflow: visible; transform: translateY(-10px) scale(0.96); opacity: 0; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease; display: flex; flex-direction: column; z-index: 10001; direction: rtl; font-family: inherit; will-change: transform, opacity; }
.notif-modal-overlay.open .notif-card { transform: translateY(0) scale(1); opacity: 1; }
:root[data-theme="light"] .notif-card { background: #ffffff; color: #1e293b; border-color: rgba(226, 232, 240, 0.95); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.8) inset; }
.notif-arrow-notch { position: absolute; width: 14px; height: 14px; background: #232e40; border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 1px solid rgba(255, 255, 255, 0.2); transform: rotate(45deg); top: -7px; left: 32px; z-index: 3; pointer-events: none; transition: left 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
:root[data-theme="light"] .notif-arrow-notch { background: #2d3748; border-top-color: rgba(255, 255, 255, 0.4); border-left-color: rgba(255, 255, 255, 0.4); }
.notif-header { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px 12px 16px; background: linear-gradient(135deg, #1e293b 0%, #2d3748 60%, #3b1a1a 100%); flex-shrink: 0; position: relative; border-radius: 19px 19px 0 0; overflow: hidden; }
.notif-header-title { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 800; color: #ffffff; letter-spacing: 0.01em; margin: 0; }
.notif-header-title svg { width: 17px; height: 17px; flex-shrink: 0; filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.5)); }
.notif-header-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; padding: 0 7px; background: linear-gradient(135deg, #f59e0b, #ef4444); color: #ffffff; font-size: 0.62rem; font-weight: 900; border-radius: 9999px; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35); }
.notif-actions-top { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.mark-read-btn { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); padding: 3px 10px; border-radius: 20px; font-size: 0.68rem; font-weight: 800; color: rgba(255, 255, 255, 0.92); cursor: pointer; transition: all 0.18s ease; display: inline-flex; align-items: center; gap: 4px; font-family: inherit; }
.mark-read-btn:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.4); color: #ffffff; transform: translateY(-1px); }
.close-notif-btn { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; color: rgba(255, 255, 255, 0.85); cursor: pointer; transition: all 0.18s ease; padding: 0; font-family: inherit; }
.close-notif-btn:hover { background: rgba(220, 38, 38, 0.65); border-color: rgba(220, 38, 38, 0.8); color: #ffffff; transform: rotate(90deg); }
.notif-list { overflow-y: auto; overflow-x: hidden; max-height: 380px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; background: #121418; scrollbar-width: thin; scrollbar-color: rgba(225, 6, 19, 0.3) transparent; }
:root[data-theme="light"] .notif-list { background: #f8fafc; }
.notif-list::-webkit-scrollbar { width: 4px; }
.notif-list::-webkit-scrollbar-thumb { background: rgba(225, 6, 19, 0.3); border-radius: 4px; }
.notif-empty-state { text-align: center; padding: 36px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.notif-empty-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; color: #94a3b8; }
:root[data-theme="light"] .notif-empty-icon { background: #e2e8f0; }
.notif-empty-text { font-size: 0.82rem; color: #94a3b8; margin: 0; font-weight: 700; }
.notif-item { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: #181a20; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); position: relative; text-decoration: none; color: inherit; overflow: hidden; margin-bottom: 2px; }
:root[data-theme="light"] .notif-item { border-color: rgba(226, 232, 240, 0.95); background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
.notif-item::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: #475569; border-radius: 0 12px 12px 0; transition: background 0.2s ease; }
:root[data-theme="light"] .notif-item::before { background: #cbd5e1; }
.notif-item.unread { background: linear-gradient(135deg, #222630 0%, #1c1e24 100%); border-color: rgba(245, 158, 11, 0.35); }
:root[data-theme="light"] .notif-item.unread { background: linear-gradient(135deg, #fffdf8 0%, #fffbf2 100%); border-color: rgba(245, 158, 11, 0.35); }
.notif-item.unread::before { background: linear-gradient(180deg, #f59e0b 0%, #d1202e 100%); }
.notif-item-main-row { display: flex; align-items: flex-start; padding: 10px 12px 6px 12px; gap: 10px; width: 100%; box-sizing: border-box; }
.notif-icon-box { width: 34px; height: 34px; border-radius: 9px; background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.25); display: flex; align-items: center; justify-content: center; color: #f59e0b; flex-shrink: 0; position: relative; }
.notif-unread-dot { position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 2px #181a20, 0 0 4px rgba(245, 158, 11, 0.5); }
:root[data-theme="light"] .notif-unread-dot { box-shadow: 0 0 0 2px #ffffff, 0 0 4px rgba(245, 158, 11, 0.5); }
.notif-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.notif-item-desc { font-size: 0.71rem; color: #94a3b8; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; word-break: break-word; }
:root[data-theme="light"] .notif-item-desc { color: #64748b; }
.notif-item-footer { display: flex; align-items: center; justify-content: flex-end; padding: 4px 12px 8px 12px; }
.notif-item-time { font-size: 0.63rem; color: #64748b; font-weight: 600; }
.notif-footer-bar { padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: #16181f; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 0 0 19px 19px; }
:root[data-theme="light"] .notif-footer-bar { background: #f8fafc; border-top: 1px solid rgba(226, 232, 240, 0.9); }
.notif-footer-summary { font-size: 0.68rem; color: #94a3b8; font-weight: 700; }
:root[data-theme="light"] .notif-footer-summary { color: #64748b; }
.notif-all-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 800; color: #ffffff !important; text-decoration: none; padding: 4px 12px; border-radius: 20px; background: linear-gradient(135deg, var(--red, #d1202e) 0%, #a01522 100%); box-shadow: 0 2px 6px rgba(209, 32, 46, 0.35); transition: all 0.2s ease; }
.notif-all-link:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(209, 32, 46, 0.5); color: #ffffff !important; }
/* إصلاح وتنسيق قسم تجربة التوريد الذكية وصورة الهواتف (Smart Supply App Section) */
.app .ag { display: grid !important; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr) !important; gap: 48px !important; align-items: center !important; width: 100% !important; max-width: 1240px !important; margin: 0 auto !important; }
.app .ag > div:first-child { min-width: 0 !important; width: 100% !important; }
.app .sec-head { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 6px !important; margin-bottom: 12px !important; width: 100% !important; }
.app .sec-head h2 { white-space: normal !important; font-size: clamp(22px, 2.5vw, 32px) !important; line-height: 1.35 !important; display: block !important; }
.app .sec-head .h2en { white-space: normal !important; margin-inline-start: 0 !important; font-size: clamp(12.5px, 1.2vw, 15px) !important; line-height: 1.4 !important; opacity: 0.8 !important; display: block !important; }
.app .phone { position: relative !important; display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important; max-width: 480px !important; margin: 0 auto !important; min-width: 0 !important; opacity: 1 !important; transform: none !important; }
.app .phone img { position: relative !important; width: 100% !important; max-width: 450px !important; height: auto !important; object-fit: contain !important; display: block !important; margin: 0 auto !important; filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.42)) !important; animation: flt 6s ease-in-out infinite !important; transition: transform 0.3s ease-out !important; }
:root[data-theme="light"] .app .phone img { filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.22)) !important; }
.app .phone .fc { position: absolute !important; z-index: 4 !important; font-size: 13px !important; padding: 5px 14px 5px 10px !important; border-radius: 30px !important; white-space: nowrap !important; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important; }
.app .phone .fc.f1 { top: 8% !important; right: -8px !important; }
.app .phone .fc.f2 { top: 36% !important; left: -8px !important; animation-delay: -1.2s !important; }
.app .phone .fc.f3 { bottom: 22% !important; right: -8px !important; animation-delay: -2.4s !important; }
.app .phone .fc.f4 { bottom: 6% !important; left: 4px !important; animation-delay: -3.6s !important; }
@media (max-width: 1100px) and (min-width: 961px) {
    .app .ag { gap: 32px !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important; }
    .app .phone .fc.f1, .app .phone .fc.f3 { right: 2px !important; }
    .app .phone .fc.f2, .app .phone .fc.f4 { left: 2px !important; }
}
@media (max-width: 960px) {
    .app .ag { grid-template-columns: 1fr !important; gap: 36px !important; text-align: right !important; }
    .app .phone { margin: 28px auto 0 !important; max-width: 390px !important; }
    .app .phone .fc.f1 { right: 4px !important; }
    .app .phone .fc.f2 { left: 4px !important; }
    .app .phone .fc.f3 { right: 4px !important; }
    .app .phone .fc.f4 { left: 4px !important; }
}