:root { --ink:#0b0b0d; --lime:#C6FF00; --hot:#ff2d55; --paper:#eceef2; --muted:#8b8b93; }
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; background: var(--ink); color: #f5f5f2; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.en { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* الهيدر */
.top { position: fixed; inset-inline: 0; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; mix-blend-mode: difference; }
.logo { font-weight: 900; letter-spacing: 5px; font-size: 18px; color: #fff; }
#cartBtn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; }
#cartBadge { position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--lime); color: #111; font-size: 11px; font-weight: 900; display: grid; place-items: center; padding: 0 4px; }
#cartBadge.bump { animation: bump .45s cubic-bezier(.3,1.8,.5,1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.7); } 100% { transform: scale(1); } }

/* القلب */
.heart { position: relative; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.85); display: grid; place-items: center; color: #222; transition: transform .2s; }
.heart:active { transform: scale(.85); }
.heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: fill .2s, stroke .2s; }
.heart.on svg { fill: var(--hot); stroke: var(--hot); animation: bump .4s; }
.spark { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--hot); animation: spark .6s ease-out forwards; }
@keyframes spark { to { transform: rotate(var(--a)) translateY(-26px); opacity: 0; } }

.fly { position: fixed; z-index: 99; object-fit: cover; border-radius: 12px; pointer-events: none; transition: all .65s cubic-bezier(.5,-.3,.7,1); }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translate(-50%, 30px); opacity: 0; background: #fff; color: #111; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; transition: .3s; z-index: 80; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* السعر: إنجليزي وعلى الشمال */
.egp { direction: ltr; unicode-bidi: isolate; display: inline-block; font-weight: 900; letter-spacing: .5px; white-space: nowrap; }
/* العروض */
.pp { display: inline-flex; flex-wrap: wrap; gap: 2px 6px; align-items: baseline; direction: ltr; }
.was { font-weight: 600; opacity: .55; font-size: .8em; text-decoration: line-through; }
.offb { background: var(--lime); color: #111; border-radius: 999px; padding: 3px 9px; font-size: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
