/* ==========================================================================
   City Computers — Modern motion layer
   Loaded after style.css. Aurora hero, glass surfaces, bento grid, tilt cards,
   marquee, preloader, dark mode. All motion respects prefers-reduced-motion.
   ========================================================================== */

:root {
  --ink-950: #070b1a;
  --ink-900: #0b1124;
  --ink-800: #111936;
  --ink-700: #1b2554;
  --vio: #6c5ce7;
  --vio-2: #8b7bff;
  --cyan: #22d3ee;
  --grad-brand: linear-gradient(135deg, #6c5ce7 0%, #4f7cf0 55%, #22d3ee 100%);
  --grad-warm: linear-gradient(135deg, #ff6a2b, #ff9433);

  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-2: #f1f3fa;
  --line: rgba(16, 24, 40, .08);

  /* retune brand blues to the violet-blue palette */
  --blue-600: #4f55e0;
  --blue-500: #6c7cf0;
  --blue-100: #eef0ff;
  --navy-900: #0b1124;
  --navy-800: #111936;
  --navy-700: #1b2554;
  --sh-glow-blue: 0 10px 28px rgba(108, 92, 231, .38);
  --sh-xl: 0 28px 70px rgba(30, 27, 90, .18);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070b1a;
  --surface: #0f1630;
  --surface-2: #141c3d;
  --line: rgba(255, 255, 255, .08);
  --n-0: #0f1630; --n-50: #0b1124; --n-100: #121a38; --n-150: #18214a; --n-200: #232d5a;
  --n-300: #33407a; --n-400: #7f8bb8; --n-500: #97a2c8; --n-600: #b0b9d9; --n-700: #ccd3ea;
  --n-800: #e8ecf8; --n-900: #f5f7fd;
  --blue-100: rgba(108, 92, 231, .2); --green-100: rgba(27, 156, 92, .18); --red-100: rgba(217, 45, 32, .18);
  --blue-600: #8b93ff; --blue-500: #8b93ff;
  --sh-xs: 0 1px 2px rgba(0,0,0,.4); --sh-sm: 0 2px 6px rgba(0,0,0,.4); --sh-md: 0 6px 18px rgba(0,0,0,.45);
  --sh-lg: 0 16px 36px rgba(0,0,0,.5); --sh-xl: 0 30px 80px rgba(0,0,0,.6);
}

body { background: radial-gradient(900px 480px at 100% 0, rgba(108, 92, 231, .07), transparent 70%), var(--bg); color: var(--n-800); transition: background-color .4s, color .4s; }
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; letter-spacing: -.02em; }
::selection { background: var(--vio); color: #fff; }
input, select, textarea { color: var(--n-800); }
input, select, textarea, button { font-family: inherit; }
input[type=checkbox], input[type=radio] { accent-color: var(--vio); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--vio-2), var(--cyan)); border-color: var(--n-100); }

/* ---------- Dark-mode surfaces (style.css hard-codes white in many places) ---------- */
:root[data-theme="dark"] :is(.btn-outline, .hamburger, .cat-card, .product-card, .brand-chip, .filter-box, .card, .cart-table, .cart-summary,
  .form-group input, .form-group select, .form-group textarea, .acct-nav, .compare-table, table.dtable, .toast, .stat-card, .panel,
  .pagination a, .login-card, .qty-input input, .coupon-row input, .filter-box input, .filter-box select, .search-mini, .spec-table) {
  background: var(--surface); color: var(--n-800);
}
:root[data-theme="dark"] .pd-price-box { background: linear-gradient(120deg, rgba(108, 92, 231, .2), rgba(34, 211, 238, .08)); border-color: rgba(139, 147, 255, .25); }
:root[data-theme="dark"] .admin-topbar { background: rgba(11, 17, 36, .85); }
:root[data-theme="dark"] .qty-input button { background: var(--n-150); color: var(--n-800); }
:root[data-theme="dark"] .product-card .price, :root[data-theme="dark"] .pd-price-box .price, :root[data-theme="dark"] .summary-row.total,
:root[data-theme="dark"] .stat-card .value, :root[data-theme="dark"] .logo-text { color: var(--n-900); }
:root[data-theme="dark"] .product-card .thumb { background: var(--n-100); }
:root[data-theme="dark"] .search-form { background: var(--surface); }

/* ---------- Page transitions & theme-switch reveal ---------- */
body { transition: opacity .2s ease; }
body.leaving { opacity: 0; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

/* ==========================================================================
   Preloader, scroll progress, cursor glow
   ========================================================================== */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-content: center; justify-items: center; gap: 16px;
  background: radial-gradient(circle at 50% 38%, #1d2260, #070b1a 70%); color: #fff; animation: plOut .6s .95s var(--ease) forwards; }
.skip-preloader .preloader { display: none; }
.pl-mark { animation: plPop .8s var(--ease-spring) both; filter: drop-shadow(0 12px 30px rgba(108, 92, 231, .6)); }
.pl-word { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -.03em; animation: fadeInUp .6s .2s var(--ease-out) both; }
.pl-word span { color: var(--orange-500); }
.pl-bar { width: 150px; height: 3px; border-radius: 9px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: var(--grad-brand); transform: translateX(-100%); animation: plBar .85s .1s var(--ease) forwards; }
@keyframes plOut { to { opacity: 0; visibility: hidden; transform: scale(1.05); } }
@keyframes plPop { from { opacity: 0; transform: scale(.4) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes plBar { to { transform: translateX(0); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, #6c5ce7, #22d3ee, #ff9433); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(108, 92, 231, .7); }

.cursor-glow { position: fixed; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(108, 92, 231, .13), transparent 62%); transition: opacity .5s; will-change: transform; }
:root[data-theme="dark"] .cursor-glow { background: radial-gradient(circle, rgba(139, 123, 255, .16), transparent 62%); }
@media (hover: none) { .cursor-glow { display: none; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { border-radius: 14px; letter-spacing: .005em; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 16px; }
.btn-primary { background: var(--grad-brand); }
.btn-primary:hover { box-shadow: var(--sh-glow-blue); }
.btn-orange { background: var(--grad-warm); box-shadow: 0 8px 22px rgba(255, 122, 0, .3); }
.btn-orange:hover { box-shadow: 0 14px 34px rgba(255, 122, 0, .5); }
.btn-primary::after, .btn-orange::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-130%); transition: transform .8s var(--ease-out); }
.btn-primary:hover::after, .btn-orange:hover::after { transform: translateX(130%); }
.btn-outline { background: var(--surface); border-color: var(--n-200); }
.btn-outline:hover { border-color: var(--vio-2); color: var(--blue-600); }
.btn-glass { background: rgba(255, 255, 255, .09); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn-magnetic { translate: var(--mx, 0px) var(--my, 0px); transition: translate .25s var(--ease-out), transform var(--fast) var(--ease-spring), box-shadow var(--base) var(--ease); }
.btn .icon { transition: transform .3s var(--ease-spring); }
.btn:hover .icon-arrowRight, .btn:hover svg:last-child { transform: translateX(3px); }

/* ==========================================================================
   Top ticker + header
   ========================================================================== */
.topbar { background: linear-gradient(90deg, #070b1a, #111936 50%, #070b1a); color: #b9c4ea; position: relative; z-index: 95; }
.topbar .container { gap: 24px; }
.ticker { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 8px; padding-right: 54px; color: #cdd6f6; }
.tick .icon { color: var(--orange-500); }
@keyframes ticker { to { transform: translateX(-50%); } }
.topbar-links { flex-shrink: 0; }

.site-header { background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: saturate(1.7) blur(20px); backdrop-filter: saturate(1.7) blur(20px); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .site-header { background: rgba(9, 14, 32, .72); }
.site-header.scrolled { box-shadow: 0 10px 40px rgba(20, 20, 70, .12); }
.logo { color: var(--n-900); }
.logo .logo-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.035em; color: inherit; }
.logo .logo-text span { color: var(--orange-600); }
.logo { gap: 10px; }
.logo-svg { transition: transform .45s var(--ease-spring); filter: drop-shadow(0 6px 14px rgba(108, 92, 231, .4)); }
.logo:hover .logo-svg { transform: rotate(-8deg) scale(1.08); }
.lm-draw { stroke-dasharray: 96; stroke-dashoffset: 96; animation: lmDraw 1.1s .25s var(--ease-out) forwards; }
.lm-dot { animation: pulseDot 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lmDraw { to { stroke-dashoffset: 0; } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

.search-form { background: var(--surface); border: 1.5px solid var(--n-200); border-radius: 999px; padding: 4px 4px 4px 16px; align-items: center; transition: border-color var(--base), box-shadow var(--base), transform var(--base) var(--ease); }
.search-form:hover { border-color: var(--n-300); }
.search-form:focus-within { border-color: var(--vio-2); box-shadow: 0 0 0 4px rgba(108, 92, 231, .14), 0 14px 34px rgba(108, 92, 231, .14); transform: translateY(-1px); }
.search-form .search-ico { display: flex; color: var(--n-400); transition: color var(--fast); }
.search-form:focus-within .search-ico { color: var(--vio); }
.search-form input { border: none !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 10px 12px; flex: 1; min-width: 0; font-size: 14px; }
.search-form button { width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; transition: transform var(--base) var(--ease-spring), box-shadow var(--base); }
.search-form button:hover { background: var(--grad-brand); transform: scale(1.08) rotate(-8deg); box-shadow: var(--sh-glow-blue); }

.header-actions { gap: 6px; }
.header-icon-link { padding: 7px 11px; border-radius: 14px; background: none; border: none; font-family: inherit; cursor: pointer; transition: background var(--base), color var(--fast), transform var(--fast) var(--ease-spring); }
.header-icon-link:hover { background: var(--n-100); color: var(--blue-600); }
.badge { background: var(--grad-warm); top: 1px; right: 2px; border: 2px solid var(--surface); min-width: 19px; text-align: center; }
.theme-toggle .ti { display: inline-flex; }
.theme-toggle .ti-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ti-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ti-moon { display: inline-flex; }
.theme-toggle:hover .ti svg { transform: rotate(35deg) scale(1.15); }

.main-nav { background: linear-gradient(90deg, #0b1124, #111936 55%, #1b2554); }
.main-nav .container { height: 48px; }
.main-nav a { height: 34px; padding: 0 15px; margin: 0 1px; border-radius: 999px; color: #cdd6f6; transition: background var(--base), color var(--fast), transform var(--fast) var(--ease-spring); }
.main-nav a::after { display: none; }
.main-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateY(-1px); }
.main-nav a.nav-hot { color: #ffb36b; gap: 5px; }
.main-nav a.nav-hot svg { color: var(--orange-500); animation: pulseDot 1.6s ease-in-out infinite; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: radial-gradient(1100px 600px at 82% -8%, rgba(108, 92, 231, .5), transparent 62%), radial-gradient(900px 520px at 0% 105%, rgba(34, 211, 238, .22), transparent 62%), linear-gradient(165deg, #070b1a, #0d1433 55%, #111b52);
  animation: none; padding: 78px 0 128px; margin-bottom: 0; isolation: isolate; }
.hero::before, .hero::after { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(72px); mix-blend-mode: screen; will-change: transform; }
.orb.o1 { width: 460px; height: 460px; background: #6c5ce7; top: -150px; right: 6%; opacity: .6; animation: orbA 15s ease-in-out infinite; }
.orb.o2 { width: 380px; height: 380px; background: #22d3ee; bottom: -170px; left: 4%; opacity: .34; animation: orbB 18s ease-in-out infinite; }
.orb.o3 { width: 300px; height: 300px; background: #ff7a1a; top: 34%; left: 44%; opacity: .2; animation: orbC 21s ease-in-out infinite; }
@keyframes orbA { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-70px, 60px) scale(1.15); } }
@keyframes orbB { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(90px, -50px) scale(1.1); } }
@keyframes orbC { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-90px, 40px); } 66% { transform: translate(60px, -60px); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 38%, #000 22%, transparent 74%); mask-image: radial-gradient(ellipse at 50% 38%, #000 22%, transparent 74%); animation: gridMove 24s linear infinite; }
@keyframes gridMove { to { background-position: 56px 56px; } }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }

.hero .hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #e4e9ff; margin-bottom: 0;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; animation: fadeInUp .7s var(--ease-out) both; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: liveDot 1.8s infinite; }
@keyframes liveDot { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

.hero .hero-title { font-size: clamp(38px, 5.6vw, 70px); line-height: 1.04; letter-spacing: -.04em; margin: 22px 0 20px; color: #fff; animation: none; font-weight: 800; perspective: 700px; }
.hero-title .line { display: block; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(46px) rotateX(-45deg); transform-origin: 50% 100%; animation: wordIn .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * .09s + .1s); }
html:not(.skip-preloader) .hero-title .w { animation-delay: calc(var(--i) * .09s + 1s); }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.rotator { display: inline-block; position: relative; padding-bottom: .08em; }
.rot-word { display: inline-block; background: linear-gradient(90deg, #9b8bff, #22d3ee 55%, #8ff3ff); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradientShift 5s ease infinite; }
.rotator::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #6c5ce7, #22d3ee); transform-origin: left; animation: underlineIn 1s 1.2s var(--ease-out) both; opacity: .8; }
.hero .hero-sub { color: #b4bfe8; max-width: 520px; font-size: 17px; line-height: 1.65; animation: fadeInUp .8s .35s var(--ease-out) both; }
.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; animation: fadeInUp .8s .5s var(--ease-out) both; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); animation: fadeInUp .8s .65s var(--ease-out) both; }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b { font-family: 'Sora', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, #fff, #b7c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 12.5px; color: #8d9ad0; font-weight: 600; }

.hero-stage { position: relative; aspect-ratio: 1 / .92; min-height: 360px; max-height: 520px; }
.stage-device { position: absolute; inset: 8% 0 12% 0; display: grid; place-items: center; animation: floatY 7s ease-in-out infinite; }
.hero-laptop { width: 100%; max-width: 640px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); pointer-events: none; }
.ring.r1 { inset: 0 6%; animation: spin 60s linear infinite; }
.ring.r2 { inset: 13% 15%; border-color: rgba(34, 211, 238, .22); animation: spin 44s linear infinite reverse; }
.ring::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.ring.r2::before { background: var(--orange-500); box-shadow: 0 0 16px var(--orange-500); }
.float-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 18px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.float-card b { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.float-card small { display: block; font-size: 11px; color: #b4bfe8; }
.float-card em { font-style: normal; font-weight: 800; font-size: 14px; color: #ffb36b; }
.float-card .icon { color: var(--cyan); }
.fc-product { top: 0; right: -2%; animation: floatY 6s ease-in-out -1s infinite; transition: background .3s; }
.fc-product:hover { background: rgba(255, 255, 255, .18); }
.fc-product img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: rgba(255, 255, 255, .1); }
.fc-warranty { left: -2%; bottom: 12%; animation: floatY 7.5s ease-in-out -3s infinite; }
.fc-fast { right: 2%; bottom: 2%; animation: floatY 8.5s ease-in-out -2s infinite; }
.chip { position: absolute; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip.c1 { top: 10%; left: 4%; animation: floatY 5.5s ease-in-out infinite; color: #9b8bff; }
.chip.c2 { top: 46%; right: -3%; animation: floatY 6.5s ease-in-out -2s infinite; color: #ffb36b; }
.chip.c3 { bottom: 24%; left: 12%; animation: floatY 7s ease-in-out -4s infinite; color: var(--cyan); }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 74px; fill: var(--bg); z-index: 3; }
.hero-wave path { animation: waveMove 9s ease-in-out infinite alternate; transform-origin: center; }
@keyframes waveMove { to { transform: scaleY(.7) translateY(14px); } }

/* ==========================================================================
   Brand marquee
   ========================================================================== */
.marquee { overflow: hidden; background: var(--surface); border-block: 1px solid var(--line); padding: 18px 0; position: relative; z-index: 2; margin-top: -1px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { display: flex; align-items: center; gap: 34px; padding-left: 34px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--n-300); transition: color var(--base), transform var(--base) var(--ease-spring); white-space: nowrap; }
.mq-item:hover { color: var(--blue-600); transform: scale(1.06); }
.mq-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--grad-brand); transform: rotate(45deg); opacity: .6; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { margin: 64px 0; }
.section-head { align-items: flex-end; margin-bottom: 26px; gap: 16px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0; position: relative; padding-bottom: 12px; }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .9s .25s var(--ease-out); }
.section.in-view .section-head h2::after { transform: scaleX(1); }
.section-head > a { padding: 9px 16px; border-radius: 999px; background: var(--blue-100); color: var(--blue-600); font-size: 13px; transition: gap var(--fast), background var(--base), color var(--base); }
.section-head > a:hover { background: var(--vio); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.eyebrow.hot { color: var(--orange-600); }
.eyebrow.light { color: #fff; background: rgba(255, 255, 255, .2); padding: 5px 11px; border-radius: 99px; letter-spacing: .08em; }

/* staggered entrance for children once their section is visible */
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > * { animation: fadeInUp .75s var(--ease-out) backwards; }
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > *:nth-child(1) { animation-delay: .02s; }
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > *:nth-child(2) { animation-delay: .09s; }
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > *:nth-child(3) { animation-delay: .16s; }
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > *:nth-child(4) { animation-delay: .23s; }
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > *:nth-child(5) { animation-delay: .3s; }
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > *:nth-child(6) { animation-delay: .37s; }
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > *:nth-child(7) { animation-delay: .44s; }
.section.in-view :is(.bento, .trust-grid, .review-grid, .promo-grid, .rail, .product-grid) > *:nth-child(n+8) { animation-delay: .5s; }

/* ==========================================================================
   Tilt primitive
   ========================================================================== */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease-out), box-shadow var(--base) var(--ease), border-color var(--base); will-change: transform; }

/* ==========================================================================
   Bento categories
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 152px; gap: 16px; grid-auto-flow: dense; }
.bento-tile { position: relative; overflow: hidden; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; box-shadow: 0 14px 34px rgba(30, 30, 90, .16); }
.bento-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; padding: 30px; }
.bento-tile:nth-child(5) { grid-column: span 2; }
.bento-tile:hover { box-shadow: 0 26px 60px rgba(60, 50, 160, .34); transform: perspective(900px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.bento-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 0, rgba(255, 255, 255, .28), transparent 55%); }
.bento-tile::after { content: ''; position: absolute; width: 220px; height: 220px; right: -60px; top: -70px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); z-index: -1; transition: transform .8s var(--ease-out); }
.bento-tile:hover::after { transform: scale(1.35) rotate(40deg); }
.bt-glow { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .3), transparent 60%); }
.bento-tile:hover .bt-glow { opacity: 1; }
.bt-0 { background: linear-gradient(135deg, #4b3fd0, #7c5cf0 50%, #22b8e8); }
.bt-1 { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.bt-2 { background: linear-gradient(135deg, #ff7a1a, #ef4444); }
.bt-3 { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.bt-4 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.bt-5 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.bt-6 { background: linear-gradient(135deg, #14b8a6, #6366f1); }
.bt-7 { background: linear-gradient(135deg, #475569, #1e293b); }
.bt-emoji { position: absolute; right: 16px; top: 12px; font-size: 62px; line-height: 1; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .28)); animation: floatY 6s ease-in-out infinite; transition: transform .5s var(--ease-spring); }
.bento-tile:nth-child(2n) .bt-emoji { animation-delay: -2s; }
.bento-tile:nth-child(3n) .bt-emoji { animation-delay: -4s; }
.bento-tile:nth-child(1) .bt-emoji { font-size: 150px; right: 28px; top: 26px; }
.bento-tile:hover .bt-emoji { transform: scale(1.18) rotate(-8deg); }
.bt-text b { display: block; font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.bt-text small { font-size: 12.5px; opacity: .82; font-weight: 600; }
.bento-tile:nth-child(1) .bt-text b { font-size: 32px; }
.bt-arrow { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; opacity: 0; transform: translateX(-10px); transition: all .4s var(--ease-out); }
.bento-tile:hover .bt-arrow { opacity: 1; transform: none; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 22px; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 6px 20px rgba(30, 30, 90, .05); }
.product-card:hover { transform: perspective(900px) translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 0 30px 60px rgba(60, 50, 160, .22); border-color: rgba(108, 92, 231, .3); }
.pc-glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 3; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(108, 92, 231, .13), transparent 48%); }
.product-card:hover .pc-glow { opacity: 1; }
.product-card .thumb { aspect-ratio: 1 / .94; border-radius: 0; background-color: var(--n-100); }
.product-card .thumb img { object-fit: cover; transition: opacity var(--slow) var(--ease), transform .8s var(--ease-out); }
.product-card:hover .thumb img { transform: scale(1.08) translateY(-4px); }
.pc-media { display: block; }
.product-card .pc-body { padding: 16px 16px 8px; gap: 5px; }
.product-card .brand { font-size: 10.5px; letter-spacing: .12em; color: var(--blue-600); }
.product-card .name { font-size: 14.5px; line-height: 1.35; min-height: 40px; }
.product-card:hover .name { color: var(--blue-600); }
.pc-rating { min-height: 18px; display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--n-400); }
.rating-stars { display: inline-flex; gap: 1px; color: #f5a623; letter-spacing: 0; }
.product-card .price { font-size: 19px; font-family: 'Sora', sans-serif; letter-spacing: -.02em; }
.pc-actions { padding: 6px 16px 16px; }
.pc-actions .btn { border-radius: 12px; }
.pc-actions .wishlist-btn { flex: 0 0 42px; padding: 0; }
.badge-tag { top: 14px; left: 14px; border-radius: 10px; padding: 4px 10px; backdrop-filter: blur(6px); letter-spacing: .02em; }
.badge-tag:not(.new):not(.used) { background: linear-gradient(135deg, #ff4d4f, #ff7a1a); animation: tagPulse 2.4s ease-in-out infinite; }
@keyframes tagPulse { 0%, 100% { box-shadow: 0 4px 12px rgba(255, 77, 79, .35); } 50% { box-shadow: 0 4px 22px rgba(255, 77, 79, .7); } }
.wishlist-btn.is-active { border-color: #ff3b5c; background: rgba(255, 59, 92, .08); }

/* horizontal deal rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 262px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 6px 22px; margin: 0 -6px; scrollbar-width: thin; scrollbar-color: var(--vio-2) transparent; }
.rail > * { scroll-snap-align: start; }

.countdown { display: flex; gap: 8px; }
.countdown span { display: flex; align-items: baseline; gap: 3px; padding: 9px 13px; border-radius: 14px; background: linear-gradient(160deg, var(--ink-800), var(--ink-950)); color: #aab5e6; font-size: 12px; font-weight: 700; box-shadow: 0 10px 24px rgba(10, 15, 50, .28); }
.countdown b { font-family: 'Sora', sans-serif; font-size: 21px; color: #fff; font-variant-numeric: tabular-nums; min-width: 1.5ch; text-align: center; }

/* ==========================================================================
   Promo cards
   ========================================================================== */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo { position: relative; display: flex; align-items: center; min-height: 270px; padding: 38px; border-radius: 32px; color: #fff; overflow: hidden; isolation: isolate; box-shadow: 0 24px 54px rgba(60, 50, 160, .26); }
.promo:hover { transform: perspective(900px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.p-violet { background: linear-gradient(135deg, #2a1f9e, #6c5ce7 55%, #8b7bff); }
.p-orange { background: linear-gradient(135deg, #ff4e2b, #ff7a1a 55%, #ffb347); box-shadow: 0 24px 54px rgba(255, 90, 30, .3); }
.promo-orb { position: absolute; width: 340px; height: 340px; right: -60px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent 65%); z-index: -1; animation: orbA 12s ease-in-out infinite; }
.promo-copy { position: relative; max-width: 54%; z-index: 2; }
.promo-copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin: 12px 0 8px; }
.promo-copy p { color: rgba(255, 255, 255, .82); font-size: 14.5px; margin-bottom: 18px; }
.promo-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; background: #fff; color: #2a1f9e; transition: gap .3s var(--ease-out), transform .3s var(--ease-spring); }
.p-orange .promo-link { color: #d9420a; }
.promo:hover .promo-link { gap: 14px; transform: translateX(4px); }
.promo-art { position: absolute; right: -10px; bottom: -34px; width: 320px; z-index: 1; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .35)); transition: transform .6s var(--ease-out); }
.promo:hover .promo-art { transform: scale(1.07) rotate(-3deg); }

/* ==========================================================================
   Trust + reviews
   ========================================================================== */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.trust { padding: 26px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease-spring), box-shadow .4s, border-color .4s; }
.trust:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(60, 50, 160, .16); border-color: rgba(108, 92, 231, .3); }
.trust b { display: block; font-family: 'Sora', sans-serif; font-size: 16px; margin: 16px 0 6px; }
.trust p { font-size: 13.5px; color: var(--n-500); margin: 0; }
.trust-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; position: relative; transition: transform .5s var(--ease-spring); }
.trust:hover .trust-ico { transform: rotate(-10deg) scale(1.1); }
.trust-ico::after { content: ''; position: absolute; inset: -5px; border-radius: 22px; border: 2px solid currentColor; opacity: 0; transform: scale(.8); }
.trust:hover .trust-ico::after { animation: ringOut 1s var(--ease-out) infinite; }
@keyframes ringOut { 0% { opacity: .5; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.trust-ico.t1 { background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #2563eb; }
.trust-ico.t2 { background: linear-gradient(135deg, #10b981, #059669); color: #059669; }
.trust-ico.t3 { background: linear-gradient(135deg, #8b5cf6, #6c5ce7); color: #6c5ce7; }
.trust-ico.t4 { background: linear-gradient(135deg, #ff9433, #ff5e3a); color: #ff5e3a; }
.trust-ico svg { color: #fff; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.quote-card { position: relative; margin: 0; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease-spring), box-shadow .4s; overflow: hidden; }
.quote-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(60, 50, 160, .14); }
.qmark { position: absolute; right: 20px; top: -6px; font-family: 'Sora', serif; font-size: 96px; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .2; }
.quote-card blockquote { margin: 12px 0 18px; font-size: 14.5px; color: var(--n-700); line-height: 1.65; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.quote-card figcaption small { display: block; color: var(--n-400); font-size: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-brand); flex-shrink: 0; }
.verified-tag { display: inline-flex; align-items: center; gap: 3px; background: var(--green-100); padding: 2px 8px; border-radius: 99px; }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta-band { margin-top: 90px; margin-bottom: -76px; position: relative; z-index: 5; }
.cta-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 56px; border-radius: 36px; color: #fff;
  background: linear-gradient(120deg, #2a1f9e, #6c5ce7 52%, #20a4d8); box-shadow: 0 34px 80px rgba(70, 55, 200, .4); isolation: isolate; }
.cta-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%); }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(50px); z-index: -1; }
.cta-orb.a { width: 280px; height: 280px; background: #ff7a1a; opacity: .5; right: 8%; top: -140px; animation: orbA 11s ease-in-out infinite; }
.cta-orb.b { width: 240px; height: 240px; background: #22d3ee; opacity: .4; left: 30%; bottom: -150px; animation: orbB 13s ease-in-out infinite; }
.cta-copy { max-width: 600px; }
.cta-copy h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 12px 0 10px; line-height: 1.15; }
.cta-copy p { color: rgba(255, 255, 255, .82); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

.site-footer { margin-top: 0; padding: 150px 0 22px; background: radial-gradient(800px 400px at 90% 0, rgba(108, 92, 231, .22), transparent 65%), linear-gradient(180deg, #0b1124, #060912); color: #9aa6d0; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); pointer-events: none; }
.site-footer .container { position: relative; }
.footer-grid { grid-template-columns: 1.7fr repeat(3, 1fr) 1.5fr; gap: 34px; }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .02em; margin-bottom: 18px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 320px; }
.footer-grid a { position: relative; transition: color var(--fast), transform var(--fast); }
.footer-grid li a:hover { color: #fff; padding-left: 0; transform: translateX(5px); }
.muted-sm { font-size: 13px; }
.news-form { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: border-color var(--base), box-shadow var(--base); }
.news-form:focus-within { border-color: var(--vio-2); box-shadow: 0 0 0 4px rgba(108, 92, 231, .2); }
.news-form input { flex: 1; min-width: 0; background: transparent; border: none; color: #fff; padding: 8px 12px; font-size: 13px; outline: none; }
.news-form input::placeholder { color: #6f7cab; }
.social-row { gap: 12px; }
.social-row a { background: none; width: auto; height: auto; border-radius: 50%; }
.social-row a:hover { background: none; transform: translateY(-5px) rotate(8deg) scale(1.1); }
.social-row a svg { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); align-items: center; font-size: 13px; }
.made-by { color: #cdd6f6; font-weight: 700; border-bottom: 1px dashed rgba(205, 214, 246, .4); transition: color var(--fast), border-color var(--fast); }
.made-by:hover { color: var(--orange-500); border-color: var(--orange-500); }
.payment-icons .pay-chip { border-radius: 8px; padding: 4px; }

.wa-float, .wa-float[data-tip] { position: fixed; background: #fff; width: 58px; height: 58px; }
.wa-float[data-tip]::after { bottom: auto; left: auto; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px) scale(.92); }
.wa-float[data-tip]::before { display: none; }
.wa-float[data-tip]:hover::after { transform: translateY(-50%) translateX(0) scale(1); }
.back-to-top { background: var(--grad-brand); border-radius: 16px; width: 46px; height: 46px; }
.back-to-top:hover { background: var(--grad-brand); }

/* ==========================================================================
   Inner pages polish
   ========================================================================== */
.breadcrumbs { background: var(--surface); display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); }
.container > h1 { font-weight: 800; }
.filter-box { border-radius: 22px; border-color: var(--line); background: var(--surface); }
.filter-box h4 { color: var(--blue-600); letter-spacing: .1em; }
.filter-box label { padding: 4px 6px; margin: 0 -6px 4px; border-radius: 8px; transition: background var(--fast); }
.filter-box label:hover { background: var(--n-100); }
.pd-gallery .main-img { border-radius: 28px; cursor: zoom-in; box-shadow: 0 24px 54px rgba(60, 50, 160, .14); }
.pd-gallery .main-img img { transition: transform .8s var(--ease-out), opacity var(--base); }
.pd-gallery .main-img:hover img { transform: scale(1.1); }
.pd-thumbs .thumb-sm { border-radius: 14px; width: 74px; height: 74px; }
.pd-thumbs .thumb-sm.active { border-color: var(--vio); box-shadow: 0 8px 20px rgba(108, 92, 231, .3); }
.pd-title { font-family: 'Sora', sans-serif; font-size: clamp(22px, 2.6vw, 30px); }
.pd-price-box { border-radius: 22px; background: linear-gradient(120deg, #eef0ff, #f3fbff); border-color: #dde1ff; }
.pd-price-box .price { font-family: 'Sora', sans-serif; letter-spacing: -.03em; }
.tabs button.active { color: var(--blue-600); border-color: var(--vio); }
.card, .cart-summary, .cart-table, .acct-nav, .panel, .stat-card { border-color: var(--line); }
.card { border-radius: 24px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--vio-2); box-shadow: 0 0 0 4px rgba(108, 92, 231, .14); }
.pay-options label:hover { border-color: var(--vio-2); }
.pay-options label:has(input:checked) { border-color: var(--vio); background: var(--blue-100); box-shadow: 0 8px 22px rgba(108, 92, 231, .16); }
.track-step.current .dot { background: var(--vio); box-shadow: 0 0 0 5px rgba(108, 92, 231, .2); }
.alert { border-radius: 14px; }

.toast { border-radius: 16px; background: var(--surface); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-left-width: 4px; box-shadow: 0 20px 50px rgba(20, 20, 70, .22); }
.toast .toast-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); flex-shrink: 0; }
.toast.success .toast-icon { background: var(--green-100); color: var(--green-600); }
.toast.error .toast-icon { background: var(--red-100); color: var(--red-600); }

/* flying product -> cart */
.fly-img { position: fixed; z-index: 9999; pointer-events: none; object-fit: cover; border-radius: 22px; box-shadow: 0 20px 50px rgba(60, 50, 160, .45); }

/* ==========================================================================
   Mobile tab bar
   ========================================================================== */
.mobile-tabbar { display: none; }
@media (max-width: 900px) {
  .hero .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { max-height: 340px; min-height: 280px; margin-top: 18px; }
  .header-main { flex-wrap: wrap; gap: 10px; }
  .header-main .logo { flex: 1 1 auto; min-width: 0; }
  .header-actions { margin-left: auto; gap: 2px; }
  .logo .logo-text { font-size: 19px; }
  .hero { padding: 44px 0 110px; }
  .hero-stage .fc-product { right: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 138px; }
  .bento-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; padding: 22px; }
  .bento-tile:nth-child(1) .bt-emoji { font-size: 90px; }
  .bento-tile:nth-child(1) .bt-text b { font-size: 24px; }
  .bento-tile:nth-child(5) { grid-column: span 1; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-copy { max-width: 62%; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .header-actions .header-icon-link:not(.theme-toggle):not(.cart-link) { display: none; }
  .header-icon-link span:not(.badge):not(.ti) { display: none; }
  .site-footer { padding-bottom: 96px; }
  .mobile-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 110; padding: 8px 6px; border-radius: 24px;
    background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(20, 20, 70, .24); }
  :root[data-theme="dark"] .mobile-tabbar { background: rgba(15, 22, 48, .85); }
  .mobile-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 16px; font-size: 10.5px; font-weight: 700; color: var(--n-500); transition: color var(--fast), background var(--base), transform var(--fast) var(--ease-spring); }
  .mobile-tabbar a:active { transform: scale(.9); background: var(--blue-100); color: var(--blue-600); }
  .wa-float { bottom: 92px; right: 16px; width: 52px; height: 52px; }
  .back-to-top { bottom: 92px; right: 80px; }
  body { padding-bottom: 84px; }
}
@media (max-width: 680px) {
  .hero .hero-title { font-size: clamp(34px, 10.5vw, 46px); }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 24px; }
  .float-card.fc-fast, .float-card.fc-warranty, .chip { display: none; }
  .section { margin: 46px 0; }
  .section-head { flex-wrap: wrap; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .pc-body { padding: 12px 12px 6px; }
  .pc-actions { padding: 4px 12px 12px; }
  .pc-actions .btn-primary { font-size: 12px; padding-inline: 8px; }
  .rail { grid-auto-columns: 70%; }
  .promo { padding: 26px; min-height: 240px; }
  .promo-art { width: 220px; }
  .topbar-links { display: none; }
  .topbar .container { flex-direction: row; height: 34px; padding: 0; }
  .bento { gap: 12px; grid-auto-rows: 128px; }
  .bt-emoji { font-size: 48px; }
  .cta-band { margin-bottom: -60px; }
  .site-footer { padding-top: 120px; }
}

/* ==========================================================================
   Admin — login aurora, sidebar icons, glass
   ========================================================================== */
.login-shell { background: radial-gradient(900px 520px at 85% 0, rgba(108, 92, 231, .5), transparent 62%), radial-gradient(700px 480px at 0 100%, rgba(34, 211, 238, .25), transparent 62%), linear-gradient(160deg, #070b1a, #111b52); animation: none; }
.login-shell::before { background: #6c5ce7; opacity: .35; }
.login-card { background: rgba(255, 255, 255, .94); border-radius: 30px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
:root[data-theme="dark"] .login-card { background: rgba(15, 22, 48, .9); }
.login-card h2, .login-card h1 { font-family: 'Sora', sans-serif; }
.admin-sidebar { background: linear-gradient(190deg, #0b1124, #060912); }
.admin-sidebar .brand { font-family: 'Sora', sans-serif; display: flex; align-items: center; gap: 10px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 11px; margin: 2px 10px; padding: 10px 14px; border-radius: 12px; border-left: none; }
.admin-sidebar nav a .icon { opacity: .75; transition: transform .3s var(--ease-spring), opacity .2s; }
.admin-sidebar nav a:hover { padding-left: 14px; background: rgba(255, 255, 255, .07); }
.admin-sidebar nav a:hover .icon { transform: scale(1.15) rotate(-6deg); opacity: 1; }
.admin-sidebar nav a.active { background: linear-gradient(90deg, rgba(108, 92, 231, .5), rgba(108, 92, 231, .08)); box-shadow: inset 3px 0 0 var(--cyan); }
.admin-sidebar nav a.active .icon { opacity: 1; color: var(--cyan); }
.admin-sidebar .nav-section { padding: 18px 24px 6px; }
.admin-topbar { background: rgba(255, 255, 255, .78); }
.admin-topbar .theme-toggle { padding: 7px 10px; }
.stat-card { border-radius: 22px; background: var(--surface); }
.stat-card::before { background: var(--grad-brand); }
.stat-card .value { font-family: 'Sora', sans-serif; }
.panel { border-radius: 22px; }
.bar-chart .bar { background: var(--grad-brand); }
.pagination a.active { background: var(--grad-brand); border-color: transparent; }
.role-badge { background: var(--blue-100); color: var(--blue-600); }
table.dtable tbody tr { transition: background var(--fast), transform var(--fast); }
table.dtable tbody tr:hover { background: var(--n-50); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  .hero-title .w { opacity: 1; transform: none; }
  [data-tilt] { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track, .mq-track { animation: none; }
}
