/* جوبان ماركت — فحمي وذهبي
   الأرضية فحمي #121212، الأسطح #1C1C1E، والذهبي #F5B800 للأشياء اللي بتنكبس بس.
   صور المنتجات بتضل على خلفية فاتحة عشان ألوان العبوات تبين صح.
   الحركة السينمائية بـ motion.js (GSAP)؛ هون بس الحالات الثابتة والانتقالات الصغيرة. */
:root {
  --bg: #121212;
  --surface: #1C1C1E;
  --surface-2: #2A2A2D;
  --text: #F5F5F7;
  --text-2: #C7C7CC;
  --muted: #98989F;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --gold: #F5B800;
  --gold-hover: #FFC933;
  --gold-soft: rgba(245, 184, 0, 0.14);
  --on-gold: #141414;
  --well: #F2F2F4;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px;
  --r-sm: 12px; --r-md: 16px; --r-lg: 28px; --pill: 999px;
  --header: 64px;
  --tools: 72px;

  --font: "Alexandria", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fast: 200ms cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lift: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* ---------- الأساس ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  /* بدون scroll-behavior: smooth: بتتعارك مع ScrollTrigger وبتخلّي الصفحة تنط. الروابط الداخلية بتنزلق بـ glideTo */
  scroll-padding-top: calc(var(--header) + var(--tools) + var(--s2));
  scrollbar-gutter: stable; /* لما نقفل السكرول تحت النوافذ، الصفحة ما بتنزاح */
  background: var(--bg);
}
html.lock { overflow: hidden; }
body {
  margin: 0;
  padding-bottom: 96px; /* مكان زر السلة العايم */
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--on-gold); }
a, button, input, textarea, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.wrap { width: min(1200px, 100% - var(--s4)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; top: -64px; inset-inline-start: var(--s2); z-index: 100; padding: var(--s1) var(--s2); border-radius: var(--r-sm); background: var(--gold); color: var(--on-gold); }
.skip:focus { top: var(--s2); }
.noscript { padding: var(--s2); text-align: center; }

/* عناوين الأقسام: الكلمات بتطلع من تحت قناع (motion.js بيقسمها كلمات، مش حروف، عشان الحروف العربية تضل موصولة) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.12em; margin-block: -0.12em; }
.w > span { display: inline-block; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 48px; padding: 0 var(--s3);
  border: 1px solid transparent; border-radius: var(--pill);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background var(--fast), border-color var(--fast), color var(--fast), transform var(--fast);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 var(--s2); font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 var(--s4); font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ink { background: var(--surface-2); color: var(--text); }
.btn-ink:hover { background: #38383C; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); transition: background var(--fast); }
.icon-btn:hover { background: #38383C; }
.link { padding: var(--s1); border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.link:hover { color: var(--text); }
.count-badge {
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--pill);
  background: var(--gold); color: var(--on-gold);
  font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; font-variant-numeric: tabular-nums;
}
@keyframes bump { 40% { transform: scale(1.3); } }
.bump { animation: bump 280ms cubic-bezier(0.34, 1.6, 0.64, 1); }

/* ---------- الهيدر ---------- */
.top { position: sticky; top: 0; z-index: 40; height: var(--header); background: rgba(18, 18, 18, 0.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: var(--s3); height: 100%; }
.logo { display: block; border-radius: 50%; transition: transform var(--fast); }
.logo:hover { transform: rotate(-8deg) scale(1.05); }
.logo img { width: 46px; height: 46px; }
.top-links { display: flex; gap: var(--s1); margin-inline-start: auto; font-size: 14px; font-weight: 600; }
.top-links a { padding: var(--s1) 14px; border-radius: var(--pill); color: var(--text-2); text-decoration: none; transition: background var(--fast), color var(--fast); }
.top-links a:hover { background: var(--surface); color: var(--text); }
.top-act { display: flex; align-items: center; gap: var(--s1); }
.cart-btn .ico { color: var(--gold); }
@keyframes pinBob { 50% { transform: translateY(-3px); } }
@keyframes cartNudge { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-14deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-5deg); } }
.map-btn .ico { animation: pinBob 1.6s ease-in-out infinite; }
.cart-btn .ico, .fc-l .ico { transform-origin: 50% 85%; animation: cartNudge 3.2s ease-in-out infinite; }

/* ---------- الواجهة: «جوبان» ضخمة، منتجات طايرة حولها، وعربية جوبان تحتها ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: max(660px, calc(100svh - var(--header)));
}
/* صورة الممر: الحواف ظاهرة (الرفوف)، والنص فوق بقعة غامقة عشان يضل مقروء، وبتذوب بالفحمي تحت */
.hero-bg { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: var(--bg); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 46% 50% at 50% 52%, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.38) 75%, rgba(18, 18, 18, 0) 100%),
    linear-gradient(to bottom, rgba(18, 18, 18, 0.7) 0%, rgba(18, 18, 18, 0.3) 18%, rgba(18, 18, 18, 0.32) 62%, var(--bg) 100%);
}
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 52%; width: min(1100px, 150vw); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(245, 184, 0, 0.17), rgba(245, 184, 0, 0.05) 55%, transparent 72%);
  pointer-events: none;
}
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fl {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--w) * min(1px, 0.075vw));
  rotate: calc(var(--r) * 1deg);
  pointer-events: auto; cursor: pointer; /* المنتج الطاير بيفتح تفاصيله */
}
.fl img { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.55)); }
.hero-in { position: relative; z-index: 2; max-width: min(780px, 56vw); padding-block: var(--s6) 0; text-align: center; }
.hero-place {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 12px;
  border: 1px solid var(--line-2); border-radius: var(--pill); color: var(--text-2); font-size: 13px; font-weight: 600;
}
.hero-place .ico { width: 16px; height: 16px; color: var(--gold); }
.hero h1 { margin-top: var(--s2); }
.mega {
  /* الكلمة عرضها تقريباً ٣ أضعاف حجم الخط، والذهبي بينرسم بس جوّا صندوقها، فالحجم محسوب يضل أصغر من الصندوق بكل الشاشات */
  display: block; padding: 0.02em 0.06em;
  font-size: clamp(96px, 16vw, 240px); font-weight: 800; line-height: 1.12; letter-spacing: 0;
  color: var(--gold);
  background: linear-gradient(100deg, var(--gold) 0 40%, #FFE9A8 50%, var(--gold) 60% 100%) 100% 50% / 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.h1-line { display: block; margin-top: 4px; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; }
.hero-sub { max-width: 34em; margin: var(--s2) auto 0; color: var(--text-2); font-size: 17px; }
.h1-line, .hero-sub, .hero-place { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.hero .cta { justify-content: center; }

/* عربية جوبان: ذهبية مثل عربية اللوجو. حجمها بيتبع العرض والطول، فبتضل ظاهرة بأول شاشة */
.cart-hero {
  position: relative; z-index: 2; flex: none;
  width: clamp(220px, min(26vw, 36svh), 380px); aspect-ratio: 400 / 270;
  margin-top: var(--s3);
  /* بتنسحب يمين وشمال (app.js). pan-y: السحبة الطولية بالإصبع بتضل تنزّل الصفحة */
  touch-action: pan-y; cursor: grab; transform-origin: 50% 100%;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.cart-hero img { -webkit-user-drag: none; }
.cart-hero.dragging, .cart-hero.dragging .ch-item { cursor: grabbing; }
.cart-hero::after {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 6%; bottom: -3%; height: 9%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.65), transparent);
}
.ch-back, .ch-front { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-items { position: absolute; inset: 0; }
.ch-item {
  position: absolute; left: calc(var(--l) * 1%); bottom: calc(var(--b) * 1%); width: calc(var(--w) * 1%);
  /* --lean: ميلان المنتجات وقت سحب العربية (app.js) */
  rotate: calc((var(--r) + var(--lean, 0)) * 1deg); transform-origin: 50% 100%;
  cursor: pointer; /* كل منتج بالعربية بيفتح تفاصيله */
}
.ch-item img { width: 100%; height: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }

/* قبل ما GSAP يبلش، عناصر الافتتاحية مخفية (بس لما .motion موجودة) */
.motion [data-intro], .motion .fl img, .motion .cart-hero, .motion .ch-item { visibility: hidden; }

/* ---------- شريط الأقسام المتحرك ---------- */
.marquee { overflow: hidden; background: var(--gold); color: var(--on-gold); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: var(--s3); padding: 14px 0 14px var(--s3); font-size: 18px; font-weight: 700; white-space: nowrap; }
.marquee-track .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
@keyframes marquee { to { transform: translateX(50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- بانر الطلب ---------- */
.promo-sec { padding: var(--s12) 0 0; }
.promo {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: var(--s4);
  min-height: 300px; padding: var(--s6); border-radius: var(--r-lg); background: var(--surface);
}
.promo::before {
  content: ""; position: absolute; z-index: -1; left: -10%; top: 50%; width: 620px; height: 620px; translate: 0 -50%;
  background: radial-gradient(closest-side, rgba(245, 184, 0, 0.3), rgba(245, 184, 0, 0.06) 60%, transparent);
}
.promo::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(245, 184, 0, 0.24); pointer-events: none; }
.promo h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; }
.promo p { max-width: 32em; margin-top: 14px; color: var(--text-2); font-size: 16px; }
.promo-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.promo-steps { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; }
.promo-steps .ico { width: 18px; height: 18px; color: var(--gold); }
.promo-art { position: relative; height: 230px; }
.promo-tile { position: absolute; width: 124px; height: 124px; border-radius: 22px; background: var(--well); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5); }
.promo-tile img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.promo-tile.t1 { left: 4%; top: 6%; rotate: -8deg; }
.promo-tile.t2 { left: 32%; top: 34%; z-index: 1; width: 140px; height: 140px; }
.promo-tile.t3 { left: 62%; top: 2%; rotate: 7deg; }
.promo-tile.t4 { left: 70%; top: 54%; rotate: -4deg; width: 100px; height: 100px; }

/* ---------- المتجر ---------- */
.store { padding: var(--s12) 0 var(--s8); }
.store-head h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.15; }
.store-head p { margin-top: var(--s1); color: var(--muted); font-size: 16px; }
.results-head h2 { font-size: clamp(22px, 2.4vw, 28px); }
.tools { position: sticky; top: var(--header); z-index: 30; margin-top: var(--s3); padding: 12px 0; background: rgba(18, 18, 18, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.search {
  display: flex; align-items: center; gap: 12px; max-width: 640px; min-height: 52px; padding-inline: var(--s2) var(--s3);
  border: 1.5px solid var(--line-2); border-radius: var(--pill); background: var(--surface);
  transition: border-color var(--fast), box-shadow var(--fast);
}
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.search .ico { color: var(--muted); }
.search:focus-within .ico { color: var(--gold); }
.search input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; font-size: 16px; }
.search input:focus { outline: none; }
.search input::placeholder { color: var(--muted); }

/* بطاقات الأقسام */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin-top: var(--s2); }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: var(--s1);
  padding: 12px 12px var(--s2); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  text-align: center;
  transition: transform var(--fast), border-color var(--fast), background var(--fast);
}
.cat:hover { transform: translateY(-4px); border-color: rgba(245, 184, 0, 0.5); }
.cat[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.cat-pic { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-width: 88px; border-radius: var(--r-sm); background: var(--well); overflow: hidden; color: var(--on-gold); }
.cat-pic img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--fast); }
.cat:hover .cat-pic img { transform: scale(1.08); }
.cat-pic b { font-size: 26px; font-weight: 700; color: #6E6E73; }
.cat-pic .ico { width: 30px; height: 30px; }
.cat-name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.cat-n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat[aria-pressed="true"] .cat-n { color: #3A3A3C; }

/* المنتجات */
.results { margin-top: var(--s8); }
.cats[hidden] + .results { margin-top: var(--s2); }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s2); margin-bottom: var(--s3); }
.results-meta { margin-top: 4px; color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s2); }
.pcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: transform 0.35s var(--ease-out), border-color var(--fast), box-shadow var(--fast);
}
/* مع الماوس: البطاقة بتميل ثلاثي الأبعاد تحت المؤشر (--rx/--ry من app.js)، وعلى اللمس بس بترتفع */
.pcard:hover {
  transform: perspective(900px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  border-color: rgba(245, 184, 0, 0.35); box-shadow: var(--lift);
}
/* زر شفاف فوق البطاقة كلها بيفتح التفاصيل؛ زر السلة تحت فوقه */
.pcard-open { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.pcard-open:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
html:not(.motion) .grid.swap .pcard { animation: cardIn 260ms cubic-bezier(0.2, 0, 0, 1) both; animation-delay: calc(var(--i, 0) * 18ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } }
.pcard-media { position: relative; aspect-ratio: 1; margin: var(--s1) var(--s1) 0; border-radius: var(--r-sm); background: var(--well); overflow: hidden; }
.pcard-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.55), transparent 60%);
}
.pcard:hover .pcard-media::after { opacity: 1; }
.pic { position: absolute; inset: 0; }
.pic img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform 500ms var(--ease-out); }
.pcard:hover .pic img { transform: scale(1.07); }
.nophoto { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s1); padding: 14%; text-align: center; }
.nophoto-brand { font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; line-height: 1.3; color: #3A3A3C; overflow-wrap: anywhere; }
.nophoto-line { width: 24px; height: 3px; border-radius: var(--pill); background: var(--gold); }
.pcard-tag {
  position: absolute; top: var(--s1); inset-inline-start: var(--s1); max-width: calc(100% - var(--s2));
  padding: 2px 10px; border-radius: var(--pill); background: #141414; color: #FFFFFF;
  font-size: 11px; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard-body { display: grid; gap: 2px; padding: 12px 12px var(--s1); }
.pcard-foot { position: relative; z-index: 2; margin-top: auto; padding: 0 var(--s1) var(--s1); }
.name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; font-size: 14px; font-weight: 600; line-height: 1.4; }
.size { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* زر «أضف للسلة» الذهبي اللي بيصير عدّاد − ١ + */
.act {
  display: flex; align-items: center; height: 44px; border-radius: var(--r-sm); background: var(--gold); color: var(--on-gold);
  transition: background var(--fast), box-shadow var(--fast);
}
.act button { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: inherit; background: none; color: inherit; transition: transform var(--fast); }
.act button:active { transform: scale(0.88); }
.act .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.act output { flex: 1; min-width: 0; text-align: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.act:not(.has) .a-plus { display: flex; flex: 1; gap: 6px; font-size: 14px; font-weight: 600; }
.act:not(.has) .a-plus:hover { background: var(--gold-hover); }
.act:not(.has) output, .act:not(.has) .a-minus, .act.has .a-label { display: none; }
.act.has { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--gold); animation: actIn 240ms var(--ease-out); }
.act.has output { color: var(--gold); }
@keyframes actIn { from { transform: scale(0.94); } }
.li .act { width: 120px; height: 40px; }
.li .act button { width: 40px; height: 40px; }

.empty { padding: var(--s6) var(--s2); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-align: center; }
.empty h3 { font-size: 20px; }
.empty p { max-width: 30em; margin: var(--s1) auto var(--s3); color: var(--muted); }
.empty-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- كيف تطلب ---------- */
.how { padding: var(--s8) 0; }
.how-in { display: grid; }
.how h2 { max-width: 14em; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.32; }
.how-bar { height: 2px; margin-top: var(--s6); border-radius: var(--pill); background: var(--line-2); overflow: hidden; }
.how-bar i { display: block; height: 100%; background: var(--gold); transform-origin: 100% 50%; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s4); counter-reset: step; }
.steps li { display: grid; align-content: start; gap: 6px; counter-increment: step; }
.steps li::before {
  content: counter(step, arabic-indic);
  font-size: clamp(64px, 7vw, 104px); font-weight: 800; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
}
.steps b { margin-top: var(--s1); font-size: 19px; font-weight: 700; }
.steps span { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- وين المحل ---------- */
.find { padding: var(--s8) 0 var(--s12); }
.find-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s8); }
.find-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.find-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.find h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.32; }
.find p { margin-top: var(--s2); color: var(--text-2); font-size: 17px; }
.phone a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- الفوتر ---------- */
.foot { overflow: hidden; padding: 0 0 calc(var(--s3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-mark {
  /* «جوبان ماركت» عرضها ٦.٤ أضعاف حجم الخط، فالحجم محسوب يعبّي الشاشة بدون ما ينقص من الأطراف */
  padding-top: var(--s6); font-size: min(220px, calc((100vw - 40px) / 6.6)); font-weight: 800; line-height: 1.25; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 184, 0, 0.45);
}
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: var(--s4); }
.foot-logo { width: 56px; height: 56px; }
/* آخر سطر بالموقع: توقيع الصانع، بيفتح إنستغرامه */
.credit { margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--line); text-align: center; }
.credit a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  color: var(--muted); font-size: 13px; text-decoration: none; transition: color var(--fast);
}
.credit a:hover { color: var(--gold); }
.credit b { color: var(--text-2); font-weight: 700; transition: color var(--fast); }
.credit a:hover b { color: var(--gold); }
.credit .ico { width: 16px; height: 16px; }
/* ذكر مصدر صور إندومي وجوي، مثل ما بتطلب رخصة CC BY-SA */
.photo-credit { margin: 0; padding-bottom: var(--s2); text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; }
.photo-credit a { color: inherit; text-underline-offset: 2px; }
.photo-credit a:hover { color: var(--gold); }

/* ---------- زر السلة العايم: ظاهر دايماً، بيصير ذهبي لما فيها أغراض ---------- */
.float-cart {
  position: fixed; z-index: 30; inset-inline-end: var(--s3); bottom: calc(var(--s3) + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 56px; padding: 0 var(--s3) 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(42, 42, 45, 0.92); color: var(--text);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 15px; font-weight: 600;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  transition: transform var(--fast), background var(--fast), color var(--fast), border-color var(--fast);
}
.float-cart:hover { transform: translateY(-2px); }
.float-cart.has { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.fc-l { display: inline-flex; align-items: center; gap: var(--s1); }
.fc-l .ico { color: var(--gold); }
.float-cart.has .fc-l .ico { color: var(--on-gold); }
.float-cart .count-badge { min-width: 32px; height: 32px; line-height: 32px; background: #3A3A3C; color: var(--text); }
.float-cart.has .count-badge { background: var(--on-gold); color: var(--gold); }
.fly { position: fixed; z-index: 60; pointer-events: none; border-radius: var(--r-sm); background: var(--well); object-fit: contain; box-shadow: var(--lift); }

/* ---------- نافذة السلة ---------- */
.sheet {
  display: none; flex-direction: column; width: min(480px, 100% - var(--s4)); max-height: min(88dvh, 760px);
  margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg); color: var(--text); overflow: hidden;
}
/* السلة بتنفتح دائرة من الزر اللي انكبس وبتسكّر راجعة إله (app.js)، والخلفية بتغمق بهدوء */
.sheet[open] { display: flex; }
.sheet::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.sheet.shown::backdrop { opacity: 1; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: var(--s2) var(--s3); background: var(--surface); border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 20px; }
.sheet-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: var(--s2); }
.list-items { display: grid; gap: var(--s1); }
.li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: var(--s1); border-radius: var(--r-sm); background: var(--surface); }
.li-pic { position: relative; width: 56px; height: 56px; border-radius: 10px; background: var(--well); overflow: hidden; }
.li-pic img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.li-pic .nophoto { padding: 4px; }
.li-pic .nophoto-brand { font-size: 10px; }
.li-pic .nophoto-line { display: none; }
.li-name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.li-size { font-size: 13px; color: var(--muted); }
.list-empty { padding: var(--s4) 0; text-align: center; font-weight: 600; }
.list-empty .muted { font-weight: 400; font-size: 14px; }

.fulfil { min-width: 0; margin: var(--s2) 0 0; padding: var(--s2); border: 0; border-radius: var(--r-md); background: var(--surface); }
.fulfil legend { float: inline-start; width: 100%; margin-bottom: 12px; padding: 0; font-size: 15px; font-weight: 700; }
.fulfil-opts { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 72px; padding: var(--s1);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg);
  font-size: 14px; font-weight: 600; text-align: center;
  transition: border-color var(--fast), background var(--fast), color var(--fast);
}
.opt span .ico { color: var(--muted); }
.opt:hover span { border-color: var(--text-2); }
.opt input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.opt input:checked + span .ico { color: var(--on-gold); }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field-label { display: block; margin-top: var(--s2); font-size: 14px; font-weight: 600; }
.fulfil textarea {
  display: block; width: 100%; margin-top: var(--s1); padding: 12px var(--s2);
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg);
  font-size: 16px; line-height: 1.5; resize: vertical;
}
.fulfil textarea::placeholder { color: var(--muted); }
.fulfil textarea:focus { outline: none; border-color: var(--gold); }
.gps-row { margin-top: 12px; }
.gps { width: 100%; }
.gps.on { border-color: var(--gold); color: var(--gold); }
.gps-status { margin-top: var(--s1); color: var(--muted); font-size: 13px; text-align: center; }
.gps-status:empty { display: none; }
.preview { margin-top: var(--s2); border-radius: var(--r-sm); background: var(--surface); }
.preview summary { padding: 12px var(--s2); font-size: 14px; font-weight: 600; cursor: pointer; }
.preview-text { margin: 0; padding: 0 var(--s2) var(--s2); color: var(--text-2); font: 400 14px/1.7 var(--font); white-space: pre-wrap; }
.sheet-foot { display: grid; gap: 4px; padding: 12px var(--s2) calc(var(--s2) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.sheet-sub { display: flex; justify-content: center; gap: var(--s2); }
.sheet-foot .small { text-align: center; }

/* ---------- تفاصيل المنتج: كتاب عربي بيطير من البطاقة وبينفتح ----------
   --rest (٠→١): الكتاب بيلف شوي عشان يبين كعبه الذهبي. --open (٠→١): الغلاف بيلف ١٨٠° على الكعب.
   الديسكتوب: الكعب يمين والغلاف بينفتح لليمين. الموبايل: الكعب فوق والغلاف بينفتح لفوق مثل غطا علبة.
   القيم بتتغير من app.js، وكل الهندسة هون. */
.pd {
  --pw: min(310px, 36vw); --ph: calc(var(--pw) * 1.32); --pd: 18px; --rad: 14px 4px 4px 14px;
  --open: 0; --rest: 0;
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden;
}
.pd[open] { display: grid; place-items: center; }
.pd::backdrop { background: rgba(8, 8, 8, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.pd.shown::backdrop { opacity: 1; }
.pd-close { position: absolute; z-index: 3; top: calc(var(--s2) + env(safe-area-inset-top)); inset-inline-end: var(--s2); opacity: 0; transition: opacity 0.3s, background var(--fast); }
.pd.shown .pd-close { opacity: 1; transition-delay: 0.35s, 0s; }
.pd-stage { position: relative; width: var(--pw); height: var(--ph); perspective: 1600px; }
.pd-book {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform:
    translateX(calc(var(--open) * -50%))
    rotateY(calc(var(--rest) * (1 - var(--open)) * -20deg))
    rotateX(calc(var(--rest) * (1 - var(--open)) * 5deg));
}
.pd-book > * { position: absolute; pointer-events: none; }
.pd-back { inset: 0; border-radius: var(--rad); background: #CFCFD4; transform: translateZ(calc(var(--pd) / -2)); }
.pd-edge { top: 1.5%; left: 0; width: var(--pd); height: 97%; background: repeating-linear-gradient(to right, #F7F3EC 0 1.5px, #DCD4C6 1.5px 2.5px); transform: translateX(-50%) rotateY(-90deg); }
.pd-spine { top: 0; right: 0; width: var(--pd); height: 100%; display: grid; place-items: center; overflow: hidden; background: var(--gold); transform: translateX(50%) rotateY(90deg); }
.pd-spine span { writing-mode: vertical-rl; color: var(--on-gold); font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; }
.pd-page {
  inset: 0; display: flex; flex-direction: column; padding: 22px 24px 18px; overflow: auto; overscroll-behavior: contain;
  pointer-events: auto; border-radius: var(--rad); color: #141414;
  background: linear-gradient(to left, rgba(20, 20, 20, 0.12), transparent 12%), #FBF9F5;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75);
}
.pd-hinge { inset: 0; transform: translateZ(calc(var(--pd) / 2)); transform-style: preserve-3d; }
.pd-cover { position: absolute; inset: 0; transform-origin: 100% 50%; transform: rotateY(calc(var(--open) * 180deg)); transform-style: preserve-3d; }
.pd-face { position: absolute; inset: 0; overflow: hidden; border-radius: var(--rad); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.pd-front { background: var(--well); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75), inset -4px 0 0 var(--gold); }
.pd-front .pd-pic { position: absolute; inset: 0; }
.pd-front .pic img { inset: 12%; width: 76%; height: 76%; }
.pd-tag {
  position: absolute; top: 12px; inset-inline-start: 14px; max-width: calc(100% - 28px);
  padding: 3px 11px; border-radius: var(--pill); background: #141414; color: #FFFFFF;
  font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-inside {
  display: grid; grid-template-rows: minmax(0, 1fr) auto; pointer-events: auto;
  transform: rotateY(180deg); border-radius: 4px 14px 14px 4px;
  background: linear-gradient(to right, rgba(20, 20, 20, 0.12), transparent 12%), #F2F2F4;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.75);
}
.pd-inside .pd-pic { position: relative; }
.pd-cap { padding: 0 20px 22px; color: #3A3A3C; font-size: 13px; font-weight: 600; text-align: center; }
.pd-cap::before { content: ""; display: block; width: 28px; height: 3px; margin: 0 auto 10px; border-radius: var(--pill); background: var(--gold); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--pill); background: #ECE7DE; color: #3A3A3C; font-size: 12px; font-weight: 600; }
.pd-ok { background: rgba(245, 184, 0, 0.24); color: #4D3A00; }
.pd-ok .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.pd-name { margin-top: 10px; font-size: 21px; line-height: 1.35; color: #141414; }
.pd-en { margin-top: 2px; color: #6E6E73; font-size: 13px; text-align: right; }
.pd-facts { display: flex; gap: 10px; margin: 14px 0 0; padding: 12px 0; border-block: 1px solid rgba(20, 20, 20, 0.1); }
.pd-facts > div { flex: 1 1 0; min-width: 0; }
.pd-facts dt { color: #6E6E73; font-size: 11.5px; }
.pd-facts dd { margin: 2px 0 0; color: #141414; font-size: 14px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.pd-where { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; color: #3A3A3C; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.pd-where .ico { width: 16px; height: 16px; margin-top: 2px; color: #A87E00; }
.pd-desc { margin-top: 10px; color: #3A3A3C; font-size: 14px; line-height: 1.65; }
.pd-page { scrollbar-width: none; }
.pd-page::-webkit-scrollbar { display: none; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.pd-act .act { height: 46px; }
.pd-act .act button { height: 46px; }
.pd-ask { min-height: 46px; padding: 0 12px; background: #141414; color: #FFFFFF; font-size: 14px; }
.pd-ask:hover { background: #2C2C2E; }
.pd-ask .ico { color: var(--gold); }
.pd-note { margin-top: 8px; color: #6E6E73; font-size: 12px; }
@media (max-width: 760px) {
  .pd { --pw: min(100vw - 32px, 420px); --ph: min(calc(var(--pw) * 0.84), calc((100dvh - 132px) / 2)); --pd: 14px; --rad: 4px 4px 14px 14px; }
  .pd-book { transform: translateY(calc(var(--open) * 50%)) rotateX(calc(var(--rest) * (1 - var(--open)) * -16deg)); }
  .pd-edge { top: auto; bottom: 0; left: 1.5%; width: 97%; height: var(--pd); background: repeating-linear-gradient(to bottom, #F7F3EC 0 1.5px, #DCD4C6 1.5px 2.5px); transform: translateY(50%) rotateX(-90deg); }
  .pd-spine { right: auto; left: 0; width: 100%; height: var(--pd); transform: translateY(-50%) rotateX(90deg); }
  .pd-spine span { writing-mode: horizontal-tb; font-size: 10px; }
  .pd-page { padding: 14px 16px 14px; background: linear-gradient(to bottom, rgba(20, 20, 20, 0.12), transparent 14%), #FBF9F5; }
  .pd-cover { transform-origin: 50% 0; transform: rotateX(calc(var(--open) * 180deg)); }
  .pd-front { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.75), inset 0 4px 0 var(--gold); }
  .pd-inside { transform: rotateX(180deg); border-radius: 14px 14px 4px 4px; background: linear-gradient(to top, rgba(20, 20, 20, 0.12), transparent 14%), #F2F2F4; }
  .pd-cap { padding-bottom: 16px; }
  .pd-name { margin-top: 8px; font-size: 17px; }
  .pd-en, .pd-note { display: none; }
  .pd-facts { margin-top: 10px; padding: 8px 0; gap: 8px; }
  .pd-facts dd { font-size: 13px; }
  .pd-where { margin-top: 8px; font-size: 12.5px; }
  .pd-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 13px; line-height: 1.55; }
  .pd-actions { padding-top: 10px; }
  .pd-act .act, .pd-act .act button, .pd-ask { height: 44px; min-height: 44px; }
}

/* ---------- الافتتاحية: «جوبان» بتنرسم، بتتعبّى ذهبي، وبعدين الشاشة بتنفتح دائرة على الموقع ----------
   كلها CSS (ما بتستنى GSAP). app.js بيضيف intro-go لما الخط يجهز، و intro-open وقت الفتح، وبيشيلها بالآخر. */
@property --hole { syntax: "<length>"; inherits: false; initial-value: 0px; }
.splash { display: none; }
.intro .splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 2px;
  background: var(--bg);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
  mask: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
}
.splash-name { position: relative; color: var(--gold); font-size: clamp(112px, 24vw, 300px); font-weight: 800; line-height: 1.2; }
.sp-line { display: block; filter: url(#sp-ol); clip-path: inset(-30% 0 -30% 100%); }
.sp-fill { position: absolute; inset: 0; clip-path: circle(8% at 112% 50%); }
.splash-sub { color: var(--text-2); font-size: clamp(16px, 2vw, 22px); font-weight: 600; opacity: 0; }
.intro-go .sp-line { animation: spTrace 0.7s var(--ease-out) 0.1s forwards; }
.intro-go .sp-fill { animation: spFlood 0.6s cubic-bezier(0.76, 0, 0.24, 1) 0.62s forwards; }
.intro-go .splash-sub { animation: spFade 0.7s var(--ease-out) 0.45s forwards; }
.intro-open .splash { animation: spOpen 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards; pointer-events: none; }
@keyframes spTrace { to { clip-path: inset(-30% 0 -30% 0); } }
@keyframes spFlood { to { clip-path: circle(150% at 50% 50%); } }
@keyframes spFade { to { opacity: 1; } }
@keyframes spOpen { 80% { opacity: 1; } to { --hole: 75vmax; opacity: 0; } }

/* ---------- التجاوب ---------- */
@media (max-width: 1100px) {
  .fl-wide { display: none; }
}
@media (max-width: 960px) {
  .top-links { display: none; }
  .top-act { margin-inline-start: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
  .find-in { gap: var(--s4); }
}
@media (max-width: 760px) {
  /* الموبايل: المنتجات بشريط فوق وشريط تحت، والنص بالنص */
  /* من فوق لتحت بدل التوسيط: المساحة الزايدة بتنزل تحت، فالعربية بتضل فوق زر السلة العايم */
  .hero { min-height: max(680px, calc(100svh - var(--header))); justify-content: flex-start; }
  .fl { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: calc(var(--mw) * 1px); }
  .hero-in { max-width: none; padding-block: 112px 0; }
  .hero-sub { margin-top: 10px; }
  .hero .cta { margin-top: var(--s3); }
  .fl-desk { display: none; }
  .cart-hero { width: min(80vw, 300px); margin-top: var(--s2); }
  .promo { grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding: var(--s4) var(--s3) 0; }
  .promo::before { left: 50%; top: auto; bottom: -300px; translate: -50% 0; }
  .promo-art { height: 180px; margin-inline: auto; width: min(100%, 360px); }
  .promo-tile { width: 96px; height: 96px; border-radius: 18px; }
  .promo-tile.t2 { width: 112px; height: 112px; top: 30%; }
  .promo-tile.t4 { width: 82px; height: 82px; }
  .find-in { grid-template-columns: minmax(0, 1fr); }
  .find-photo { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 600px) {
  :root { --header: 56px; --tools: 68px; }
  .wrap { width: min(1200px, 100% - var(--s3)); }
  .logo img { width: 40px; height: 40px; }
  .hero-sub { font-size: 15px; }
  .cta .btn { flex: 1 1 140px; }
  .btn-lg { min-height: 52px; padding: 0 var(--s3); font-size: 15px; }
  .marquee-track span { padding-block: 10px; font-size: 15px; gap: var(--s2); padding-inline-end: var(--s2); }
  .promo-sec { padding-top: var(--s8); }
  .promo { padding: var(--s3) var(--s2) 0; border-radius: 22px; }
  .promo p { font-size: 15px; }
  .promo-act .btn { flex: 1 1 auto; }
  .store { padding-top: var(--s8); }
  .tools { padding: var(--s1) 0; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s1); }
  .cat { padding: var(--s1) 4px 12px; gap: 6px; }
  .cat-pic { max-width: 64px; }
  .cat-name { font-size: 12px; }
  .cat-n { font-size: 11px; }
  .results { margin-top: var(--s6); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard-body { padding: var(--s1) 10px 10px; }
  .name { font-size: 13px; }
  .act, .act button { height: 40px; }
  .act button { width: 40px; }
  .act:not(.has) .a-plus { font-size: 13px; }
  .steps { gap: var(--s4) var(--s2); }
  .steps b { font-size: 16px; }
  .steps span { font-size: 14px; }
  .find { padding-bottom: var(--s8); }
  .find p { font-size: 15px; }
  .float-cart { inset-inline: var(--s2); bottom: calc(var(--s2) + env(safe-area-inset-bottom)); }
  .sheet { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
}
@media (max-width: 360px) { .top-act .t { display: none; } }
@media (hover: none) { .pcard:hover, .cat:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
