/* =====================================================================
   Varshney Ji — Fully Responsive Design System
   Mobile-first · Auto-adjusts for phone, tablet, laptop, desktop
   Breakpoints:
     xs:  320px+  (small phones)
     sm:  640px+  (large phones / small tablets)
     md:  768px+  (tablets)
     lg:  1024px+ (laptops / small desktops)
     xl:  1280px+ (desktops)
     2xl: 1536px+ (large desktops)
   ===================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; width: 100%; max-width: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  width: 100%;
  max-width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--pink-400); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber-400); }

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --purple-50:  #f5f3ff;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #4c1d95;

  --pink-300:   #f9a8d4;
  --pink-400:   #f472b6;
  --pink-500:   #ec4899;
  --pink-600:   #db2777;

  --amber-300:  #fcd34d;
  --amber-400:  #fbbf24;
  --amber-500:  #f59e0b;
  --amber-600:  #d97706;

  --cyan-400:   #22d3ee;
  --green-400:  #34d399;
  --green-500:  #10b981;
  --red-400:    #f87171;
  --red-500:    #ef4444;

  /* Surfaces */
  --bg:         #0a0118;
  --bg-2:       #14082b;
  --bg-3:       #1f0d3e;
  --surface:    rgba(255, 255, 255, 0.04);
  --surface-2:  rgba(255, 255, 255, 0.07);
  --surface-3:  rgba(255, 255, 255, 0.10);
  --border:     rgba(168, 132, 250, 0.18);
  --border-2:   rgba(236, 72, 153, 0.22);

  /* Text */
  --text:       #f5f3ff;
  --text-soft:  #c4b5fd;
  --muted:      #8b7fb8;
  --accent:     var(--green-400);
  --danger:     var(--red-500);
  --primary2:   var(--pink-400);

  /* Gradients */
  --grad-primary:    linear-gradient(160deg, #7c3aed 0%, #8b5cf6 25%, #a855f7 50%, #d946ef 75%, #ec4899 100%);
  --grad-primary-2:  linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #f59e0b 100%);
  --grad-text:       linear-gradient(135deg, #c4b5fd 0%, #ec4899 50%, #fbbf24 100%);
  --grad-glow:       radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.35), transparent 60%);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(124, 58, 237, 0.15);
  --shadow-md:  0 8px 24px rgba(124, 58, 237, 0.25);
  --shadow-lg:  0 20px 60px rgba(124, 58, 237, 0.35);
  --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.4);

  /* Radius */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Layout */
  --container-max: 1280px;
  --container-padding: 1rem;
  --nav-height: 64px;
  --sidebar-width: 260px;

  /* Safe areas (notched phones) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (min-width: 640px) {
  :root { --container-padding: 1.5rem; --nav-height: 72px; }
}
@media (min-width: 1024px) {
  :root { --container-padding: 2rem; }
}

/* ---------- Animated background ---------- */
.bg-blobs {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-blob {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: float 22s ease-in-out infinite;
}
.bg-blob-1 {
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  top: -150px; left: -150px;
}
.bg-blob-2 {
  background: radial-gradient(circle, #ec4899, transparent 70%);
  bottom: -150px; right: -150px;
  animation-delay: -11s;
}
.bg-blob-3 {
  background: radial-gradient(circle, #f59e0b, transparent 70%);
  top: 40%; left: 50%;
  opacity: 0.15;
  animation-delay: -7s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}
.blur-in { animation: blurIn 0.4s ease-out both; }
@keyframes blurIn {
  from { filter: blur(8px); opacity: 0.6; transform: scale(0.95); }
  to   { filter: blur(0);  opacity: 1;    transform: scale(1); }
}
@media (max-width: 640px) {
  .bg-blob { width: 280px; height: 280px; filter: blur(70px); }
}

/* ---------- Typography (fluid) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(1.75rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.25rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { color: var(--text-soft); }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.muted { color: var(--muted); font-size: 0.875rem; }
.text-center { text-align: center; }
.text-soft { color: var(--text-soft); }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 1, 24, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding-top: var(--safe-top);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: calc(clamp(1rem, 2.5vw, 1.25rem) * var(--brand-name-scale, 1));
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}
.brand-logo {
  width: 32px; height: 32px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.brand-logo-img { max-height: calc(36px * var(--brand-logo-scale, 1)); width: auto; }

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--surface-2); border-color: var(--purple-400); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Navigation menu is a slide-in drawer on ALL screen sizes. It stays hidden
   by default and only opens when the user clicks the three-line (hamburger)
   toggle button. */
.nav-links {
  position: fixed;
  top: calc(var(--nav-height) + var(--safe-top));
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(320px, 85vw);
  height: calc(100vh - var(--nav-height) - var(--safe-top) - var(--safe-bottom));
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 1.5rem 1rem;
  gap: 0.25rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility .3s;
  overflow-y: auto;
  z-index: 99;
  pointer-events: none;
}
.nav-links.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
}
.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }

/* Hamburger toggle is always visible on every screen size. */
.nav-toggle { display: flex; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-backdrop.show { opacity: 1; pointer-events: all; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  background-origin: border-box;
  background-clip: padding-box;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(270deg,#ff4fd8,#d946ef,#8b5cf6,#ff4fd8);
  background-size: 300% 300%;
  animation: gradientMove 5s ease infinite;
  color: #fff;
  box-shadow: 0 0 20px rgba(255,79,216,.5);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);
  transform: skewX(-25deg);
  transition: left .5s;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px #ff4fd8, 0 0 50px #c026d3, 0 0 70px #8b5cf6;
  color: #fff;
}
.btn-primary:hover::before { left: 125%; }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--purple-400);
  transform: translateY(-2px);
  color: var(--text);
}
.btn-outline {
  background: transparent;
  color: var(--purple-300);
  border: 1.5px solid var(--purple-500);
}
.btn-outline:hover {
  background: var(--purple-500);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}
.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}
.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}
.btn-block { width: 100%; }
.btn-sm { min-height: 32px; padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { min-height: 48px; padding: 0.75rem 1.75rem; font-size: 1.0625rem; }
.btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.btn-icon:hover { background: var(--surface-2); color: var(--text); border-color: var(--purple-400); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(800px, 100%);
  height: 800px;
  background: var(--grad-glow);
  z-index: -1;
  pointer-events: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pink-400);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
}
.hero h1 { margin-bottom: 1rem; }
.hero .lead {
  font-size: clamp(0.9375rem, 2vw, 1.1875rem);
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .hero { padding: 4rem 0 5rem; }
  .hero-cta { gap: 1rem; margin-bottom: 3rem; }
}
@media (min-width: 1024px) {
  .hero { padding: 5rem 0 6rem; }
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}
.stat-item { text-align: center; padding: 0.5rem; }
.stat-num {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.6875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}
@media (min-width: 640px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); padding: 1.5rem; gap: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pink-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-head h2 { margin-bottom: 0.75rem; }
.section-head p {
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .section { padding: 4rem 0; }
  .section-head { margin-bottom: 3rem; }
}
@media (min-width: 1024px) {
  .section { padding: 5rem 0; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: blur(20px);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- Product Grid (auto-fit) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
@media (min-width: 640px) { .product-grid { gap: 1.25rem; } }
@media (min-width: 1024px) { .product-grid { gap: 1.5rem; } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  position: relative;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--purple-400);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card .badge-discount {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: var(--grad-primary);
  color: #fff;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 2;
  box-shadow: var(--shadow-glow);
}
.stock-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.stock-badge.in-stock {
  color: #059669;
  background: rgba(5, 150, 105, 0.12);
}
.stock-badge.out-of-stock {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.12);
}
.product-thumb {
  height: 140px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.product-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 1, 24, 0.6));
}
.product-thumb-link {
  display: block;
  text-decoration: none;
}
.product-thumb-link:hover .product-thumb {
  filter: brightness(1.1);
}
.product-card .product-title a {
  color: inherit;
  text-decoration: none;
}
.product-card .product-title a:hover {
  color: var(--purple-400);
}
.product-card .btn-disabled {
  cursor: default;
}
@media (min-width: 768px) { .product-thumb { height: 160px; font-size: 4rem; } }
@media (min-width: 1024px) { .product-thumb { height: 180px; font-size: 4.5rem; } }

.product-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--pink-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}
.product-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.product-desc {
  font-size: 0.8125rem;
  color: var(--text-soft);
  margin-bottom: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.product-original {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 0.375rem;
}

/* ---------- Grids (responsive auto-fit) ---------- */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 768px) { .grid { gap: 1.25rem; } }
@media (min-width: 1024px) { .grid { gap: 1.5rem; } }

/* ---------- Feature blocks ---------- */
.feature { text-align: center; padding: 1.5rem 1rem; }
.feature-icon {
  width: 56px; height: 56px;
  background: var(--grad-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-glow);
  color: #fff;
}
@media (min-width: 768px) {
  .feature-icon { width: 64px; height: 64px; font-size: 1.75rem; }
}
.feature h3 { margin-bottom: 0.5rem; }
.feature p { color: var(--text-soft); font-size: 0.875rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
}
.step {
  text-align: center;
  padding: 1.25rem 0.75rem;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-glow);
}
@media (min-width: 768px) {
  .step-num { width: 56px; height: 56px; font-size: 1.375rem; }
}
.step h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.step p { color: var(--text-soft); font-size: 0.875rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all .25s;
}
.faq details:hover { border-color: var(--border-2); }
.faq details[open] {
  background: var(--surface-2);
  border-color: var(--purple-400);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  font-size: 0.9375rem;
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--pink-400);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-soft);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.3), transparent 50%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.92); margin-bottom: 1.75rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { background: #fff; color: var(--purple-700); }
.cta-banner .btn:hover { background: var(--purple-900); color: #fff; }
.cta-banner .btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.25); color: #fff; }
@media (min-width: 768px) {
  .cta-banner { padding: 4rem 3rem; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; } }

.footer-brand p {
  color: var(--text-soft);
  margin: 0.75rem 0 1.25rem;
  font-size: 0.875rem;
}
.social-row { display: flex; gap: 0.625rem; margin-bottom: 1rem; flex-wrap: wrap; }
.social {
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all .25s;
  color: var(--text-soft);
}
.social:hover {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.badges-row {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.badges-row span {
  padding: 0.25rem 0.625rem;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.footer-col h4, .footer-contact h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col a, .footer-contact a {
  display: block;
  color: var(--text-soft);
  font-size: 0.875rem;
  padding: 0.375rem 0;
  transition: color .2s;
}
.footer-col a:hover, .footer-contact a:hover { color: var(--pink-400); }
.contact-row {
  color: var(--text-soft);
  font-size: 0.875rem;
  padding: 0.375rem 0;
  word-break: break-word;
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom-links { display: flex; gap: 1rem; justify-content: center; }
.footer-bottom-links a { color: var(--muted); }

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: calc(1.25rem + var(--safe-bottom));
  right: 1.25rem;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  z-index: 50;
  transition: all .25s;
  animation: pulse 2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0); }
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (min-width: 768px) {
  .wa-float { width: 56px; height: 56px; font-size: 1.625rem; bottom: 1.5rem; right: 1.5rem; }
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 0.875rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}
.form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.375rem;
}
.form input, .form select, .form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: all .2s;
}
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--purple-400);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form select { appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c4b5fd' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-check { display: flex; align-items: center; gap: 0.5rem; }
.form-check input { width: auto; min-height: auto; }

/* ---------- Auth Pages ---------- */
.auth-wrap {
  min-height: calc(100vh - var(--nav-height) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-box {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) {
  .auth-box { padding: 2.5rem 2rem; }
}
.auth-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-primary);
}
.auth-box h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: clamp(1.375rem, 3vw, 1.625rem);
}
.auth-box .auth-sub {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

/* ---------- Flash / Alerts ---------- */
.flash {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid var(--green-400);
  color: var(--green-400);
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.alert {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid var(--red-400);
  color: var(--red-400);
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-size: 0.875rem;
}

/* ---------- Tables (responsive) ---------- */
.table-wrapper {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}
.table th {
  text-align: left;
  padding: 0.875rem 1rem;
  background: var(--surface-2);
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--surface); }

/* ---------- Tags / Badges ---------- */
.tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.tag-completed { background: rgba(52, 211, 153, 0.15); color: var(--green-400); }
.tag-pending   { background: rgba(251, 191, 36, 0.15); color: var(--amber-400); }
.tag-failed    { background: rgba(248, 113, 113, 0.15); color: var(--red-400); }
.tag-cancelled { background: rgba(248, 113, 113, 0.15); color: var(--red-400); }
.tag-processing{ background: rgba(139, 92, 246, 0.15); color: var(--purple-300); }
.tag-success   { background: rgba(34, 211, 168, 0.15); color: var(--green-400); }
.tag-approved  { background: rgba(34, 211, 168, 0.15); color: var(--green-400); }
.tag-rejected  { background: rgba(239, 68, 68, 0.15); color: var(--red-400); }
.tag-credit    { background: rgba(34, 211, 168, 0.15); color: var(--green-400); }
.tag-debit     { background: rgba(239, 68, 68, 0.15); color: var(--red-400); }
.tag-refund    { background: rgba(99, 102, 241, 0.15); color: var(--purple-300); }

.psr-code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.8125rem;
  background: var(--surface-2);
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--pink-400);
  word-break: break-all;
}

.empty {
  text-align: center;
  padding: 3rem 1.25rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

/* ---------- Stat Cards ---------- */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-md);
}
.stat-card .stat-label {
  font-size: 0.6875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.stat-card .stat-value {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  word-break: break-word;
}
.stat-card .stat-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ---------- Product Detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .product-detail { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; }
}
.product-hero {
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.product-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(245, 158, 11, 0.4), transparent 50%);
}
@media (min-width: 640px) { .product-hero { height: 320px; font-size: 7rem; } }
@media (min-width: 1024px) { .product-hero { height: 380px; font-size: 8rem; } }

.product-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
}
@media (min-width: 768px) { .product-info-card { padding: 2rem; } }

.price-block { margin: 1.25rem 0; }
.price-now {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-was {
  font-size: 1.125rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 0.75rem;
}
.price-save {
  display: inline-block;
  margin-left: 0.75rem;
  background: var(--grad-primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0;
}
.feature-list li {
  padding: 0.625rem 0;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Redeem Page ---------- */
.redeem-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.redeem-label {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.redeem-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.redeem-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.redeem-chip.ok { color: #34d399; border-color: rgba(52, 211, 153, 0.35); }
.redeem-chip.warn { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); }
.redeem-box {
  max-width: 480px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .redeem-box { padding: 3rem 2rem; } }
.redeem-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-primary-2);
}
.redeem-logo {
  width: 64px; height: 64px;
  background: var(--grad-primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.redeem-box h1 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 0.625rem;
}
.redeem-box .tag {
  display: inline-block;
  background: var(--grad-primary);
  color: #fff;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0.5rem 0 1.25rem;
}
.redeem-code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.9375rem;
  background: var(--bg-3);
  padding: 0.625rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--pink-400);
  display: inline-block;
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
  word-break: break-all;
  max-width: 100%;
}
.redeem-box .btn { width: 100%; }
.redeem-box.err { border-color: rgba(248, 113, 113, 0.3); }
.redeem-box.err::before { background: linear-gradient(135deg, #ef4444, #dc2626); }
.redeem-box.ok { border-color: rgba(52, 211, 153, 0.3); }
.redeem-box.ok::before { background: linear-gradient(135deg, #10b981, #059669); }
.redeem-contact {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.redeem-contact p {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.redeem-contact .cbtns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}
@media (min-width: 480px) {
  .redeem-contact .cbtns { grid-template-columns: repeat(4, 1fr); }
}
.redeem-contact .cbtn {
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #fff;
  text-align: center;
  transition: transform .2s;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.redeem-contact .cbtn:hover { transform: translateY(-2px); color: #fff; }
.redeem-contact .cbtn.call { background: linear-gradient(135deg, var(--cyan-400), var(--purple-500)); }
.redeem-contact .cbtn.wa   { background: linear-gradient(135deg, #25d366, #128c7e); }
.redeem-contact .cbtn.ig   { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.redeem-contact .cbtn.tg   { background: linear-gradient(135deg, #0088cc, #006699); }

/* ---------- Admin Panel Layout ---------- */
.admin-shell {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: rgba(20, 8, 43, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.admin-sidebar.open { transform: translateX(0); }
@media (min-width: 1024px) {
  .admin-sidebar {
    position: sticky;
    transform: translateX(0);
  }
}
.admin-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.admin-backdrop.show { opacity: 1; pointer-events: all; }
@media (min-width: 1024px) { .admin-backdrop { display: none; } }

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.admin-brand-logo {
  width: 40px; height: 40px;
  background: var(--grad-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.admin-brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.admin-brand-name {
  font-weight: 900;
  font-size: calc(1rem * var(--brand-name-scale, 1));
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-brand-sub {
  font-size: 0.6875rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-sidebar-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-nav-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 0.75rem 0.375rem;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all .2s;
  margin-bottom: 0.125rem;
}
.admin-nav-link:hover { background: var(--surface); color: var(--text); }
.admin-nav-link.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.admin-nav-link i { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }

.admin-sidebar-foot {
  padding: 1rem 0.75rem;
  border-top: 1px solid var(--border);
}
.admin-sidebar-foot .admin-nav-link.text-danger { color: var(--red-400); }
.admin-sidebar-foot .admin-nav-link.text-danger:hover { background: rgba(248, 113, 113, 0.1); color: var(--red-400); }

.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-navbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(20, 8, 43, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
@media (min-width: 1024px) {
  .admin-navbar { padding: 0.875rem 1.5rem; }
}
.admin-sidebar-toggle {
  display: flex;
}
@media (min-width: 1024px) {
  .admin-sidebar-toggle { display: none; }
}

.admin-navbar-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.admin-navbar-search i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.875rem;
  pointer-events: none;
}
.admin-navbar-search input {
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 0.875rem 0.5rem 2.375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.875rem;
}
.admin-navbar-search input:focus {
  outline: none;
  background: var(--surface-2);
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.admin-navbar-search input::placeholder { color: var(--muted); }

.admin-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.admin-user-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
}
.admin-user-chip:hover { background: var(--surface-2); border-color: var(--purple-400); }
.admin-avatar {
  width: 32px; height: 32px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.admin-user-info {
  display: none;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
@media (min-width: 640px) {
  .admin-user-info { display: flex; }
}
.admin-user-name {
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.admin-user-role {
  font-size: 0.6875rem;
  color: var(--muted);
}

.admin-content {
  padding: 1.25rem 1rem;
  flex: 1;
}
@media (min-width: 768px) {
  .admin-content { padding: 1.75rem 1.5rem; }
}
@media (min-width: 1024px) {
  .admin-content { padding: 2rem;
  }
}

.admin-page-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-page-head h1 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text-soft); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.375rem; color: var(--muted); }
.breadcrumb li.active { color: var(--text-soft); }

/* ---------- Quantity Selector ---------- */
.qty-selector {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.qty-selector .qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.qty-selector .qty-btn:hover:not(:disabled) {
  background: var(--surface-2);
}
.qty-selector .qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.qty-selector input[type="number"] {
  width: 56px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}
.qty-selector input[type="number"]::-webkit-inner-spin-button,
.qty-selector input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--amber-400);
  margin-top: 0.375rem;
  font-weight: 600;
}

/* ---------- Utility classes ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.w-full { width: 100%; }
.hidden { display: none; }
@media (min-width: 640px) { .sm\:hidden { display: none; } .sm\:block { display: block; } .sm\:flex { display: flex; } }
@media (min-width: 768px) { .md\:hidden { display: none; } .md\:block { display: block; } .md\:flex { display: flex; } }
@media (min-width: 1024px) { .lg\:hidden { display: none; } .lg\:block { display: block; } .lg\:flex { display: flex; } }

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .wa-float, .admin-sidebar, .admin-navbar { display: none !important; }
  body { background: white; color: black; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
