/* ==========================================================================
   MD Shop — style.css
   Dark luxury · neon gradients · glass · motion
   Made by Mohsen ~ Danial
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: 'Amanojaku'; src: url('/fonts/Amanojaku.woff') format('woff'); font-display: swap; }
@font-face { font-family: 'Aligarh'; src: url('/fonts/Aligarh-Light.woff') format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Aligarh'; src: url('/fonts/Aligarh-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Aligarh'; src: url('/fonts/Aligarh-Medium.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Aligarh'; src: url('/fonts/Aligarh-Bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Aligarh'; src: url('/fonts/Aligarh-Black.woff') format('woff'); font-weight: 900; font-display: swap; }

/* Aligarh draws "1" like "I" → take Latin digits from a clean system font */
@font-face { font-family: 'MDDigits'; src: local('Segoe UI Semibold'), local('Segoe UI'), local('SF Pro Text'), local('Helvetica Neue'), local('Roboto'), local('Arial'), local('DejaVu Sans'); unicode-range: U+0030-0039; }

/* ---------- tokens ---------- */
:root {
  --bg: #07060d;
  --bg-2: #0c0a18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f1eeff;
  --muted: #a29ec0;
  --dim: #6d6990;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --gold: #fbbf24;
  --green: #22c55e;
  --red: #ef4444;
  --grad: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 35%, #22d3ee 100%);
  --grad-hot: linear-gradient(135deg, #f472b6 0%, #8b5cf6 50%, #22d3ee 100%);
  --glow: 0 0 0 1px rgba(167, 139, 250, .25), 0 10px 40px -10px rgba(139, 92, 246, .55);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --font-ar: 'MDDigits', 'Aligarh', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --font-en: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display-en: 'Amanojaku', 'Segoe UI', system-ui, sans-serif;
  --font-body: var(--font-ar);
  --font-display: var(--font-ar);
  --header-h: 76px;
}
html[lang="en"] { --font-body: var(--font-en); --font-display: var(--font-display-en); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh;
}
body.is-loading { overflow: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-family: var(--font-display); font-weight: 900; }
p { margin: 0; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--violet), var(--cyan)); border-radius: 10px; border: 2px solid var(--bg); }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 40px); }
.muted { color: var(--muted); }

.grad-text {
  background: var(--grad-hot); background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ==========================================================================
   INTRO
   ========================================================================== */
#intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: all; }
.intro-panel { position: absolute; inset-inline: 0; height: 50.5%; background: radial-gradient(120% 120% at 50% 100%, #150f2b 0%, #07060d 60%); transition: transform 1.1s var(--ease); }
.intro-panel--a { top: 0; background: radial-gradient(120% 120% at 50% 100%, #150f2b 0%, #07060d 60%); }
.intro-panel--b { bottom: 0; background: radial-gradient(120% 120% at 50% 0%, #150f2b 0%, #07060d 60%); }
.intro-core { position: relative; display: grid; place-items: center; gap: 6px; transition: opacity .5s ease, transform .8s var(--ease), filter .6s; }
.intro-rings { position: absolute; width: 360px; height: 360px; top: 50%; left: 50%; transform: translate(-50%, -58%); pointer-events: none; }
.intro-rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(167, 139, 250, .25); animation: ringPulse 2.4s var(--ease) infinite; }
.intro-rings span:nth-child(2) { animation-delay: .5s; border-color: rgba(34, 211, 238, .22); }
.intro-rings span:nth-child(3) { animation-delay: 1s; border-color: rgba(244, 114, 182, .2); }
@keyframes ringPulse { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.intro-logo { width: min(520px, 80vw); height: auto; overflow: visible; filter: drop-shadow(0 0 30px rgba(139, 92, 246, .5)); }
.intro-md {
  font-family: 'Amanojaku', 'Segoe UI', sans-serif; font-size: 190px; letter-spacing: 6px;
  fill: transparent; stroke: url(#introGrad); stroke-width: 2.2; stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: drawStroke 1.6s var(--ease) .1s forwards, fillIn .6s ease 1.2s forwards;
}
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: url(#introGrad); } }
.intro-word { display: flex; gap: .55em; font-family: 'Amanojaku', sans-serif; font-size: clamp(18px, 3vw, 26px); letter-spacing: .4em; color: #e9e4ff; margin-top: -18px; }
.intro-word span { opacity: 0; transform: translateY(14px); animation: letterIn .6s var(--ease-back) forwards; }
.intro-word span:nth-child(1) { animation-delay: 1.05s; } .intro-word span:nth-child(2) { animation-delay: 1.15s; }
.intro-word span:nth-child(3) { animation-delay: 1.25s; } .intro-word span:nth-child(4) { animation-delay: 1.35s; }
@keyframes letterIn { to { opacity: 1; transform: none; } }
.intro-bar { width: 200px; height: 3px; margin-top: 22px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.intro-bar i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--violet); animation: barFill 1.7s var(--ease) .1s forwards; }
@keyframes barFill { to { width: 100%; } }
.intro-credit { margin-top: 14px; font-size: 12px; letter-spacing: .3em; color: var(--dim); opacity: 0; animation: letterIn .8s ease 1.5s forwards; font-family: var(--font-en); }
#intro.done .intro-core { opacity: 0; transform: scale(1.15); filter: blur(8px); }
#intro.done .intro-panel--a { transform: translateY(-101%); }
#intro.done .intro-panel--b { transform: translateY(101%); }
#intro.gone { display: none; }

/* ==========================================================================
   BACKGROUND FX
   ========================================================================== */
#bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .75; }
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .32; mix-blend-mode: screen; }
.aurora i:nth-child(1) { background: #6d28d9; top: -25vmax; inset-inline-start: -15vmax; animation: float1 22s ease-in-out infinite; }
.aurora i:nth-child(2) { background: #0891b2; bottom: -30vmax; inset-inline-end: -20vmax; animation: float2 26s ease-in-out infinite; opacity: .22; }
.aurora i:nth-child(3) { background: #be185d; top: 35%; left: 40%; width: 35vmax; height: 35vmax; animation: float3 30s ease-in-out infinite; opacity: .14; }
@keyframes float1 { 50% { transform: translate(12vmax, 10vmax) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-10vmax, -12vmax) scale(1.15); } }
@keyframes float3 { 50% { transform: translate(-14vmax, 8vmax) scale(.9); } }
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }
#cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(139, 92, 246, .16) 0%, rgba(34, 211, 238, .06) 40%, transparent 70%);
  transform: translate(-50%, -50%); left: -600px; top: -600px; transition: opacity .3s;
}
#scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 100%; z-index: 300; background: var(--grad-hot); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(139, 92, 246, .8); }
[dir="rtl"] #scroll-progress { transform-origin: right; }

/* ==========================================================================
   ANNOUNCEMENT + HEADER
   ========================================================================== */
.announce { position: relative; z-index: 60; height: 38px; overflow: hidden; background: linear-gradient(90deg, rgba(139, 92, 246, .22), rgba(34, 211, 238, .18), rgba(244, 114, 182, .2)); border-bottom: 1px solid var(--border); font-size: 14px; display: flex; align-items: center; }
.announce-track { white-space: nowrap; display: flex; animation: marquee 28s linear infinite; }
.announce-track span { padding-inline: 3rem; }
[dir="rtl"] .announce-track { animation-name: marqueeRtl; }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 6, 13, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; transition: transform .5s var(--ease-back); filter: drop-shadow(0 6px 18px rgba(139, 92, 246, .55)); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-text { font-family: var(--font-display-en); font-size: 24px; letter-spacing: .04em; direction: ltr; }
.brand-text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
.brand-text.big { font-size: 38px; }

.main-nav { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(12px); }
.main-nav a, .main-nav button { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color .25s, background .25s; }
.main-nav a:hover, .main-nav button:hover { color: var(--text); background: var(--surface-2); }
.main-nav a.active { color: var(--text); background: var(--surface-3); }
.main-nav .nav-track { color: var(--violet-2); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); transition: background .25s, border-color .25s, transform .25s var(--ease-back); }
.icon-btn:hover { background: var(--surface-3); border-color: var(--border-2); transform: translateY(-2px); }
.icon-btn svg { width: 21px; height: 21px; }
.lang-btn { font-family: var(--font-en); font-weight: 700; font-size: 14px; width: auto; padding-inline: 14px; }
html[lang="en"] .lang-btn { font-family: var(--font-ar); }
.cart-count { position: absolute; top: -7px; inset-inline-end: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--grad-hot); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; font-family: var(--font-en); box-shadow: 0 4px 14px rgba(244, 114, 182, .5); transform: scale(0); transition: transform .35s var(--ease-back); }
.cart-count.has { transform: scale(1); }
.cart-btn.bump { animation: bump .55s var(--ease-back); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.92) rotate(4deg); } 100% { transform: scale(1); } }
.menu-btn { display: none; flex-direction: column; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   BUTTONS / CHIPS
   ========================================================================== */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 16px; font-weight: 700; font-size: 16px; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, opacity .2s;
  transform: translate(var(--bx), var(--by));
}
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
[dir="rtl"] .btn svg[data-flip], [dir="rtl"] .btn > svg:last-child:not(:first-child) { transform: scaleX(-1); }
.btn:hover > svg:last-child:not(:first-child) { transform: translateX(4px); }
[dir="rtl"] .btn:hover > svg:last-child:not(:first-child) { transform: scaleX(-1) translateX(4px); }
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 160%; box-shadow: 0 10px 30px -8px rgba(139, 92, 246, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { box-shadow: 0 16px 44px -8px rgba(139, 92, 246, .9), inset 0 1px 0 rgba(255, 255, 255, .3); background-position: 100% 0; }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--border-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-3); border-color: rgba(167, 139, 250, .4); }
.btn-lg { height: 60px; padding: 0 34px; font-size: 18px; border-radius: 18px; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.is-busy { opacity: .6; pointer-events: none; }
.btn.is-busy::after { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .4); transform: scale(0); animation: ripple .7s ease-out forwards; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 14px; background: var(--surface-2); border: 1px solid var(--border-2); }
.chip-glow { border-color: rgba(167, 139, 250, .35); box-shadow: 0 0 24px -6px rgba(139, 92, 246, .6); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: 40px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-title { font-size: clamp(46px, 7.2vw, 96px); line-height: 1.08; letter-spacing: -.01em; }
html[lang="en"] .hero-title { letter-spacing: .01em; line-height: 1.05; }
.hero-title .line { display: block; }
.hero-title .grad-text { filter: drop-shadow(0 8px 40px rgba(139, 92, 246, .45)); padding-bottom: .08em; }
.hero-sub { font-size: clamp(16px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.stat { padding: 14px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); display: flex; flex-direction: column; min-width: 120px; }
.stat b { font-family: var(--font-en); font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.stat span { font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; height: 560px; perspective: 1200px; }
.orb { position: absolute; top: 50%; left: 50%; width: 300px; height: 300px; transform: translate(-50%, -50%); }
.orb-core { position: absolute; inset: 60px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, #c4b5fd 12%, #8b5cf6 38%, #4c1d95 65%, #1e1b4b 100%); box-shadow: 0 0 80px 20px rgba(139, 92, 246, .55), 0 0 160px 40px rgba(34, 211, 238, .18), inset -20px -30px 60px rgba(0, 0, 0, .5); animation: orbBreath 5s ease-in-out infinite; }
@keyframes orbBreath { 50% { transform: scale(1.06); box-shadow: 0 0 110px 30px rgba(139, 92, 246, .65), 0 0 200px 60px rgba(34, 211, 238, .22), inset -20px -30px 60px rgba(0, 0, 0, .5); } }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(167, 139, 250, .4); transform-style: preserve-3d; }
.orb-ring.r1 { transform: rotateX(72deg); animation: spinRing 9s linear infinite; border-color: rgba(167, 139, 250, .5); box-shadow: 0 0 20px rgba(167, 139, 250, .3); }
.orb-ring.r2 { inset: -40px; transform: rotateX(72deg) rotateY(30deg); animation: spinRing 14s linear infinite reverse; border-color: rgba(34, 211, 238, .35); border-style: dashed; }
.orb-ring.r3 { inset: -90px; transform: rotateX(65deg) rotateY(-25deg); animation: spinRing 22s linear infinite; border-color: rgba(244, 114, 182, .22); }
@keyframes spinRing { to { rotate: z 360deg; } }
.float-cards { position: absolute; inset: 0; transform-style: preserve-3d; }
.float-card {
  position: absolute; width: 190px; padding: 16px; border-radius: 20px; background: rgba(18, 14, 36, .65); border: 1px solid var(--border-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  display: flex; align-items: center; gap: 12px; animation: bob 6s ease-in-out infinite; cursor: pointer; transition: border-color .3s, box-shadow .3s;
}
.float-card:hover { border-color: rgba(167, 139, 250, .5); box-shadow: 0 25px 60px -15px rgba(139, 92, 246, .55); }
.float-card .fc-icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--a) 22%, transparent); color: var(--a); box-shadow: 0 0 24px -6px var(--a); }
.float-card .fc-icon svg { width: 24px; height: 24px; }
.float-card b { display: block; font-size: 14px; line-height: 1.3; }
.float-card span { font-family: var(--font-en); font-weight: 800; font-size: 15px; color: var(--a); }
.float-card:nth-child(1) { top: 6%; inset-inline-start: 2%; animation-delay: 0s; }
.float-card:nth-child(2) { top: 18%; inset-inline-end: 0; animation-delay: -1.5s; }
.float-card:nth-child(3) { bottom: 18%; inset-inline-start: 0; animation-delay: -3s; }
.float-card:nth-child(4) { bottom: 4%; inset-inline-end: 6%; animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-18px) rotate(1.5deg); } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border-radius: 20px; border: 2px solid var(--border-2); display: flex; justify-content: center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 10px; border-radius: 4px; background: var(--violet-2); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { position: relative; padding: 22px 0; border-block: 1px solid var(--border); background: rgba(255, 255, 255, .015); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 32s linear infinite; direction: ltr; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-family: var(--font-en); font-weight: 700; color: var(--muted); white-space: nowrap; }
.mq-item svg { width: 18px; height: 18px; color: var(--violet-2); }
.mq-item.hl { color: var(--text); border-color: rgba(167, 139, 250, .3); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 56px; }
.kicker { display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 13px; letter-spacing: .08em; color: var(--violet-2); background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .3); }
.section-title { font-size: clamp(34px, 5vw, 60px); }
.section-sub { color: var(--muted); font-size: 18px; max-width: 620px; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.chips { position: relative; display: flex; gap: 4px; padding: 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip-indicator { position: absolute; top: 6px; height: calc(100% - 12px); border-radius: 13px; background: var(--grad); box-shadow: 0 6px 22px -6px rgba(139, 92, 246, .8); transition: left .45s var(--ease), width .45s var(--ease); z-index: 0; }
.cat-chip { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 13px; font-size: 15px; color: var(--muted); white-space: nowrap; transition: color .3s; }
.cat-chip svg { width: 17px; height: 17px; }
.cat-chip:hover { color: var(--text); }
.cat-chip.active { color: #fff; }
.toolbar-right { display: flex; gap: 12px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--dim); pointer-events: none; }
.search input { width: 240px; height: 50px; padding-inline: 42px 16px; border-radius: 15px; background: var(--surface); border: 1px solid var(--border); outline: none; transition: border-color .25s, box-shadow .25s, width .35s var(--ease); }
.search input:focus { border-color: rgba(167, 139, 250, .5); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); width: 280px; }
.search input::placeholder { color: var(--dim); }
.select { position: relative; }
.select::after { content: ''; position: absolute; inset-inline-end: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { appearance: none; height: 50px; padding-inline: 16px 40px; border-radius: 15px; background: var(--surface); border: 1px solid var(--border); outline: none; cursor: pointer; }
.select select option { background: #120e22; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; --a: #8b5cf6;
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--border); overflow: hidden; isolation: isolate; transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), border-color .35s, box-shadow .35s;
}
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--a) 22%, transparent), transparent 45%); opacity: 0; transition: opacity .35s; }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx) var(--my), color-mix(in srgb, var(--a) 80%, white), transparent 50%); -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 .35s; pointer-events: none; }
.card:hover { border-color: transparent; box-shadow: 0 30px 60px -25px color-mix(in srgb, var(--a) 60%, transparent); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card.tilting { transition: transform .1s linear, border-color .35s, box-shadow .35s; }
.card-art { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--a) 40%, transparent), transparent 70%); cursor: pointer; }
.card-art::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(circle at 50% 70%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 70%, #000, transparent 75%); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-art img { transform: scale(1.06); }
.art-icon { position: relative; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--a) 95%, white), color-mix(in srgb, var(--a) 55%, black)); box-shadow: 0 20px 50px -10px color-mix(in srgb, var(--a) 80%, transparent), inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -6px 16px rgba(0, 0, 0, .25); transform: translateZ(40px); transition: transform .6s var(--ease-back); }
.art-icon svg { width: 48px; height: 48px; stroke-width: 1.8; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }
.card:hover .art-icon { transform: translateZ(60px) translateY(-6px) rotate(-6deg) scale(1.06); }
.art-orbit { position: absolute; width: 170px; height: 170px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--a) 45%, transparent); animation: spinRing 18s linear infinite; }
.art-orbit::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--a); box-shadow: 0 0 12px var(--a); }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad-hot); box-shadow: 0 6px 16px -4px rgba(244, 114, 182, .6); }
.badge.contact { background: rgba(255, 255, 255, .1); border: 1px solid var(--border-2); box-shadow: none; color: var(--text); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.card-cat { font-size: 13px; color: var(--a); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.card-cat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.card-title { font-size: 22px; cursor: pointer; }
html[lang="en"] .card-title { font-size: 21px; letter-spacing: .02em; }
.card-desc { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-en); direction: ltr; }
.price b { font-size: 30px; font-weight: 800; line-height: 1; }
.price s { color: var(--dim); font-size: 15px; }
.price small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 400; }
.price.ask b { font-family: var(--font-body); font-size: 18px; color: var(--a); }
.add-btn { height: 46px; padding: 0 16px; border-radius: 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #fff; background: color-mix(in srgb, var(--a) 30%, rgba(255, 255, 255, .04)); border: 1px solid color-mix(in srgb, var(--a) 55%, transparent); transition: background .3s, transform .3s var(--ease-back), box-shadow .3s; }
.add-btn svg { width: 18px; height: 18px; }
.add-btn:hover { background: var(--a); transform: translateY(-2px); box-shadow: 0 10px 24px -8px var(--a); }
.add-btn.added { background: var(--green); border-color: var(--green); }
.card.skeleton { min-height: 380px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-3) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.card.enter { animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.empty-icon { font-size: 46px; margin-bottom: 10px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { position: relative; padding: 32px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .45s var(--ease), border-color .35s; }
.feature::before { content: ''; position: absolute; width: 180px; height: 180px; top: -90px; inset-inline-end: -90px; border-radius: 50%; background: var(--grad); filter: blur(50px); opacity: .25; transition: opacity .4s, transform .6s var(--ease); }
.feature:hover { transform: translateY(-8px); border-color: rgba(167, 139, 250, .35); }
.feature:hover::before { opacity: .55; transform: scale(1.3); }
.feature-icon, .step-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 22px; box-shadow: 0 12px 30px -8px rgba(139, 92, 246, .7); }
.feature-icon svg, .step-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 22px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ''; position: absolute; top: 62px; inset-inline: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent); opacity: .5; }
.step { position: relative; text-align: center; padding: 34px 24px; border-radius: var(--radius); background: rgba(12, 10, 24, .7); border: 1px solid var(--border); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; }
.step-no { position: absolute; top: 14px; inset-inline-end: 20px; font-family: var(--font-en); font-weight: 900; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(167, 139, 250, .35); }
.step-icon { width: 64px; height: 64px; border-radius: 50%; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- payments ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.pay-card { position: relative; padding: 26px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; overflow: hidden; transition: transform .45s var(--ease), border-color .3s, box-shadow .3s; }
.pay-card::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--c); opacity: .7; transform: scaleX(0); transition: transform .5s var(--ease); }
.pay-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.pay-card:hover::after { transform: scaleX(1); }
.pay-logo { height: 58px; margin: 0 auto 16px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 900; font-size: 20px; background: rgba(255, 255, 255, .95); color: #111; max-width: 150px; letter-spacing: .02em; }
.pay-logo svg { width: 30px; height: 30px; }
.pay-paypal { color: #003087; font-style: italic; }
.pay-visa { color: #1a1f71; font-style: italic; font-size: 26px; letter-spacing: .04em; }
.pay-mc { color: #222; font-size: 17px; }
.pay-apple { background: #000; color: #fff; border: 1px solid #333; }
.pay-google { background: #fff; color: #3c4043; }
.pay-card h3 { font-family: var(--font-en); font-size: 18px; margin-bottom: 6px; font-weight: 800; }
.pay-card p { color: var(--muted); font-size: 14px; }
.pay-note { text-align: center; color: var(--dim); font-size: 14px; margin-top: 24px; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item.open { border-color: rgba(167, 139, 250, .35); background: rgba(139, 92, 246, .06); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: start; font-size: 17px; font-weight: 700; }
.faq-q i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); transition: transform .4s var(--ease), background .3s; }
.faq-q i::before, .faq-q i::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { background: var(--violet); transform: rotate(180deg); }
.faq-item.open .faq-q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: 80px 30px; border-radius: 34px; background: linear-gradient(135deg, rgba(139, 92, 246, .22), rgba(34, 211, 238, .12) 60%, rgba(244, 114, 182, .16)); border: 1px solid rgba(167, 139, 250, .3); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .45), transparent 60%); top: -300px; left: 50%; transform: translateX(-50%); animation: orbBreath 6s ease-in-out infinite; pointer-events: none; }
.cta h2 { position: relative; font-size: clamp(30px, 4.4vw, 52px); }
.cta p { position: relative; color: var(--muted); font-size: 18px; max-width: 640px; }
.cta .btn { position: relative; margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 70px 0 30px; background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .05)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font-size: 17px; margin-bottom: 16px; }
.footer-grid a, .footer-grid button { display: block; color: var(--muted); padding: 5px 0; transition: color .25s, transform .25s; text-align: start; }
.footer-grid a:hover, .footer-grid button:hover { color: var(--text); transform: translateX(-4px); }
html[lang="en"] .footer-grid a:hover, html[lang="en"] .footer-grid button:hover { transform: translateX(4px); }
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 320px; }
.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-pay span { padding: 6px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--dim); font-size: 14px; }
.footer-bottom .credit b { font-family: var(--font-display-en); font-weight: 400; font-size: 17px; letter-spacing: .04em; direction: ltr; display: inline-block; }

.to-top { position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 40; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 30px -8px rgba(139, 92, 246, .8); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .35s, transform .45s var(--ease-back); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   OVERLAY / DRAWER / MODALS
   ========================================================================== */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(4, 3, 10, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 100; width: min(440px, 100%); display: flex; flex-direction: column; background: rgba(12, 10, 22, .92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-inline-start: 1px solid var(--border-2); transform: translateX(105%); transition: transform .55s var(--ease); box-shadow: -30px 0 80px rgba(0, 0, 0, .5); }
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open { transform: none !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 24px; }
.drawer-head small { font-size: 15px; color: var(--muted); font-family: var(--font-en); font-weight: 400; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.drawer-foot .row { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.drawer-foot .row b { font-family: var(--font-en); font-size: 26px; }
.secure-line { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--dim); font-size: 13px; text-align: center; }
.secure-line svg { width: 16px; height: 16px; flex: none; color: var(--green); }

.cart-item { --a: #8b5cf6; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); animation: cardIn .5s var(--ease) both; }
.cart-item.removing { animation: itemOut .4s var(--ease) forwards; }
@keyframes itemOut { to { opacity: 0; transform: translateX(40px) scale(.9); height: 0; padding: 0; margin: -6px 0; } }
.ci-art { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: #fff; overflow: hidden; background: linear-gradient(145deg, color-mix(in srgb, var(--a) 95%, white), color-mix(in srgb, var(--a) 55%, black)); }
.ci-art svg { width: 30px; height: 30px; }
.ci-art img { width: 100%; height: 100%; object-fit: cover; }
.ci-name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.ci-price { font-family: var(--font-en); color: var(--muted); font-size: 14px; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty { display: inline-flex; align-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; direction: ltr; }
.qty button { width: 32px; height: 32px; display: grid; place-items: center; transition: background .2s; font-size: 18px; }
.qty button:hover { background: var(--surface-3); }
.qty span { min-width: 28px; text-align: center; font-family: var(--font-en); font-weight: 700; }
.ci-remove { color: var(--dim); font-size: 13px; transition: color .2s; }
.ci-remove:hover { color: var(--red); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cart-empty-icon { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--violet-2); animation: bob 4s ease-in-out infinite; }
.cart-empty-icon svg { width: 44px; height: 44px; }

.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; pointer-events: none; overflow-y: auto; }
.modal.open { pointer-events: auto; }
.modal-box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 28px; background: rgba(14, 11, 26, .96); border: 1px solid var(--border-2); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(167, 139, 250, .08); opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .4s, transform .55s var(--ease); scrollbar-width: thin; }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-box > .close { position: absolute; top: 18px; inset-inline-end: 18px; z-index: 5; }
.modal-small { width: min(520px, 100%); padding: 36px 32px; }
.modal-small h3 { font-size: 28px; margin-bottom: 6px; }
.modal-small .muted { margin-bottom: 22px; }

/* product modal */
.pm { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 480px; }
.pm-art { --a: #8b5cf6; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--a) 45%, transparent), transparent 70%), #0a0814; border-start-start-radius: 28px; border-end-start-radius: 28px; }
.pm-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pm-art .art-icon { width: 150px; height: 150px; border-radius: 42px; }
.pm-art .art-icon svg { width: 76px; height: 76px; }
.pm-art .art-orbit { width: 270px; height: 270px; }
.pm-art .art-orbit.o2 { width: 360px; height: 360px; animation-duration: 28s; animation-direction: reverse; opacity: .6; }
.pm-info { padding: 46px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.pm-info h2 { font-size: 38px; }
.pm-info .card-desc { -webkit-line-clamp: unset; font-size: 16px; }
.pm-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pm-features li svg { width: 20px; height: 20px; flex: none; color: var(--green); padding: 3px; border-radius: 50%; background: rgba(34, 197, 94, .14); }
.pm-note { padding: 12px 16px; border-radius: 14px; background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .25); color: #fde68a; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.pm-buy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }
.pm-buy .price b { font-size: 40px; }
.pm-buy .qty button { width: 42px; height: 46px; }
.pm-buy .qty span { min-width: 34px; font-size: 17px; }
.pm-actions { display: flex; gap: 12px; width: 100%; }
.pm-actions .btn { flex: 1; }

/* checkout */
.modal-checkout { width: min(1040px, 100%); padding: 34px; }
.checkout-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; padding-inline-end: 60px; }
.cs-step { display: flex; align-items: center; gap: 10px; color: var(--dim); font-weight: 700; transition: color .3s; }
.cs-step i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--font-en); background: var(--surface-2); border: 1px solid var(--border-2); transition: background .4s, box-shadow .4s, border-color .4s; }
.cs-step.is-active, .cs-step.is-done { color: var(--text); }
.cs-step.is-active i { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 5px rgba(139, 92, 246, .2); color: #fff; }
.cs-step.is-done i { background: var(--green); border-color: transparent; color: #fff; }
.cs-line { flex: 1; height: 2px; border-radius: 2px; background: var(--surface-3); position: relative; overflow: hidden; }
.cs-line::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
[dir="rtl"] .cs-line::after { transform-origin: right; }
.cs-line.is-done::after { transform: scaleX(1); }
.checkout-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.co-pane { display: none; flex-direction: column; gap: 16px; animation: paneIn .5s var(--ease); }
.co-pane.is-active { display: flex; }
@keyframes paneIn { from { opacity: 0; transform: translateX(20px); } }
.co-pane h3 { font-size: 26px; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-2); outline: none; transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(167, 139, 250, .6); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); background: var(--surface-2); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field .err { display: none; color: #fca5a5; font-size: 13px; }
.field.invalid input { border-color: rgba(239, 68, 68, .6); animation: shake .4s; }
.field.invalid .err { display: block; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; border: 1.5px solid var(--border-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input:checked { background: var(--grad); border-color: transparent; }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check.invalid input { border-color: var(--red); animation: shake .4s; }

.checkout-summary { position: sticky; top: 0; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.checkout-summary h4 { font-size: 20px; }
.co-item { display: flex; align-items: center; gap: 12px; }
.co-item .ci-art { width: 48px; height: 48px; border-radius: 13px; position: relative; overflow: visible; }
.co-item .ci-art svg { width: 22px; height: 22px; }
.co-item .ci-art em { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: #fff; color: #111; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; font-family: var(--font-en); }
.co-item .name { flex: 1; font-size: 14px; font-weight: 700; line-height: 1.35; }
.co-item b { font-family: var(--font-en); }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--border-2); outline: none; text-transform: uppercase; font-family: var(--font-en); }
.coupon input:focus { border-color: var(--violet-2); }
.sum-rows { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.sum-rows .row { display: flex; justify-content: space-between; color: var(--muted); }
.sum-rows .row b { font-family: var(--font-en); color: var(--text); }
.sum-rows .discount b, .sum-rows .discount em { color: var(--green); font-style: normal; font-family: var(--font-en); }
.sum-rows .total { color: var(--text); font-size: 20px; font-weight: 700; padding-top: 10px; border-top: 1px dashed var(--border-2); }
.sum-rows .total b { font-size: 28px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pay-status { display: none; padding: 14px 16px; border-radius: 14px; font-size: 14px; }
.pay-status.show { display: block; }
.pay-status.info { background: rgba(59, 130, 246, .1); border: 1px solid rgba(59, 130, 246, .3); color: #bfdbfe; }
.pay-status.error { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3); color: #fecaca; }
.pay-loading { display: flex; flex-direction: column; gap: 12px; }
.pay-loading i { height: 52px; border-radius: 12px; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-3) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.wallets { display: flex; flex-direction: column; gap: 12px; }
.wallets:empty { display: none; }
#applepay-container:empty, #googlepay-container:empty { display: none; }
.apple-pay-btn { display: block; width: 100%; height: 52px; border-radius: 12px; cursor: pointer; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: buy; -apple-pay-button-style: white; }
@supports not (-webkit-appearance: -apple-pay-button) {
  .apple-pay-btn { background: #fff; color: #000; font-family: var(--font-en); font-weight: 700; font-size: 17px; }
}
#googlepay-container button { width: 100% !important; border-radius: 12px !important; }
#googlepay-container > div { width: 100%; }
.or-line { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 13px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--border-2); }
#paypal-buttons { min-height: 60px; position: relative; z-index: 1; }
.back-btn { height: 46px; }

.success-box { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 0; }
.success-check svg { width: 96px; height: 96px; stroke-width: 3; }
.success-check circle { stroke: var(--green); stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawStroke .8s var(--ease) forwards; fill: rgba(34, 197, 94, .1); }
.success-check path { stroke: var(--green); stroke-dasharray: 50; stroke-dashoffset: 50; animation: drawStroke .5s var(--ease) .6s forwards; }
.success-box h3 { font-size: 30px; }
.success-box p { color: var(--muted); }
.order-no { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: var(--surface-2); border: 1px dashed rgba(167, 139, 250, .5); }
.order-no span { color: var(--muted); font-size: 14px; }
.order-no b { font-family: var(--font-en); font-size: 24px; letter-spacing: .04em; }
.order-no .copy { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-3); }
.order-no .copy svg { width: 18px; height: 18px; }
.pending-note { color: #fde68a !important; font-size: 14px; }
.success-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.stack { display: flex; flex-direction: column; gap: 14px; }
.track-card { margin-top: 22px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; animation: cardIn .5s var(--ease); }
.track-head { display: flex; justify-content: space-between; align-items: center; }
.track-head b { font-family: var(--font-en); font-size: 20px; }
.status-pill { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.st-paid, .st-processing { background: rgba(59, 130, 246, .15); color: #93c5fd; }
.st-delivered { background: rgba(34, 197, 94, .15); color: #86efac; }
.st-pending, .st-review { background: rgba(251, 191, 36, .15); color: #fde68a; }
.st-refunded, .st-cancelled, .st-failed { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.timeline li { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 14px; }
.timeline li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); flex: none; }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.delivery-note { padding: 14px; border-radius: 14px; background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .3); white-space: pre-wrap; word-break: break-word; font-size: 14px; }
.my-order { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-top: 10px; }
.my-order b { font-family: var(--font-en); }
.my-order small { color: var(--muted); display: block; font-size: 12px; }

/* toasts */
.toasts { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 380px; padding: 14px 18px; border-radius: 16px; background: rgba(20, 16, 36, .95); border: 1px solid var(--border-2); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); animation: toastIn .5s var(--ease-back); font-size: 15px; }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
.toast .t-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.toast .t-icon svg { width: 17px; height: 17px; stroke-width: 2.6; }
.toast.success .t-icon { background: rgba(34, 197, 94, .18); color: var(--green); }
.toast.error .t-icon { background: rgba(239, 68, 68, .18); color: var(--red); }
.toast.info .t-icon { background: rgba(139, 92, 246, .2); color: var(--violet-2); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 300; }

.fly-dot { position: fixed; z-index: 400; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; pointer-events: none; box-shadow: 0 10px 30px -5px rgba(139, 92, 246, .8); }
.fly-dot svg { width: 24px; height: 24px; }

.maintenance { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; text-align: center; background: rgba(7, 6, 13, .94); backdrop-filter: blur(10px); padding: 20px; }
.maintenance h2 { font-size: 40px; margin-bottom: 12px; }
.maintenance p { color: var(--muted); margin-bottom: 22px; }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .pay-grid { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .main-nav { position: fixed; top: var(--header-h); inset-inline: 12px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 22px; background: rgba(12, 10, 22, .96); backdrop-filter: blur(20px); opacity: 0; transform: translateY(-14px) scale(.98); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
  .main-nav a, .main-nav button { padding: 14px 18px; font-size: 17px; text-align: start; border-radius: 14px; }
  .menu-open .main-nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-btn { display: flex; }
  .hero { min-height: auto; padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; order: -1; margin-bottom: -40px; }
  .hero-visual .orb { transform: translate(-50%, -50%) scale(.8); }
  .float-card { width: 165px; padding: 12px; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .pm { grid-template-columns: 1fr; }
  .pm-art { min-height: 260px; border-radius: 28px 28px 0 0; }
  .pm-info { padding: 28px 24px; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .features { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { height: 340px; }
  .float-card { width: 150px; gap: 8px; }
  .float-card .fc-icon { width: 38px; height: 38px; }
  .float-card b { font-size: 12px; }
  .orb { width: 220px; height: 220px; }
  .hero-cta .btn { flex: 1; }
  .stat { min-width: 0; flex: 1; padding: 12px 14px; }
  .stat b { font-size: 24px; }
  .toolbar-right, .search, .search input, .search input:focus { width: 100%; }
  .select { flex: none; }
  .toolbar-right { flex-wrap: nowrap; }
  .grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal-box { max-height: 94vh; border-radius: 26px 26px 0 0; }
  .modal-checkout { padding: 22px 18px; }
  .modal-small { padding: 30px 20px; }
  .checkout-steps span { display: none; }
  .pm-features { grid-template-columns: 1fr; }
  .pm-info h2 { font-size: 30px; }
  .pm-actions { flex-direction: column; }
  .brand-text { font-size: 20px; }
  .lang-btn { padding-inline: 10px; }
  .toasts { inset-inline: 14px; bottom: 14px; }
  .toast { max-width: none; }
  .to-top { bottom: 16px; inset-inline-start: 16px; }
  .cta { padding: 56px 20px; }
}

@media (hover: none) { #cursor-glow { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
.checkout-grid:has(.checkout-summary[hidden]) { grid-template-columns: 1fr; }

/* Amanojaku (demo) lacks some symbols/digits → use it only for big display text in English */
html[lang="en"] h3, html[lang="en"] h4, html[lang="en"] .card-title, html[lang="en"] .pm-info h2, html[lang="en"] .success-box h3 { font-family: var(--font-en); font-weight: 800; letter-spacing: -.01em; }
.add-btn, .price.ask b { white-space: nowrap; }
.stat b { direction: ltr; unicode-bidi: isolate; }
.qty, .qty button { font-family: var(--font-en); }

/* ---------- grouped sections ---------- */
.grid.grouped { display: block; }
.cat-section { margin-bottom: 64px; }
.cat-section:last-child { margin-bottom: 0; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cat-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 26px -8px rgba(139, 92, 246, .8); flex: none; }
.cat-icon svg { width: 24px; height: 24px; }
.cat-head h3 { font-size: clamp(24px, 3vw, 34px); white-space: nowrap; }
.cat-count { font-family: var(--font-en); font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--surface-3); color: var(--muted); }
.cat-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-2), transparent); }
[dir="rtl"] .cat-line { background: linear-gradient(-90deg, var(--border-2), transparent); }
.cat-more { font-size: 14px; color: var(--violet-2); white-space: nowrap; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(167, 139, 250, .3); transition: background .25s; }
.cat-more:hover { background: rgba(139, 92, 246, .15); }
.card-art.has-img::before { display: none; }
.card-art.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 6, 13, .55)); pointer-events: none; }
@media (max-width: 640px) { .cat-more { display: none; } }
