/* ============================================================
   الوكالة إستور — طبقة الإخراج الاحترافي (Pro Layer)
   حركة مبنية على transform/opacity فقط لتبقى خفيفة
   ============================================================ */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
:root { --ink: #020f22; --ink-2: #061a38; --neon: #ffb23f; --cyan: #4fb3ff; --ease-o: cubic-bezier(.16, 1, .3, 1); }
html { scroll-behavior: smooth; }
::selection { background: var(--awk-accent); color: #1a1000; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--awk-primary), var(--awk-accent)); border-radius: 10px; border: 2px solid var(--awk-surface); }

/* ---------- شاشة البداية ---------- */
#boot { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: radial-gradient(600px 400px at 50% 40%, #0a3b78, var(--ink)); transition: opacity .5s, visibility .5s; }
#boot.done { opacity: 0; visibility: hidden; }
#boot .b { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
#boot img { width: 92px; background: #fff; border-radius: 22px; padding: 8px; animation: bootPop .7s var(--ease-o) both; }
#boot svg { position: absolute; inset: 0; animation: spin 1.1s linear infinite; }
@keyframes bootPop { from { transform: scale(.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- شريط الإعلان العلوي ---------- */
.demo-bar { background: var(--ink); color: #c8d6ee; font-size: .8rem; font-weight: 500; padding: .45rem .75rem; display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.demo-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 178, 63, .14), transparent); transform: translateX(100%); animation: barSweep 5s ease-in-out infinite; }
@keyframes barSweep { 60%, 100% { transform: translateX(-100%); } }
.demo-bar .pill { display: inline-flex; align-items: center; gap: .4rem; padding: .12rem .6rem; border-radius: 999px; background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .35); color: #7ff0b0; font-weight: 700; font-size: .72rem; letter-spacing: .3px; }
.demo-bar a { color: var(--neon); font-weight: 700; text-decoration: none; }
.demo-bar a:hover { color: #fff; }

/* ---------- الهيدر: زجاج + اختفاء عند النزول ---------- */
.site-header { transition: transform .45s var(--ease-o), box-shadow .3s, background .3s; }
.site-header.hide { transform: translateY(-100%); }
.site-header.scrolled { background: color-mix(in srgb, var(--awk-surface) 78%, transparent); }
.site-header::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--awk-accent), var(--cyan), transparent); opacity: 0; transition: opacity .4s; }
.site-header.scrolled::after { opacity: .8; }
.mainnav a.nav-i.active { color: var(--awk-primary); }
.mainnav a.nav-i.active::before { inset-inline: .8rem; }
.icon-btn { transition: transform .25s var(--ease-o), background .2s, color .2s; }
.icon-btn:hover { transform: translateY(-2px) scale(1.06); }
.icon-btn .count:not(:empty) { animation: countPop .5s var(--ease-o); }
@keyframes countPop { 0% { transform: scale(.3); } 60% { transform: scale(1.25); } }
.mega { animation: megaIn .35s var(--ease-o); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- أزرار: لمعة + تموّج ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease-o), box-shadow .3s, background .2s, color .2s; }
.btn:not(.btn-link):not(.btn-sm)::after { content: ''; position: absolute; inset-block: 0; width: 45%; inset-inline-start: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: inset-inline-start .7s var(--ease-o); pointer-events: none; z-index: 1; }
.btn:hover::after { inset-inline-start: 120%; }
.btn-primary:hover, .btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--awk-primary) 70%, transparent); }
.rip { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); pointer-events: none; animation: rip .65s ease-out forwards; z-index: 2; }
@keyframes rip { to { transform: scale(4); opacity: 0; } }

/* ---------- كشف النصوص كلمةً كلمة ---------- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-o); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: none; }
.split .gradient-text { background: none; }
.awk-card { position: relative; }
.gradient-text .w > span { background: linear-gradient(100deg, #fff 10%, #ffd27a 60%, var(--awk-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reveal { transition: opacity .8s var(--ease-o), transform .9s var(--ease-o); transform: translateY(28px) scale(.985); }
.reveal.in { transform: none; }
.reveal-l { opacity: 0; transform: translateX(-36px); } .reveal-r { opacity: 0; transform: translateX(36px); }
.reveal-l.in, .reveal-r.in { opacity: 1; transform: none; }
.sec-head h2::after { transform-origin: right; transform: skewX(-12deg) scaleX(0); transition: transform 1s var(--ease-o) .35s; }
.sec-head.in h2::after { transform: skewX(-12deg) scaleX(1); }

/* ---------- الهيرو: شبكة منظورية + شفق + بارالاكس ---------- */
.hero2 { --px: 0; --py: 0; background-color: var(--ink); isolation: isolate; }
.hero2 .aurora { position: absolute; z-index: -1; width: 120vmax; height: 120vmax; inset-inline-start: 50%; top: 50%; translate: 50% -50%; background: conic-gradient(from var(--a), rgba(5, 61, 122, 0), rgba(79, 179, 255, .22), rgba(248, 148, 0, .2), rgba(5, 61, 122, 0) 60%); animation: aur 22s linear infinite; filter: blur(40px); opacity: .9; pointer-events: none; }
@keyframes aur { to { --a: 360deg; } }
.hero2 .floor { position: absolute; z-index: -1; inset-inline: -20%; bottom: -10%; height: 55%; background-image: linear-gradient(rgba(79, 179, 255, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 179, 255, .22) 1px, transparent 1px); background-size: 56px 56px; transform: perspective(500px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: floor 3.5s linear infinite; pointer-events: none; }
@keyframes floor { to { background-position: 0 56px; } }
.hero2 .orb.o1 { translate: calc(var(--px) * -40px) calc(var(--py) * -30px); }
.hero2 .orb.o2 { translate: calc(var(--px) * 50px) calc(var(--py) * 40px); }
.hero2 .live-wrap { translate: calc(var(--px) * 14px) calc(var(--py) * 10px); transition: translate .2s linear; }
.hero2 .inner { transform: translateY(calc(var(--sy, 0) * 1px)); opacity: var(--so, 1); }
.hero2 h1 { letter-spacing: -.5px; }
.hero2 .stars-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero2 .stars-bg i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .0; animation: tw 4s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .8; transform: scale(1.6); } }

/* لوحة الكود (order.json) */
.code-win { background: rgba(2, 12, 30, .65); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; margin: .9rem 0; overflow: hidden; direction: ltr; text-align: left; }
.code-win .body { display: flex; font: 500 .82rem/1.75 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; padding: .7rem 0; min-height: 11.2rem; }
.code-win .ln { color: rgba(255, 255, 255, .28); padding: 0 .8rem; text-align: right; user-select: none; border-inline-end: 1px solid rgba(255, 255, 255, .08); }
.code-win pre { margin: 0; padding: 0 .9rem; color: #d6e4ff; white-space: pre-wrap; flex: 1; font: inherit; }
.code-win pre .k { color: #7fd1ff; } .code-win pre .s { color: #ffc56b; } .code-win pre .n { color: #8ff0b4; } .code-win pre .p { color: rgba(255, 255, 255, .5); }
.code-win pre .cur { display: inline-block; width: 7px; height: 1.05em; vertical-align: -.15em; background: var(--neon); animation: blink 1s steps(1) infinite; }
.code-win .foot { display: flex; justify-content: space-between; padding: .45rem .9rem; font-size: .7rem; color: rgba(255, 255, 255, .5); border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.code-win .foot span { display: inline-flex; align-items: center; gap: .4rem; }
.live-panel { position: relative; }
.live-panel::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a), transparent 0 65%, var(--neon), var(--cyan), transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: aur 6s linear infinite; pointer-events: none; }

/* ---------- رأس الصفحات الداخلية ---------- */
.page-head { background: var(--ink); padding: 3.6rem 0 3.2rem; isolation: isolate; border-bottom: 1px solid rgba(255, 255, 255, .06); }
[data-bs-theme=dark] .page-head { background: var(--ink); }
.page-head::after { display: none; }
.page-head .ph-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.page-head .ph-deco::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 20%, transparent 70%); }
.page-head .ph-deco .g1, .page-head .ph-deco .g2 { position: absolute; border-radius: 50%; filter: blur(50px); animation: drift 12s ease-in-out infinite; }
.page-head .ph-deco .g1 { width: 380px; height: 380px; background: rgba(248, 148, 0, .32); top: -180px; inset-inline-end: 6%; }
.page-head .ph-deco .g2 { width: 320px; height: 320px; background: rgba(79, 179, 255, .28); bottom: -200px; inset-inline-start: 10%; animation-direction: reverse; }
.page-head .ph-deco .ring { position: absolute; width: 170px; height: 170px; inset-inline-end: 7%; top: 50%; translate: 0 -50%; border-radius: 40px; border: 1px solid rgba(255, 255, 255, .14); transform: rotate(18deg); animation: ringF 9s ease-in-out infinite; display: grid; place-items: center; color: rgba(255, 255, 255, .55); font-size: 3.2rem; background: linear-gradient(145deg, rgba(255, 255, 255, .08), transparent); backdrop-filter: blur(4px); }
@keyframes ringF { 50% { transform: rotate(8deg) translateY(-12px); } }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.3px; }
.page-head .breadcrumb { display: inline-flex; padding: .3rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); margin-bottom: 1rem; }
@media (max-width: 767px) { .page-head .ph-deco .ring { display: none; } .page-head { padding: 2.6rem 0 2.2rem; } }

/* ---------- البطاقات: حدّ متدرّج دوّار + رفع ---------- */
.awk-card, .num-card, .blog-card, .tile, .chip, .stat { --a: 0deg; }
.awk-card { transition: transform .5s var(--ease-o), box-shadow .5s var(--ease-o), border-color .3s; }
.awk-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -28px rgba(5, 61, 122, .55); border-color: transparent; }
.awk-card::before, .num-card::before, .blog-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--a), transparent 0 60%, var(--awk-accent), var(--cyan), transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 6; }
.awk-card:hover::before, .num-card:hover::before, .blog-card:hover::before { opacity: 1; animation: aur 3s linear infinite; }
.num-card:hover, .blog-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(5, 61, 122, .5); }
.blog-card, .num-card { position: relative; }
.price-panel .total, .awk-card .price { font-variant-numeric: tabular-nums; }
.price-panel .total { display: inline-block; animation: tick .45s var(--ease-o); }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; filter: blur(3px); } }
.opt-pill { transition: transform .3s var(--ease-o), background .2s, color .2s, box-shadow .3s; }
.btn-check:checked + .opt-pill { animation: optPop .4s var(--ease-o); box-shadow: 0 8px 20px -10px var(--awk-primary); }
@keyframes optPop { 40% { transform: scale(1.08); } }
.chip { transition: transform .3s var(--ease-o), background .2s, color .2s, box-shadow .3s; }
.chip:hover { transform: translateY(-2px); }
.chip.on { box-shadow: 0 10px 22px -12px var(--awk-primary); }

/* ---------- أقسام: خلفية شبكية ناعمة ---------- */
.section { position: relative; }
.section[style*="surface-2"]::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(color-mix(in srgb, var(--awk-primary) 14%, transparent) 1px, transparent 1.3px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); opacity: .6; }
.section > .container { position: relative; }
.marquee:hover .track { animation-play-state: paused; }

/* ---------- الفوتر ---------- */
.footer { background: radial-gradient(800px 300px at 85% 0%, rgba(248, 148, 0, .14), transparent 60%), radial-gradient(700px 300px at 0% 100%, rgba(79, 179, 255, .12), transparent 60%), var(--ink); overflow: hidden; }
.footer::before { top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--awk-accent), var(--cyan), transparent); }
.footer::after { content: 'الوكالة إستور'; position: absolute; inset-inline: 0; bottom: -.18em; text-align: center; font: 800 clamp(4rem, 15vw, 12rem)/1 'Cairo', 'Tajawal', sans-serif; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none; white-space: nowrap; }
.footer > .container { position: relative; z-index: 1; padding-bottom: 4rem; }
.footer a { transition: color .2s, padding .3s var(--ease-o); }
.footer ul a:hover, .footer li a:hover { padding-inline-start: .35rem; }

/* ---------- مؤشر متوهّج ---------- */
#glow { position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, color-mix(in srgb, var(--awk-accent) 13%, transparent), transparent 65%); opacity: 0; transition: opacity .4s; will-change: transform; }
body.has-glow #glow { opacity: 1; }
#app, #c, main { position: relative; z-index: 1; }

/* ---------- نوافذ وقوائم ---------- */
.modal.fade .modal-dialog { transform: translateY(30px) scale(.96); transition: transform .45s var(--ease-o); }
.modal.show .modal-dialog { transform: none; }
.modal-backdrop.show { backdrop-filter: blur(6px); opacity: .55; }
.offcanvas { transition: transform .45s var(--ease-o) !important; }
.toast, .awk-toast { animation: toastIn .5s var(--ease-o); }
@keyframes toastIn { from { transform: translateY(20px) scale(.95); opacity: 0; } }
.accordion-button { transition: background .3s, color .3s; }
.accordion-collapse.collapsing { transition: height .4s var(--ease-o); }
.form-control, .form-select { transition: border-color .25s, box-shadow .35s var(--ease-o), transform .25s; }
.form-control:focus, .form-select:focus { transform: translateY(-1px); }

/* ---------- تقليل الحركة والجوال ---------- */
@media (max-width: 991px) { .hero2 .aurora { filter: none; opacity: .5; animation-duration: 40s; } #glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .split .w > span, .reveal, .reveal-l, .reveal-r { transform: none !important; opacity: 1 !important; }
  .hero2 .inner { transform: none; opacity: 1; } #boot { display: none; }
}

.live-top .t { margin-inline-start: .6rem; font-weight: 700; }
.code-win pre span { unicode-bidi: isolate; }
.dot-live { display: inline-block; flex: none; vertical-align: middle; }
.split .w { padding-inline: .08em; margin-inline: -.08em; }
@media (max-width: 991px) { .hero2 .orb { display: none; } }

/* ============================================================
   Navbar احترافي (nav2)
   ============================================================ */
.site-header.nav2, .site-header.nav2.scrolled { background: transparent; border: 0; backdrop-filter: none; padding: .55rem 0; box-shadow: none; }
.site-header.nav2::after { display: none; }
.site-header.nav2.hide { transform: translateY(-130%); }
.nav-shell { position: relative; display: flex; align-items: center; gap: .6rem; min-height: 66px; padding: .45rem .55rem .45rem .7rem; border-radius: 22px; background: color-mix(in srgb, var(--awk-surface) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border: 1px solid var(--awk-line); box-shadow: 0 10px 30px -22px rgba(5, 61, 122, .6); transition: box-shadow .4s, min-height .4s var(--ease-o), background .3s; }
.nav-shell::after { content: ''; position: absolute; inset-inline: 18%; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--awk-accent), var(--cyan), transparent); opacity: 0; transition: opacity .4s; }
.scrolled .nav-shell { min-height: 58px; box-shadow: 0 18px 40px -20px rgba(5, 61, 122, .55); }
.scrolled .nav-shell::after { opacity: 1; }
.nav2 .brand-logo { height: 46px; transition: height .4s var(--ease-o); }
.scrolled .brand-logo { height: 40px; }
.nlinks { position: relative; align-items: center; gap: .1rem; margin-inline-start: .8rem; isolation: isolate; }
.nlinks > a, .nl-more { position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .9rem; border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--bs-body-color); text-decoration: none; background: none; border: 0; transition: color .25s; white-space: nowrap; }
.nlinks > a:hover, .nl-more:hover, .nlinks > a.active { color: var(--awk-primary); }
.nlinks > a.active::after { content: ''; position: absolute; bottom: 3px; inset-inline-start: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--awk-accent); translate: 50% 0; }
.nlinks .chev { font-size: .7rem; transition: transform .3s var(--ease-o); }
.nlinks > a[data-mega]:hover .chev, .more:hover .chev, .more.open .chev { transform: rotate(180deg); }
.nlinks .ink { position: absolute; z-index: -1; top: 50%; height: 40px; translate: 0 -50%; border-radius: 12px; background: color-mix(in srgb, var(--awk-primary) 9%, transparent); opacity: 0; transition: left .35s var(--ease-o), width .35s var(--ease-o), opacity .25s; pointer-events: none; }
.nlinks.hov .ink { opacity: 1; }
.more { position: relative; }
.more-menu { position: absolute; top: calc(100% + 14px); inset-inline-end: -40px; width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .6rem; border-radius: 20px; background: var(--awk-surface); border: 1px solid var(--awk-line); box-shadow: 0 30px 60px -25px rgba(2, 15, 34, .45); opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top; transition: .3s var(--ease-o); z-index: 1040; }
.more-menu::before { content: ''; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.more:hover .more-menu, .more.open .more-menu { opacity: 1; visibility: visible; transform: none; }
.more-menu a, .off-links a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 14px; color: var(--bs-body-color); text-decoration: none; transition: background .2s, transform .25s var(--ease-o); }
.more-menu a:hover, .more-menu a.active { background: var(--awk-surface-2); transform: translateX(-3px); }
.more-menu b { display: block; font-size: .92rem; } .more-menu small { color: var(--awk-muted); font-size: .76rem; }
.more-menu .ic, .off-links .ic, .mg-item .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; color: var(--awk-primary); background: color-mix(in srgb, var(--awk-primary) 9%, transparent); transition: .3s var(--ease-o); }
.more-menu a:hover .ic, .mg-item:hover .ic { background: var(--awk-accent); color: #1a1000; transform: rotate(-8deg) scale(1.05); }
.nav2 .actions { margin-inline-start: auto; display: flex; align-items: center; gap: .15rem; }
.search-btn { display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 .85rem; border-radius: 14px; border: 1px solid var(--awk-line); background: var(--awk-surface-2); color: var(--awk-muted); font-size: .9rem; transition: border-color .25s, box-shadow .3s, color .2s; margin-inline-end: .25rem; }
.search-btn:hover { border-color: var(--awk-accent); color: var(--bs-body-color); box-shadow: 0 0 0 4px color-mix(in srgb, var(--awk-accent) 15%, transparent); }
.search-btn i { font-size: 1.05rem; } .search-btn kbd, .cmdk kbd { font: 600 .7rem/1 ui-monospace, monospace; padding: .3rem .45rem; border-radius: 6px; background: var(--awk-surface); border: 1px solid var(--awk-line); color: var(--awk-muted); box-shadow: none; }
.btn-cta { background: linear-gradient(135deg, var(--awk-accent), #ffb547); color: #1a1000; font-weight: 800; border: 0; border-radius: 14px; padding: .6rem 1.1rem; align-items: center; gap: .45rem; margin-inline-start: .35rem; box-shadow: 0 10px 24px -12px rgba(248, 148, 0, .9); }
.btn-cta:hover { color: #1a1000; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(248, 148, 0, .95); }
@media (max-width: 1199px) { .nlinks > a, .nl-more { padding: .5rem .6rem; font-size: .9rem; } }

/* الميجا منيو */
.nav2 .mega { position: absolute; inset-inline: 0; top: calc(100% - 4px); background: none; border: 0; box-shadow: none; padding: 0; animation: none; }
.nav2 .mega.show { display: block; }
.mega-in { display: grid; grid-template-columns: 1fr 270px; gap: .9rem; padding: 1rem; border-radius: 24px; background: var(--awk-surface); border: 1px solid var(--awk-line); box-shadow: 0 40px 80px -30px rgba(2, 15, 34, .5); animation: megaIn .4s var(--ease-o); }
.mg-head { display: flex; justify-content: space-between; align-items: center; padding: .2rem .4rem .7rem; font-weight: 700; font-size: .85rem; color: var(--awk-muted); }
.mg-head a { color: var(--awk-primary); text-decoration: none; }
.mg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.mg-item { display: flex; align-items: center; gap: .65rem; padding: .7rem; border-radius: 16px; color: var(--bs-body-color); text-decoration: none; position: relative; transition: background .2s; animation: mgIn .45s var(--ease-o) both; animation-delay: var(--d); }
.mg-item:hover { background: var(--awk-surface-2); }
.mg-item .tx { min-width: 0; } .mg-item b { display: block; font-size: .9rem; line-height: 1.35; } .mg-item small { display: block; color: var(--awk-muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-item .n { position: absolute; top: .45rem; inset-inline-end: .55rem; font-size: .68rem; font-weight: 700; color: var(--awk-muted); }
@keyframes mgIn { from { opacity: 0; transform: translateY(8px); } }
.mg-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem; border-radius: 18px; color: #fff; text-decoration: none; background: radial-gradient(300px 200px at 100% 0%, rgba(248, 148, 0, .45), transparent 60%), linear-gradient(150deg, #04295a, var(--ink)); }
.mg-promo b { font-size: 1.25rem; } .mg-promo > span:not(.eyebrow):not(.btn) { font-size: .85rem; opacity: .78; }
.mg-promo .big { position: absolute; inset-inline-start: -10px; bottom: -18px; font-size: 6rem; opacity: .08; transform: rotate(-15deg); }
.mg-promo:hover { color: #fff; } .mg-promo:hover .btn { transform: translateX(-4px); }

/* لوحة البحث */
.cmdk { position: fixed; inset: 0; z-index: 2050; display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; background: rgba(2, 15, 34, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: .3s; }
.cmdk.show { opacity: 1; visibility: visible; }
.cmdk-box { position: relative; width: min(680px, 92vw); border-radius: 24px; background: var(--awk-surface); border: 1px solid var(--awk-line); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .55); overflow: hidden; transform: translateY(-14px) scale(.97); transition: transform .4s var(--ease-o); }
.cmdk.show .cmdk-box { transform: none; }
.cmdk-in { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--awk-line); }
.cmdk-in i { font-size: 1.3rem; color: var(--awk-accent); }
.cmdk-in input { flex: 1; border: 0; outline: 0; background: none; font-size: 1.15rem; color: var(--bs-body-color); }
.cmdk-in kbd { cursor: pointer; }
.cmdk .suggest { position: static; border: 0; border-radius: 0; box-shadow: none; max-height: 50vh; }
.cmdk-quick { padding: 1rem 1.2rem 1.2rem; }
.cmdk .suggest.show + .cmdk-quick { display: none; }
.cmdk-quick .lbl, .nav-off .lbl { font-size: .78rem; font-weight: 700; color: var(--awk-muted); margin-bottom: .6rem; }
.cmdk-quick .chip, .nav-off .chip { text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; font-size: .85rem; padding: .4rem .85rem; }

/* قائمة الجوال */
.nav-off { width: min(360px, 88vw) !important; border: 0 !important; }
.nav-off .offcanvas-body { padding-top: 0; }
.off-links a { padding: .55rem .5rem; font-weight: 600; opacity: 0; transform: translateX(20px); }
.offcanvas.show .off-links a, .offcanvas.showing .off-links a { animation: offIn .45s var(--ease-o) forwards; animation-delay: calc(var(--i) * 35ms + 80ms); }
.off-links a.active { background: var(--awk-surface-2); color: var(--awk-primary); }
@keyframes offIn { to { opacity: 1; transform: none; } }

/* ============================================================
   لوحة معاينة الطلب (Proof) — بديل لوحة الكود
   ============================================================ */
.proof { display: grid; grid-template-columns: 38px 1fr 118px; gap: .7rem; margin: .9rem 0 .2rem; }
.proof .tools { display: flex; flex-direction: column; gap: .3rem; padding: .35rem; border-radius: 12px; background: rgba(2, 12, 30, .4); border: 1px solid rgba(255, 255, 255, .1); align-self: start; }
.proof .tools i { display: grid; place-items: center; height: 28px; border-radius: 8px; font-size: .95rem; color: rgba(255, 255, 255, .6); }
.proof .tools i.on { background: var(--awk-accent); color: #1a1000; }
.board { position: relative; height: 215px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.3px) 0 0/16px 16px, linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); }
.board .cm { position: absolute; width: 16px; height: 16px; border-color: rgba(255, 255, 255, .55); border-style: solid; border-width: 0; }
.board .cm.tl { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; } .board .cm.tr { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.board .cm.bl { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; } .board .cm.br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.board .dim { position: absolute; top: 8px; inset-inline-start: 50%; translate: 50% 0; font-size: .68rem; padding: .1rem .55rem; border-radius: 999px; background: rgba(79, 179, 255, .18); color: #a9d8ff; border: 1px solid rgba(79, 179, 255, .35); white-space: nowrap; z-index: 3; }
.board .pcur { position: absolute; z-index: 4; font-size: 1.05rem; color: #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); animation: pcur 7s var(--ease-o) infinite; top: 0; left: 0; }
@keyframes pcur { 0% { transform: translate(40px, 170px); } 25% { transform: translate(150px, 95px); } 45% { transform: translate(260px, 120px); } 70% { transform: translate(200px, 60px); } 100% { transform: translate(40px, 170px); } }
.proof .side { display: flex; flex-direction: column; }
.proof .lbl { font-size: .7rem; opacity: .6; margin-bottom: .35rem; }
.proof .sw { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.proof .sw span { aspect-ratio: 1; border-radius: 8px; background: var(--c); display: grid; place-items: center; font: 800 .7rem/1 'Cairo', sans-serif; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); animation: swPulse 4s ease-in-out infinite; }
.proof .sw span:nth-child(2) { animation-delay: 1s; } .proof .sw span:nth-child(3) { animation-delay: 2s; } .proof .sw span:nth-child(4) { animation-delay: 3s; }
@keyframes swPulse { 0%, 20%, 100% { transform: none; } 10% { transform: translateY(-3px) scale(1.12); } }
.proof .specs { display: flex; flex-direction: column; gap: .3rem; }
.proof .specs span { font-size: .72rem; padding: .28rem .5rem; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); animation: specIn .5s var(--ease-o) both; animation-delay: calc(var(--i) * 120ms + 300ms); }
@keyframes specIn { from { opacity: 0; transform: translateX(-10px); } }
.mock { position: relative; z-index: 2; width: 100%; height: 100%; display: grid; place-items: center; }
.mock.in > * { animation: mockIn .8s var(--ease-o) both; }
@keyframes mockIn { from { opacity: 0; transform: scale(.82) rotate(-6deg) translateY(14px); } }
/* كرت شخصي */
.m-card { position: absolute; width: 190px; height: 106px; border-radius: 9px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55); }
.m-card.front { display: flex; align-items: center; gap: .7rem; padding: 0 1rem; color: #fff; background: radial-gradient(120px 80px at 0% 100%, rgba(248, 148, 0, .55), transparent 70%), linear-gradient(135deg, #0a4a92, #031f40); transform: translate(-18px, 14px) rotate(-6deg); }
.m-card.front .lg, .m-roll .lg, .m-mug .lg { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font: 800 1.3rem/1 'Cairo', sans-serif; background: var(--awk-accent); color: #1a1000; }
.m-card.front b { display: block; font-size: .78rem; } .m-card.front small { font-size: .62rem; opacity: .7; }
.m-card.front em { position: absolute; inset-inline: 1rem; bottom: 12px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--awk-accent), transparent); }
.m-card.back { background: #fff; color: #053d7a; padding: .8rem 1rem; transform: translate(24px, -18px) rotate(5deg); }
.m-card.back b { font-size: .7rem; white-space: nowrap; display: block; margin-bottom: .5rem; } .m-card.back i { display: block; height: 5px; width: 70%; border-radius: 4px; background: #d8e2f0; margin-bottom: .35rem; } .m-card.back i.s { width: 45%; }
.m-card.back .qr { position: absolute; inset-inline-end: .8rem; bottom: .8rem; width: 30px; height: 30px; border-radius: 4px; background: repeating-conic-gradient(#053d7a 0 25%, #fff 0 50%) 0 0/8px 8px; }
.mock.in .m-card.back { animation-delay: .12s; }
/* ختم */
.m-stamp { width: 150px; color: #4f8dff; transform: rotate(-10deg); filter: drop-shadow(0 0 1px rgba(79, 141, 255, .6)); }
.mock.in .m-stamp { animation: stampIn .9s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes stampIn { 0% { opacity: 0; transform: scale(1.7) rotate(-10deg); } 55% { opacity: 1; transform: scale(.94) rotate(-10deg); } 100% { transform: scale(1) rotate(-10deg); } }
/* رول أب */
.m-roll { display: flex; flex-direction: column; align-items: center; }
.m-roll .sheet { width: 82px; height: 160px; border-radius: 4px 4px 0 0; padding: .7rem .5rem; display: flex; flex-direction: column; align-items: center; gap: .4rem; color: #fff; text-align: center; background: radial-gradient(80px 80px at 50% 110%, rgba(248, 148, 0, .7), transparent 70%), linear-gradient(180deg, #0a63bd, #031f40); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55); transform-origin: bottom; }
.mock.in .m-roll .sheet { animation: rollUp 1s var(--ease-o) both; }
@keyframes rollUp { from { transform: scaleY(0); } }
.m-roll .lg { width: 30px; height: 30px; font-size: 1rem; } .m-roll b { font-size: .7rem; line-height: 1.3; } .m-roll i { display: block; width: 80%; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .35); } .m-roll i.s { width: 55%; }
.m-roll .cta { margin-top: auto; font-size: .6rem; font-weight: 800; padding: .2rem .5rem; border-radius: 999px; background: var(--awk-accent); color: #1a1000; }
.m-roll .base { width: 104px; height: 10px; border-radius: 3px 3px 6px 6px; background: linear-gradient(#cfd8e6, #8796ad); }
/* مج */
.m-mug { position: relative; display: flex; align-items: center; }
.m-mug .body { width: 112px; height: 120px; border-radius: 8px 8px 22px 22px; background: linear-gradient(90deg, #dfe6f1, #fff 40%, #e9eef6); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55); display: grid; place-items: center; position: relative; z-index: 1; }
.m-mug .band { width: 100%; padding: .55rem 0; display: flex; flex-direction: column; align-items: center; gap: .3rem; background: linear-gradient(135deg, #0a4a92, #031f40); color: #fff; }
.m-mug .band b { font-size: .62rem; } .m-mug .lg { width: 28px; height: 28px; font-size: .95rem; }
.m-mug .handle { width: 40px; height: 64px; border: 10px solid #e6ecf5; border-inline-end: 0; border-radius: 30px 0 0 30px; margin-inline-start: -6px; order: 2; }
.m-mug .steam { position: absolute; top: -34px; inset-inline-start: 30px; display: flex; gap: 12px; }
.m-mug .steam i { width: 6px; height: 26px; border-radius: 6px; background: linear-gradient(transparent, rgba(255, 255, 255, .5)); animation: steam 2.4s ease-in-out infinite; }
.m-mug .steam i:nth-child(2) { animation-delay: .5s; } .m-mug .steam i:nth-child(3) { animation-delay: 1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px) scaleY(.6); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px) scaleY(1.1); } }
.m-generic { width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; font-size: 3rem; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 70% 60%), hsl(calc(var(--h) + 30) 75% 45%)); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55); }
.mega-in > *, .mg-item, .mg-item .tx { min-width: 0; }
.mg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cmdk .search-wrap, .cmdk-box.search-wrap { max-width: none; flex: none; }
.cmdk .cmdk-in i { position: static; transform: none; inset: auto; }
.cmdk .cmdk-in input { padding: 0; border-radius: 0; background: none; height: auto; }
.cmdk.show { transition: opacity .3s, visibility 0s; }

/* ---------- شريط المنتجات المتحرك (بديل الماركي) ---------- */
.mq2 { padding: 3.2rem 0 1rem; }
.mq-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.mq-head .mq-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--awk-line), transparent); }
.mq-head a { font-weight: 700; font-size: .9rem; color: var(--awk-primary); text-decoration: none; white-space: nowrap; }
.mq-head a:hover { color: var(--awk-accent); }
.mq-view { overflow: hidden; display: flex; flex-direction: column; gap: .8rem; padding-block: .4rem; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq2 60s linear infinite; }
.mq-track.rev { animation-direction: reverse; animation-duration: 70s; }
.mq-view:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; gap: .75rem; padding-inline-end: .75rem; }
@keyframes mq2 { to { transform: translateX(50%); } }
.mq-pill { display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1.1rem .45rem .5rem; border-radius: 16px; background: var(--awk-surface); border: 1px solid var(--awk-line); color: var(--bs-body-color); text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px -14px rgba(5, 61, 122, .5); transition: transform .35s var(--ease-o), border-color .25s, box-shadow .35s; }
.mq-pill .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; color: hsl(var(--h) 65% 38%); background: hsl(var(--h) 85% 94%); transition: .35s var(--ease-o); }
[data-bs-theme=dark] .mq-pill .ic { color: hsl(var(--h) 85% 75%); background: hsl(var(--h) 45% 20%); }
.mq-pill .tx { display: flex; flex-direction: column; line-height: 1.25; }
.mq-pill b { font-weight: 700; font-size: .92rem; } .mq-pill small { font-size: .72rem; color: var(--awk-muted); }
.mq-pill:hover { transform: translateY(-3px); border-color: var(--awk-accent); box-shadow: 0 14px 28px -16px rgba(248, 148, 0, .7); color: var(--bs-body-color); }
.mq-pill:hover .ic { background: var(--awk-accent); color: #1a1000; transform: rotate(-8deg); }
@media (max-width: 767px) { .mq-head a { display: none; } .mq-track { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } .mq-view { overflow-x: auto; } }
.sec-head .eyebrow { display: flex; width: max-content; margin-bottom: .6rem !important; }

/* ============================================================
   المتجر (shop2)
   ============================================================ */

.shop2 .rail-track { display: flex; gap: .65rem; overflow-x: auto; padding: .4rem .2rem 1rem; scrollbar-width: none; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.shop2 .rail-track::-webkit-scrollbar { display: none; }
.rc { flex: none; scroll-snap-align: center; display: flex; align-items: center; gap: .7rem; padding: .55rem 1.1rem .55rem .65rem; border-radius: 18px; background: var(--awk-surface); border: 1px solid var(--awk-line); color: var(--bs-body-color); text-decoration: none; transition: transform .35s var(--ease-o), box-shadow .35s, border-color .25s, background .25s; }
.rc:hover { transform: translateY(-3px); border-color: var(--awk-accent); box-shadow: 0 14px 28px -18px rgba(248, 148, 0, .7); color: var(--bs-body-color); }
.rc .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 1.15rem; --h: 215; color: hsl(var(--h) 65% 38%); background: hsl(var(--h) 85% 94%); transition: .35s var(--ease-o); }
[data-bs-theme=dark] .rc .ic { color: hsl(var(--h) 85% 75%); background: hsl(var(--h) 45% 20%); }
.rc .tx { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; } .rc b { font-size: .92rem; } .rc small { font-size: .72rem; color: var(--awk-muted); }
.rc.on { background: linear-gradient(135deg, #04295a, #0a5cb0); border-color: transparent; color: #fff; box-shadow: 0 16px 30px -16px rgba(5, 61, 122, .8); }
.rc.on small { color: rgba(255, 255, 255, .7); } .rc.on .ic { background: var(--awk-accent); color: #1a1000; }
.subs { display: flex; flex-wrap: wrap; gap: .45rem; margin: -.2rem 0 1rem; animation: swapIn .4s var(--ease-o); }
.subs a { padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--bs-body-color); text-decoration: none; background: var(--awk-surface-2); border: 1px solid transparent; transition: .25s; }
.subs a small { color: var(--awk-muted); margin-inline-start: .2rem; } .subs a:hover { border-color: var(--awk-accent); }
.subs a.on { background: var(--awk-accent); color: #1a1000; } .subs a.on small { color: rgba(26, 16, 0, .65); }

/* شريط الأدوات اللاصق */
.shop-bar { position: sticky; top: calc(var(--hdr, 0px) + 8px); z-index: 1020; margin-bottom: 1.2rem; transition: top .45s var(--ease-o); }
.sb-in { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .55rem; border-radius: 20px; background: color-mix(in srgb, var(--awk-surface) 85%, transparent); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); border: 1px solid var(--awk-line); box-shadow: 0 14px 34px -24px rgba(5, 61, 122, .55); }
.sb-search { position: relative; flex: 1 1 220px; min-width: 180px; margin: 0; }
.sb-search i.bi-search { position: absolute; inset-inline-start: .9rem; top: 50%; translate: 0 -50%; color: var(--awk-muted); pointer-events: none; }
.sb-search input { width: 100%; height: 44px; padding-inline: 2.5rem 2.3rem; border-radius: 14px; border: 1px solid transparent; background: var(--awk-surface-2); color: var(--bs-body-color); outline: 0; transition: .25s; }
.sb-search input:focus { border-color: var(--awk-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--awk-accent) 16%, transparent); background: var(--awk-surface); }
.sb-search button { position: absolute; inset-inline-end: .5rem; top: 50%; translate: 0 -50%; border: 0; background: none; color: var(--awk-muted); width: 28px; height: 28px; }
.sb-types { display: flex; gap: .2rem; padding: .25rem; border-radius: 14px; background: var(--awk-surface-2); overflow-x: auto; scrollbar-width: none; }
.sb-types button { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; border: 0; background: none; padding: .45rem .8rem; border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--awk-muted); transition: .25s; }
.sb-types button:hover { color: var(--bs-body-color); } .sb-types button.on { background: var(--awk-surface); color: var(--awk-primary); box-shadow: 0 4px 12px -6px rgba(5, 61, 122, .5); }
.sb-types button.on i { color: var(--awk-accent); }
.sb-right { display: flex; gap: .45rem; margin-inline-start: auto; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: .45rem; height: 44px; padding: 0 .9rem; border-radius: 14px; border: 1px solid var(--awk-line); background: var(--awk-surface); color: var(--bs-body-color); font-size: .88rem; font-weight: 600; white-space: nowrap; transition: .25s; }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--awk-accent); } .dd-btn .chev { font-size: .65rem; transition: transform .3s var(--ease-o); } .dd.open .chev { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px; padding: .4rem; border-radius: 16px; background: var(--awk-surface); border: 1px solid var(--awk-line); box-shadow: 0 30px 60px -25px rgba(2, 15, 34, .45); opacity: 0; visibility: hidden; transform: translateY(6px) scale(.98); transform-origin: top; transition: .25s var(--ease-o); z-index: 30; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu > button { display: flex; align-items: center; gap: .6rem; width: 100%; border: 0; background: none; padding: .55rem .7rem; border-radius: 11px; color: var(--bs-body-color); font-size: .88rem; text-align: start; }
.dd-menu > button:hover { background: var(--awk-surface-2); } .dd-menu > button.on { color: var(--awk-primary); font-weight: 700; background: var(--awk-surface-2); } .dd-menu > button i { color: var(--awk-accent); }
.price-menu { min-width: 250px; padding: .9rem; }
.seg { display: inline-flex; padding: .25rem; border-radius: 14px; background: var(--awk-surface-2); }
.seg button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: none; color: var(--awk-muted); transition: .25s; } .seg button.on { background: var(--awk-surface); color: var(--awk-primary); box-shadow: 0 4px 12px -6px rgba(5, 61, 122, .5); }
.sb-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .7rem .4rem 0; color: var(--awk-muted); font-size: .9rem; }
.sb-meta b { color: var(--bs-body-color); font-size: 1.05rem; }
.sb-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.sb-tags button { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid var(--awk-line); background: var(--awk-surface); color: var(--bs-body-color); padding: .2rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600; transition: .2s; }
.sb-tags button:hover { border-color: #dc3545; color: #dc3545; } .sb-tags .clr { border-color: transparent; background: none; color: var(--awk-primary); text-decoration: underline; }

/* الشبكة */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.15rem; }
.pgrid.swap { animation: swapIn .5s var(--ease-o); }
.pgrid.is-list { grid-template-columns: 1fr; gap: .9rem; }
.pc { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: var(--awk-surface); border: 1px solid var(--awk-line); overflow: hidden; transition: transform .5s var(--ease-o), box-shadow .5s var(--ease-o), border-color .3s; animation: pcIn .6s var(--ease-o) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes pcIn { from { opacity: 0; transform: translateY(22px) scale(.98); } }
.pc:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--awk-accent) 55%, var(--awk-line)); box-shadow: 0 30px 56px -28px rgba(5, 61, 122, .55); }
.pc-media { position: relative; overflow: hidden; margin: .55rem .55rem 0; border-radius: 18px; }
.pc-media .ph { aspect-ratio: 5/4; border-radius: 0; } .pc-media img.img-cover { aspect-ratio: 5/4; display: block; width: 100%; object-fit: cover; }
.pc:hover .pc-media .ph .obj { transform: rotate(4deg) scale(1.12) translateY(-4px); }
.pc-badges { position: absolute; top: .6rem; inset-inline-start: .6rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; z-index: 6; }
.pc-badges .b { font-size: .72rem; font-weight: 800; padding: .22rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #1a1000; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.pc-badges .off { background: var(--awk-accent); } .pc-badges .hot i { color: #ef4b1f; } .pc-badges .q { background: rgba(5, 61, 122, .92); color: #fff; }
.pc-acts { position: absolute; top: .6rem; inset-inline-end: .6rem; display: flex; flex-direction: column; gap: .4rem; z-index: 6; }
.pc-acts button { width: 36px; height: 36px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .92); color: #3a4560; display: grid; place-items: center; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .55); transition: transform .35s var(--ease-o), background .2s, color .2s, opacity .3s; }
.pc-acts button:hover { transform: scale(1.12); } .pc-acts [data-fav].on { background: #ef3f5a; color: #fff; }
.pc-acts [data-qv] { opacity: 0; transform: translateX(10px); } .pc:hover .pc-acts [data-qv] { opacity: 1; transform: none; }
@media (hover: none) { .pc-acts [data-qv] { opacity: 1; transform: none; } }
.pc-body { display: flex; flex-direction: column; gap: .35rem; padding: .85rem 1.05rem 1.05rem; flex: 1; }
.pc-cat { font-size: .74rem; font-weight: 700; color: var(--awk-accent); display: flex; align-items: center; gap: .3rem; min-height: 1em; }
.pc-title { font-weight: 800; font-size: 1.08rem; line-height: 1.4; color: var(--bs-body-color); text-decoration: none; transition: color .2s; } .pc:hover .pc-title { color: var(--awk-primary); }
.pc-short { margin: 0; color: var(--awk-muted); font-size: .85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .15rem; } .pc-chips span { font-size: .7rem; padding: .15rem .55rem; border-radius: 8px; background: var(--awk-surface-2); color: var(--awk-muted); }
.pc-foot { margin-top: auto; padding-top: .8rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; border-top: 1px dashed var(--awk-line); }
.pc-price { display: flex; flex-direction: column; line-height: 1.25; } .pc-price small { font-size: .72rem; color: var(--awk-muted); } .pc-price .fr { color: var(--awk-accent); font-weight: 700; }
.pc-price .v { display: flex; align-items: baseline; gap: .4rem; } .pc-price b { font-size: 1.35rem; font-weight: 800; color: var(--awk-primary); font-variant-numeric: tabular-nums; } .pc-price del { font-size: .8rem; color: var(--awk-muted); }
.pc-price .q { font-weight: 800; color: var(--awk-primary); font-size: 1.05rem; }
.pc-go { flex: none; width: 46px; height: 46px; border-radius: 15px; border: 0; display: grid; place-items: center; font-size: 1.15rem; background: var(--awk-surface-2); color: var(--awk-primary); text-decoration: none; transition: .4s var(--ease-o); }
.pc:hover .pc-go { background: var(--awk-accent); color: #1a1000; transform: rotate(-8deg) scale(1.06); box-shadow: 0 12px 22px -10px rgba(248, 148, 0, .9); } .pc-go:hover { color: #1a1000; }
/* عرض القائمة */
.pc.is-list { flex-direction: row; align-items: stretch; border-radius: 22px; }
.pc.is-list .pc-media { flex: 0 0 230px; margin: .55rem; } .pc.is-list .pc-media .ph, .pc.is-list .pc-media img.img-cover { aspect-ratio: auto; height: 100%; min-height: 160px; }
.pc.is-list .pc-body { padding: 1rem 1.2rem; } .pc.is-list .pc-short { -webkit-line-clamp: 2; max-width: 60ch; }
.pc.is-list .pc-foot { border: 0; padding-top: .4rem; justify-content: flex-start; gap: 1.2rem; }
.pc.is-list:hover { transform: translateX(-6px); }
@media (max-width: 575px) { .pc.is-list .pc-media { flex-basis: 120px; } .pc.is-list .pc-chips, .pc.is-list .pc-short { display: none; } .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } .pgrid:not(.is-list) .pc-short, .pgrid:not(.is-list) .pc-chips { display: none; } .pgrid:not(.is-list) .pc-body { padding: .7rem .75rem .8rem; } .pgrid:not(.is-list) .pc-title { font-size: .95rem; } .pgrid:not(.is-list) .pc-go { width: 38px; height: 38px; border-radius: 12px; } .pgrid:not(.is-list) .pc-price b { font-size: 1.1rem; } .pgrid:not(.is-list) .pc-acts [data-qv] { display: none; } }
/* بطاقة الطلب المخصص */
.pc-cta { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: .6rem; padding: 1.6rem; border-radius: 24px; color: #fff; background: radial-gradient(300px 220px at 100% 0%, rgba(248, 148, 0, .5), transparent 60%), linear-gradient(150deg, #04295a, var(--ink)); animation: pcIn .6s var(--ease-o) both; animation-delay: .3s; }
.pc-cta b { font-size: 1.5rem; font-weight: 800; } .pc-cta > span:not(.eyebrow) { font-size: .88rem; opacity: .78; } .pc-cta .btn { align-self: flex-start; margin-top: .4rem; }
.pc-cta .orb { position: absolute; width: 180px; height: 180px; inset-inline-start: -60px; bottom: -80px; border-radius: 50%; background: rgba(79, 179, 255, .3); filter: blur(40px); }
.more-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: .6rem; } .more-wrap small { color: var(--awk-muted); }
.more-wrap .prog { width: 220px; height: 5px; border-radius: 5px; background: var(--awk-surface-2); overflow: hidden; } .more-wrap .prog i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--awk-accent), #ffb547); transition: width .6s var(--ease-o); }
.shop-empty { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; border-radius: 28px; border: 2px dashed var(--awk-line); }
.shop-empty .ei { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 28px; display: grid; place-items: center; font-size: 2rem; color: var(--awk-accent); background: var(--awk-surface-2); animation: ringF 6s ease-in-out infinite; }
@media (max-width: 767px) { .sb-types { order: 3; width: 100%; } .sb-right { margin-inline-start: 0; flex: 1; justify-content: flex-end; } .dd-btn span:not(.chev) { max-width: 90px; overflow: hidden; text-overflow: ellipsis; } .shop-bar { top: calc(var(--hdr, 0px) + 4px); } }

.pc-acts [data-fav] .bi-heart-fill { display: none; } .pc-acts [data-fav].on .bi-heart-fill { display: inline; animation: countPop .5s var(--ease-o); } .pc-acts [data-fav].on .bi-heart { display: none; }
body[data-page=shop] .page-head { padding: 2.4rem 0 2rem; } body[data-page=shop] .page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
body[data-page=shop] .page-head .breadcrumb { margin-bottom: .6rem; } body[data-page=shop] .page-head .ph-deco .ring { width: 120px; height: 120px; font-size: 2.2rem; }

/* إصلاح: الهيدر لاصق على مستوى الصفحة كلها (الحاوية لا تحبسه) */
#site-header { display: contents; }

/* ============================================================
   المتجر — تخطيط متجر إلكتروني (store)
   ============================================================ */
body[data-page=shop] .page-head { padding: 1.5rem 0 1.3rem; } body[data-page=shop] .page-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
body[data-page=shop] .page-head .ph-deco .ring { display: none; } body[data-page=shop] .page-head .breadcrumb { margin-bottom: .5rem; }
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1.4rem 0 1.2rem; }
.usp > div { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 18px; background: var(--awk-surface); border: 1px solid var(--awk-line); transition: .35s var(--ease-o); }
.usp > div:hover { transform: translateY(-3px); border-color: var(--awk-accent); box-shadow: 0 14px 28px -20px rgba(248, 148, 0, .8); }
.usp span { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; color: var(--awk-accent); background: color-mix(in srgb, var(--awk-accent) 13%, transparent); }
.usp b { display: block; font-size: .92rem; } .usp small { color: var(--awk-muted); font-size: .75rem; }
@media (max-width: 991px) { .usp { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 575px) { .usp small { display: none; } .usp > div { padding: .6rem .7rem; } .usp span { width: 36px; height: 36px; font-size: 1.05rem; } }
.cat-hero { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; border-radius: 22px; color: #fff; position: relative; overflow: hidden; background: radial-gradient(400px 200px at 0% 0%, rgba(248, 148, 0, .4), transparent 60%), linear-gradient(135deg, #04295a, #0a5cb0); animation: swapIn .5s var(--ease-o); }
.cat-hero .ch-ic { width: 58px; height: 58px; flex: none; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); }
.cat-hero h2 { margin: 0; font-size: 1.5rem; } .cat-hero p { margin: .2rem 0 0; opacity: .8; font-size: .9rem; }

.shop2.store { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.shop2 .side { position: sticky; top: calc(var(--hdr, 0px) + 12px); max-height: calc(100vh - var(--hdr, 0px) - 24px); transition: top .45s var(--ease-o); }
.side-in { max-height: inherit; overflow-y: auto; padding: 1rem; border-radius: 22px; background: var(--awk-surface); border: 1px solid var(--awk-line); box-shadow: 0 14px 34px -26px rgba(5, 61, 122, .5); scrollbar-width: thin; }
.side-head h2 { margin: 0 0 .4rem; font-size: 1.05rem; display: flex; gap: .5rem; align-items: center; } .side-head h2 i { color: var(--awk-accent); }
.fbtn .n, .side-head .n, .fhead .n { min-width: 20px; height: 20px; padding: 0 .35rem; border-radius: 999px; display: inline-grid; place-items: center; font-size: .7rem; font-weight: 800; background: var(--awk-accent); color: #1a1000; }
.ft { border-bottom: 1px solid var(--awk-line); padding: .35rem 0; } .ft:last-of-type { border-bottom: 0; }
.ft > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: .6rem .2rem; font-weight: 800; font-size: .95rem; }
.ft > summary::-webkit-details-marker { display: none; } .ft > summary span { display: flex; gap: .5rem; align-items: center; } .ft > summary span i { color: var(--awk-accent); }
.ft .chev { font-size: .75rem; color: var(--awk-muted); transition: transform .3s var(--ease-o); } .ft[open] .chev { transform: rotate(180deg); }
.ft-body { padding: .2rem .1rem .7rem; animation: swapIn .35s var(--ease-o); }
.ft-cat { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .6rem; border-radius: 12px; color: var(--bs-body-color); text-decoration: none; font-size: .9rem; font-weight: 600; transition: background .2s, color .2s, transform .25s var(--ease-o); }
.ft-cat span { display: flex; gap: .55rem; align-items: center; } .ft-cat span i { color: var(--awk-muted); width: 1.1em; transition: color .2s; }
.ft-cat:hover { background: var(--awk-surface-2); transform: translateX(-3px); color: var(--bs-body-color); } .ft-cat.on { background: color-mix(in srgb, var(--awk-primary) 9%, transparent); color: var(--awk-primary); } .ft-cat.on span i { color: var(--awk-accent); }
.ft em, .ft-subs em { font-style: normal; font-size: .72rem; color: var(--awk-muted); background: var(--awk-surface-2); padding: .05rem .45rem; border-radius: 999px; }
.ft-subs { margin: .1rem 0 .4rem; padding-inline-start: 1.9rem; border-inline-start: 2px solid var(--awk-line); margin-inline-start: 1.1rem; display: flex; flex-direction: column; animation: swapIn .35s var(--ease-o); }
.ft-subs a { display: flex; justify-content: space-between; align-items: center; padding: .35rem .5rem; border-radius: 9px; font-size: .84rem; color: var(--awk-muted); text-decoration: none; transition: .2s; } .ft-subs a:hover { color: var(--bs-body-color); background: var(--awk-surface-2); } .ft-subs a.on { color: var(--awk-primary); font-weight: 800; }
.ck { display: flex; align-items: center; gap: .65rem; padding: .45rem .5rem; border-radius: 11px; cursor: pointer; transition: background .2s; margin: 0; } .ck:hover { background: var(--awk-surface-2); }
.ck input { position: absolute; opacity: 0; pointer-events: none; }
.ck .bx { width: 20px; height: 20px; flex: none; border-radius: 7px; border: 2px solid var(--awk-line); background: var(--awk-surface); display: grid; place-items: center; transition: .25s var(--ease-o); }
.ck .bx::after { content: ''; width: 10px; height: 6px; border-inline-start: 2.5px solid #1a1000; border-bottom: 2.5px solid #1a1000; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .25s var(--ease-o); }
.ck input:checked + .bx { background: var(--awk-accent); border-color: var(--awk-accent); } .ck input:checked + .bx::after { transform: rotate(-45deg) scale(1); } .ck input:focus-visible + .bx { box-shadow: 0 0 0 4px color-mix(in srgb, var(--awk-accent) 25%, transparent); }
.ck .lb { flex: 1; display: flex; gap: .5rem; align-items: center; font-size: .9rem; font-weight: 600; } .ck .lb i { color: var(--awk-muted); }
/* شريط السعر المزدوج */
.rng-track { position: relative; height: 26px; margin: .3rem .4rem .8rem; }
.rng-track::before { content: ''; position: absolute; inset-inline: 0; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 5px; background: var(--awk-surface-2); }
.rng-track [data-fill] { position: absolute; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 5px; background: linear-gradient(90deg, var(--awk-accent), #ffb547); }
.rng-track input[type=range] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.rng-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--awk-accent); box-shadow: 0 4px 10px -3px rgba(0, 0, 0, .4); cursor: grab; transition: transform .2s; }
.rng-track input[type=range]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--awk-accent); cursor: grab; }
.rng-track input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); cursor: grabbing; }
.rng-in { display: flex; align-items: flex-end; gap: .4rem; margin-bottom: .4rem; } .rng-in em { color: var(--awk-muted); padding-bottom: .55rem; } .rng-in b { padding-bottom: .5rem; font-size: .78rem; color: var(--awk-muted); }
.rng-in label { flex: 1; margin: 0; display: flex; flex-direction: column; gap: .15rem; font-size: .72rem; color: var(--awk-muted); }
.rng-in input { width: 100%; height: 38px; border-radius: 11px; border: 1px solid var(--awk-line); background: var(--awk-surface-2); color: var(--bs-body-color); padding: 0 .6rem; font-weight: 700; outline: 0; text-align: center; transition: .2s; } .rng-in input:focus { border-color: var(--awk-accent); background: var(--awk-surface); }
.help { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; padding: .8rem; border-radius: 16px; background: linear-gradient(135deg, #04295a, #0a5cb0); color: #fff; } .help > i { font-size: 1.6rem; color: var(--awk-accent); } .help div { flex: 1; line-height: 1.3; } .help small { display: block; opacity: .75; font-size: .72rem; }

/* الشريط العلوي داخل العمود الرئيسي */
.main .shop-bar { top: calc(var(--hdr, 0px) + 10px); margin-bottom: 1rem; }
.fbtn { display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding: 0 1rem; border-radius: 14px; border: 1px solid var(--awk-line); background: var(--awk-surface); font-weight: 700; color: var(--bs-body-color); }
.sel { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .85rem; color: var(--awk-muted); white-space: nowrap; }
.sel select { height: 44px; border-radius: 14px; border: 1px solid var(--awk-line); background: var(--awk-surface); color: var(--bs-body-color); padding: 0 .9rem; font-weight: 700; font-size: .88rem; outline: 0; cursor: pointer; } .sel select:focus { border-color: var(--awk-accent); }
.sb-meta b { color: var(--bs-body-color); }

/* بطاقة المنتج بزر شراء */
.shop2 .pgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.shop2 .pgrid.is-list { grid-template-columns: 1fr; }
.pc-foot { flex-direction: column; align-items: stretch; gap: .7rem; border-top: 0; padding-top: .5rem; }
.pc-price .v { flex-direction: row; } .pc-price b { font-size: 1.3rem; } .pc-price del { order: 2; }
.pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 44px; border-radius: 14px; border: 1.5px solid var(--awk-primary); background: transparent; color: var(--awk-primary); font-weight: 800; font-size: .9rem; text-decoration: none; transition: .35s var(--ease-o); position: relative; overflow: hidden; }
.pc-btn.alt { border-color: var(--awk-line); color: var(--bs-body-color); background: var(--awk-surface-2); }
.pc:hover .pc-btn, .pc-btn:hover { background: var(--awk-accent); border-color: var(--awk-accent); color: #1a1000; box-shadow: 0 12px 22px -12px rgba(248, 148, 0, .9); }
.pc-btn:active { transform: scale(.97); }
.pc.is-list .pc-foot { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1.5rem; } .pc.is-list .pc-btn { min-width: 180px; }
.pc.is-list .pc-body { justify-content: center; }
@media (max-width: 991px) { .shop2.store { grid-template-columns: 1fr; } .shop2 .side { display: none; } .main .shop-bar { top: calc(var(--hdr, 0px) + 6px); } }
@media (max-width: 575px) { .pgrid:not(.is-list) .pc-btn { height: 38px; font-size: .78rem; border-radius: 11px; } .pgrid:not(.is-list) .pc-btn i { display: none; } .sel span { display: none; } .sel select { padding: 0 .5rem; } .pc.is-list .pc-foot { gap: .6rem; flex-wrap: wrap; } .pc.is-list .pc-btn { min-width: 0; flex: 1; } }
.nav-off .offcanvas-body .ft:first-child { border-top: 0; } #fDrawer .offcanvas-footer { background: var(--awk-surface); }

body[data-page=shop] #c { padding-top: 0 !important; margin-top: -.6rem; }
.usp { margin-top: 1.2rem; }
@media (max-width: 767px) { .sb-search { order: 1; flex: 1 1 100%; } .fbtn { order: 2; } .sb-right { order: 3; flex: 1; justify-content: space-between; margin-inline-start: 0; } .sel { flex: 1; } .sel select { width: 100%; } }
@media (max-width: 575px) { .shop2 .pgrid:not(.is-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; } .usp { gap: .5rem; } }
.ck { position: relative; }
.site-header.nav2.scrolled { background: linear-gradient(to bottom, var(--bs-body-bg) 62%, transparent); }
.main .sb-meta { padding: 0 .3rem .8rem; }
