﻿    :root {
      /* alap téma (ALL / metabolikus) */
      --accent-color: #22d3ee;
      --accent-border: rgba(37,99,235,0.9);
      --accent-glow: rgba(56,189,248,0.7);
      --bg-accent-1: rgba(56,189,248,0.45);
      --bg-accent-2: rgba(129,140,248,0.4);
    }

    /* PERFORMANCE: Reduce animations for users who prefer reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* GPU acceleration for smoother animations */
    .product-card, .window, .neon-card, .cat-pill-hyper, .wizard-pill {
      will-change: transform;
      transform: translateZ(0);
      backface-visibility: hidden;
    }

    /* THEME SWITCHERS */
    body.theme-metabolic {
      --accent-color: #22d3ee;
      --accent-border: rgba(37,99,235,0.9);
      --accent-glow: rgba(56,189,248,0.9);
      --bg-accent-1: rgba(56,189,248,0.75);
      --bg-accent-2: rgba(37,99,235,0.7);
    }
    body.theme-regen {
      --accent-color: #22c55e;
      --accent-border: rgba(22,163,74,0.95);
      --accent-glow: rgba(74,222,128,0.9);
      --bg-accent-1: rgba(34,197,94,0.7);
      --bg-accent-2: rgba(132,204,22,0.65);
    }
    body.theme-cosmetic {
      --accent-color: #ec4899;
      --accent-border: rgba(236,72,153,0.95);
      --accent-glow: rgba(244,114,182,0.9);
      --bg-accent-1: rgba(244,114,182,0.7);
      --bg-accent-2: rgba(251,113,133,0.65);
    }
    body.theme-nootropic {
      --accent-color: #38bdf8;
      --accent-border: rgba(59,130,246,0.95);
      --accent-glow: rgba(129,140,248,0.85);
      --bg-accent-1: rgba(56,189,248,0.65);
      --bg-accent-2: rgba(129,140,248,0.7);
    }
    body.theme-gh {
      --accent-color: #6366f1;
      --accent-border: rgba(79,70,229,0.95);
      --accent-glow: rgba(129,140,248,0.9);
      --bg-accent-1: rgba(129,140,248,0.7);
      --bg-accent-2: rgba(99,102,241,0.65);
    }
    body.theme-bioreg {
      --accent-color: #a855f7;
      --accent-border: rgba(147,51,234,0.95);
      --accent-glow: rgba(168,85,247,0.9);
      --bg-accent-1: rgba(168,85,247,0.65);
      --bg-accent-2: rgba(147,51,234,0.6);
    }
    body.theme-support {
      --accent-color: #f97316;
      --accent-border: rgba(234,88,12,0.95);
      --accent-glow: rgba(249,115,22,0.9);
      --bg-accent-1: rgba(249,115,22,0.45);
      --bg-accent-2: rgba(251,191,36,0.4);
    }
    body.theme-blend {
      --accent-color: #22d3ee;
      --accent-border: rgba(236,72,153,0.95);
      --accent-glow: rgba(34,211,238,0.9);
      --bg-accent-1: rgba(34,211,238,0.6);
      --bg-accent-2: rgba(236,72,153,0.55);
    }

    /* --- SCROLL FIX --- */
    html, body {
      scroll-behavior: smooth;
      height: 100%;
    }
    body {
      overflow-x: hidden;
      overflow-y: auto;
      font-family: "SF Mono", "Fira Code", "Consolas", monospace;
    }

    /* --- GLOBAL BACKGROUND (Lab OS) --- */
    .desktop-bg {
      position: relative;
      min-height: 100vh;
      background:
        radial-gradient(ellipse 1800px 1600px at 0% 0%, rgba(56,189,248,0.12), transparent 80%),
        radial-gradient(ellipse 1800px 1600px at 100% 100%, rgba(129,140,248,0.10), transparent 80%),
        radial-gradient(ellipse at 50% 50%, rgba(15,23,42,1), rgba(2,6,23,1));
      color: #e5e7eb;
      overflow: visible;
      z-index: 0;
    }

    body > header,
    main,
    .mobile-trust-strip,
    .mobile-header-right {
      position: relative;
      z-index: 2;
    }

    @media (max-width: 768px) {
      body {
        position: relative;
      }

      .desktop-bg {
        background:
          radial-gradient(ellipse 1400px 1200px at 10% 0%, rgba(34,197,94,0.14), transparent 70%),
          radial-gradient(ellipse 1200px 1400px at 90% 100%, rgba(56,189,248,0.12), transparent 75%),
          radial-gradient(circle at 50% 30%, rgba(15,23,42,1), rgba(2,6,23,1));
      }

      .desktop-bg::before {
        content: '';
        position: fixed;
        inset: -30%;
        pointer-events: none;
        z-index: 0;
        opacity: 0.55;
        background-image:
          radial-gradient(circle at 20% 20%, rgba(34,197,94,0.18), transparent 45%),
          radial-gradient(circle at 80% 30%, rgba(56,189,248,0.16), transparent 50%),
          radial-gradient(circle at 40% 80%, rgba(129,140,248,0.14), transparent 55%),
          radial-gradient(circle at 70% 70%, rgba(168,85,247,0.12), transparent 55%);
        background-size: 160% 160%;
        animation: mobileMeshDrift 18s ease-in-out infinite;
      }

      .desktop-bg::after {
        content: '';
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 0;
        opacity: 0.35;
        mix-blend-mode: screen;
        background-image:
          linear-gradient(135deg, rgba(34, 197, 94, 0.35) 1px, transparent 1px),
          linear-gradient(45deg, rgba(56, 189, 248, 0.28) 1px, transparent 1px),
          radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.45), transparent 35%),
          radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.35), transparent 40%);
        background-size: 140px 140px, 160px 160px, 300px 300px, 260px 260px;
        animation: mobileMeshLines 14s linear infinite;
      }

      .desktop-bg > * {
        position: relative;
        z-index: 2;
      }
    }

    @keyframes mobileMeshDrift {
      0% { background-position: 0% 0%; }
      50% { background-position: 60% 40%; }
      100% { background-position: 0% 0%; }
    }

    @keyframes mobileMeshLines {
      0% { background-position: 0 0, 0 0, 0 0, 0 0; }
      50% { background-position: 80px 60px, -60px 90px, 40px 20px, -30px 70px; }
      100% { background-position: 0 0, 0 0, 0 0, 0 0; }
    }

    /* Cyberpharma terminal scanline effect */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      pointer-events: none;
      background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(34, 211, 238, 0.008) 2px,
        rgba(34, 211, 238, 0.008) 4px
      );
      z-index: 9999;
    }

    .scanlines::before {
      display: none;
    }

    .data-rain {
      display: none;
      opacity: 0.35;
      mix-blend-mode: soft-light;
      animation: rainScroll 18s linear infinite;
      z-index: -3;
    }

    @keyframes rainScroll {
      0%   { transform: translateY(-40px); }
      100% { transform: translateY(40px);  }
    }

    /* --- WINDOW / OS LOOK --- */
    .window {
      position: relative;
      border-radius: 0.75rem;
      background: radial-gradient(ellipse at top left, rgba(30,41,59,0.95), rgba(15,23,42,0.98));
      border: 1px solid rgba(34,211,238,0.25);
      box-shadow:
        0 0 30px rgba(34,211,238,0.08),
        0 0 60px rgba(34,211,238,0.04),
        inset 0 0 60px rgba(34,211,238,0.02);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      overflow: hidden;
      transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .window::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(34,211,238,0.4), transparent);
    }

    .window.focused {
      box-shadow:
        0 0 40px rgba(34,211,238,0.12),
        0 0 80px rgba(34,211,238,0.06),
        inset 0 0 80px rgba(34,211,238,0.03);
      border-color: rgba(34,211,238,0.4);
    }

    .window-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.5rem 0.9rem;
      font-family: "SF Mono", "Fira Code", monospace;
      font-size: 8px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.25em;
      border-bottom: 1px solid rgba(34,211,238,0.25);
      background: linear-gradient(to right, rgba(15,23,42,0.98), rgba(15,23,42,0.95));
    }

    .os-dots span {
      display: inline-block;
      height: 0.5rem;
      width: 0.5rem;
      border-radius: 9999px;
      margin-right: 0.2rem;
    }
    .os-dots span:nth-child(1) { background: #f97373; box-shadow: 0 0 6px rgba(249,115,115,0.6); }
    .os-dots span:nth-child(2) { background: #facc15; box-shadow: 0 0 6px rgba(250,204,21,0.6); }
    .os-dots span:nth-child(3) { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.6); }

    .taskbar {
      position: fixed;
      inset-inline: 0;
      bottom: 0;
      z-index: 30;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      background: linear-gradient(to top, rgba(15,23,42,0.97), rgba(15,23,42,0.8));
      border-top: 1px solid rgba(30,64,175,0.9);
    }

    .pill {
      border-radius: 9999px;
      border: 1px solid rgba(34,211,238,0.4);
      background: radial-gradient(ellipse at top left, rgba(30,41,59,0.95), rgba(15,23,42,0.98));
      font-family: "SF Mono", monospace;
      font-size: 8px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    /* QUICK WIZARD – neon category pills + separators */
    .wizard-strip {
      position: relative;
      border-radius: 1.5rem;
      background: radial-gradient(circle at 0 0, rgba(15,23,42,0.98), rgba(15,23,42,0.96));
      border: 1px solid rgba(30,64,175,0.9);
      box-shadow:
        0 0 25px rgba(15,23,42,1),
        0 0 45px rgba(15,23,42,0.9);
      overflow: hidden;
    }

    /* animated neon separators top / bottom */
    .wizard-strip::before {
      content: "";
      position: absolute;
      inset-inline: 8%;
      bottom: 0.65rem;
      height: 1px;
      background:
        linear-gradient(90deg, transparent, var(--accent-color), transparent);
      opacity: 0.55;
      filter: drop-shadow(0 0 8px var(--accent-glow));
      animation: wizardLine 3.8s linear infinite;
      pointer-events: none;
    }

    .wizard-strip::after {
      content: "";
      position: absolute;
      inset-inline: 8%;
      top: 0.9rem;
      height: 1px;
      background:
        linear-gradient(90deg, transparent, rgba(148,163,184,0.7), transparent);
      opacity: 0.35;
      filter: drop-shadow(0 0 5px rgba(148,163,184,0.8));
      animation: wizardLineReverse 5s linear infinite;
      pointer-events: none;
    }

    @keyframes wizardLine {
      0%   { transform: translateX(-10%); opacity: 0.35; }
      50%  { transform: translateX(10%);  opacity: 0.8;  }
      100% { transform: translateX(-10%); opacity: 0.35; }
    }

    @keyframes wizardLineReverse {
      0%   { transform: translateX(10%);  opacity: 0.25; }
      50%  { transform: translateX(-10%); opacity: 0.6;  }
      100% { transform: translateX(10%);  opacity: 0.25; }
    }

    .wizard-pill {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      gap: 0.35rem;
      padding: 0.45rem 0.85rem;
      border-radius: 9999px;
      font-size: 10px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-width: 1px;
      border-style: solid;
      background:
        radial-gradient(circle at 0 0, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
      box-shadow:
        0 0 10px rgba(15,23,42,1);
      transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease,
        transform 0.12s ease,
        color 0.16s ease,
        filter 0.16s ease;
      cursor: pointer;
      overflow: hidden;
    }

    .wizard-pill::before {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      opacity: 0;
      pointer-events: none;
      background:
        radial-gradient(circle at 30% 0%, rgba(255,255,255,0.18), transparent 55%);
      mix-blend-mode: screen;
      transition: opacity 0.18s ease;
    }

    .wizard-pill::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      opacity: 0;
      background:
        radial-gradient(circle at 0 0, rgba(255,255,255,0.18), transparent 55%),
        linear-gradient(120deg,
          transparent 0%,
          rgba(255,255,255,0.10) 40%,
          rgba(255,255,255,0.25) 50%,
          rgba(255,255,255,0.10) 60%,
          transparent 100%
        );
      mix-blend-mode: screen;
      transform: translateX(-40%);
      transition: opacity 0.2s ease, transform 0.25s ease;
    }

    /* hover – OS style micro movement + glow */
    .wizard-pill:hover {
      transform: translateY(-1px) translateZ(0) scale(1.02);
      box-shadow:
        0 0 8px rgba(15,23,42,0.6),
        0 0 16px rgba(15,23,42,0.4);
    }

    .wizard-pill:hover::before {
      opacity: 1;
    }

    .wizard-pill:hover::after,
    .wizard-pill.border-cyan-400::after {
      opacity: 1;
      transform: translateX(0%);
    }

    /* active state - category specific glows */
    .wizard-pill.border-cyan-400.metabolic {
      box-shadow: 0 0 20px rgba(34,211,238,0.6), 0 0 30px rgba(34,211,238,0.4);
    }
    .wizard-pill.border-cyan-400.regen {
      box-shadow: 0 0 20px rgba(132,204,22,0.6), 0 0 30px rgba(132,204,22,0.4);
    }
    .wizard-pill.border-cyan-400.cosmetic {
      box-shadow: 0 0 20px rgba(236,72,153,0.6), 0 0 30px rgba(236,72,153,0.4);
    }
    .wizard-pill.border-cyan-400.nootropic {
      box-shadow: 0 0 20px rgba(14,165,233,0.6), 0 0 30px rgba(14,165,233,0.4);
    }
    .wizard-pill.border-cyan-400.gh {
      box-shadow: 0 0 20px rgba(168,85,247,0.6), 0 0 30px rgba(168,85,247,0.4);
    }
    .wizard-pill.border-cyan-400.bioreg {
      box-shadow: 0 0 20px rgba(244,63,94,0.6), 0 0 30px rgba(244,63,94,0.4);
    }
    .wizard-pill.border-cyan-400.support {
      box-shadow: 0 0 20px rgba(249,115,22,0.6), 0 0 30px rgba(249,115,22,0.4);
    }
    .wizard-pill.border-cyan-400.blend {
      box-shadow: 0 0 20px rgba(34,211,238,0.5), 0 0 30px rgba(236,72,153,0.4);
    }
    .wizard-pill.border-cyan-400.all {
      box-shadow: 0 0 20px rgba(148,163,184,0.6), 0 0 30px rgba(148,163,184,0.4);
    }
    
    .wizard-pill.border-cyan-400::before {
      opacity: 1;
    }

    /* CATEGORY COLORS */
    .wizard-pill.metabolic {
      border-color: rgba(34,211,238,0.8);
      color: #a5f3fc;
    }
    .wizard-pill.regen {
      border-color: rgba(132,204,22,0.9);
      color: #bbf7d0;
    }
    .wizard-pill.cosmetic {
      border-color: rgba(236,72,153,0.95);
      color: #f9a8d4;
    }
    .wizard-pill.nootropic {
      border-color: rgba(14,165,233,0.9);
      color: #bae6fd;
    }
    .wizard-pill.gh {
      border-color: rgba(168,85,247,0.95);
      color: #ddd6fe;
    }
    .wizard-pill.bioreg {
      border-color: rgba(244,63,94,0.95);
      color: #fecaca;
    }
    .wizard-pill.support {
      border-color: rgba(249,115,22,0.95);
      color: #fed7aa;
    }
    .wizard-pill.blend {
      border-image: linear-gradient(90deg,#22d3ee,#ec4899) 1;
      border-color: transparent;
      color: #e5e7eb;
      background-image:
        radial-gradient(circle at 0 0, rgba(15,23,42,0.98), rgba(15,23,42,0.96));
    }
    .wizard-pill.all {
      border-color: rgba(148,163,184,0.9);
      color: #cbd5f5;
    }

    /* --- PRODUCT GRID / CARD STYLES (Moritz cyberpharma) --- */

        /* --- PRODUCT GRID / CARD STYLES (Moritz cyberpharma – CLEAN, LOW LAG) --- */

.product-card {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(15,23,42,0.92), rgba(2,6,23,0.98));
  border: 1px solid rgba(15,23,42,0.95);
  box-shadow:
    0 8px 20px rgba(15,23,42,0.9);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease,
    background 0.14s ease;
  z-index: 1;

  --card-frame-color: rgba(148,163,184,0.7);
  --card-frame-glow: rgba(15,23,42,0.9);
}

/* belső neon keret – vékony, pontosan illeszkedik */
.product-card::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 1.05rem;
  border: 1px solid var(--card-frame-color);
  box-shadow: 0 0 10px var(--card-frame-glow);
  opacity: 0.95;
  pointer-events: none;
}

/* finom top halo, nem pixel-es */
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0,
      rgba(255,255,255,0.03),
      transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--card-frame-color);
  box-shadow:
    0 12px 32px rgba(15,23,42,1),
    0 0 40px var(--card-frame-glow);
}

/* KATEGÓRIA SZÍNEK – ezek adják a neon keret színét */

.product-card[data-cat="metabolic"] {
  --card-frame-color: rgba(56,189,248,0.9);
  --card-frame-glow: rgba(34,211,238,0.8);
}

.product-card[data-cat="regen"],
.product-card[data-cat="blend"] {
  --card-frame-color: rgba(74,222,128,0.9);
  --card-frame-glow: rgba(34,197,94,0.8);
}

.product-card[data-cat="cosmetic"] {
  --card-frame-color: rgba(244,114,182,0.95);
  --card-frame-glow: rgba(236,72,153,0.9);
}

.product-card[data-cat="nootropic"] {
  --card-frame-color: rgba(56,189,248,0.95);
  --card-frame-glow: rgba(59,130,246,0.9);
}

.product-card[data-cat="gh"] {
  --card-frame-color: rgba(129,140,248,0.95);
  --card-frame-glow: rgba(94,92,255,0.9);
}

.product-card[data-cat="bioregulátor"] {
  --card-frame-color: rgba(244,63,94,0.95);
  --card-frame-glow: rgba(248,113,113,0.9);
}

.product-card[data-cat="support"] {
  --card-frame-color: rgba(251,146,60,0.95);
  --card-frame-glow: rgba(251,191,36,0.9);
}


/* HERO blokk – glow most már szűken az üveg körül */

.product-hero {
  position: relative;
  padding: 1.2rem 1.4rem 1.7rem;
  z-index: 1;
}

.product-hero-inner {
  position: relative;
  border-radius: 16px;
  padding: 1.1rem;
  background:
    radial-gradient(circle at 50% 0,
      rgba(15,23,42,0.9),
      rgba(15,23,42,1));
}

/* Level-alapú glow csak a hero köré */
/* Ha akarod, később átírhatjuk kategória-alapúra, de most marad level. */

.product-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid transparent;
  box-shadow: none;
  transition: 0.22s ease;
}

/* LIGHT */
.product-hero-inner.hero-level-light::before {
  border-color: rgba(52,211,153,0.85);
  box-shadow:
    0 0 12px rgba(16,185,129,0.7),
    0 0 26px rgba(16,185,129,0.5);
}

/* MEDIUM */
.product-hero-inner.hero-level-medium::before {
  border-color: rgba(251,191,36,0.9);
  box-shadow:
    0 0 12px rgba(245,158,11,0.75),
    0 0 26px rgba(245,158,11,0.5);
}

/* HARD */
.product-hero-inner.hero-level-hard::before {
  border-color: rgba(248,113,113,0.95);
  box-shadow:
    0 0 12px rgba(239,68,68,0.8),
    0 0 26px rgba(239,68,68,0.55);
}

/* ULTRA */
.product-hero-inner.hero-level-ultra::before {
  border-color: rgba(129,140,248,0.95);
  box-shadow:
    0 0 12px rgba(129,140,248,0.8),
    0 0 26px rgba(59,130,246,0.6);
}



.product-hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero-img-wrap img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(15,23,42,0.9));
  position: relative;
  z-index: 1;
}

/* DISCOUNT PILL marad, de picit visszavéve */

.product-discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 600;
  color: #020617;
  background: radial-gradient(circle at 30% 0%, #67e8f9, #22d3ee 45%, #0ea5e9 85%);
  box-shadow: 0 0 12px rgba(34,211,238,0.55);
  white-space: nowrap;
}

.product-discount-pill--header {
  margin-bottom: 1px;
}





/* BODY */

.product-body {
  position: relative;
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  z-index: 1;
  min-height: 0;
}

.product-badge {
  border-radius: 9999px;
  border: 1px solid rgba(148,163,184,0.8);
  background: radial-gradient(circle at top left, rgba(148,163,184,0.25), rgba(15,23,42,0.9));
  padding: 0.15rem 0.6rem;
  font-size: 9px;
  color: #e5e7eb;
}

.product-tag-pill {
  border-radius: 9999px;
  padding: 0.2rem 0.7rem;
  font-size: 9px;
  font-weight: 600;
  color: #0f172a;
  background: linear-gradient(to right, #fbbf24, #f97316);
  box-shadow:
    0 0 8px rgba(251,191,36,0.9),
    0 0 16px rgba(251,191,36,0.75);
  text-transform: uppercase;
}

.product-desc {
  font-size: 10px;
  color: #cbd5f5;
  margin-top: 0.35rem;
}

.product-kinek {
  font-size: 10px;
  color: #4ade80;
  margin-top: 0.35rem;
}

.product-tagline {
  font-size: 10px;
  color: #facc15;
  margin-top: 0.25rem;
}

.product-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(30,64,175,0.75);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

    .price-old {
      font-size: 9px;
      color: #64748b;
      text-decoration: line-through;
      display: block;
    }

    .price-current {
      font-size: 11px;
      color: #e5e7eb;
      font-weight: 600;
      display: block;
    }

    .product-id {
      font-size: 8px;
      color: #475569;
      margin-top: 0.15rem;
      display: block;
    }

    .btn-main {
      border-radius: 9999px;
      padding: 0.3rem 0.85rem;
      font-size: 9px;
      font-weight: 600;
      background: linear-gradient(to right, #22d3ee, #38bdf8);
      color: #0f172a;
      border: none;
      box-shadow:
        0 0 10px rgba(56,189,248,0.8),
        0 0 22px rgba(56,189,248,0.7);
      transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
      white-space: nowrap;
    }

    .btn-main:hover {
      transform: translateY(-1px);
      box-shadow:
        0 0 14px rgba(56,189,248,0.9),
        0 0 26px rgba(56,189,248,0.9);
    }

    .btn-ghost {
      border-radius: 9999px;
      padding: 0.3rem 0.85rem;
      font-size: 9px;
      color: #e5e7eb;
      border: 1px solid rgba(148,163,184,0.9);
      background: radial-gradient(circle at top left, rgba(148,163,184,0.2), rgba(15,23,42,0.95));
      transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
      white-space: nowrap;
    }

    .btn-ghost:hover {
      border-color: #22d3ee;
      color: #a5f3fc;
      background: radial-gradient(circle at top left, rgba(56,189,248,0.3), rgba(15,23,42,0.98));
    }

    .variant-select-wrap {
      margin-top: 0.75rem;
      padding: 0.75rem;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
      border: 1px solid rgba(34, 211, 238, 0.3);
      border-radius: 0.75rem;
      font-size: 11px;
      color: #94a3b8;
    }
    .variant-select-wrap label {
      display: block;
      margin-bottom: 0.5rem;
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #22d3ee;
    }

    .variant-select {
      width: 100%;
      border-radius: 0.5rem;
      padding: 0.5rem 0.75rem;
      background: rgba(2, 6, 23, 0.9);
      border: 1px solid rgba(51, 65, 85, 0.8);
      font-size: 12px;
      font-weight: 500;
      color: #e2e8f0;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .variant-select:hover {
      border-color: rgba(34, 211, 238, 0.5);
    }

    .variant-select:focus {
      outline: none;
      border-color: #22d3ee;
    }

    .product-id {
      font-size: 9px;
      color: #64748b;
      margin-top: 0.2rem;
    }

    .line-clamp-4 {
      display: -webkit-box;
      -webkit-line-clamp: 4;
      line-clamp: 4;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .line-clamp-3 {
      display: -webkit-box;
      -webkit-line-clamp: 3;
      line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }


/* ================================
   FEATURED CARDS – CLEAN FRAME
   ================================ */

.featured-card {
  position: relative;
  border-radius: 1.4rem;
  overflow: visible;
  padding: 0.85rem 1.1rem 1rem;
  background: radial-gradient(circle at 50% 0,
              rgba(15,23,42,0.9),
              rgba(2,6,23,0.98));
  border: 1px solid rgba(15,23,42,0.95);
  box-shadow:
    0 8px 22px rgba(15,23,42,0.9);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease,
    background 0.14s ease;
  min-height: 160px;
  display: flex;
  flex-direction: column;

  --frame-color: rgba(148,163,184,0.7);
  --frame-glow: rgba(30,64,175,0.7);
}

/* inner frame – thinner, smoother, no “fat” glow */
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border-radius: 1.1rem;
  border: 1px solid var(--frame-color);
  box-shadow: 0 0 12px var(--frame-glow);
  opacity: 0.95;
  pointer-events: none;
}

/* subtle top halo only */
.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0,
      rgba(255,255,255,0.04),
      transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.featured-card:hover {
  transform: translateY(-2px);
  border-color: var(--frame-color);
  box-shadow:
    0 12px 32px rgba(15,23,42,1),
    0 0 45px var(--frame-glow);
}

.featured-neonline {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  width: 55%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    var(--frame-color),
    transparent
  );
  opacity: 0.8;
  filter: drop-shadow(0 0 6px var(--frame-glow));
}

.holo-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--frame-color);
  box-shadow:
    0 0 6px var(--frame-glow);
}


/* featured-card kategória színek */

.featured-card[data-cat="metabolic"] {
  --frame-color: rgba(56,189,248,0.9);
  --frame-glow: rgba(34,211,238,0.95);
}
.featured-card[data-cat="regen"],
.featured-card[data-cat="blend"] {
  --frame-color: rgba(74,222,128,0.9);
  --frame-glow: rgba(34,197,94,0.95);
}
.featured-card[data-cat="cosmetic"] {
  --frame-color: rgba(244,114,182,0.95);
  --frame-glow: rgba(236,72,153,0.95);
}
.featured-card[data-cat="nootropic"] {
  --frame-color: rgba(56,189,248,0.95);
  --frame-glow: rgba(59,130,246,0.95);
}
.featured-card[data-cat="gh"] {
  --frame-color: rgba(129,140,248,0.95);
  --frame-glow: rgba(94,92,255,0.95);
}
.featured-card[data-cat="bioregulátor"] {
  --frame-color: rgba(244,63,94,0.95);
  --frame-glow: rgba(248,113,113,0.95);
}
.featured-card[data-cat="support"] {
  --frame-color: rgba(251,146,60,0.95);
  --frame-glow: rgba(251,191,36,0.95);
}

/* gold / premium mód a kiemelt stack kártyáknál */
.featured-card.yellow-premium {
  border-color: rgba(250,204,21,0.3);
  --frame-color: rgba(250,204,21,0.7);
  --frame-glow: rgba(250,204,21,0.45);
}

.hud-spine {
  position: fixed;
  right: 1.5rem;
  top: 5rem;
  bottom: 3.5rem;
  width: 210px;
  border-radius: 1.5rem;
  padding: 0.75rem 0.85rem;
  background: radial-gradient(circle at 0 0, rgba(15,23,42,0.98), rgba(15,23,42,0.96));
  border: 1px solid rgba(30,64,175,0.9);
  box-shadow:
    0 0 20px rgba(15,23,42,1),
    0 0 45px var(--accent-glow);
  font-size: 9px;
  color: #e5e7eb;
  z-index: 25;
  /* default: hidden */
  display: none;
}

@media (min-width: 1280px) {
  .hud-spine {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }
  .hud-spine.is-hidden {
    display: none;
  }
}

.hud-spine-title {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  font-size: 8px;
  color: #94a3b8;
}

.hud-stat-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 8px;
  color: #64748b;
}

.hud-stat-value {
  font-size: 10px;
  color: #e5e7eb;
}

.hud-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.55;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.hud-chip {
  border-radius: 9999px;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(148,163,184,0.8);
  background: radial-gradient(circle at top left, rgba(148,163,184,0.25), rgba(15,23,42,0.95));
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hud-meter {
  position: relative;
  height: 4px;
  border-radius: 9999px;
  background: rgba(15,23,42,0.9);
  overflow: hidden;
}
.hud-meter-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to right, var(--accent-color), rgba(15,23,42,0.9));
  transform-origin: left;
  transform: scaleX(0.42);
  animation: hudMeterPulse 6s ease-in-out infinite;
}

@keyframes hudMeterPulse {
  0% { transform: scaleX(0.25); }
  50% { transform: scaleX(0.85); }
  100% { transform: scaleX(0.25); }
}
  /* ---------- PERFORMANCE MODE: OVERLAY CLEANUP ---------- */

/* remove scanline overlay */
.scanlines::before {
  display: none !important;
}

/* remove falling data background */
.data-rain {
  display: none !important;
}
/* ---------- PERFORMANCE MODE: ANIMATION + SHADOW TWEAK ---------- */

/* On normal laptops / smaller screens, tone stuff down */

/* === @media (max-width: 1440px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* If user / system asks for less motion, respect it fully */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}
/* ================================
   FEATURED STRIP HERO PANEL
   (smooth background, no blocky corners)
   ================================ */

#featured-strip {
  position: relative;
  border-radius: 1.75rem;
  padding: 1.25rem 1.75rem 1.5rem;
  margin-top: 0.75rem;
  background:
    radial-gradient(circle at 0 0, rgba(30,64,175,0.75), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
  border: 1px solid rgba(30,64,175,0.9);
  overflow: hidden;               /* <-- this fixes the blocky inner edge */
  box-shadow:
    0 0 26px rgba(15,23,42,0.9),
    0 0 60px rgba(15,23,42,0.75);
}

/* inner subtle frame so it looks premium, not cartoony */
#featured-strip::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(148,163,184,0.38);
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0,
      rgba(255,255,255,0.04),
      transparent 60%);
  opacity: 0.95;
  mix-blend-mode: screen;
}
/* ================================
   FEATURED CARDS – CLEAN NEON FRAME
   ================================ */

.featured-card {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  padding: 0.85rem 1rem;
  background: radial-gradient(circle at 50% 0,
              rgba(15,23,42,0.9),
              rgba(2,6,23,0.98));
  border: 1px solid rgba(15,23,42,0.9);
  box-shadow:
    0 10px 30px rgba(15,23,42,0.9);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

/* inner neon frame – thinner, smoother */
.featured-card::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  border-radius: 1.1rem;
  border: 1px solid var(--frame-color, rgba(56,189,248,0.8));
  box-shadow:
    0 0 14px var(--frame-glow, rgba(56,189,248,0.55));
  opacity: 0.9;
  pointer-events: none;
}

/* soft top halo – very subtle */
.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0,
      rgba(255,255,255,0.05),
      transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.65;
}

.featured-card:hover {
  transform: translateY(-2px);
  border-color: var(--frame-color, rgba(56,189,248,0.9));
  box-shadow:
    0 12px 40px rgba(15,23,42,1),
    0 0 55px var(--frame-glow, rgba(56,189,248,0.75));
}

/* slim neon line on top – more OS, less „gaming mouse” */
.featured-neonline {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  width: 55%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    var(--frame-color, rgba(56,189,248,0.9)),
    transparent
  );
  opacity: 0.8;
  filter: drop-shadow(0 0 6px var(--frame-glow, rgba(56,189,248,0.8)));
}

/* tiny status dot – keep it tasteful */
.holo-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--frame-color, rgba(56,189,248,0.95));
  box-shadow:
    0 0 6px var(--frame-glow, rgba(56,189,248,0.9));
}

.featured-inner {
  position: relative;
  z-index: 2;
}
/* Base */
/* HERO BLOKK – KÉP KÖRÜLI NEON KERET KATEGÓRIA SZERINT */

.product-hero {
  position: relative;
  padding: 1.25rem 1.5rem 1.9rem; /* extra alsó hely a discount pill-nek */
  z-index: 1;
}

.product-hero-inner {
  position: relative;
  border-radius: 16px;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(15,23,42,0.9), rgba(2,6,23,1));
  border: 1px solid rgba(15,23,42,0.95);
  overflow: hidden;
}

/* alap halvány keret, amit a kategória színez túl */
.product-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(148,163,184,0.65);
  box-shadow: 0 0 18px rgba(15,23,42,1);
  opacity: 0.9;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

/* kategória szerinti neon – UGYANAZOK a színek, mint a kártya keretnél */

.product-hero-inner.cat-metabolic::before {
  border-color: rgba(56,189,248,0.9);
  box-shadow:
    0 0 16px rgba(56,189,248,0.7),
    0 0 32px rgba(34,211,238,0.55);
}

.product-hero-inner.cat-regen::before {
  border-color: rgba(74,222,128,0.95);
  box-shadow:
    0 0 16px rgba(34,197,94,0.7),
    0 0 32px rgba(34,197,94,0.55);
}

.product-hero-inner.cat-cosmetic::before {
  border-color: rgba(244,114,182,0.95);
  box-shadow:
    0 0 16px rgba(236,72,153,0.75),
    0 0 32px rgba(236,72,153,0.6);
}

.product-hero-inner.cat-gh::before {
  border-color: rgba(129,140,248,0.95);
  box-shadow:
    0 0 16px rgba(94,92,255,0.75),
    0 0 32px rgba(94,92,255,0.6);
}

.product-hero-inner.cat-nootropic::before {
  border-color: rgba(56,189,248,0.95);
  box-shadow:
    0 0 16px rgba(59,130,246,0.75),
    0 0 32px rgba(59,130,246,0.6);
}

.product-hero-inner.cat-bioregulátor::before {
  border-color: rgba(244,63,94,0.95);
  box-shadow:
    0 0 16px rgba(248,113,113,0.75),
    0 0 32px rgba(248,113,113,0.6);
}

.product-hero-inner.cat-support::before {
  border-color: rgba(251,146,60,0.95);
  box-shadow:
    0 0 16px rgba(251,191,36,0.75),
    0 0 32px rgba(251,191,36,0.6);
}

.product-hero-inner.cat-blend::before {
  border-color: rgba(45,212,191,0.95);
  box-shadow:
    0 0 16px rgba(45,212,191,0.75),
    0 0 32px rgba(16,185,129,0.6);
}

/* kép wrap marad, csak tisztán */

.product-hero-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero-img-wrap img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(15,23,42,0.9));
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  html {
    font-size: 14px;  /* ~87% */
  }
}

/* ============ PRODUCT TAB BUTTONS ============ */
.product-tab {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(100, 116, 139, 0.3);
  color: rgb(148, 163, 184);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0));
  -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;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product-tab:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
  color: rgb(103, 232, 249);
}

.product-tab:hover::before {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.5), rgba(56, 189, 248, 0.3));
  opacity: 1;
}

.product-tab.active {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.7);
  color: rgb(103, 232, 249);
  font-weight: 600;
}

.product-tab.active::before {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.8), rgba(56, 189, 248, 0.5));
  opacity: 1;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

/* ============ SPEC CARD NEON FRAME ============ */
.spec-card {
  position: relative;
  transition: all 0.3s ease;
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(100,116,139,0.2);
  border-radius: 0.75rem;
}

.spec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(236, 72, 153, 0.4));
  -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;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.spec-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.spec-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

/* ============ VARIANT BUTTONS WITH NEON ============ */
.variant-btn {
  position: relative;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(100, 116, 139, 0.3);
  color: rgb(203, 213, 225);
  transition: all 0.2s ease;
  cursor: pointer;
}

.variant-btn:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.1);
}

.variant-btn.active {
  border-color: rgb(139, 92, 246);
  background: rgba(139, 92, 246, 0.2);
  color: rgb(196, 181, 253);
}

/* ============ WINDOW STYLES ============ */
.window {
  position: relative;
  border-radius: 0.75rem;
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(100,116,139,0.25);
  overflow: hidden;
}

.window.focused {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.1);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(15,23,42,0.98);
  border-bottom: 1px solid rgba(71,85,105,0.3);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(148, 163, 184);
}

.os-dots {
  display: flex;
  gap: 0.4rem;
}

.os-dots span {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 50%;
}

.os-dots span:nth-child(1) { background: rgba(239,68,68,0.6); }
.os-dots span:nth-child(2) { background: rgba(251,191,36,0.6); }
.os-dots span:nth-child(3) { background: rgba(34,197,94,0.6); }

/* ============ NEON TEXT UTILITIES ============ */
.neon-text-cyan { text-shadow: 0 0 10px rgba(34,211,238,0.5), 0 0 20px rgba(34,211,238,0.3); }
.neon-text-violet { text-shadow: 0 0 10px rgba(139,92,246,0.5), 0 0 20px rgba(139,92,246,0.3); }
.neon-text-pink { text-shadow: 0 0 10px rgba(236,72,153,0.5), 0 0 20px rgba(236,72,153,0.3); }
.neon-text-emerald { text-shadow: 0 0 10px rgba(16,185,129,0.5), 0 0 20px rgba(16,185,129,0.3); }

/* ============ CYBERPHARMA SCANLINE EFFECT ============ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(34, 211, 238, 0.008) 2px,
    rgba(34, 211, 238, 0.008) 4px
  );
  z-index: 9999;
}

/* ============ DESKTOP BACKGROUND ============ */
.desktop-bg {
  background:
    radial-gradient(ellipse 1800px 1600px at 0% 0%, rgba(56,189,248,0.12), transparent 80%),
    radial-gradient(ellipse 1800px 1600px at 100% 100%, rgba(129,140,248,0.10), transparent 80%),
    radial-gradient(ellipse at 50% 50%, rgba(15,23,42,1), rgba(2,6,23,1));
}

/* ============ ACCOUNT TAB BUTTONS ============ */
.account-tab-btn {
  padding: 0.5rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 0.5rem;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-tab-btn:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(34, 211, 238, 0.4);
  color: #e2e8f0;
}

.account-tab-btn.active {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.6);
  color: #22d3ee;
}

/* ============================================================
   MOBILE RESPONSIVE STYLES
   ============================================================ */

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 0.5rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  border-color: rgba(34, 211, 238, 0.5);
  color: #22d3ee;
}

.mobile-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Content */
.mobile-menu-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: rgba(15, 23, 42, 0.98);
  border-left: 1px solid rgba(34, 211, 238, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 101;
  overflow-y: auto;
  padding: 1rem;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
  margin-bottom: 1rem;
}

.mobile-menu-close {
  padding: 0.5rem;
  background: transparent;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 0.5rem;
  color: #94a3b8;
  cursor: pointer;
}

.mobile-menu-close:hover {
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

/* Mobile Menu Items */
.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 0.75rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-menu-item:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.4);
  color: #22d3ee;
}

.mobile-menu-item.active {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.6);
  color: #22d3ee;
}

.mobile-menu-item-icon {
  font-size: 1.25rem;
}

/* Mobile Menu Divider */
.mobile-menu-divider {
  height: 1px;
  background: rgba(100, 116, 139, 0.2);
  margin: 1rem 0;
}

/* Mobile Menu Section Title */
.mobile-menu-section {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #64748b;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
}

/* ╔══════════════════════════════════════════════════════════════════════════════╗
   ║                    HYPER MOBILE OPTIMIZATION SYSTEM                          ║
   ║                Professional Mobile-First Responsive Design                   ║
   ╚══════════════════════════════════════════════════════════════════════════════╝ */

/* ═══════════════════════════════════════════════════════════════════════════════
   TABLETS (1024px and below)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* === @media (max-width: 1024px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE PHONES (768px and below) - PROFESSIONAL HYPER-OPTIMIZED
   ═══════════════════════════════════════════════════════════════════════════════ */

/* === @media (max-width: 768px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */
 /* END 768px media query */

/* ═══════════════════════════════════════════════════════════════════════════════
   SMALL PHONES (480px and below) - ULTRA COMPACT
   ═══════════════════════════════════════════════════════════════════════════════ */

/* === @media (max-width: 480px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* ═══════════════════════════════════════════════════════════════════════════════
   EXTRA SMALL PHONES (360px and below)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* === @media (max-width: 360px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* ============ MOBILE UTILITIES ============ */

/* Touch-friendly spacing */
.touch-spacing {
  padding: 0.75rem;
}

/* Swipe hint indicator */
.swipe-hint {
  display: none;
}


/* === @media (max-width: 768px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */

/* Mobile header polish */
@media (max-width: 768px) {
  body > header,
  .webapp1-header {
    background: linear-gradient(180deg, rgba(8, 11, 14, 0.96), rgba(8, 11, 14, 0.88)) !important;
    border-bottom: 1px solid rgba(34, 197, 94, 0.25) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(34, 197, 94, 0.15) !important;
  }

  body > header {
    height: 56px !important;
  }

  .webapp1-nav {
    padding: 0 1rem !important;
    min-height: 56px !important;
  }

  .mobile-logo,
  .webapp1-logo {
    color: #22c55e !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
  }

  .mobile-header-right {
    gap: 0.4rem !important;
  }

  .mobile-cart-btn,
  .mobile-menu-toggle,
  .webapp1-menu-btn,
  .webapp1-cart-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    color: #b7f7d3 !important;
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.08) !important;
  }

  .mobile-cart-btn svg,
  .webapp1-cart-btn svg {
    width: 30px !important;
    height: 30px !important;
  }

  .mobile-menu-toggle span,
  .webapp1-menu-btn span {
    background: #b7f7d3 !important;
  }

  .mobile-cart-count,
  .webapp1-cart-count {
    background: #22c55e !important;
    color: #04110a !important;
  }

  body.cart-open .mobile-trust-strip {
    display: none !important;
  }
}


/* Bottom sheet modal for mobile */
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.98);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-top: 1px solid rgba(34, 211, 238, 0.2);
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 100;
}

.bottom-sheet.active {
  transform: translateY(0);
}

.bottom-sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(100, 116, 139, 0.5);
  border-radius: 2px;
  margin: 0.75rem auto;
}

/* Floating action button */
.fab {
  position: fixed;
  bottom: 80px;
  right: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  border: none;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.4);
  cursor: pointer;
  z-index: 80;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(34, 211, 238, 0.5);
}

@media (min-width: 769px) {
  .fab {
    display: none;
  }
}

/* Pull to refresh indicator */
.pull-refresh-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  padding: 0.5rem 1rem;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 0 0 0.5rem 0.5rem;
  color: #22d3ee;
  font-size: 0.75rem;
  z-index: 200;
  transition: transform 0.2s ease;
}

/* Safe area padding for notched devices */
@supports (padding-top: env(safe-area-inset-top)) {
  body > header {
    padding-top: env(safe-area-inset-top);
  }
  
  .mobile-tab-bar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Disable zoom on double tap for buttons */
button, a, .clickable {
  touch-action: manipulation;
}

/* Improve tap highlight */
* {
  -webkit-tap-highlight-color: rgba(34, 211, 238, 0.2);
}

/* Hide on mobile */

/* === @media (max-width: 768px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* Show only on mobile */
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE MENU - PROFESSIONAL SLIDE-IN DRAWER
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.4);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.5);
  color: #22d3ee;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}


/* === @media (max-width: 1024px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Menu content - slide from left */
.mobile-menu-content {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(2, 6, 23, 0.99) 100%);
  border-right: 1px solid rgba(34, 211, 238, 0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 201;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

/* Menu header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
  background: rgba(15, 23, 42, 0.5);
}

.mobile-menu-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-header .logo img {
  height: 32px;
  width: auto;
}

.mobile-menu-header .logo span {
  font-size: 1rem;
  font-weight: 700;
  color: #22d3ee;
  letter-spacing: 0.05em;
}

/* Close button */
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
}

/* Menu sections */
.mobile-menu-section {
  padding: 0.75rem 1.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Menu items */
.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.mobile-menu-item:hover,
.mobile-menu-item:active {
  background: rgba(34, 211, 238, 0.08);
  color: #22d3ee;
}

.mobile-menu-item.active {
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  border-left: 3px solid #22d3ee;
}

.mobile-menu-item-icon {
  font-size: 1.25rem;
  width: 28px;
  text-align: center;
}

.mobile-menu-item-badge {
  margin-left: auto;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #22d3ee;
}

@media (max-width: 768px) {
  body > header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    height: 52px !important;
  }

  body > header .mobile-logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: calc(100% - 110px) !important;
    letter-spacing: 0.08em !important;
  }

  body > header .mobile-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 60 !important;
  }

  body > header .mobile-cart-btn,
  body > header .mobile-menu-toggle {
    flex: 0 0 auto !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 61 !important;
  }

  body > header .mobile-cart-btn {
    order: 1 !important;
  }

  body > header .mobile-menu-toggle {
    order: 2 !important;
  }
}

/* Stack guide component cards */
.stack-section .component-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  width: 100%;
  margin-bottom: 8px;
  background: rgba(30, 58, 138, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
}

.stack-section .component-card img {
  width: 50px;
  height: 50px;
  min-width: 50px;
  max-width: 50px;
  border-radius: 8px;
  object-fit: cover;
}

/* Stack guide text overflow fixes */
.stack-section {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stack-section p,
.stack-section li,
.stack-section h1,
.stack-section h2,
.stack-section h3,
.stack-section h4 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stack-section .stack-content,
.stack-section .stack-details,
.stack-section .stack-components,
.stack-section .component-card,
.stack-section .info-box,
.stack-section .flex,
.stack-section .grid {
  min-width: 0;
}

@media (max-width: 768px) {
  .stack-section .p-6.md\:p-8 {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .stack-section header {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .stack-section header > div {
    width: 100% !important;
  }

  .stack-section .grid.grid-cols-1.lg\:grid-cols-3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .stack-section .grid.grid-cols-1.lg\:grid-cols-3 > div {
    width: 100% !important;
  }

  .stack-section .info-box.cyan.text-center {
    order: -1 !important;
  }

  .stack-section .info-box,
  .stack-section .component-card,
  .stack-section .dropdown-pill {
    position: static !important;
  }

  /* Stack guide hero header cleanup */
  #hero-section .window-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    padding: 0.5rem 0.75rem !important;
  }

  #hero-section .window-header .os-dots {
    display: none !important;
  }

  #hero-section .window-header span.text-\[10px\] {
    display: none !important;
  }

  #hero-section .window-header span.text-\[11px\] {
    font-size: 0.65rem !important;
    letter-spacing: 0.18em !important;
  }
}

/* Divider */
.mobile-menu-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(71, 85, 105, 0.4), transparent);
  margin: 0.5rem 1.25rem;
}

/* User section at bottom */
.mobile-menu-user {
  margin-top: auto;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(71, 85, 105, 0.3);
  background: rgba(15, 23, 42, 0.5);
}

.mobile-menu-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mobile-menu-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.mobile-menu-user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
}

.mobile-menu-user-email {
  font-size: 0.75rem;
  color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGES - MOBILE OPTIMIZATION
   ═══════════════════════════════════════════════════════════════════════════════ */


/* === @media (max-width: 768px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* ═══════════════════════════════════════════════════════════════════════════════
   INDEX/HOME PAGE - MOBILE OPTIMIZATION  
   ═══════════════════════════════════════════════════════════════════════════════ */


/* === @media (max-width: 768px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* ═══════════════════════════════════════════════════════════════════════════════
   STACK GUIDE - MOBILE OPTIMIZATION
   ═══════════════════════════════════════════════════════════════════════════════ */


/* === @media (max-width: 768px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


/* ═══════════════════════════════════════════════════════════════════════════════
   CART DRAWER - MOBILE FULL SCREEN
   ═══════════════════════════════════════════════════════════════════════════════ */


/* === @media (max-width: 768px) REMOVED FOR STACK-GUIDE MOBILE COMPATIBILITY === */


