/* ================================================================
   LOR3X VAPE — CYBERPUNK NEON UI
   Dark futuristic · Glassmorphism · Neon accents · Premium
   ================================================================ */

/* ── GOOGLE FONTS ── */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Unbounded:wght@700;800;900&display=swap");

/* ── CSS VARIABLES ── */
:root {
  /* Backgrounds */
  --bg:           #060410;
  --bg-1:         #060410;
  --bg-2:         #0c0820;
  --bg-3:         #110d2a;
  --bg-secondary: #0c0820;

  /* Glass panels */
  --panel:        rgba(255,255,255,0.045);
  --panel-hover:  rgba(255,255,255,0.075);
  --panel-strong: rgba(255,255,255,0.07);

  /* Text */
  --text:         #f0eaff;
  --text-2:       #c4b5e8;
  --muted:        #7a6a99;

  /* Neon accents */
  --accent:   #a855f7;
  --accent-2: #ec4899;
  --accent-3: #22d3ee;
  --green:    #34d399;
  --orange:   #fb923c;

  /* Borders */
  --stroke:        rgba(168,85,247,0.18);
  --stroke-2:      rgba(236,72,153,0.14);
  --border-glass:  rgba(255,255,255,0.07);

  /* Glows */
  --glow-sm:    0 0 12px rgba(168,85,247,0.35);
  --glow-md:    0 0 24px rgba(168,85,247,0.45), 0 0 50px rgba(168,85,247,0.15);
  --glow-pink:  0 0 20px rgba(236,72,153,0.45), 0 0 50px rgba(236,72,153,0.15);
  --glow-cyan:  0 0 18px rgba(34,211,238,0.4),  0 0 40px rgba(34,211,238,0.12);
  --shadow:     0 20px 60px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.4);

  /* Gradients */
  --grad:       linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --grad-cyan:  linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
  --grad-dark:  linear-gradient(135deg, rgba(168,85,247,0.12) 0%, rgba(236,72,153,0.07) 100%);

  /* Layout */
  --nav-h:   68px;
  --topbar-h: 60px;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-2xl: 32px;

  /* Transitions — spring-based easing */
  --t-fast: 180ms cubic-bezier(0.22,1,0.36,1);
  --t-med:  300ms cubic-bezier(0.22,1,0.36,1);
  --t-slow: 480ms cubic-bezier(0.22,1,0.36,1);
  --t-spring: 400ms cubic-bezier(0.34,1.56,0.64,1);

  /* Level color fallback */
  --lvl-color: #a855f7;
  --lvl-glow:  rgba(168,85,247,0.3);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── BASE BODY (always dark) ── */
body.neon-body,
body.neon-body.theme-light,
body.neon-body.theme-dark {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── ANIMATED BACKGROUND ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Cyber grid */
.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.7;
  animation: gridPulse 10s ease-in-out infinite;
}

@keyframes gridPulse {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 0.9; }
}

/* Neon orbs */
.vapor {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: orbFloat 14s ease-in-out infinite;
}

.vapor-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(168,85,247,0.22), transparent 70%);
  top: -80px; left: -80px;
  animation-delay: 0s;
}

.vapor-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(236,72,153,0.18), transparent 70%);
  top: 25%; right: -60px;
  animation-delay: -5s;
}

.vapor-3 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(34,211,238,0.14), transparent 70%);
  bottom: 30%; left: 15%;
  animation-delay: -9s;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0)    scale(1);    }
  33%      { transform: translate(18px,-28px) scale(1.06); }
  66%      { transform: translate(-14px,18px) scale(0.94); }
}

/* ── APP CONTAINER ── */
.app {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ── TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  background: rgba(6,4,16,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--stroke);
  margin: 0 -14px;
  padding: 0 14px;
}

/* Logo */
.logo-block { display: flex; align-items: center; gap: 10px; }

.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px; font-weight: 900;
  color: #fff;
  box-shadow: var(--glow-sm);
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.logo-text { display: flex; flex-direction: column; }
.logo-title  { font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.2; letter-spacing: 0.3px; }
.logo-sub    { font-size: 10px; color: var(--muted); line-height: 1.2; }

/* Top actions */
.top-actions { display: flex; align-items: center; gap: 8px; }

/* ── PILLS ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 50px;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  background: var(--panel);
  color: var(--text-2);
  transition: all var(--t-fast);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pill:hover, .pill:active {
  background: var(--panel-hover);
  border-color: var(--stroke);
  color: var(--text);
}

/* Lucky wheel fab */
.lucky-wheel-fab {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: var(--glow-sm);
  text-decoration: none;
  transition: all var(--t-fast);
  position: relative;
  flex-shrink: 0;
}
.lucky-wheel-fab:hover, .lucky-wheel-fab:active {
  box-shadow: var(--glow-md);
  transform: scale(1.06);
}
.lucky-wheel-fab__ring {
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: var(--grad) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: spin 5s linear infinite;
  opacity: 0.6;
}
.lucky-wheel-fab__icon { line-height: 1; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── BOTTOM NAVIGATION ── */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: var(--nav-h);
  background: rgba(6,4,16,0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid var(--stroke);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--muted);
  transition: all var(--t-fast);
  min-width: 52px;
  position: relative;
}

.nav-icon  { font-size: 19px; line-height: 1; transition: transform var(--t-fast); }
.nav-label { font-size: 9px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; line-height: 1; transition: color var(--t-fast); opacity: 0.7; }

.nav-item.nav-active         { color: var(--accent); }
.nav-item.nav-active .nav-icon  { transform: scale(1.12); filter: drop-shadow(0 0 6px rgba(168,85,247,0.6)); }
.nav-item.nav-active .nav-label { opacity: 1; }

.nav-item.nav-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--grad);
  border-radius: 2px 2px 0 0;
  box-shadow: var(--glow-sm);
}

/* ── PAGE SHELL ── */
.page-shell { padding-top: 12px; }

/* ── SECTIONS ── */
.section        { padding: 16px 0 24px; }
.section-header { margin-bottom: 16px; }
.section-title  {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px; font-weight: 800; letter-spacing: -0.4px; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.8), 0 0 26px rgba(168,85,247,.5);
}
.section-sub    {
  font-size: 10px; color: #e9d5ff; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 4px;
  text-shadow: 0 1px 8px rgba(0,0,0,.7), 0 0 14px rgba(168,85,247,.45);
}

.section-head   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-head-title { font-size: 17px; font-weight: 800; color: var(--text); }
.section-head-link  { font-size: 12px; color: var(--accent); font-weight: 700; text-decoration: none; }

/* ── GLASS CARDS ── */
.card, .filter-card, .pr-lvl, .pr-strk {
  background:
    linear-gradient(rgba(12,8,26,.74), rgba(12,8,26,.74)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.4) 0%, rgba(236,72,153,.24) 50%, rgba(34,211,238,.16) 100%) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--t-med);
}
.card:hover {
  background:
    linear-gradient(rgba(12,8,26,.74), rgba(12,8,26,.74)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.65) 0%, rgba(236,72,153,.45) 50%, rgba(34,211,238,.28) 100%) border-box;
  box-shadow: 0 8px 32px rgba(168,85,247,.12);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 12px 22px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 700; cursor: pointer; border: none;
  text-decoration: none; transition: all var(--t-fast);
  letter-spacing: 0.15px; white-space: nowrap; font-family: inherit;
}
.btn:active { transform: scale(0.96); }

/* Primary */
.btn:not(.ghost):not(.outline) {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 18px rgba(168,85,247,0.38);
}
.btn:not(.ghost):not(.outline):hover {
  box-shadow: 0 6px 28px rgba(168,85,247,0.52);
  transform: translateY(-1px);
}
.btn:not(.ghost):not(.outline):active { transform: scale(0.96) translateY(0); }

/* Ghost */
.btn.ghost {
  background: var(--panel);
  border: 1px solid var(--border-glass);
  color: var(--text-2);
  backdrop-filter: blur(10px);
}
.btn.ghost:hover { border-color: var(--stroke); color: var(--text); background: var(--panel-hover); }

/* Small ghost */
.btn-ghost-sm {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 14px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--border-glass);
  color: var(--muted); font-size: 12px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all var(--t-fast); font-family: inherit;
  width: 100%; text-align: center;
}
.btn-ghost-sm:hover { color: var(--text); border-color: var(--stroke); }

/* ── PRODUCT GRID ── */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 10px;
  display: grid;
  gap: 9px;
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: 0;
}
.product-card:hover  { border-color: rgba(168,85,247,0.38); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(168,85,247,0.12); }
.product-card:active { transform: scale(0.97); }

/* All children above the pseudo gradient */
.product-card > * { position: relative; z-index: 1; }

/* Product image */
.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  background: var(--bg-3);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }

.no-img { font-size: 11px; color: var(--muted); }

/* Badges */
.stock-badge {
  position: absolute;
  top: 7px; right: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px; font-weight: 800;
  background: rgba(231,76,60,0.85);
  color: #fff;
  backdrop-filter: blur(6px);
}

.stock-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; }
.stock-dot.in  { background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,0.7); }
.stock-dot.out { background: #f87171; }

/* Product info */
.product-name {
  font-weight: 800; font-size: 13px;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.product-price { font-weight: 900; font-size: 17px; color: var(--accent); }
.currency      { font-size: 0.72em; font-weight: 700; opacity: 0.85; margin-left: 2px; }

.product-stock { font-size: 10px; font-weight: 700; display: flex; align-items: center; }
.product-stock.in  { color: #34d399; }
.product-stock.out { color: #f87171; }

/* Product actions */
.product-actions { display: grid; gap: 5px; }
.product-actions .btn {
  width: 100%; padding: 8px; font-size: 12px;
  border-radius: var(--r-sm);
  justify-content: center;
}

/* Discount badge overlay */
.drop-badge-overlay {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 8px; border-radius: var(--r-xs);
  box-shadow: 0 2px 8px rgba(239,68,68,0.35);
}

/* Restock btn */
.restock-btn.active {
  background: rgba(168,85,247,0.12);
  border-color: rgba(168,85,247,0.4);
  color: var(--accent);
}

/* ── CATALOG FILTER CHIPS ── */
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--text-2);
  text-decoration: none;
  font-size: 12px; font-weight: 600;
  transition: all var(--t-fast);
  cursor: pointer;
}
.chip:active   { transform: scale(0.95); }
.chip.active   { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 2px 12px rgba(168,85,247,0.35); }
.chip.subtle   { opacity: 0.75; }
.chip:hover:not(.active) { border-color: rgba(168,85,247,0.35); color: var(--text); }

/* ── FILTER PANEL (mobile) ── */
.catalog-filters .filter-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
  font-weight: 800; font-size: 14px; color: var(--text);
}

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }

  .catalog-filters {
    position: fixed;
    left: 12px; right: 12px;
    top: 80px;
    max-height: 65vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(12,8,30,0.96);
    border: 1px solid var(--stroke);
    border-radius: var(--r-xl);
    padding: 14px;
    box-shadow: var(--shadow), var(--glow-sm);
    backdrop-filter: blur(20px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t-med);
    z-index: 60;
  }
  .catalog-filters.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── FORM ELEMENTS ── */
input, select, textarea {
  background: rgba(168,85,247,.04);
  border: 1.5px solid rgba(168,85,247,.22);
  border-radius: var(--r-md);
  padding: 12px 15px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  transition: all var(--t-fast);
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(168,85,247,.75);
  box-shadow: 0 0 0 3px rgba(168,85,247,.14), 0 0 20px rgba(168,85,247,.07);
  background: rgba(168,85,247,.07);
}
input::placeholder { color: var(--muted); }

/* ── PROFILE COMPONENTS ── */
.pr-wrap { padding: 16px 0 80px; display: grid; gap: 12px; }

.pr-hero { text-align: center; padding: 16px 0 8px; }

.pr-avatar-ring {
  width: 78px; height: 78px; border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: var(--glow-md);
}
.pr-avatar-ring::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%;
  background: var(--grad); z-index: -1; opacity: 0.35;
}
.pr-avatar-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: none; }
.pr-avatar-ring.has-photo .pr-avatar-photo { display: block; }
.pr-avatar-ring.has-photo .pr-avatar-icon  { display: none; }
.pr-avatar-icon  { font-size: 30px; color: #fff; font-weight: 700; }
.pr-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.pr-id   { font-size: 12px; color: var(--muted); }

/* Level card */
.pr-lvl {
  border-radius: var(--r-xl);
  padding: 20px 18px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-med);
  position: relative;
}
.pr-lvl:hover  { border-color: rgba(168,85,247,0.32); }
.pr-lvl:active { transform: scale(0.98); }
.pr-lvl::before {
  content: ''; position: absolute;
  top: -40%; left: -40%; width: 180%; height: 180%;
  background: radial-gradient(circle, var(--lvl-color, #7c3aed) 0%, transparent 65%);
  opacity: 0.07; pointer-events: none;
}
.pr-lvl-head { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.pr-lvl-badge { display: flex; align-items: center; gap: 10px; }
.pr-lvl-emoji { font-size: 30px; filter: drop-shadow(0 0 10px var(--lvl-color)); line-height: 1; }
.pr-lvl-name  { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lvl-color, var(--text)); text-shadow: 0 0 16px var(--lvl-glow, rgba(168,85,247,0.1)); }
.pr-lvl-sub   { font-size: 11px; color: var(--muted); margin-top: 2px; }
.pr-lvl-meta  { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(168,85,247,0.08); border: 1px solid var(--stroke); color: var(--muted); }
.pr-lvl-bar-wrap  { margin-top: 14px; position: relative; z-index: 1; }
.pr-lvl-bar-meta  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 11px; }
.pr-lvl-bar-label { color: var(--muted); letter-spacing: 0.04em; }
.pr-lvl-bar-val   { color: var(--text); font-weight: 700; }
.pr-lvl-track { background: rgba(0,0,0,0.3); border-radius: 999px; height: 8px; overflow: hidden; }
.pr-lvl-fill  {
  height: 100%;
  background: linear-gradient(90deg, var(--lvl-color, #7c3aed), #a855f7);
  border-radius: 999px;
  transition: width .6s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  box-shadow: 0 0 10px rgba(168,85,247,0.5);
}
.pr-lvl-fill::after {
  content: ''; position: absolute; right: 0; top: 0;
  width: 20px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35));
  border-radius: 0 999px 999px 0;
}
.pr-lvl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; position: relative; z-index: 1; }
.pr-lvl-stat  { background: rgba(0,0,0,0.2); border: 1px solid var(--border-glass); border-radius: 12px; padding: 10px 4px; text-align: center; }
.pr-lvl-stat-v { font-size: 16px; font-weight: 800; color: var(--text); line-height: 1; }
.pr-lvl-stat-l { font-size: 9px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.07em; }
.pr-lvl-perks { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.pr-lvl-perk  { font-size: 11px; padding: 5px 10px; border-radius: 8px; background: rgba(168,85,247,0.06); border: 1px solid var(--stroke); color: var(--muted); }
.pr-lvl-perk strong { color: var(--text); }

/* Streak card */
.pr-strk {
  border-radius: var(--r-xl);
  padding: 18px 16px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

/* ── ORDER CARDS ── */
.order-card {
  background:
    linear-gradient(rgba(12,8,26,.74), rgba(12,8,26,.74)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.4), rgba(236,72,153,.24), rgba(34,211,238,.16)) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--r-lg);
  padding: 16px; margin-bottom: 10px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: all var(--t-fast);
}
.order-card:hover {
  background:
    linear-gradient(rgba(12,8,26,.74), rgba(12,8,26,.74)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.65), rgba(236,72,153,.45), rgba(34,211,238,.28)) border-box;
  box-shadow: 0 6px 24px rgba(168,85,247,.12);
}

/* Status badges */
.status-badge { padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.status-new      { background: rgba(168,85,247,0.12); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }
.status-paid     { background: rgba(34,211,238,0.1);  color: #67e8f9; border: 1px solid rgba(34,211,238,0.3); }
.status-delivered{ background: rgba(52,211,153,0.1);  color: #6ee7b7; border: 1px solid rgba(52,211,153,0.3); }
.status-cancelled{ background: rgba(255,255,255,0.05);color: var(--muted); border: 1px solid var(--border-glass); }

/* ── REVIEW CARDS ── */
.review-card {
  background:
    linear-gradient(rgba(12,8,26,.74), rgba(12,8,26,.74)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.38), rgba(236,72,153,.22), rgba(34,211,238,.14)) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--r-lg); padding: 16px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: all var(--t-fast);
}
.review-card:hover {
  background:
    linear-gradient(rgba(12,8,26,.74), rgba(12,8,26,.74)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.6), rgba(236,72,153,.4), rgba(34,211,238,.25)) border-box;
}
.stars        { color: #fbbf24; font-size: 14px; letter-spacing: 1.5px; }
.review-text  { font-size: 14px; color: var(--text-2); line-height: 1.65; margin: 8px 0; }
.review-author{ font-size: 12px; color: var(--muted); font-weight: 600; }

/* ── CART ── */
.cart-item {
  display: flex; gap: 12px; align-items: flex-start;
  background:
    linear-gradient(rgba(12,8,26,.74), rgba(12,8,26,.74)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.38), rgba(236,72,153,.22), rgba(34,211,238,.14)) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--r-lg); padding: 14px; margin-bottom: 10px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: all var(--t-fast);
}
.cart-item:hover {
  background:
    linear-gradient(rgba(12,8,26,.74), rgba(12,8,26,.74)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.6), rgba(236,72,153,.4), rgba(34,211,238,.25)) border-box;
}

.cart-item-img {
  width: 70px; height: 70px;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--bg-3);
  flex-shrink: 0;
}
.cart-item-name  { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 4px; }
.cart-item-price { font-size: 16px; font-weight: 900; color: var(--accent); }

/* Qty controls */
.qty-control {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--r-sm);
  padding: 3px;
  width: fit-content;
}
.qty-btn {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--panel);
  border: 1px solid var(--border-glass);
  color: var(--text); font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast); font-family: inherit;
}
.qty-btn:active { background: rgba(168,85,247,0.2); border-color: var(--accent); }
.qty-value { font-size: 14px; font-weight: 800; color: var(--text); min-width: 22px; text-align: center; }

/* Checkout summary */
.checkout-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 13px; }
.checkout-row:not(:last-child) { border-bottom: 1px solid var(--border-glass); }
.checkout-label { color: var(--text-2); }
.checkout-value { font-weight: 700; color: var(--text); }
.checkout-row.total .checkout-label { font-size: 15px; font-weight: 800; color: var(--text); }
.checkout-row.total .checkout-value { font-size: 20px; font-weight: 900; color: var(--accent); }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 56px 20px; }
.empty-icon  { font-size: 52px; margin-bottom: 14px; opacity: 0.65; }
.empty-title { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.empty-text  { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }

/* ── SKELETON LOADING ── */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--r-sm);
}

/* ── TOAST ── */
.toast, .restock-toast {
  position: fixed;
  bottom: calc(var(--nav-h) + 14px);
  left: 50%; transform: translateX(-50%) translateY(10px);
  background: rgba(12,8,30,0.96);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13px; font-weight: 700;
  color: var(--text);
  box-shadow: var(--glow-sm), var(--shadow);
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: all var(--t-med);
  z-index: 500;
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes borderGlow {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes logoPulse {
  0%,100% { transform: scale(1);    filter: drop-shadow(0 0 12px rgba(168,85,247,0.45)); }
  50%      { transform: scale(1.08); filter: drop-shadow(0 0 24px rgba(236,72,153,0.55)); }
}
@keyframes gradientShift {
  0%,100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}
@keyframes cursorBlink {
  0%,100% { opacity: 1; } 50% { opacity: 0; }
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(20px,-30px) scale(1.1); }
  66%      { transform: translate(-15px,15px) scale(0.95); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}

.animate-in   { animation: fadeInUp 0.38s cubic-bezier(0.4,0,0.2,1) both; }
.animate-in-1 { animation-delay: 0.05s; }
.animate-in-2 { animation-delay: 0.10s; }
.animate-in-3 { animation-delay: 0.15s; }
.animate-in-4 { animation-delay: 0.20s; }

/* ── NEON TEXT ── */
.neon-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NEON DIVIDER ── */
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.35;
  margin: 20px 0;
}

/* ── VIP BADGES ── */
.vip-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; }
.vip-1 { background: rgba(168,85,247,0.14); border: 1px solid rgba(168,85,247,0.3); color: #c084fc; }
.vip-2 { background: rgba(34,211,238,0.1);  border: 1px solid rgba(34,211,238,0.28); color: #67e8f9; }
.vip-3 { background: rgba(251,146,60,0.1);  border: 1px solid rgba(251,146,60,0.28); color: #fdba74; }
.vip-4 { background: rgba(250,204,21,0.1);  border: 1px solid rgba(250,204,21,0.28); color: #fde68a; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.3); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(168,85,247,0.55); }

/* ── TEXT SELECTION ── */
::selection { background: rgba(168,85,247,0.3); color: var(--text); }

/* ── UTILITY ── */
.text-small  { font-size: 12px; }
.muted       { color: var(--muted); }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* ── POPUP / MODAL ── */
.webapp-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
}
.webapp-popup-overlay.active { opacity: 1; pointer-events: auto; }

.webapp-popup-card {
  background:
    linear-gradient(rgba(10,6,22,.99), rgba(10,6,22,.99)) padding-box,
    linear-gradient(145deg, rgba(168,85,247,.5), rgba(236,72,153,.32), rgba(34,211,238,.2)) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--r-xl); padding: 22px; max-width: 420px; width: 100%;
  box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 40px rgba(168,85,247,.12);
  transform: translateY(24px);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
  backdrop-filter: blur(20px);
}
.webapp-popup-overlay.active .webapp-popup-card { transform: translateY(0); }

.webapp-popup-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.webapp-popup-title  { font-size: 16px; font-weight: 800; margin: 0; color: var(--text); }
.webapp-popup-close  {
  background: none; border: none; font-size: 20px; line-height: 1;
  cursor: pointer; color: var(--muted); padding: 0;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; transition: all var(--t-fast);
}
.webapp-popup-close:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.webapp-popup-message { font-size: 14px; color: var(--text-2); line-height: 1.55; margin: 0 0 14px; }
.webapp-popup-actions { display: flex; gap: 10px; }
.webapp-popup-actions .btn { flex: 1; }

/* ── NAV ACTIVE STATES ── */
.nav-item.nav-active {
  background: rgba(168,85,247,0.08);
  border-radius: var(--r-md);
}

/* ── HOME PAGE SPECIFIC ── */
.home-v2-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(168,85,247,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(236,72,153,0.13) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(34,211,238,0.07) 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}

.home-v2-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168,85,247,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.45; animation: orbFloat 9s ease-in-out infinite; z-index: 0; }
.orb-1 { width: 200px; height: 200px; background: rgba(168,85,247,0.3);  top: 15%;  left: 10%;  animation-delay: 0s; }
.orb-2 { width: 160px; height: 160px; background: rgba(236,72,153,0.25); bottom: 20%; right: 15%; animation-delay: -3s; }
.orb-3 { width: 120px; height: 120px; background: rgba(34,211,238,0.2);  top: 60%;  left: 70%;  animation-delay: -5s; }

.home-v2-center {
  position: relative; z-index: 1;
  display: grid; gap: 32px;
  place-items: center; text-align: center;
  padding: 24px; max-width: 480px; width: 100%;
}

/* Splash block */
.splash-block { display: grid; gap: 12px; place-items: center; transition: opacity 0.8s ease, max-height 0.8s ease, margin 0.8s ease; max-height: 400px; overflow: hidden; }
.splash-block.done { opacity: 0; max-height: 0; margin: 0; pointer-events: none; }

.splash-canvas-wrap {
  width: 280px; height: 280px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(10,7,22,0.95), rgba(8,6,18,0.98));
  border: 1px solid rgba(168,85,247,0.22);
  position: relative; overflow: hidden;
  box-shadow: 0 0 40px rgba(168,85,247,0.12), 0 0 80px rgba(168,85,247,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
}
.splash-canvas-wrap::before {
  content: ''; position: absolute; inset: -2px; border-radius: 26px; padding: 2px;
  background: linear-gradient(135deg, rgba(168,85,247,0.5), rgba(236,72,153,0.25), rgba(34,211,238,0.35), rgba(168,85,247,0.5));
  background-size: 300% 300%;
  animation: borderGlow 4s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
#vapeCanvas    { width: 280px; height: 280px; border-radius: 24px; }
.splash-logo   {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: 'Unbounded', sans-serif; font-size: 52px; font-weight: 900;
  background: linear-gradient(135deg, #c084fc, #f472b6, #22d3ee);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.04em;
  animation: logoPulse 3s ease-in-out infinite, gradientShift 4s ease infinite;
  pointer-events: none;
}

/* Typewriter */
.typewriter-wrap  { display: grid; gap: 8px; place-items: center; }
.typewriter-brand {
  font-family: 'Unbounded', sans-serif; font-size: 30px; font-weight: 900;
  background: linear-gradient(135deg, #c084fc, #f472b6, #22d3ee);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.02em;
  animation: gradientShift 5s ease infinite;
}
.typewriter-text   { font-size: 14px; font-weight: 500; color: var(--muted); min-height: 22px; }
.typewriter-cursor { display: inline-block; width: 2px; height: 1em; background: #c084fc; margin-left: 2px; animation: cursorBlink 0.75s step-end infinite; vertical-align: middle; }

/* Home CTAs */
.home-v2-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.home-v2-cta .btn-main {
  padding: 14px 30px; border-radius: var(--r-lg); border: none;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 22px rgba(168,85,247,0.38);
  transition: all var(--t-fast);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}
.home-v2-cta .btn-main:hover  { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(168,85,247,0.5); }
.home-v2-cta .btn-main:active { transform: scale(0.96); }

.home-v2-cta .btn-ghost {
  padding: 14px 26px; border-radius: var(--r-lg);
  border: 1px solid rgba(168,85,247,0.28);
  background: rgba(168,85,247,0.06);
  color: var(--text); font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--t-fast);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}
.home-v2-cta .btn-ghost:hover  { background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.45); }
.home-v2-cta .btn-ghost:active { transform: scale(0.96); }

.home-v2-hint { font-size: 11px; color: var(--muted); opacity: 0.65; margin-top: 8px; }

@media (max-width: 520px) {
  .splash-canvas-wrap { width: 240px; height: 240px; }
  .splash-logo        { font-size: 44px; }
  .typewriter-brand   { font-size: 24px; }
  .typewriter-text    { font-size: 13px; }
  #vapeCanvas         { width: 240px; height: 240px; }
}

/* ── DROP POPUP ── */
#drop-popup-overlay { z-index: 1200; }
#drop-popup-overlay .drop-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 8px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
#drop-popup-overlay .drop-badge.flash   { background: linear-gradient(135deg,#ef4444,#f97316); color: #fff; }
#drop-popup-overlay .drop-badge.limited { background: linear-gradient(135deg,#a855f7,#ec4899); color: #fff; }

/* Global notice overlay */
.global-notice-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; z-index: 1200; animation: fadeInUp 200ms ease; }
.global-notice { background: linear-gradient(135deg,#0f0b1f,#1a1035); color: #fff; max-width: 680px; width: 90%; border-radius: 22px; padding: 26px; box-shadow: 0 25px 80px rgba(0,0,0,0.9), var(--glow-sm); border: 1px solid var(--stroke); animation: fadeInUp 320ms cubic-bezier(0.34,1.56,0.64,1); }
.global-notice h3 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; }
.global-notice-body { margin: 16px 0 22px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.85); }
.btn-row { display: flex; gap: 12px; justify-content: flex-end; }
.global-notice .btn { padding: 12px 24px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 14px; transition: all var(--t-fast); }
.global-notice .btn.primary { background: var(--grad); color: #fff; border: none; box-shadow: 0 8px 24px rgba(168,85,247,0.4); }
.global-notice .btn.ghost   { background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.8); }

/* ── NAV ACTIVE HIGHLIGHT ── */
.nav-item.nav-active {
  background: rgba(168,85,247,0.1);
}

/* ── SOFT CARD ── */
.soft-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 14px 16px;
}

/* ── ORDERS HISTORY ── */
.orders-layout { display: grid; gap: 14px; }

.order-card-v2 {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  transition: border-color var(--t-fast);
}
.order-card-v2:hover { border-color: rgba(168,85,247,0.32); }

.order-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.order-id   { font-weight: 800; font-size: 15px; }
.order-date { font-size: 12px; color: var(--muted); margin-top: 2px; }

.order-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.3px;
}
.badge-success { background: rgba(34,197,94,0.12);  border: 1px solid rgba(34,197,94,0.25);  color: #22c55e; }
.badge-danger  { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.25);  color: #ef4444; }
.badge-warning { background: rgba(234,179,8,0.12);  border: 1px solid rgba(234,179,8,0.25);  color: #eab308; }
.badge-info    { background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.25); color: #38bdf8; }

.tracking-mini {
  display: flex; align-items: center; gap: 10px;
  background: rgba(56,189,248,0.06);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 13px;
}
.track-icon { font-size: 18px; flex-shrink: 0; }
.track-text { display: grid; gap: 2px; }
.track-text strong { font-size: 13px; font-weight: 700; }
.track-text span   { font-size: 12px; color: var(--muted); }

.order-items-compact { display: flex; flex-wrap: wrap; gap: 6px; }

.item-pill {
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.order-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--stroke);
}
.order-total-bar .price { font-size: 18px; font-weight: 800; }
.order-total-bar .currency { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }

.order-details-collapsed {
  display: none;
  gap: 8px;
  padding: 10px 0 4px;
  border-top: 1px solid var(--stroke);
}
.order-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}
.order-detail-row .label { color: var(--muted); flex-shrink: 0; }

.order-actions-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.order-actions-v2 .btn { flex: 1 1 120px; font-size: 13px; padding: 9px 14px; border-radius: 12px; text-align: center; }
.order-actions-v2 .btn.disabled { opacity: 0.4; pointer-events: none; }

/* pill-row helper */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ================================================================
   DESIGN V2 — ENHANCED VISUAL SYSTEM
   ================================================================ */

/* ── ENTRANCE ANIMATIONS ── */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(260%) skewX(-15deg); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(168,85,247,0.25), 0 6px 30px rgba(168,85,247,0.15); }
  50%       { box-shadow: 0 0 32px rgba(168,85,247,0.45), 0 6px 40px rgba(168,85,247,0.25); }
}
@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

.section { animation: fadeUpIn 0.5s cubic-bezier(0.22,1,0.36,1) both; }

/* Stagger children */
.section > *:nth-child(1) { animation: fadeUpIn 0.4s 0.05s cubic-bezier(0.22,1,0.36,1) both; }
.section > *:nth-child(2) { animation: fadeUpIn 0.4s 0.1s  cubic-bezier(0.22,1,0.36,1) both; }
.section > *:nth-child(3) { animation: fadeUpIn 0.4s 0.15s cubic-bezier(0.22,1,0.36,1) both; }
.section > *:nth-child(4) { animation: fadeUpIn 0.4s 0.2s  cubic-bezier(0.22,1,0.36,1) both; }

/* ── ENHANCED SECTION HEADERS ── */
.section-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #f0eaff 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 4px;
}

/* ── ENHANCED CARDS ── */
.card, .soft-card, .filter-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(168,85,247,0.15);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease,
              transform 0.25s cubic-bezier(0.22,1,0.36,1),
              background 0.2s ease;
}
.card:hover, .soft-card:hover {
  border-color: rgba(168,85,247,0.28);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.06), 0 8px 32px rgba(168,85,247,0.09);
}

.soft-card {
  padding: 14px 16px;
}

/* ── ENHANCED PRODUCT CARDS ── */
.product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,85,247,0.12);
  border-radius: 20px;
  padding: 10px;
  display: grid;
  gap: 9px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.28s cubic-bezier(0.22,1,0.36,1),
              border-color 0.22s ease,
              background 0.22s ease;
  cursor: pointer;
  will-change: transform;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(168,85,247,0.5), rgba(236,72,153,0.4), rgba(34,211,238,0.35)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168,85,247,0.18), 0 0 0 1px rgba(168,85,247,0.2);
  background: rgba(168,85,247,0.06);
}
.product-card:hover::after { opacity: 1; }
.product-card:active { transform: scale(0.97) translateY(0); }

.product-card > * { position: relative; z-index: 1; }

/* Product image enhanced */
.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(168,85,247,0.05);
  border: 1px solid rgba(168,85,247,0.1);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.product-card:hover .product-image-wrap img { transform: scale(1.08); }

/* Gradient overlay on image bottom */
.product-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(6,4,16,0.7) 0%, transparent 100%);
  pointer-events: none;
}

/* Price — gradient text */
.product-price {
  font-weight: 900;
  font-size: 17px;
  background: linear-gradient(135deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ENHANCED BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 700;
  cursor: pointer; border: none;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.22s cubic-bezier(0.22,1,0.36,1),
              background 0.18s ease,
              border-color 0.18s ease;
  letter-spacing: 0.2px;
  white-space: nowrap;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Shimmer effect on primary btn */
.btn:not(.ghost):not(.outline)::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: translateX(-100%) skewX(-15deg);
  transition: none;
}
.btn:not(.ghost):not(.outline):hover::before {
  animation: shimmer 0.55s ease forwards;
}

.btn:not(.ghost):not(.outline) {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168,85,247,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn:not(.ghost):not(.outline):hover {
  box-shadow: 0 6px 30px rgba(168,85,247,0.55), 0 0 0 1px rgba(168,85,247,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn:not(.ghost):not(.outline):active { transform: scale(0.96); }

/* Ghost button */
.btn.ghost {
  background: rgba(168,85,247,0.06);
  border: 1px solid rgba(168,85,247,0.22);
  color: var(--text-2);
  backdrop-filter: blur(10px);
}
.btn.ghost:hover {
  background: rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.4);
  color: var(--text);
  box-shadow: 0 0 16px rgba(168,85,247,0.12);
}
.btn.ghost.danger {
  border-color: rgba(239,68,68,0.3);
  color: #f87171;
}
.btn.ghost.danger:hover {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.5);
  box-shadow: 0 0 16px rgba(239,68,68,0.12);
}

/* ── ENHANCED CHIPS ── */
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(168,85,247,0.18);
  background: rgba(168,85,247,0.05);
  color: var(--text-2);
  text-decoration: none;
  font-size: 12px; font-weight: 600;
  transition: all 0.18s ease;
  cursor: pointer;
}
.chip:hover:not(.active) {
  border-color: rgba(168,85,247,0.38);
  color: var(--text);
  background: rgba(168,85,247,0.09);
}
.chip.active {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 14px rgba(168,85,247,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* ── ENHANCED FORM INPUTS ── */
input, select, textarea {
  background: rgba(168,85,247,0.04);
  border: 1px solid rgba(168,85,247,0.18);
  border-radius: var(--r-md);
  padding: 12px 15px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  transition: all 0.2s ease;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.14), 0 0 16px rgba(168,85,247,0.1);
  background: rgba(168,85,247,0.07);
}

/* ── ENHANCED NAVIGATION ── */
.nav-item {
  position: relative;
  overflow: hidden;
}
.nav-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  border-radius: 2px 2px 0 0;
  transition: left 0.25s ease, right 0.25s ease;
}
.nav-item.nav-active::before {
  left: 20%; right: 20%;
}
.nav-item.nav-active .nav-icon { filter: drop-shadow(0 0 8px rgba(168,85,247,0.8)); }
.nav-item.nav-active .nav-label {
  background: linear-gradient(135deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ENHANCED ORDER CARDS ── */
.order-card-v2 {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,85,247,0.14);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  transition: all 0.22s ease;
}
.order-card-v2:hover {
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 4px 24px rgba(168,85,247,0.08);
}

/* ── ENHANCED BADGES ── */
.badge-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
  box-shadow: 0 0 10px rgba(34,197,94,0.1);
}
.badge-danger {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
}
.badge-warning {
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.3);
  color: #fbbf24;
}
.badge-info {
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.3);
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56,189,248,0.08);
}

/* ── ENHANCED TOPBAR ── */
.topbar {
  background: rgba(6,4,16,0.75) !important;
  backdrop-filter: blur(24px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.8) !important;
  border-bottom: 1px solid rgba(168,85,247,0.12) !important;
}

/* ── ENHANCED NAVIGATION BAR ── */
.nav-bar {
  background: rgba(6,4,16,0.8) !important;
  backdrop-filter: blur(24px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.8) !important;
  border-top: 1px solid rgba(168,85,247,0.12) !important;
}

/* ── STOCK BADGE ── */
.stock-badge {
  background: rgba(239,68,68,0.85);
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(239,68,68,0.35);
}

/* ── DROP BADGE ── */
.drop-badge-overlay {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  box-shadow: 0 2px 10px rgba(239,68,68,0.4);
  letter-spacing: 0.3px;
}

/* ── SECTION HEADER DIVIDER ── */
.section-header {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.section-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 2px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  border-radius: 2px;
}

/* ── LEVEL BAR ANIMATION ── */
.pr-lvl-fill {
  background: linear-gradient(90deg, var(--lvl-color, #7c3aed), #c084fc, var(--accent-2));
  background-size: 200% 100%;
  animation: borderRotate 3s linear infinite;
}

/* ── ITEM PILL ── */
.item-pill {
  background: rgba(168,85,247,0.07);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--text-2);
  transition: all 0.15s ease;
}
.item-pill:hover {
  background: rgba(168,85,247,0.12);
  color: var(--text);
}

/* ── TRACKING MINI ── */
.tracking-mini {
  background: linear-gradient(135deg, rgba(56,189,248,0.06), rgba(34,211,238,0.04));
  border: 1px solid rgba(56,189,248,0.22);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 13px;
  box-shadow: 0 0 20px rgba(56,189,248,0.05);
}

/* ── STEP PILLS (cart) ── */
.step-pill.active {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(168,85,247,0.4);
}

/* ── PROFILE AVATAR ── */
.pr-avatar-ring {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ── STATS / INFO GRID ── */
.pr-lvl-stat {
  background: rgba(168,85,247,0.04);
  border: 1px solid rgba(168,85,247,0.12);
  border-radius: 14px;
  padding: 10px 4px;
  text-align: center;
  transition: all 0.18s ease;
}
.pr-lvl-stat:hover {
  background: rgba(168,85,247,0.09);
  border-color: rgba(168,85,247,0.25);
}

/* ── CART ITEMS ── */
.cart-item-card {
  background: rgba(168,85,247,0.04);
  border: 1px solid rgba(168,85,247,0.14);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease;
}
.cart-item-card:hover {
  border-color: rgba(168,85,247,0.28);
}

/* ── SCROLL BAR ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(168,85,247,0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(168,85,247,0.5); }

/* ── SELECTION ── */
::selection { background: rgba(168,85,247,0.3); color: #fff; }

/* ── HIGHLIGHT TEXT ── */
.highlight {
  background: linear-gradient(135deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ── BACKGROUND NOISE TEXTURE ── */
body.neon-body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ================================================================
   LORX UI ENHANCEMENTS — toasts, fly-to-cart, confetti, empty states
   ================================================================ */

/* ── TOAST NOTIFICATIONS ── */
#lorx-toasts {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 20px);
  transform: translateX(-50%);
  z-index: 9999;
  display: grid;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  width: max-content;
}

.lorx-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: rgba(14, 10, 28, 0.92);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(168, 85, 247, 0.18);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  min-width: 200px;
  opacity: 0;
  transform: translateY(20px) scale(0.94);
  transition: opacity 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
}

.lorx-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lorx-toast.hide {
  opacity: 0;
  transform: translateY(-16px) scale(0.9);
}

.lorx-toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.lorx-toast-success {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(52, 211, 153, 0.2);
}
.lorx-toast-success .lorx-toast-icon {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #052e1f;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
}

.lorx-toast-error {
  border-color: rgba(248, 113, 113, 0.4);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(248, 113, 113, 0.22);
}
.lorx-toast-error .lorx-toast-icon {
  background: linear-gradient(135deg, #f87171, #ef4444);
  color: #fff;
  box-shadow: 0 0 12px rgba(248, 113, 113, 0.6);
}

.lorx-toast-warning {
  border-color: rgba(251, 146, 60, 0.4);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(251, 146, 60, 0.2);
}
.lorx-toast-warning .lorx-toast-icon {
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #fff;
}

.lorx-toast-info .lorx-toast-icon {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.55);
}

.lorx-toast-text { flex: 1; line-height: 1.3; }

/* ── FLY-TO-CART GHOST ── */
.lorx-fly {
  position: fixed;
  border-radius: 14px;
  overflow: hidden;
  z-index: 9998;
  pointer-events: none;
  background: rgba(168, 85, 247, 0.15);
  border: 2px solid rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 0 60px rgba(236, 72, 153, 0.3);
  transition: transform 720ms cubic-bezier(0.6, -0.2, 0.4, 1.4),
              opacity 720ms cubic-bezier(0.4, 0, 0.6, 1);
  will-change: transform, opacity;
}
.lorx-fly img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── CART ICON BUMP ── */
@keyframes cartBump {
  0%   { transform: scale(1) rotate(0deg); }
  20%  { transform: scale(1.35) rotate(-8deg); filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8)); }
  40%  { transform: scale(0.92) rotate(6deg); }
  60%  { transform: scale(1.18) rotate(-4deg); }
  80%  { transform: scale(0.98) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.nav-icon.cart-bump {
  animation: cartBump 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

/* ── CONFETTI CANVAS ── */
.lorx-confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

/* ── PREMIUM EMPTY STATES ── */
.lorx-empty {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 48px 24px;
  text-align: center;
  animation: lorxEmptyIn 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lorxEmptyIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lorx-empty-art {
  position: relative;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0.04) 50%, transparent 75%);
}
.lorx-empty-art::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1.5px dashed rgba(168, 85, 247, 0.35);
  animation: lorxEmptySpin 18s linear infinite;
}
.lorx-empty-art::after {
  content: '';
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px dashed rgba(236, 72, 153, 0.28);
  animation: lorxEmptySpin 12s linear infinite reverse;
}
@keyframes lorxEmptySpin {
  to { transform: rotate(360deg); }
}
.lorx-empty-icon {
  position: relative;
  font-size: 56px;
  z-index: 1;
  filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.5));
  animation: lorxEmptyFloat 4s ease-in-out infinite;
}
@keyframes lorxEmptyFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.lorx-empty-title {
  font-family: 'Unbounded', 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.2px;
}
.lorx-empty-text {
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.45;
}
.lorx-empty-cta {
  margin-top: 8px;
  padding: 12px 28px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.35);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.lorx-empty-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(168, 85, 247, 0.5);
}
.lorx-empty-cta:active { transform: scale(0.97); }

/* ════════════════════════════════════════════
   UI POLISH PASS — accessibility + mobile feel
   ════════════════════════════════════════════ */

/* 1. Kill the ugly grey tap-flash on mobile (we provide our own :active states) */
a, button, .btn, .chip, .pill, .nav-item, .qa, .pc, [role="button"], [onclick] {
  -webkit-tap-highlight-color: transparent;
}

/* 2. Keyboard focus rings — only on keyboard nav, never on mouse/touch (a11y CRITICAL) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.chip:focus-visible,
.pill:focus-visible,
.nav-item:focus-visible,
.qa:focus-visible,
.pc:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(168, 85, 247, 0.9);
  outline-offset: 2px;
  border-radius: 10px;
}
/* don't double-draw the default focus box on inputs that already glow */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }

/* 3. Images never break layout / show broken-icon flash */
img { max-width: 100%; }

/* 4. Consistent tap feedback for any interactive element missing one */
.chip:active, .pill:active { transform: scale(0.95); }

/* 5. Respect reduced motion globally for transforms we add here */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
}
