/* =========================================================================
   Al Shuja â€” premium storefront design system
   Â· Black & white foundation, electric-blue accent, metallic silver highlights
   Â· Light + dark themes (html[data-theme], mirrored to Bootstrap's data-bs-theme)
   Â· Logical properties everywhere so RTL mirrors automatically
   Â· Every motion effect is disabled under prefers-reduced-motion
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #ececf0;
  --surface: #ffffff;
  --surface-2: #fafafb;
  --media-bg: #f5f5f7;
  --ink: #0b0b0f;
  --ink-2: #3a3a42;
  --muted: #6e6e78;
  --line: #e4e4ea;
  --line-2: #efeff3;
  --accent: #0a6cff;
  --accent-2: #3d8bff;
  --accent-3: #6aa8ff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(10, 108, 255, .09);
  --accent-glow: rgba(10, 108, 255, .35);
  --silver: #c9ccd4;
  --silver-2: #e9ebf0;
  --deal: #e5352b;
  --deal-soft: rgba(229, 53, 43, .09);
  --ok: #0f9d58;
  --ok-soft: rgba(15, 157, 88, .1);
  --warn: #b26a00;
  --warn-soft: rgba(255, 170, 0, .14);
  --star: #f5a623;
  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .86);
  --glass-line: rgba(255, 255, 255, .6);
  --glass-edge: rgba(11, 11, 15, .06);
  --overlay: rgba(11, 11, 15, .45);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 15, .05), 0 1px 1px rgba(11, 11, 15, .03);
  --shadow: 0 1px 2px rgba(11, 11, 15, .04), 0 4px 10px rgba(11, 11, 15, .04), 0 12px 28px rgba(11, 11, 15, .06);
  --shadow-lg: 0 2px 4px rgba(11, 11, 15, .04), 0 12px 24px rgba(11, 11, 15, .08), 0 32px 64px rgba(11, 11, 15, .12);
  --shadow-accent: 0 6px 18px rgba(10, 108, 255, .28), 0 2px 4px rgba(10, 108, 255, .2);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 68px;
  --mesh: radial-gradient(60% 80% at 12% 10%, rgba(10, 108, 255, .14), transparent 60%),
          radial-gradient(50% 70% at 88% 18%, rgba(140, 170, 255, .18), transparent 60%),
          radial-gradient(60% 80% at 70% 100%, rgba(201, 204, 212, .45), transparent 60%),
          linear-gradient(180deg, #fbfbfd, #f2f3f7);
  --brand: var(--accent);        /* legacy alias used by a few views */
  --brand-soft: var(--accent-soft);
  --bs-primary: var(--accent);
  --bs-primary-rgb: 10, 108, 255;
  --bs-link-color: var(--accent);
  --bs-link-color-rgb: 10, 108, 255;
  --bs-link-hover-color: var(--accent-2);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-border-radius: var(--radius-sm);
  --bs-secondary-color: var(--muted);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #09090b;
  --bg-2: #111114;
  --bg-3: #1a1a1f;
  --surface: #131317;
  --surface-2: #18181d;
  --media-bg: #f2f2f5;
  --ink: #f5f5f7;
  --ink-2: #d2d2d8;
  --muted: #9b9ba6;
  --line: #2a2a31;
  --line-2: #1f1f25;
  --accent: #3d8bff;
  --accent-2: #66a3ff;
  --accent-3: #8dbaff;
  --accent-soft: rgba(61, 139, 255, .14);
  --accent-glow: rgba(61, 139, 255, .45);
  --silver: #5b5e68;
  --silver-2: #2b2d34;
  --deal: #ff5a4f;
  --deal-soft: rgba(255, 90, 79, .14);
  --ok: #34c77b;
  --ok-soft: rgba(52, 199, 123, .14);
  --warn: #ffb547;
  --warn-soft: rgba(255, 181, 71, .14);
  --glass: rgba(19, 19, 23, .66);
  --glass-strong: rgba(19, 19, 23, .84);
  --glass-line: rgba(255, 255, 255, .08);
  --glass-edge: rgba(255, 255, 255, .06);
  --overlay: rgba(0, 0, 0, .6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .55);
  --shadow-accent: 0 6px 22px rgba(61, 139, 255, .35), 0 2px 4px rgba(61, 139, 255, .25);
  --mesh: radial-gradient(60% 80% at 12% 10%, rgba(61, 139, 255, .22), transparent 60%),
          radial-gradient(50% 70% at 88% 18%, rgba(120, 90, 255, .16), transparent 60%),
          radial-gradient(60% 80% at 70% 100%, rgba(90, 94, 104, .35), transparent 60%),
          linear-gradient(180deg, #0d0d11, #08080a);
  --bs-primary-rgb: 61, 139, 255;
  --bs-link-color-rgb: 61, 139, 255;
}

/* ---------- 2. Base & typography ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
html[lang="ar"] body { font-family: var(--font-ar); font-size: 15.5px; font-feature-settings: normal; }
h1, h2, h3, h4, .page-title, .display-font { font-family: var(--font-display); letter-spacing: -.022em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4, html[lang="ar"] .page-title, html[lang="ar"] .display-font { font-family: var(--font-ar); letter-spacing: 0; }
a { text-decoration: none; color: var(--accent); }
a:hover { color: var(--accent-2); }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -100px; z-index: 2000; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 8px; }
html, body { overflow-x: clip; }
.container-xl { max-width: 1380px; }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -0.25em; }
.i-fill { fill: currentColor; stroke: none; }
html[dir="rtl"] .i-flip { transform: scaleX(-1); }
.text-muted-2 { color: var(--muted) !important; }
.text-body { color: var(--ink) !important; }
.fw-750 { font-weight: 750; }
hr, .divider { border-color: var(--line); }
.divider { height: 1px; background: var(--line); margin: 1rem 0; }

/* Animated gradient text */
.grad-text { background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 30%, var(--accent) 50%, var(--accent-3) 60%, var(--ink) 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradText 8s var(--ease) infinite; }
@keyframes gradText { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.metal-text { background: linear-gradient(180deg, var(--ink) 30%, var(--silver) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3. Effect primitives ---------- */
.glass { background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border: 1px solid var(--glass-line); box-shadow: 0 1px 0 var(--glass-edge) inset, var(--shadow-sm); }
.mesh-bg { background: var(--mesh); }
/* Aurora palette — electric blue, violet, cyan, rose and silver. Light theme is airy; dark theme glows. */
:root {
  --au-1: rgba(10, 108, 255, .34);   /* electric blue */
  --au-2: rgba(139, 92, 246, .32);   /* violet */
  --au-3: rgba(34, 211, 238, .32);   /* cyan */
  --au-4: rgba(244, 114, 182, .28);  /* rose */
  --au-5: rgba(190, 196, 210, .45);  /* silver */
  --au-page-opacity: .8;
}
html[data-theme="dark"] {
  --au-1: rgba(61, 139, 255, .42);
  --au-2: rgba(139, 92, 246, .38);
  --au-3: rgba(34, 211, 238, .26);
  --au-4: rgba(236, 72, 153, .24);
  --au-5: rgba(90, 96, 112, .35);
  --au-page-opacity: .7;
}

/* Section-level aurora (hero, banners, listing headers, newsletter) */
.aurora { position: relative; isolation: isolate; overflow: hidden; }
.aurora::before, .aurora::after { content: ""; position: absolute; z-index: -1; pointer-events: none; will-change: transform; }
.aurora::before { inset: -45%; background:
    radial-gradient(28% 34% at 18% 28%, var(--au-1), transparent 70%),
    radial-gradient(24% 30% at 78% 18%, var(--au-2), transparent 70%),
    radial-gradient(30% 32% at 62% 82%, var(--au-3), transparent 70%),
    radial-gradient(22% 26% at 32% 78%, var(--au-4), transparent 70%),
    radial-gradient(34% 36% at 90% 60%, var(--au-5), transparent 70%);
  filter: blur(26px); animation: auroraA 24s ease-in-out infinite alternate; }
.aurora::after { inset: -30%; background:
    conic-gradient(from 120deg at 50% 50%, transparent 0deg, var(--au-3) 60deg, transparent 120deg, var(--au-2) 200deg, transparent 260deg, var(--au-1) 320deg, transparent 360deg);
  opacity: .35; filter: blur(60px); animation: auroraB 38s linear infinite; mix-blend-mode: soft-light; }
html[data-theme="dark"] .aurora::after { mix-blend-mode: screen; opacity: .28; }
@keyframes auroraA {
  0%   { transform: translate3d(-5%, -3%, 0) rotate(0deg) scale(1); }
  33%  { transform: translate3d(4%, 2%, 0) rotate(10deg) scale(1.08); }
  66%  { transform: translate3d(-2%, 5%, 0) rotate(-8deg) scale(1.03); }
  100% { transform: translate3d(3%, -4%, 0) rotate(6deg) scale(1.1); }
}
@keyframes auroraB { to { transform: rotate(360deg); } }
/* Dark surfaces (deal banner, business band, dark promos, footer) use the glowing palette in both themes. */
.deal-hero, .biz-band, .promo.dark, .site-footer {
  --au-1: rgba(61, 139, 255, .45); --au-2: rgba(139, 92, 246, .40); --au-3: rgba(34, 211, 238, .28);
  --au-4: rgba(236, 72, 153, .26); --au-5: rgba(90, 96, 112, .30);
}
.deal-hero.aurora::after, .biz-band.aurora::after, .promo.dark.aurora::after, .site-footer.aurora::after { mix-blend-mode: screen; opacity: .3; }
.site-footer.aurora::before { inset: -20% -45%; opacity: .55; }

/* Page-wide aurora: a fixed, GPU-only layer behind all content. Cards and panels stay solid,
   so product information never sits directly on the moving colours. */
.page-aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: var(--au-page-opacity); contain: strict; }
.page-aurora span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; will-change: transform; }
.page-aurora .a1 { background: radial-gradient(circle at center, var(--au-1), transparent 62%); top: -30vmax; inset-inline-start: -20vmax; animation: pa1 28s ease-in-out infinite alternate; }
.page-aurora .a2 { background: radial-gradient(circle at center, var(--au-2), transparent 62%); top: -25vmax; inset-inline-end: -25vmax; animation: pa2 34s ease-in-out infinite alternate; }
.page-aurora .a3 { background: radial-gradient(circle at center, var(--au-3), transparent 62%); bottom: -35vmax; inset-inline-start: 10vmax; animation: pa3 30s ease-in-out infinite alternate; }
.page-aurora .a4 { background: radial-gradient(circle at center, var(--au-4), transparent 62%); bottom: -30vmax; inset-inline-end: -15vmax; animation: pa4 40s ease-in-out infinite alternate; }
.page-aurora .a5 { background: radial-gradient(circle at center, var(--au-5), transparent 60%); top: 25%; inset-inline-start: 35%; width: 50vmax; height: 50vmax; animation: pa5 46s ease-in-out infinite alternate; }
.page-aurora::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, var(--bg) 95%); opacity: .25; }
@keyframes pa1 { to { transform: translate3d(18vw, 14vh, 0) scale(1.15); } }
@keyframes pa2 { to { transform: translate3d(-16vw, 18vh, 0) scale(.9); } }
@keyframes pa3 { to { transform: translate3d(22vw, -16vh, 0) scale(1.2); } }
@keyframes pa4 { to { transform: translate3d(-20vw, -12vh, 0) scale(1.05); } }
@keyframes pa5 { to { transform: translate3d(-14vw, 10vh, 0) scale(1.25); } }
@media (max-width: 767.98px) { .page-aurora span { width: 110vmax; height: 110vmax; } }

/* Gradient border (animated on hover) */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.grad-border { position: relative; }
.grad-border::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 55%, var(--accent) 70%, var(--accent-3) 78%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease); }
.grad-border:hover::after, .grad-border.grad-on::after { opacity: 1; animation: spinAng 3.2s linear infinite; }
@keyframes spinAng { to { --ang: 360deg; } }

/* Shine sweep */
.shine { position: relative; overflow: hidden; isolation: isolate; }
.shine::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: -60%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg) translateX(0); opacity: 0; }
.shine:hover::before { animation: shine .9s var(--ease); }
@keyframes shine { 0% { opacity: 0; transform: skewX(-18deg) translateX(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: skewX(-18deg) translateX(420%); } }
html[dir="rtl"] .shine:hover::before { animation-name: shineRtl; }
@keyframes shineRtl { 0% { opacity: 0; transform: skewX(18deg) translateX(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: skewX(18deg) translateX(-420%); } }

/* Lift + glow */
.lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.glow:hover { box-shadow: 0 0 0 1px var(--accent-soft), 0 10px 40px -10px var(--accent-glow), var(--shadow); border-color: transparent; }

/* Cursor spotlight (JS sets --mx/--my on .spot elements) */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 108, 255, .10), transparent 45%); }
html[data-theme="dark"] .spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 139, 255, .16), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* Floating */
.float { animation: floatY 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; animation-duration: 7s; }
.float.d3 { animation-delay: -4s; animation-duration: 8s; }
@keyframes floatY { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -12px, 0); } }

/* Scroll reveal (JS adds .in; content is visible without JS) */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Ripple */
.ripple-ink { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .25; pointer-events: none; animation: ripple .6s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* Skeleton shimmer */
.skeleton { background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 40%, var(--bg-2) 80%); background-size: 300% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: var(--radius-xs); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.sk-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); padding: .8rem; display: grid; gap: .6rem; }
.sk-card .sk-img { aspect-ratio: 1; border-radius: var(--radius-sm); }
.sk-card .sk-l { height: 12px; }
.sk-card .sk-l.w60 { width: 60%; }
.sk-card .sk-l.w40 { width: 40%; height: 18px; }
.sk-line { height: 14px; margin: .4rem 0; }

/* ---------- 4. Buttons (glossy) ---------- */
.btn { --bs-btn-font-weight: 600; border-radius: 999px; font-weight: 600; padding: .62rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .2s, color .2s, box-shadow .25s var(--ease), transform .15s var(--ease), border-color .2s; letter-spacing: -.005em; }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn.disabled { opacity: .5; }
.btn-primary, .btn-cta { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; border: 0; color: #fff;
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 55%, #0659d6 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -1px 0 rgba(0, 0, 0, .12) inset, var(--shadow-accent); }
.btn-primary::after, .btn-cta::after, .btn-dark-navy::after { content: ""; position: absolute; inset: 0 0 50% 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); pointer-events: none; z-index: -1; }
.btn-primary:hover, .btn-cta:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 28px -6px var(--accent-glow); }
.btn-primary:focus-visible, .btn-cta:focus-visible { color: #fff; }
.btn-cta { background: linear-gradient(180deg, #2a2a31 0%, #0b0b0f 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 20px -8px rgba(0, 0, 0, .5); }
.btn-cta:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 12px 28px -8px rgba(0, 0, 0, .55); }
html[data-theme="dark"] .btn-cta { background: linear-gradient(180deg, #ffffff 0%, #dfe1e6 100%); color: #0b0b0f; box-shadow: 0 1px 0 #fff inset, 0 8px 24px -8px rgba(255, 255, 255, .25); }
html[data-theme="dark"] .btn-cta:hover { color: #0b0b0f; }
.btn-dark-navy { background: var(--ink); color: var(--bg); border: 0; }
.btn-dark-navy:hover { background: var(--ink-2); color: var(--bg); }
.btn-soft { background: var(--accent-soft); color: var(--accent); border: 0; }
.btn-soft:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--silver); color: var(--ink); }
.btn-ghost.on { color: var(--deal); }
.btn-glass { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--glass-line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-glass:hover { background: var(--glass-strong); color: var(--ink); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: .4rem .85rem; font-size: .85rem; }
.btn-block { width: 100%; }
.link-more { font-weight: 600; display: inline-flex; gap: .25rem; align-items: center; color: var(--ink); font-size: .92rem; }
.link-more .i { transition: transform .25s var(--ease); }
.link-more:hover { color: var(--accent); }
.link-more:hover .i { transform: translateX(3px); }
html[dir="rtl"] .link-more:hover .i { transform: scaleX(-1) translateX(3px); }

/* ---------- 5. Announcement bar ---------- */
.topbar { background: linear-gradient(90deg, #07070b 0%, #0d1736 35%, #1a1240 65%, #07070b 100%); color: #c9c9d1; font-size: .8rem; position: relative; z-index: 1031; overflow: hidden; isolation: isolate; }
.topbar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .08) 45%, transparent 60%); background-size: 250% 100%; animation: hdrLine 9s linear infinite; }
html[data-theme="dark"] .topbar { background: #000; border-bottom: 1px solid var(--line-2); }
.topbar a, .topbar button { color: #e8e8ee; background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: .3rem; font-size: inherit; }
.topbar a:hover, .topbar button:hover { color: #fff; }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 1rem; }
.topbar .i { width: 1.1em; height: 1.1em; }
.ticker { position: relative; height: 20px; overflow: hidden; flex: 1; min-width: 0; }
.ticker > span { position: absolute; inset: 0; display: flex; align-items: center; gap: .4rem; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ticker > span.on { opacity: 1; transform: none; }
.ticker > span.out { opacity: 0; transform: translateY(-100%); }
.ticker b { color: #fff; font-weight: 600; }
.top-tools { display: flex; align-items: center; gap: 1rem; }
.top-tools select { background: transparent; color: #e8e8ee; border: 0; font-size: .8rem; padding: 0 .2rem; cursor: pointer; }
.top-tools select option { color: #0b0b0f; }

/* ---------- 6. Header (sticky glass) ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--glass-strong); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-2); transition: box-shadow .3s, background .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .18); background: var(--glass); }
/* Header backdrop: flowing aurora wash + faint tech dot-grid + animated spectrum line along the bottom edge */
.site-header { isolation: isolate; --hdr-a: .32; background: rgba(255, 255, 255, .78); }
html[data-theme="dark"] .site-header { --hdr-a: .42; background: rgba(12, 12, 18, .78); }
.site-header .search { background: color-mix(in srgb, var(--surface) 82%, transparent); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 2px 10px -4px rgba(10, 30, 80, .12); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 160% at 0% 0%, rgba(10, 108, 255, var(--hdr-a)), transparent 62%),
    radial-gradient(30% 170% at 28% 100%, rgba(139, 92, 246, calc(var(--hdr-a) * .8)), transparent 62%),
    radial-gradient(30% 170% at 62% 0%, rgba(34, 211, 238, calc(var(--hdr-a) * .85)), transparent 62%),
    radial-gradient(34% 170% at 100% 100%, rgba(244, 114, 182, calc(var(--hdr-a) * .75)), transparent 62%);
  background-size: 160% 100%; animation: hdrFlow 22s ease-in-out infinite alternate; }
.site-header .bar { position: relative; }
.site-header .bar::before { content: ""; position: absolute; inset-block: 0; inset-inline-end: -2rem; width: 46%; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent) 1px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 60%); mask: linear-gradient(90deg, transparent, #000 60%); opacity: .55; }
html[dir="rtl"] .site-header .bar::before { -webkit-mask: linear-gradient(270deg, transparent, #000 60%); mask: linear-gradient(270deg, transparent, #000 60%); }
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, #0a6cff 18%, #8b5cf6 38%, #22d3ee 58%, #f472b6 78%, transparent 100%); background-size: 200% 100%; animation: hdrLine 8s linear infinite; opacity: .85; }
.mainnav { background: linear-gradient(90deg, rgba(10, 108, 255, .035), rgba(139, 92, 246, .035) 50%, rgba(34, 211, 238, .035)); }
@keyframes hdrFlow { 0% { background-position: 0% 0; } 100% { background-position: 100% 0; } }
@keyframes hdrLine { to { background-position: -200% 0; } }
.site-header .bar { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand-logo { display: block; flex-shrink: 0; }
.brand-logo img { height: 34px; width: auto; display: block; }
.brand-logo .on-dark { display: none; }
html[data-theme="dark"] .brand-logo .on-light { display: none; }
html[data-theme="dark"] .brand-logo .on-dark { display: block; }

.search { flex: 1; display: flex; background: var(--bg-2); border-radius: 999px; position: relative; min-width: 0; border: 1px solid transparent; transition: box-shadow .25s var(--ease), background .25s, border-color .25s; max-width: 720px; }
.search:focus-within { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.search select { border: 0; background: transparent; color: var(--ink-2); font-size: .84rem; padding: 0 .4rem 0 1rem; max-width: 160px; cursor: pointer; border-inline-end: 1px solid var(--line); margin: .5rem 0; outline: none; }
html[dir="rtl"] .search select { padding: 0 1rem 0 .4rem; }
.search input { flex: 1; border: 0; padding: .72rem 1rem; font-size: .95rem; min-width: 0; outline: none; background: transparent; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search button[type="submit"] { border: 0; margin: 4px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s var(--ease), background .2s; }
.search button[type="submit"]:hover { background: var(--accent); color: #fff; transform: scale(1.05); }
.suggest { position: absolute; top: calc(100% + 10px); inset-inline: 0; background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; z-index: 1050; max-height: 70vh; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.99); transform-origin: top center; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.suggest.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.suggest .group { padding: .45rem 0; border-bottom: 1px solid var(--line-2); }
.suggest .group:last-child { border-bottom: 0; }
.suggest .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .35rem 1rem; font-weight: 600; }
.suggest a { display: flex; align-items: center; gap: .75rem; padding: .5rem 1rem; color: var(--ink); animation: sugIn .3s var(--ease) both; }
.suggest a:nth-child(2) { animation-delay: .03s; } .suggest a:nth-child(3) { animation-delay: .06s; } .suggest a:nth-child(4) { animation-delay: .09s; } .suggest a:nth-child(5) { animation-delay: .12s; } .suggest a:nth-child(6) { animation-delay: .15s; }
@keyframes sugIn { from { opacity: 0; transform: translateY(4px); } }
.suggest a:hover, .suggest a.active { background: var(--accent-soft); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: var(--media-bg); border-radius: 10px; padding: 3px; }
.suggest .meta { font-size: .76rem; color: var(--muted); }
.suggest mark { background: none; color: var(--accent); padding: 0; font-weight: 700; }
.suggest .hist { display: flex; flex-wrap: wrap; gap: .4rem; padding: .25rem 1rem .6rem; }
.suggest .hist a { display: inline-flex; padding: .3rem .8rem; background: var(--bg-2); border-radius: 999px; font-size: .84rem; }

.hdr-actions { display: flex; align-items: center; gap: .15rem; }
.hdr-btn { display: flex; align-items: center; gap: .5rem; color: var(--ink); padding: .45rem .65rem; border-radius: 999px; position: relative; line-height: 1.15; background: none; border: 0; transition: background .2s; }
.hdr-btn:hover { background: var(--bg-2); color: var(--ink); }
.hdr-btn .i { width: 24px; height: 24px; stroke-width: 1.7; }
.hdr-btn small { display: block; color: var(--muted); font-size: .7rem; }
.hdr-btn strong { font-size: .86rem; font-weight: 600; }
.theme-toggle .i-moon { display: none; }
html[data-theme="dark"] .theme-toggle .i-moon { display: block; }
html[data-theme="dark"] .theme-toggle .i-sun { display: none; }
.badge-count { position: absolute; top: 1px; inset-inline-start: 26px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); font-variant-numeric: tabular-nums; }
.badge-count:empty, .badge-count[data-zero="1"] { display: none; }
.badge-count.bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 100% { transform: scale(1); } }

.mainnav { border-top: 1px solid var(--line-2); }
.mainnav .inner { display: flex; align-items: center; gap: .15rem; min-height: 46px; overflow-x: auto; scrollbar-width: none; }
.mainnav .inner::-webkit-scrollbar { display: none; }
.mainnav a, .mainnav button.navlink { color: var(--ink-2); font-size: .88rem; font-weight: 500; padding: .45rem .8rem; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; position: relative; transition: color .2s, background .2s; }
.mainnav a:hover, .mainnav button.navlink:hover, .mainnav a.active { color: var(--ink); background: var(--bg-2); }
.mainnav .all-cats { background: var(--ink); color: var(--bg); font-weight: 600; }
.mainnav .all-cats:hover, .mainnav .all-cats[aria-expanded="true"] { background: var(--accent); color: #fff; }
.mainnav .all-cats .i:last-child { transition: transform .3s var(--ease); }
.mainnav .all-cats[aria-expanded="true"] .i:last-child { transform: rotate(180deg); }
.mainnav .hot { color: var(--deal); }
.mainnav .push { margin-inline-start: auto; }

/* Mega menu */
.mega { position: absolute; inset-inline: 0; top: 100%; z-index: 1040; padding: 0 0 1rem; pointer-events: none; }
.mega .panel-mega { background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; display: grid; grid-template-columns: 1fr 300px; overflow: hidden; }
.mega.show { pointer-events: auto; }
.mega.show .panel-mega { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mega .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .2rem 1rem; padding: 1.25rem; align-content: start; }
.mega .cat { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; border-radius: 14px; color: var(--ink); transition: background .2s, transform .2s var(--ease); }
.mega .cat:hover { background: var(--accent-soft); transform: translateX(3px); }
html[dir="rtl"] .mega .cat:hover { transform: translateX(-3px); }
.mega .cat .im { width: 46px; height: 46px; border-radius: 12px; background: var(--media-bg); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; color: var(--accent); }
.mega .cat .im img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.mega .cat .n { font-weight: 600; font-size: .9rem; display: block; }
.mega .cat .c { font-size: .76rem; color: var(--muted); }
.mega .sub { padding-inline-start: 3.9rem; margin: -.2rem 0 .4rem; display: flex; flex-wrap: wrap; gap: .1rem .7rem; font-size: .84rem; }
.mega .sub a { color: var(--muted); padding: 0; background: none; }
.mega .sub a:hover { color: var(--accent); }
.mega .feature { background: var(--mesh); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; border-inline-start: 1px solid var(--line-2); }
.mega .feature h3 { font-size: 1.25rem; font-weight: 750; margin: 0; }
.mega .feature p { color: var(--muted); font-size: .88rem; margin: .4rem 0 0; }
.mega .feature .im { background: var(--media-bg); border-radius: var(--radius); aspect-ratio: 4/3; display: grid; place-items: center; }
.mega .feature .im img { width: 70%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 1199.98px) { .mega .panel-mega { grid-template-columns: 1fr; } .mega .feature { display: none; } }

/* Mobile header */
.mobile-search { display: none; padding: 0 0 .7rem; }
@media (max-width: 991.98px) {
  :root { --header-h: 58px; }
  .site-header .bar { gap: .35rem; }
  .site-header .bar > .search { display: none; }
  .mobile-search { display: block; }
  .mobile-search .search { max-width: none; }
  .mobile-search .search select { display: none; }
  .hdr-btn .txt { display: none; }
  .hdr-btn { padding: .45rem; }
  .brand-logo img { height: 28px; }
  .mainnav { display: none; }
  .topbar .hide-sm { display: none !important; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}
.site-header.compact .mobile-search { display: none; }

.bottom-nav { position: fixed; bottom: 10px; inset-inline: 10px; height: 60px; border-radius: 22px; display: none; z-index: 1035; padding: 0 .25rem; margin-bottom: env(safe-area-inset-bottom);
  background: var(--glass-strong); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.bottom-nav a, .bottom-nav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .66rem; font-weight: 600; color: var(--muted); background: none; border: 0; position: relative; border-radius: 16px; }
.bottom-nav .i { width: 22px; height: 22px; transition: transform .25s var(--ease-spring); }
.bottom-nav .active { color: var(--accent); }
.bottom-nav .active .i { transform: translateY(-1px) scale(1.08); }
.bottom-nav .badge-count { top: 6px; inset-inline-start: calc(50% + 4px); }
@media (max-width: 991.98px) { .bottom-nav { display: flex; } }

.offcanvas { --bs-offcanvas-bg: var(--surface); --bs-offcanvas-color: var(--ink); }
.offcanvas-backdrop.show { opacity: 1; background: var(--overlay); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.offcanvas.offcanvas-end, .offcanvas.offcanvas-start { transition: transform .45s var(--ease); }
.offcanvas-menu .offcanvas-header { border-bottom: 1px solid var(--line-2); }
.offcanvas-menu .menu-link { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; color: var(--ink); font-weight: 500; border-radius: 14px; margin: 0 .5rem; }
.offcanvas-menu .menu-link:hover { background: var(--bg-2); }
.offcanvas-menu .menu-link .im, .offcanvas-menu .menu-link > img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; background: var(--media-bg); display: grid; place-items: center; flex-shrink: 0; color: var(--accent); }
.offcanvas-menu .menu-link .im img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.offcanvas-menu .menu-head { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 1.1rem 1.25rem .4rem; font-weight: 700; }
.drawer-tools { display: flex; gap: .5rem; padding: 1rem; border-top: 1px solid var(--line-2); flex-wrap: wrap; }

/* ---------- 7. Sections ---------- */
main { min-height: 50vh; }
.section { margin: 3.25rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-head h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 760; margin: 0; letter-spacing: -.03em; }
.section-head p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.eyebrow-x { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .4rem; }
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line-2); }
.panel-pad { padding: 1.25rem; }
@media (min-width: 768px) { .panel-pad { padding: 1.6rem; } }
.page-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; margin: 0; }
.crumbs { font-size: .82rem; color: var(--muted); margin: 1.1rem 0 .9rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .i { width: 13px; height: 13px; opacity: .6; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--bg-2); color: var(--ink-2); }
.chip .i { width: 1em; height: 1em; }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-deal { background: var(--deal); color: #fff; }
.chip-brand { background: var(--accent-soft); color: var(--accent); }
.chip-dark { background: var(--ink); color: var(--bg); }
.chip-glass { background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--glass-line); color: var(--ink); }

/* ---------- 8. Hero showcase ---------- */
.hero-x { border-radius: var(--radius-lg); margin-top: 1rem; min-height: clamp(440px, 58vh, 600px); background: var(--mesh); border: 1px solid var(--line-2); display: grid; }
.hero-x .slides { position: relative; display: grid; }
.hero-x .slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4.5rem); opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; position: relative; }
.hero-x .slide.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-x .slide.has-img { border-radius: var(--radius-lg); overflow: hidden; }
.hero-x .slide-pic, .promo .promo-pic { position: absolute; inset: 0; z-index: 0; }
.hero-x .slide-pic img, .promo .promo-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-x .slide.img-only { padding: 0; }
/* Image slides: no fade over the photo at all — the text sits in a compact, semi-transparent glass box */
.hero-x .slide.has-img .copy { background: color-mix(in srgb, var(--bg) 55%, transparent); -webkit-backdrop-filter: blur(6px) saturate(130%); backdrop-filter: blur(6px) saturate(130%);
  border: 1px solid color-mix(in srgb, var(--bg) 55%, transparent); border-radius: 20px; padding: 1.1rem 1.3rem 1.2rem; box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .35); max-width: 440px; }
.hero-x .slide.has-img .copy .grad-text { background-image: linear-gradient(100deg, var(--ink) 0%, var(--ink) 40%, var(--accent) 60%, var(--ink) 85%); }
.hero-x .slide.has-img .copy .chip { font-size: .7rem; padding: .22rem .6rem; }
.hero-x .slide.has-img .copy h1, .hero-x .slide.has-img .copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin: .55rem 0 .45rem; line-height: 1.08; }
.hero-x .slide.has-img .copy p { color: var(--ink); font-size: .92rem; font-weight: 500; margin-bottom: .9rem; text-shadow: 0 0 1px color-mix(in srgb, var(--bg) 80%, transparent); }
.hero-x .slide.has-img .copy .btn-lg { padding: .55rem 1.05rem; font-size: .88rem; }
.hero-x .slide.has-img .copy .ctas { gap: .45rem; }
@media (max-width: 991.98px) { .hero-x .slide.has-img { align-items: end; } .hero-x .slide.has-img .copy { max-width: none; } }
/* Without a dedicated mobile image, keep the subject (usually on the right of wide artwork) in frame on phones */
@media (max-width: 767.98px) { .hero-x .slide-pic img { object-position: 72% center; } html[dir="rtl"] .hero-x .slide-pic img { object-position: 28% center; } }
.deal-card.has-img h3, .promo.has-img h3 { text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.deal-card.has-img p, .promo.has-img p { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.slide-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.slide-link:focus-visible { outline-offset: -4px; }
.promo.has-img { background: #0b0b0f; color: #fff; border-color: transparent; }
.promo.has-img:not(.img-only)::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .18) 45%, transparent 70%); }
html[dir="rtl"] .promo.has-img:not(.img-only)::before { background: linear-gradient(270deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .18) 45%, transparent 70%); }
.promo.has-img > :not(.promo-pic):not(.slide-link) { position: relative; z-index: 1; }
.promo.has-img p { color: rgba(255, 255, 255, .82); }
.promo.has-img .eyebrow-x { color: #9cc2ff; }
.promo.img-only { padding: 0; aspect-ratio: 16 / 7; min-height: 0; }
.hero-x .copy { position: relative; z-index: 2; max-width: 600px; }
.hero-x .slide .copy > * { transform: translateY(16px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.hero-x .slide.on .copy > * { transform: none; opacity: 1; }
.hero-x .slide.on .copy > :nth-child(2) { transition-delay: .08s; } .hero-x .slide.on .copy > :nth-child(3) { transition-delay: .16s; } .hero-x .slide.on .copy > :nth-child(4) { transition-delay: .24s; } .hero-x .slide.on .copy > :nth-child(5) { transition-delay: .32s; }
.hero-x h1, .hero-x h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; margin: .75rem 0 1rem; }
html[lang="ar"] .hero-x h1, html[lang="ar"] .hero-x h2 { line-height: 1.2; letter-spacing: 0; }
.hero-x p { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); margin-bottom: 1.75rem; max-width: 480px; }
.hero-x .ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-x .stage { position: relative; height: 100%; min-height: 360px; z-index: 1; }
.hero-x .orb { position: absolute; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(245, 245, 247, .85)); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px -20px rgba(11, 11, 15, .25), 0 1px 0 #fff inset; will-change: transform; }
html[data-theme="dark"] .hero-x .orb { background: linear-gradient(160deg, #fafafa, #e9e9ee); border-color: rgba(255, 255, 255, .2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); }
.hero-x .orb img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.hero-x .orb.o1 { width: 52%; aspect-ratio: 1; inset-inline-start: 10%; top: 10%; }
.hero-x .orb.o2 { width: 34%; aspect-ratio: 1; inset-inline-end: 2%; top: 2%; }
.hero-x .orb.o3 { width: 30%; aspect-ratio: 1; inset-inline-end: 8%; bottom: 4%; }
.hero-x .orb .tag { position: absolute; bottom: -14px; inset-inline-start: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .74rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; }
html[dir="rtl"] .hero-x .orb .tag { transform: translateX(50%); }
.hero-x .ring { position: absolute; inset: 8% 6%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--accent) 30%, transparent); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-x .hero-ui { position: absolute; bottom: 1.25rem; inset-inline-start: clamp(2rem, 5vw, 4.5rem); display: flex; align-items: center; gap: .75rem; z-index: 3; }
.hero-x .dots { display: flex; gap: .4rem; }
.hero-x .dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--silver); border: 0; padding: 0; transition: width .35s var(--ease), background .35s; position: relative; overflow: hidden; }
.hero-x .dots button.on { width: 34px; background: var(--line); }
.hero-x .dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
html[dir="rtl"] .hero-x .dots button.on::after { transform-origin: right; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-x .nav { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
@media (max-width: 991.98px) {
  .hero-x .slide { grid-template-columns: 1fr; padding: 2rem 1.5rem 4.5rem; }
  .hero-x .stage { min-height: 240px; order: -1; }
  .hero-x .orb.o1 { width: 46%; inset-inline-start: 4%; }
  .hero-x .ring { display: none; }
  .hero-x .hero-ui { inset-inline-start: 1.5rem; }
}
@media (max-width: 575.98px) {
  .hero-x { min-height: 0; }
  .hero-x .stage { min-height: 210px; }
  .hero-x .orb.o1 { width: 50%; top: 6%; inset-inline-start: 6%; }
  .hero-x .orb.o2 { width: 34%; top: 4%; }
  .hero-x .orb.o3 { display: none; }
  .hero-x .nav { display: none; }
  .hero-x h1, .hero-x h2 { font-size: 2.1rem; }
}

/* Stats counters */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 1rem; }
.stat-x { border-radius: var(--radius); padding: 1.1rem 1.25rem; display: flex; align-items: center; gap: .9rem; background: var(--surface); border: 1px solid var(--line-2); }
.stat-x .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.stat-x .v { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-x .k { font-size: .8rem; color: var(--muted); }
@media (max-width: 991.98px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .stat-x { padding: .8rem; gap: .6rem; } .stat-x .ic { width: 36px; height: 36px; } .stat-x .v { font-size: 1.15rem; } }

/* Trust (legacy) */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.trust .t { display: flex; align-items: center; gap: .8rem; background: var(--surface); border-radius: var(--radius); padding: .9rem 1rem; border: 1px solid var(--line-2); }
.trust .t .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.trust .t strong { display: block; font-size: .9rem; }
.trust .t span { font-size: .8rem; color: var(--muted); }
@media (max-width: 991.98px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; gap: 1rem; }
.cat-card { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); display: flex; flex-direction: column; overflow: hidden; min-height: 210px; }
.cat-card .im { flex: 1; background: var(--media-bg); display: grid; place-items: center; padding: 1.25rem; overflow: hidden; color: var(--accent); }
.cat-card .im img { width: 78%; height: 120px; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.cat-card .im .i { width: 46px; height: 46px; }
.cat-card:hover .im img { transform: scale(1.08) translateY(-4px); }
.cat-card .cap { padding: .8rem 1rem .9rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cat-card .n { font-weight: 650; font-size: .92rem; line-height: 1.25; }
.cat-card .c { font-size: .75rem; color: var(--muted); }
.cat-card .go { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; flex-shrink: 0; transition: background .25s, color .25s, transform .3s var(--ease); color: var(--ink); }
.cat-card:hover .go { background: var(--accent); color: #fff; transform: rotate(-45deg); }
html[dir="rtl"] .cat-card:hover .go { transform: scaleX(-1) rotate(-45deg); }
.cat-card.big { grid-column: span 2; grid-row: span 2; min-height: 436px; }
.cat-card.big .im img { height: 260px; }
.cat-card.big .n { font-size: 1.2rem; }
@media (max-width: 1199.98px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767.98px) {
  .cat-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
  .cat-card, .cat-card.big { grid-column: auto; grid-row: auto; min-height: 190px; scroll-snap-align: start; }
  .cat-card.big .im img, .cat-card .im img { height: 100px; }
  .cat-card.big .n { font-size: .92rem; }
}
/* Legacy category tiles (categories page) */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.cat-tile { background: var(--surface); border-radius: var(--radius); padding: 1rem .75rem; text-align: center; color: var(--ink); border: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.cat-tile .im { width: 84px; height: 84px; border-radius: 50%; background: var(--media-bg); display: grid; place-items: center; overflow: hidden; color: var(--accent); }
.cat-tile .im img { width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.cat-tile .n { font-weight: 650; font-size: .9rem; line-height: 1.25; }
.cat-tile .c { font-size: .76rem; color: var(--muted); }

/* Brands marquee */
.brand-marquee { overflow: hidden; position: relative; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-marquee .lane { display: flex; gap: 1rem; width: max-content; animation: marquee 40s linear infinite; }
.brand-marquee:hover .lane { animation-play-state: paused; }
html[dir="rtl"] .brand-marquee .lane { animation-name: marqueeRtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
.brand-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.brand-tile { background: var(--surface); border-radius: var(--radius); height: 92px; min-width: 180px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); font-weight: 800; font-size: 1.1rem; text-align: center; padding: .75rem 1.25rem; }
.brand-tile img { max-height: 40px; max-width: 120px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
html[data-theme="dark"] .brand-tile img { filter: grayscale(1) invert(1) brightness(1.6); }
.brand-tile:hover img { filter: none; opacity: 1; transform: scale(1.05); }
html[data-theme="dark"] .brand-tile:hover img { filter: brightness(1.15); }
.brand-tile small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); }

/* ---------- 9. Product cards & rails ---------- */
.rail { position: relative; }
.rail .track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 1rem) / 5); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .15rem 1.25rem; margin: -.5rem -.15rem 0; }
.rail .track::-webkit-scrollbar { display: none; }
.rail .track > * { scroll-snap-align: start; }
.rail .arrow { position: absolute; top: 36%; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; z-index: 3; color: var(--ink); background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow); transition: opacity .25s, transform .25s var(--ease); }
.rail .arrow:hover { transform: scale(1.08); }
.rail .arrow.prev { inset-inline-start: -16px; }
.rail .arrow.next { inset-inline-end: -16px; }
.rail .arrow[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 1199.98px) { .rail .track { grid-auto-columns: calc((100% - 3 * 1rem) / 4); } }
@media (max-width: 991.98px) { .rail .track { grid-auto-columns: calc((100% - 2 * 1rem) / 3); } .rail .arrow { display: none; } }
@media (max-width: 575.98px) { .rail .track { grid-auto-columns: 47%; gap: .7rem; } }

.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
@media (max-width: 575.98px) { .grid-products { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

.pcard { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line-2); display: flex; flex-direction: column; position: relative; height: 100%; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s; transform-style: preserve-3d; will-change: transform; }
.pcard:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard.tilting { transition: transform .12s linear, box-shadow .45s var(--ease); }
.pcard .media { position: relative; aspect-ratio: 1; background: var(--media-bg); display: grid; place-items: center; padding: 1.1rem; margin: .5rem .5rem 0; border-radius: calc(var(--radius) - 6px); overflow: hidden; }
.pcard .media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.pcard:hover .media img { transform: scale(1.08); }
.pcard .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 62%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.pcard:hover .media::after { transform: translateX(120%); }
.pcard .flags { position: absolute; top: 1rem; inset-inline-start: 1rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; z-index: 3; }
.pcard .flag, .flag { font-size: .68rem; font-weight: 800; padding: .25rem .55rem; border-radius: 999px; letter-spacing: .02em; }
.flag-deal { background: var(--deal); color: #fff; }
.flag-deal, .pcard .off, .chip-deal { unicode-bidi: isolate; }
html[dir="rtl"] .flag-deal, html[dir="rtl"] .pcard .off { direction: ltr; }
.flag-new { background: var(--ink); color: var(--bg); }
.flag-quote { background: var(--accent-soft); color: var(--accent); }
.pcard .tools { position: absolute; top: .95rem; inset-inline-end: .95rem; display: flex; flex-direction: column; gap: .4rem; z-index: 3; }
.pcard .tools button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--glass-line); display: grid; place-items: center; color: #3a3a42;
  background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm);
  transition: color .2s, background .2s, opacity .3s var(--ease), transform .3s var(--ease); }
.pcard .tools button .i { width: 18px; height: 18px; }
.pcard .tools button:hover { color: var(--accent); background: #fff; transform: scale(1.08); }
.pcard .tools .qv, .pcard .tools .cmp { opacity: 0; transform: translateX(8px); }
html[dir="rtl"] .pcard .tools .qv, html[dir="rtl"] .pcard .tools .cmp { transform: translateX(-8px); }
.pcard:hover .tools .qv, .pcard:hover .tools .cmp, .pcard:focus-within .tools .qv, .pcard:focus-within .tools .cmp { opacity: 1; transform: none; }
.pcard .tools .cmp { transition-delay: .05s; }
.pcard .tools .cmp.on { color: #fff; background: var(--accent); opacity: 1; transform: none; }
.wish.on, .pcard .tools .wish.on { color: #ff2d55 !important; }
.wish.on .i { fill: #ff2d55; }
.wish.pop .i { animation: heartPop .5s var(--ease-spring); }
@keyframes heartPop { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
@media (hover: none) { .pcard .tools .qv { display: none; } .pcard .tools .cmp { opacity: 1; transform: none; } }
.pcard .body { padding: .75rem 1rem 1rem; display: flex; flex-direction: column; gap: .28rem; flex: 1; }
.pcard .brand { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.pcard .brand:hover { color: var(--accent); }
.pcard .name { font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; letter-spacing: -.01em; }
.pcard .name:hover { color: var(--accent); }
.pcard .sku { font-size: .7rem; color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; direction: ltr; unicode-bidi: isolate; }
.pcard .rating { display: flex; align-items: center; gap: .3rem; font-size: .76rem; color: var(--muted); }
.pcard .prices { margin-top: auto; padding-top: .4rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; }
.pcard .was { font-size: .8rem; color: var(--muted); text-decoration: line-through; }
.pcard .off { font-size: .72rem; font-weight: 800; color: var(--deal); background: var(--deal-soft); padding: .1rem .45rem; border-radius: 999px; }
.pcard .stock { font-size: .74rem; display: flex; align-items: center; gap: .35rem; color: var(--ok); font-weight: 500; }
.pcard .stock .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.pcard .stock.low { color: var(--warn); }
.pcard .stock.out { color: var(--muted); }
.pcard .add { margin-top: .6rem; }
.pcard .add .btn { width: 100%; padding: .55rem .8rem; font-size: .86rem; }
.pcard .vat { font-size: .7rem; color: var(--muted); }

/* List view */
.grid-products.list { grid-template-columns: 1fr; gap: .75rem; }
.grid-products.list .pcard { flex-direction: row; align-items: stretch; }
.grid-products.list .pcard .media { width: 210px; flex-shrink: 0; margin: .5rem; aspect-ratio: auto; }
.grid-products.list .pcard .body { padding: 1rem 1.25rem; display: grid; grid-template-columns: 1fr 220px; grid-template-areas: "brand prices" "name prices" "sku stock" "rating add"; column-gap: 1.5rem; align-content: center; }
.grid-products.list .pcard .brand { grid-area: brand; }
.grid-products.list .pcard .name { grid-area: name; font-size: 1.05rem; min-height: 0; -webkit-line-clamp: 2; }
.grid-products.list .pcard .sku { grid-area: sku; }
.grid-products.list .pcard .rating { grid-area: rating; }
.grid-products.list .pcard .prices { grid-area: prices; margin: 0; padding: 0; justify-content: flex-end; align-self: end; }
.grid-products.list .pcard .prices .price { font-size: 1.35rem; }
.grid-products.list .pcard .stock { grid-area: stock; justify-content: flex-end; }
.grid-products.list .pcard .add { grid-area: add; margin: .3rem 0 0; }
.grid-products.list .pcard .flags { top: 1rem; inset-inline-start: 1rem; }
.grid-products.list .pcard .tools { inset-inline-end: auto; inset-inline-start: 168px; }
@media (max-width: 767.98px) {
  .grid-products.list .pcard .media { width: 120px; padding: .5rem; }
  .grid-products.list .pcard .body { grid-template-columns: 1fr; grid-template-areas: "brand" "name" "prices" "stock" "add"; padding: .75rem; }
  .grid-products.list .pcard .prices, .grid-products.list .pcard .stock { justify-content: flex-start; }
  .grid-products.list .pcard .sku, .grid-products.list .pcard .rating, .grid-products.list .pcard .tools { display: none; }
}

.price { font-weight: 800; color: var(--ink); white-space: nowrap; letter-spacing: -.02em; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
html[lang="ar"] .price { font-family: var(--font); }
.price .cur { font-size: .62em; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.price sup { font-size: .6em; top: -.6em; font-weight: 700; }
.pcard .price { font-size: 1.2rem; }
.price.deal { color: var(--deal); }
.price.xl { font-size: 2.2rem; }
.price.lg { font-size: 1.35rem; }
.price-alt { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: .1rem; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars .i { width: 14px; height: 14px; }
.stars .empty { color: var(--line); }

/* Fly-to-cart ghost */
.fly-ghost { position: fixed; z-index: 3000; width: 70px; height: 70px; border-radius: 16px; background: var(--media-bg) center/80% no-repeat; box-shadow: var(--shadow-lg); pointer-events: none; transition: transform .75s cubic-bezier(.5, -0.2, .3, 1), opacity .75s ease-in; }

/* ---------- 10. Deals, promos, bands ---------- */
.deal-hero { border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: center; background: #0b0b0f; color: #fff; position: relative; overflow: hidden; isolation: isolate; }
html[data-theme="dark"] .deal-hero { background: #111116; border: 1px solid var(--line); }
.deal-hero .img { background: var(--media-bg); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 1.5rem; max-width: 380px; width: 100%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.deal-hero .img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.deal-hero h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 780; margin: .75rem 0; letter-spacing: -.03em; }
.deal-hero h3 a { color: #fff; }
.deal-hero .price { color: #fff; font-size: 2.2rem; }
.deal-hero .price .cur { color: #b9bcc6; }
.deal-hero .was { color: #8d909c; text-decoration: line-through; }
.deal-hero .meta-x { color: #a6a9b4; }
.countdown { display: inline-flex; gap: .45rem; margin: 1rem 0 1.25rem; direction: ltr; }
.countdown span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 14px; padding: .5rem .7rem; min-width: 62px; text-align: center; font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; font-family: var(--font-display); }
.countdown small { display: block; font-size: .6rem; font-weight: 600; color: #a6a9b4; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font); }
.deal-hero .btn-glass { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); }
.deal-hero .btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
html:not([data-theme="dark"]) .deal-hero .btn-cta { background: linear-gradient(180deg, #ffffff, #e3e5ea); color: #0b0b0f; }
@media (max-width: 767.98px) { .deal-hero { grid-template-columns: 1fr; } .deal-hero .img { max-width: 240px; margin: 0 auto; } }

.side-promos { display: grid; gap: 1rem; height: 100%; }
.promo { border-radius: var(--radius-lg); padding: 1.75rem; color: var(--ink); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; background: var(--mesh); border: 1px solid var(--line-2); isolation: isolate; }
.promo.dark { background: #0b0b0f; color: #fff; border-color: transparent; }
.promo.dark p { color: #b9bcc6; }
.promo h3 { font-size: 1.5rem; font-weight: 780; margin: 0 0 .4rem; letter-spacing: -.03em; }
.promo p { margin: 0 0 1rem; color: var(--muted); font-size: .92rem; max-width: 420px; }
.promo .promo-img { position: absolute; inset-inline-end: 1.25rem; bottom: 1rem; width: 38%; max-width: 190px; aspect-ratio: 1; border-radius: 22px; background: var(--media-bg); display: grid; place-items: center; z-index: -1; box-shadow: var(--shadow); }
.promo .promo-img img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.promo a.stretched { color: inherit; font-weight: 600; display: inline-flex; gap: .3rem; align-items: center; }
@media (max-width: 575.98px) { .promo .promo-img { opacity: .35; } }

.biz-band { border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); position: relative; overflow: hidden; background: #0b0b0f; color: #fff; isolation: isolate; }
html[data-theme="dark"] .biz-band { background: #111116; border: 1px solid var(--line); }
.biz-band h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.035em; }
.biz-band p { color: #b9bcc6; }
.biz-band .feat { display: flex; gap: .75rem; align-items: flex-start; }
.biz-band .feat .ic { width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); display: grid; place-items: center; flex-shrink: 0; }
.biz-band .pcard { color: var(--ink); }
html:not([data-theme="dark"]) .biz-band .btn-cta { background: linear-gradient(180deg, #ffffff, #e3e5ea); color: #0b0b0f; }

/* Reviews */
.review-card { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line-2); height: 100%; display: flex; flex-direction: column; gap: .7rem; }
.review-card .q { font-size: 2.6rem; line-height: .5; color: var(--accent); font-family: Georgia, serif; height: 18px; }
.review-card .who { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex-shrink: 0; }

/* Newsletter */
.newsletter { border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center; background: var(--mesh); border: 1px solid var(--line-2); }
.newsletter h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.035em; }
.newsletter form { display: flex; gap: .5rem; padding: .35rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.newsletter form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.newsletter input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding-inline-start: 1rem; }
@media (max-width: 767.98px) { .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .newsletter form { flex-direction: column; border-radius: var(--radius); } }

/* ---------- 11. Footer ---------- */
.site-footer { background: #0b0b0f; color: #9b9ea9; margin-top: 4rem; font-size: .9rem; position: relative; overflow: hidden; isolation: isolate; }
html[data-theme="dark"] .site-footer { background: #050506; border-top: 1px solid var(--line-2); }
.site-footer a { color: #d6d8df; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: .82rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer .top { padding: 3.5rem 0 2rem; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.25rem 0; font-size: .78rem; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0 2.25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; margin: 0; letter-spacing: -.03em; }
.pay-logos { display: flex; flex-wrap: wrap; gap: .45rem; }
.pay-logos { align-items: center; }
.pay-logos img { width: 60px; height: 38px; border-radius: 6px; display: block; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.pay-logos img:hover { transform: translateY(-2px); }
.pay-logos span { background: #fff; color: #0b0b0f; border-radius: 6px; height: 38px; padding: 0 .65rem; display: inline-flex; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.pay-logos .tamara { background: linear-gradient(90deg, #ffe1ec, #ffd3c4); color: #2d0b16; }

/* ---------- 12. Listing ---------- */
.listing { display: grid; grid-template-columns: 268px 1fr; gap: 1.75rem; align-items: start; }
@media (max-width: 991.98px) { .listing { grid-template-columns: 1fr; } }
.filters { position: sticky; top: calc(var(--header-h) + 62px); max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto; scrollbar-width: thin; }
.filter-group { border-bottom: 1px solid var(--line-2); padding: 1rem 1.15rem; }
.filter-group:last-child { border-bottom: 0; }
.filter-group h3 { font-size: .8rem; font-weight: 700; margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font); color: var(--ink-2); }
.filter-group .form-check { margin-bottom: .4rem; font-size: .9rem; }
.filter-group .form-check-label { display: flex; justify-content: space-between; width: 100%; gap: .5rem; cursor: pointer; }
.filter-group .count { color: var(--muted); font-size: .76rem; background: var(--bg-2); border-radius: 999px; padding: 0 .45rem; height: 1.3rem; display: inline-grid; place-items: center; }
.filter-group .more-list { max-height: 220px; overflow-y: auto; scrollbar-width: thin; }
.price-inputs { display: flex; gap: .5rem; align-items: center; }
.price-inputs input { width: 100%; }
.range-dual { position: relative; height: 28px; margin: .6rem 0 .2rem; }
.range-dual .rail-bg { position: absolute; top: 12px; inset-inline: 0; height: 4px; border-radius: 4px; background: var(--line); }
.range-dual .rail-fill { position: absolute; top: 12px; height: 4px; border-radius: 4px; background: var(--accent); }
.range-dual input[type="range"] { position: absolute; inset: 0; width: 100%; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; margin: 0; height: 28px; }
.range-dual input[type="range"]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: var(--shadow); cursor: grab; }
.range-dual input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: var(--shadow); cursor: grab; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar .count { color: var(--muted); font-size: .9rem; }
.toolbar select { width: auto; min-width: 190px; border-radius: 999px; }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); }
.view-toggle button { width: 34px; height: 30px; border-radius: 999px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; transition: background .2s, color .2s; }
.view-toggle button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.view-toggle .i { width: 17px; height: 17px; }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.active-filters a { display: inline-flex; align-items: center; gap: .3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .28rem .75rem; font-size: .8rem; color: var(--ink-2); animation: sugIn .3s var(--ease) both; }
.active-filters a:hover { border-color: var(--deal); color: var(--deal); }
.active-filters .i { width: 14px; height: 14px; }
.listing-hero { border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 1.25rem; position: relative; overflow: hidden; background: var(--mesh); border: 1px solid var(--line-2); }
.listing-hero p { color: var(--muted); margin: .5rem 0 0; max-width: 760px; }
.listing-hero .count-x { color: var(--muted); font-size: .85rem; margin-top: .4rem; }
.subcats { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.subcats a { background: var(--surface); border: 1px solid var(--line); padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; color: var(--ink-2); font-weight: 500; }
.subcats a:hover { border-color: var(--accent); color: var(--accent); }
.pager { display: flex; justify-content: center; gap: .35rem; margin: 2rem 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; padding: 0 .7rem; transition: background .2s, border-color .2s; }
.pager a:hover { border-color: var(--ink); }
.pager .on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager .off { opacity: .45; }
.load-more-wrap { text-align: center; margin-top: 1.5rem; }
.load-more-wrap .progress-x { height: 3px; max-width: 220px; margin: .75rem auto 0; background: var(--line); border-radius: 3px; overflow: hidden; }
.load-more-wrap .progress-x span { display: block; height: 100%; background: var(--accent); }
.empty-state { text-align: center; padding: 3.5rem 1rem; }
.empty-state .ic { width: 84px; height: 84px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 1rem; }
.empty-state .ic .i { width: 40px; height: 40px; }
.loading-overlay { position: relative; }
.loading-overlay.busy { pointer-events: none; }
.loading-overlay.busy .grid-products > * { opacity: .35; transition: opacity .2s; }

/* Compare */
.compare-bar { position: fixed; z-index: 1036; inset-inline: 50% auto; bottom: 1rem; transform: translate(-50%, 140%); display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem .55rem 1rem; border-radius: 999px; max-width: calc(100vw - 2rem);
  background: var(--glass-strong); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transition: transform .45s var(--ease); }
html[dir="rtl"] .compare-bar { transform: translate(50%, 140%); }
.compare-bar.show { transform: translate(-50%, 0); }
html[dir="rtl"] .compare-bar.show { transform: translate(50%, 0); }
.compare-bar .thumbs { display: flex; gap: .35rem; }
.compare-bar .thumbs span { width: 40px; height: 40px; border-radius: 12px; background: var(--media-bg) center/80% no-repeat; border: 1px solid var(--line-2); position: relative; }
.compare-bar .thumbs button { position: absolute; top: -6px; inset-inline-end: -6px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); font-size: .7rem; line-height: 1; display: grid; place-items: center; padding: 0; }
.compare-bar .lbl { font-size: .84rem; font-weight: 600; white-space: nowrap; }
.compare-bar .btn { white-space: nowrap; }
@media (max-width: 991.98px) { .compare-bar { bottom: calc(84px + env(safe-area-inset-bottom)); padding: .4rem .45rem .4rem .6rem; gap: .5rem; } .compare-bar .lbl { display: none; } .compare-bar .thumbs span { width: 34px; height: 34px; } }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
.compare-table th, .compare-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line-2); vertical-align: top; font-size: .9rem; }
.compare-table th { color: var(--muted); font-weight: 600; width: 180px; position: sticky; inset-inline-start: 0; background: var(--surface); z-index: 1; }
.compare-table tr.diff td { background: var(--accent-soft); }
.compare-table.diff-only tr.same { display: none; }
.compare-table .head td { border-bottom: 0; }
.compare-table .head .im { aspect-ratio: 4 / 3; max-width: 240px; background: var(--media-bg); border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: .6rem; position: relative; }
.compare-table .head .im img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.compare-table .head .rm { position: absolute; top: 6px; inset-inline-end: 6px; }

/* ---------- 13. Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 340px; gap: 1.75rem; align-items: start; }
@media (max-width: 1199.98px) { .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pdp .buybox { grid-column: 1 / -1; } }
@media (max-width: 767.98px) { .pdp { grid-template-columns: 1fr; gap: 1.1rem; } }
.gallery { position: sticky; top: calc(var(--header-h) + 62px); }
@media (max-width: 767.98px) { .gallery { position: static; } }
.gallery .main { background: var(--media-bg); border-radius: var(--radius-lg); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery .main > img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s ease-out, opacity .35s var(--ease); will-change: transform; }
.gallery .main > img.swap { opacity: 0; transform: scale(.97); }
.gallery .main.zoom > img { transform: scale(2.2); transition: transform .08s linear; }
.gallery .main .video-frame { position: absolute; inset: 0; background: #000; display: none; }
.gallery .main .video-frame iframe, .gallery .main .video-frame video { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
.gallery .main.playing { cursor: default; }
.gallery .main.playing .video-frame { display: block; }
.gallery .main .g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; color: #0b0b0f; opacity: 0; transition: opacity .25s; z-index: 2; }
.gallery .main:hover .g-nav { opacity: 1; }
.gallery .main .g-nav.prev { inset-inline-start: 12px; }
.gallery .main .g-nav.next { inset-inline-end: 12px; }
.gallery .main .counter { position: absolute; bottom: 12px; inset-inline-end: 12px; font-size: .74rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .85); color: #0b0b0f; z-index: 2; }
@media (hover: none) { .gallery .main .g-nav { opacity: 1; } }
.gallery .thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gallery .thumbs button { width: 74px; height: 74px; flex-shrink: 0; border-radius: 14px; background: var(--media-bg); border: 2px solid transparent; padding: 5px; transition: border-color .2s, transform .2s var(--ease); position: relative; }
.gallery .thumbs button:hover { transform: translateY(-2px); }
.gallery .thumbs button.on { border-color: var(--accent); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery .thumbs .vid { color: #fff; background: #0b0b0f; display: grid; place-items: center; }
.gallery .thumbs .vid img { position: absolute; inset: 0; object-fit: cover; opacity: .55; mix-blend-mode: normal; border-radius: 12px; }
.gallery .thumbs .vid .i { position: relative; width: 26px; height: 26px; }
.pdp-info h1 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 780; line-height: 1.18; letter-spacing: -.03em; margin: .5rem 0 .7rem; }
.pdp-info .meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.pdp-info .meta b { color: var(--ink-2); font-weight: 600; }
.pdp-info .short { color: var(--ink-2); font-size: 1rem; }
.key-specs { display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: .9rem; margin: 1.1rem 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-2); }
.key-specs dt, .key-specs dd { padding: .55rem .85rem; border-bottom: 1px solid var(--line-2); margin: 0; }
.key-specs dt { color: var(--muted); font-weight: 500; background: var(--surface-2); }
.key-specs dd { font-weight: 550; }
.key-specs dt:nth-last-of-type(1), .key-specs dd:last-of-type { border-bottom: 0; }
.variant-group { margin: 1rem 0; }
.variant-group .lbl { font-weight: 600; font-size: .88rem; margin-bottom: .45rem; }
.variant-group .opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.variant-group .opt { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .45rem 1rem; font-size: .86rem; font-weight: 500; transition: border-color .2s, background .2s; }
.variant-group .opt:hover { border-color: var(--ink); }
.variant-group .opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.variant-group .opt:disabled { opacity: .4; text-decoration: line-through; }

.buybox { position: sticky; top: calc(var(--header-h) + 62px); }
.buybox .panel { padding: 1.4rem; box-shadow: var(--shadow); }
.buybox .price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.buybox .was { color: var(--muted); text-decoration: line-through; }
.buybox .save { color: var(--deal); font-weight: 700; font-size: .88rem; }
.buybox .vat-note { font-size: .78rem; color: var(--muted); margin-top: .2rem; }
.buybox .stock-line { font-weight: 650; display: flex; align-items: center; gap: .4rem; margin: 1rem 0 .2rem; font-size: .92rem; }
.buybox .stock-line.ok { color: var(--ok); }
.buybox .stock-line.low { color: var(--warn); }
.buybox .stock-line.out { color: var(--deal); }
.buybox .line { display: flex; gap: .75rem; align-items: flex-start; font-size: .86rem; padding: .7rem 0; border-top: 1px solid var(--line-2); }
.buybox .line .i { color: var(--accent); margin-top: 2px; }
.buybox .line small { color: var(--muted); display: block; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty button { width: 40px; height: 42px; border: 0; background: none; font-size: 1.15rem; color: var(--ink-2); transition: background .2s; }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 44px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; background: transparent; color: var(--ink); }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 32px; height: 34px; }
.qty.sm input { width: 36px; }
.tamara-box { border: 1px dashed #f0b7c7; background: linear-gradient(90deg, #fff6f9, #fff9f4); border-radius: 14px; padding: .75rem .9rem; font-size: .84rem; margin-top: 1rem; display: flex; gap: .6rem; align-items: center; color: #2d0b16; }
.tamara-box .tm { font-weight: 900; color: #2d0b16; letter-spacing: -.02em; font-size: 1rem; }

/* Sticky purchase bar (desktop + mobile) */
.sticky-buy { position: fixed; inset-inline: 0; top: var(--sticky-top, 0px); z-index: 1029; transform: translateY(-110%); transition: transform .45s var(--ease); background: var(--glass-strong); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.sticky-buy.show { transform: none; }
.sticky-buy .inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.sticky-buy .im { width: 46px; height: 46px; border-radius: 12px; background: var(--media-bg); display: grid; place-items: center; flex-shrink: 0; }
.sticky-buy .im img { width: 85%; height: 85%; object-fit: contain; mix-blend-mode: multiply; }
.sticky-buy .nm { font-weight: 650; font-size: .92rem; min-width: 0; flex: 1; }
.sticky-buy .nm > span:first-child { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { flex-shrink: 0; }
@media (max-width: 991.98px) {
  .sticky-buy { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); inset-inline: 10px; border-radius: 20px; border: 1px solid var(--line); transform: translateY(160%); }
  .sticky-buy .inner { padding: 0 .4rem 0 .6rem; min-height: 60px; gap: .6rem; }
  .sticky-buy .nm > span:first-child { font-size: .8rem; }
  .sticky-buy .hide-m { display: none !important; }
  .tabs-pdp { top: var(--sticky-top, 0px); }
}

.tabs-pdp { border-bottom: 1px solid var(--line); display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(var(--sticky-top, 0px) + 64px); background: var(--surface); z-index: 5; border-radius: var(--radius) var(--radius) 0 0; }
.tabs-pdp a { padding: .95rem 1.1rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.tabs-pdp a.on, .tabs-pdp a:hover { color: var(--ink); border-color: var(--ink); }
.spec-table { width: 100%; font-size: .92rem; border-radius: var(--radius-sm); overflow: hidden; }
.spec-table th { width: 36%; color: var(--muted); font-weight: 500; padding: .7rem 1rem; background: var(--surface-2); }
.spec-table td { padding: .7rem 1rem; }
.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table .grp th { background: var(--bg-2); color: var(--ink); font-weight: 700; }
.desc { color: var(--ink-2); line-height: 1.8; }
.desc h3 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 .6rem; color: var(--ink); }
.desc ul { padding-inline-start: 1.2rem; }
.desc li { margin-bottom: .3rem; }
.desc li::marker { color: var(--accent); }
.desc img { border-radius: 12px; height: auto; }
.desc table { width: 100%; }
.rating-summary { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: center; }
.rating-summary .big { font-size: 3.2rem; font-weight: 800; line-height: 1; font-family: var(--font-display); letter-spacing: -.04em; }
.bar-row { display: grid; grid-template-columns: 40px 1fr 30px; align-items: center; gap: .6rem; font-size: .82rem; margin-bottom: .3rem; }
.bar-row .bar { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar-row .bar span { display: block; height: 100%; background: var(--star); border-radius: 999px; }
@media (max-width: 575.98px) { .rating-summary { grid-template-columns: 1fr; } }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
html[dir="rtl"] .star-input { flex-direction: row; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: var(--line); font-size: 1.8rem; line-height: 1; transition: transform .2s var(--ease-spring); }
.star-input label:hover { transform: scale(1.15); }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
html[dir="rtl"] .star-input label:hover ~ label { color: var(--line); }
.fbt { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.fbt .item { width: 120px; text-align: center; font-size: .78rem; }
.fbt .item .im { aspect-ratio: 1; background: var(--media-bg); border-radius: var(--radius-sm); display: grid; place-items: center; margin-bottom: .4rem; position: relative; }
.fbt .item .im img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.fbt .item input { position: absolute; top: 8px; inset-inline-start: 8px; }
.fbt .plus { font-size: 1.4rem; color: var(--muted); font-weight: 300; }
.fbt .sum { margin-inline-start: auto; text-align: end; }

/* ---------- 14. Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 390px; gap: 1.75rem; align-items: start; }
@media (max-width: 991.98px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 104px 1fr auto; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.cart-line:last-child { border-bottom: 0; }
.cart-line .im { width: 104px; height: 104px; border-radius: 16px; background: var(--media-bg); display: grid; place-items: center; padding: 8px; }
.cart-line .im img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line .nm { font-weight: 600; color: var(--ink); line-height: 1.35; }
.cart-line .sub { font-size: .8rem; color: var(--muted); }
.cart-line .ctrl { display: flex; align-items: center; gap: .75rem; margin-top: .6rem; flex-wrap: wrap; }
.cart-line .rm { background: none; border: 0; color: var(--muted); font-size: .84rem; display: inline-flex; gap: .3rem; align-items: center; padding: 0; }
.cart-line .rm:hover { color: var(--deal); }
.cart-line .lt { text-align: end; min-width: 110px; }
.cart-line .problem { color: var(--deal); font-size: .84rem; font-weight: 600; margin-top: .35rem; }
@media (max-width: 575.98px) { .cart-line { grid-template-columns: 80px 1fr; } .cart-line .im { width: 80px; height: 80px; } .cart-line .lt { grid-column: 2; text-align: start; } }
.summary { position: sticky; top: calc(var(--header-h) + 62px); }
.summary .row-line { display: flex; justify-content: space-between; gap: 1rem; padding: .38rem 0; font-size: .93rem; }
.summary .row-line.total { font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .95rem; }
.summary .muted-line { font-size: .78rem; color: var(--muted); }
.coupon-form { display: flex; gap: .5rem; }
.coupon-form input { text-transform: uppercase; }
.free-ship-bar { background: var(--accent-soft); border-radius: 14px; padding: .8rem .95rem; font-size: .86rem; margin-bottom: 1rem; }
.free-ship-bar .track { height: 6px; border-radius: 999px; background: var(--surface); margin-top: .55rem; overflow: hidden; }
.free-ship-bar .track span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-3)); border-radius: 999px; transition: width .6s var(--ease); }
.mini-line { display: grid; grid-template-columns: 68px 1fr auto; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line-2); align-items: center; animation: sugIn .35s var(--ease) both; }
.mini-line img { width: 68px; height: 68px; object-fit: contain; border-radius: 14px; background: var(--media-bg); padding: 4px; mix-blend-mode: multiply; }
.mini-line .nm { font-size: .88rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); }
.mini-qty { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; }

.checkout-steps { display: flex; gap: .5rem; margin: 1rem 0 1.4rem; overflow-x: auto; scrollbar-width: none; }
.checkout-steps .s { display: flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.checkout-steps .s .n { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .78rem; }
.checkout-steps .s.on { color: var(--ink); }
.checkout-steps .s.on .n { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.checkout-steps .bar { flex: 1; min-width: 20px; height: 1.5px; background: var(--line); align-self: center; }
.co-section { margin-bottom: 1rem; }
.co-section > h2 { font-size: 1.1rem; font-weight: 750; display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; }
.co-section > h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: .8rem; font-family: var(--font); }
.choice { display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: .9rem 1rem; cursor: pointer; background: var(--surface); transition: border-color .2s, background .2s, box-shadow .2s; height: 100%; position: relative; }
.choice:hover { border-color: var(--silver); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.choice:has(input:checked)::after { content: ""; position: absolute; top: 12px; inset-inline-end: 12px; width: 20px; height: 20px; border-radius: 50%; animation: heartPop .4s var(--ease-spring);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.choice:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.choice.disabled { opacity: .5; cursor: not-allowed; }
.choice .t { font-weight: 700; display: flex; align-items: center; gap: .5rem; padding-inline-end: 1.6rem; }
.choice .d { font-size: .83rem; color: var(--muted); margin-top: .15rem; }
.choice .cost { font-weight: 700; }
.pay-badges { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .45rem; }
.pay-badges span { border: 1px solid var(--line); border-radius: 6px; padding: .12rem .45rem; font-size: .68rem; font-weight: 800; color: var(--ink-2); background: var(--surface); }
.secure-note { display: flex; gap: .5rem; align-items: center; font-size: .78rem; color: var(--muted); justify-content: center; margin-top: .75rem; }
.form-label { font-weight: 600; font-size: .84rem; margin-bottom: .35rem; color: var(--ink-2); }
.form-control, .form-select { border-radius: 12px; border-color: var(--line); padding: .65rem .9rem; background-color: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form-control::placeholder { color: var(--muted); }
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background-color: var(--surface); color: var(--ink); }
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.form-check-input:focus { box-shadow: 0 0 0 4px var(--accent-soft); border-color: var(--accent); }
.form-text { font-size: .76rem; color: var(--muted); }
input[type="tel"], input[type="email"], .ltr { direction: ltr; }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"] { text-align: right; }
.alert { border-radius: 14px; }
.addr-card { border: 1.5px solid var(--line); border-radius: 16px; padding: .95rem 1rem; height: 100%; background: var(--surface); position: relative; }
.addr-card.def { border-color: var(--accent); }

/* ---------- 15. Order / account ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding-inline-start: 2.2rem; padding-bottom: 1.1rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 11px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; inset-inline-start: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; }
.timeline li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline li.done::before { background: var(--ok); }
.timeline li.cur .dot { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px transparent; } }
.timeline li.bad .dot { background: var(--deal); border-color: var(--deal); color: #fff; }
.timeline .dot .i { width: 13px; height: 13px; stroke-width: 3; }
.timeline .t { font-weight: 650; }
.timeline .d { font-size: .8rem; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.st-0, .st-1 { background: var(--warn-soft); color: var(--warn); }
.st-2, .st-9 { background: var(--deal-soft); color: var(--deal); }
.st-3, .st-4, .st-5 { background: var(--accent-soft); color: var(--accent); }
.st-6, .st-7 { background: rgba(120, 90, 255, .12); color: #7a5cff; }
.st-8 { background: var(--ok-soft); color: var(--ok); }
.st-10, .st-11, .st-12 { background: var(--bg-2); color: var(--ink-2); }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.75rem; align-items: start; }
@media (max-width: 991.98px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; color: var(--ink-2); border-radius: 12px; font-weight: 500; transition: background .2s, color .2s; }
.account-nav a:hover { background: var(--bg-2); color: var(--ink); }
.account-nav a.on { background: var(--ink); color: var(--bg); font-weight: 650; }
.account-nav button { width: 100%; text-align: start; }
@media (max-width: 991.98px) {
  .account-nav { display: flex; overflow-x: auto; gap: .35rem; padding: .5rem !important; scrollbar-width: none; }
  .account-nav a, .account-nav form { white-space: nowrap; flex-shrink: 0; }
}
.stat { background: var(--surface); border-radius: var(--radius); padding: 1.15rem 1.25rem; border: 1px solid var(--line-2); }
.stat .v { font-size: 1.6rem; font-weight: 800; font-family: var(--font-display); letter-spacing: -.03em; }
.stat .k { font-size: .8rem; color: var(--muted); }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.order-row:last-child { border-bottom: 0; }
.order-row .thumbs { display: flex; gap: .35rem; }
.order-row .thumbs img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: var(--media-bg); padding: 3px; }
.auth-wrap { max-width: 460px; margin: 2.5rem auto; }
.auth-wrap.wide { max-width: 640px; }
.auth-wrap > .panel { box-shadow: var(--shadow-lg); }
.auth-bg { background: var(--mesh); border-radius: var(--radius-lg); padding: 1px 1rem; margin-top: 1rem; }

/* ---------- 16. Toasts, modals, quick view ---------- */
.toast-host { position: fixed; z-index: 2000; inset-inline-end: 1rem; top: calc(var(--header-h) + 1rem); display: grid; gap: .5rem; max-width: min(380px, calc(100vw - 2rem)); }
.toast-x { background: var(--glass-strong); color: var(--ink); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border: 1px solid var(--line); border-radius: 16px; padding: .8rem .95rem; box-shadow: var(--shadow-lg); display: flex; gap: .7rem; align-items: center; font-size: .88rem; animation: toastIn .45s var(--ease-spring); position: relative; overflow: hidden; }
.toast-x > .i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.6; }
.toast-x.err > .i { background: var(--deal); }
.toast-x a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.toast-x::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left; animation: toastLife var(--life, 4s) linear forwards; }
html[dir="rtl"] .toast-x::after { transform-origin: right; }
.toast-x.err::after { background: var(--deal); }
.toast-x.leave { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }
@keyframes toastLife { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.modal-content { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.modal-backdrop.show { opacity: 1; background: var(--overlay); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal.fade .modal-dialog { transform: translateY(18px) scale(.97); transition: transform .4s var(--ease), opacity .3s; }
.modal.show .modal-dialog { transform: none; }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.qv-grid .im { background: var(--media-bg); aspect-ratio: 1; border-radius: var(--radius); display: grid; place-items: center; }
.qv-grid .im img { width: 85%; height: 85%; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 767.98px) { .qv-grid { grid-template-columns: 1fr; } }
.qv-skel { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.qv-skel .sk-img { aspect-ratio: 1; border-radius: var(--radius); }
@media (max-width: 767.98px) { .qv-skel { grid-template-columns: 1fr; } }
.dropdown-menu { --bs-dropdown-bg: var(--glass-strong); --bs-dropdown-border-color: var(--line); --bs-dropdown-link-active-bg: var(--accent); border-radius: 16px; box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: .4rem; }
.dropdown-item { border-radius: 10px; padding: .45rem .8rem; }

/* Static pages */
.prose { max-width: 820px; color: var(--ink-2); line-height: 1.8; }
.prose h2 { color: var(--ink); font-size: 1.3rem; font-weight: 750; margin: 1.75rem 0 .6rem; }
.prose ul { padding-inline-start: 1.25rem; }

/* Bootstrap surface tweaks for dark mode */
html[data-theme="dark"] .bg-white, html[data-theme="dark"] .bg-light { background-color: var(--surface) !important; }
html[data-theme="dark"] .text-dark { color: var(--ink) !important; }
html[data-theme="dark"] .table { --bs-table-bg: transparent; --bs-table-color: var(--ink); }
html[data-theme="dark"] .btn-close { filter: invert(1); }

/* Invoice (print) */
.invoice { background: #fff; color: #0b0b0f; max-width: 900px; margin: 1.5rem auto; padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); font-size: .9rem; }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice th { background: #f2f2f5; font-weight: 700; font-size: .8rem; }
.invoice th, .invoice td { padding: .55rem .6rem; border-bottom: 1px solid #e4e4ea; text-align: start; vertical-align: top; }
.invoice .num { text-align: end; white-space: nowrap; }
.invoice .tot td { border: 0; padding: .25rem .6rem; }
.invoice .tot .grand td { font-weight: 800; font-size: 1.05rem; border-top: 2px solid #0b0b0f; padding-top: .6rem; }

/* Utilities */
.gap-row { row-gap: 1rem; }
.ratio-box img { object-fit: contain; }
.visually-hidden-focusable:not(:focus) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; }
.lazy-fade { opacity: 0; transition: opacity .4s; }
.lazy-fade.loaded { opacity: 1; }

@media print {
  body { background: #fff; padding: 0 !important; }
  .no-print, .site-header, .topbar, .mainnav, .site-footer, .bottom-nav, .toast-host, .compare-bar, .sticky-buy, .page-aurora { display: none !important; }
  .invoice { box-shadow: none; margin: 0; padding: 0; max-width: none; }
}

/* Reduced motion: keep the design, drop the movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .brand-marquee .lane { flex-wrap: wrap; width: auto; justify-content: center; }
  .brand-marquee { -webkit-mask: none; mask: none; }
  .brand-marquee .dup { display: none; }
  @view-transition { navigation: none; }
}
.pay-badges img { width: 40px; height: 25px; border-radius: 4px; border: 1px solid var(--line); background: #fff; }

/* ---------- Featured deals grid (under the hero) ---------- */
.deals-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.dg-row { display: grid; gap: 1rem; }
.dg-row.wide { grid-template-columns: repeat(2, 1fr); }
.dg-row.tiles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) { .dg-row.tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) { .dg-row.wide { grid-template-columns: 1fr; } .dg-row.tiles { gap: .7rem; } }
.deal-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, #ff6b5e 0%, transparent 55%), linear-gradient(135deg, #b1121c 0%, #7a0a12 100%); box-shadow: var(--shadow); }
.deal-card.wide { aspect-ratio: 4 / 1; min-height: 150px; }
.deal-card.tile { aspect-ratio: 1; }
.deal-card .dc-pic { position: absolute; inset: 0; z-index: -1; }
.deal-card .dc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.deal-card:hover .dc-pic img { transform: scale(1.04); }
.deal-card.has-img:not(.img-only)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .1) 50%, transparent 70%); }
html[dir="rtl"] .deal-card.has-img:not(.img-only)::after { background: linear-gradient(270deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .1) 50%, transparent 70%); }
.deal-card.tile.has-img:not(.img-only)::after { background: linear-gradient(0deg, rgba(0, 0, 0, .58), transparent 50%); }
.deal-card .dc-copy { position: absolute; inset: 0; padding: clamp(1rem, 2.2vw, 1.6rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .35rem; max-width: 70%; }
.deal-card.tile .dc-copy { max-width: none; justify-content: flex-end; }
.deal-card .dc-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); padding: .2rem .6rem; border-radius: 999px; }
.deal-card h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 800; margin: 0; letter-spacing: -.02em; line-height: 1.15; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.deal-card p { margin: 0; color: rgba(255, 255, 255, .88); font-size: .9rem; }
.deal-card .dc-btn { margin-top: .35rem; display: inline-flex; align-items: center; gap: .35rem; background: #fff; color: #7a0a12; font-weight: 700; font-size: .84rem; padding: .45rem .95rem; border-radius: 999px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4); transition: gap .25s var(--ease); }
.deal-card:hover .dc-btn { gap: .6rem; }
.deal-card .slide-link { z-index: 2; }
@media (max-width: 575.98px) { .deal-card.wide { aspect-ratio: 16 / 7; } .deal-card.tile .dc-copy { padding: .8rem; } .deal-card.tile h3 { font-size: 1rem; } .deal-card.tile p { display: none; } }

/* ---------- Budget deals: shop by price ---------- */
.budget { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem); text-align: center; color: #fff;
  background: radial-gradient(60% 80% at 50% 0%, rgba(229, 53, 43, .22), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(139, 92, 246, .22), transparent 70%), #121014; }
.budget-title { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; margin: 0;
  background: linear-gradient(100deg, #ff5f7e, #ff3b3b 40%, #ff8fa3 70%, #ff5f7e); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradText 6s ease-in-out infinite; }
html[lang="ar"] .budget-title { font-family: var(--font-ar); }
.budget-sub { color: #b8b3bd; margin: .6rem 0 clamp(1.25rem, 3vw, 2rem); }
.budget-cards { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: clamp(.75rem, 2vw, 1.5rem); max-width: 1100px; margin: 0 auto; }
@media (max-width: 767.98px) { .budget-cards { grid-template-columns: repeat(2, 1fr); } }
.budget-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; aspect-ratio: 1.1; border-radius: 26px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #ff8a9c 0%, #f04a5b 45%, #e0303f 100%); border: 3px solid #fff; box-shadow: 8px 8px 0 rgba(255, 255, 255, .9), 0 20px 40px -14px rgba(240, 74, 91, .6);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease); }
.budget-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 30% 20%, rgba(255, 255, 255, .35), transparent 70%), radial-gradient(50% 60% at 80% 90%, rgba(255, 255, 255, .18), transparent 70%); }
.budget-card:hover { color: #fff; transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 11px 11px 0 rgba(255, 255, 255, .95), 0 26px 50px -14px rgba(240, 74, 91, .75); }
.budget-card .bc-under { font-weight: 800; font-size: clamp(.9rem, 2vw, 1.5rem); letter-spacing: .04em; text-transform: uppercase; color: #1a0b10; }
.budget-card .bc-amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.03em; color: #fff; display: inline-flex; align-items: baseline; gap: .15em;
  text-shadow: 3px 3px 0 #1a0b10, -1px -1px 0 #1a0b10, 1px -1px 0 #1a0b10, -1px 1px 0 #1a0b10; }
.budget-card .bc-amt .cur { font-size: .38em; letter-spacing: .02em; text-shadow: 2px 2px 0 #1a0b10; }
.budget-card .bc-count { font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .92); margin-top: .35rem; }
.budget-card .bc-go { margin-top: .5rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45); transition: transform .3s var(--ease), background .3s, color .3s; }
.budget-card:hover .bc-go { transform: translateX(4px); background: #fff; color: #e0303f; }
html[dir="rtl"] .budget-card:hover .bc-go { transform: translateX(-4px); }
.budget-card .bc-img { position: absolute; bottom: 12px; inset-inline-end: 12px; width: 22%; aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .92); display: grid; place-items: center; z-index: -1; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .35); }
.budget-card .bc-img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.budget .sparkle { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #d9d4dc; box-shadow: 18px 30px 0 -1px #cfc9d3, 44px 6px 0 -2px #e5e0e8, -20px 52px 0 0 #bdb6c2; opacity: .7; animation: floatY 7s ease-in-out infinite; }
.budget .sparkle.s1 { top: 18px; inset-inline-start: 26px; }
.budget .sparkle.s2 { top: 40px; inset-inline-end: 90px; animation-delay: -2s; }
.budget .sparkle.s3, .budget .sparkle.s4 { width: 18px; height: 18px; border-radius: 0; box-shadow: none; opacity: .9; background: #ff6b8a; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.budget .sparkle.s3 { bottom: 60px; inset-inline-start: 6%; }
.budget .sparkle.s4 { top: 46%; inset-inline-end: 3%; width: 26px; height: 26px; animation-delay: -4s; }
@media (max-width: 575.98px) { .budget .sparkle.s1, .budget .sparkle.s2 { display: none; } .budget-card { border-width: 2px; box-shadow: 5px 5px 0 rgba(255, 255, 255, .9); border-radius: 20px; } .budget-card .bc-img { display: none; } }
