﻿    :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 {
        display: none;
      }

      .desktop-bg::after {
        display: none;
      }

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

      body::after {
        opacity: 0.25;
      }
    }

    @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: 120px 80px, -90px 120px, 60px 30px, -40px 90px, 70px -40px; }
      100% { background-position: 0 0, 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) {
  /* turn off constant background/grid movement */
  .data-rain,
  .featured-card::after,
  .featured-card,
  .wizard-strip::before,
  .wizard-strip::after,
  .hud-meter-fill {
    animation: none !important;
  }

  /* slightly lighter shadows so the GPU chills a bit */
  .window,
  .featured-card,
  .hud-spine,
  .taskbar {
    box-shadow:
      0 0 18px rgba(15,23,42,0.9),
      0 0 36px rgba(15,23,42,0.6);
  }
}

/* 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) {
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    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;
  }
  
  .mobile-menu-btn:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.4);
    color: #22d3ee;
  }
  
  /* Hide desktop navigation */
  .desktop-nav,
  .hide-mobile,
  nav.hidden.lg\\:flex {
    display: none !important;
  }
  
  /* Refined header */
  header {
    height: auto;
    min-height: 56px;
    padding: 0.5rem 1rem;
  }
  
  /* Product grid 3 columns on tablet */
  .product-grid,
  #product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
  }
  
  /* Windows refined */
  .window {
    border-radius: 12px;
    margin: 0.5rem 0;
  }
  
  .window-header {
    padding: 0.625rem 1rem;
    font-size: 0.6875rem;
  }
  
  /* Category pills row */
  .cat-pill-hyper {
    padding: 0.5rem 0.75rem;
    font-size: 0.6875rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE PHONES (768px and below) - PROFESSIONAL HYPER-OPTIMIZED
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  
  /* ─────────────────────────────────────────────────────────────────────────────
     GLOBAL RESETS & BASE STYLES
     ───────────────────────────────────────────────────────────────────────────── */
  body {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    padding-bottom: 70px; /* Space for bottom nav */
  }
  
  /* Typography scale - clear hierarchy */
  h1 { font-size: 1.5rem !important; line-height: 1.2 !important; font-weight: 800 !important; }
  h2 { font-size: 1.25rem !important; line-height: 1.25 !important; font-weight: 700 !important; }
  h3 { font-size: 1rem !important; line-height: 1.3 !important; font-weight: 600 !important; }
  h4 { font-size: 0.875rem !important; line-height: 1.35 !important; font-weight: 600 !important; }
  
  /* Main content area */
  main {
    padding: 0.75rem !important;
    padding-top: 60px !important;
    padding-bottom: 80px !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     HEADER - SLEEK MOBILE HEADER
     ───────────────────────────────────────────────────────────────────────────── */
  header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 56px !important;
    padding: 0 0.75rem !important;
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1) !important;
  }
  
  /* Hide entire desktop header content on mobile */
  header .px-6,
  header > div.px-6 {
    display: none !important;
  }
  
  /* Logo sizing */
  header .h-7, header .h-8 {
    height: 28px !important;
    width: auto !important;
  }
  
  /* Hide desktop elements */
  header nav,
  header .hidden.lg\\:flex,
  header .hidden.lg\\:block,
  header .hidden.md\\:flex,
  header .hidden.md\\:inline-flex,
  .desktop-nav {
    display: none !important;
  }
  
  /* Hide ALL header buttons except mobile menu */
  header button:not(.mobile-menu-btn):not(.mobile-cart-btn):not(.mobile-menu-toggle),
  header [data-cart-btn],
  header [data-account-btn],
  header .pill,
  header .flex.flex-col.leading-tight,
  header #quick-search,
  header .h-5.w-px,
  header .rounded-full:not(.mobile-menu-btn):not([class*="h-7"]) {
    display: none !important;
  }
  
  /* Keep logo icon visible */
  header .relative.h-7,
  header .h-7.w-7 {
    display: flex !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     PRODUCT GRID - PROFESSIONAL 2-COLUMN LAYOUT
     (Excludes product hero grids inside .window which should be flex)
     ───────────────────────────────────────────────────────────────────────────── */
  #product-grid,
  .product-grid,
  .grid[class*="grid-cols"]:not(.window .grid):not(.window *),
  [class*="sm:grid-cols"]:not(.window *),
  [class*="lg:grid-cols"]:not(.window *),
  [class*="xl:grid-cols"]:not(.window *) {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    padding: 0 !important;
  }
  
  /* Override Tailwind gaps */
  .gap-5, .gap-4, .gap-3, .gap-2 {
    gap: 0.5rem !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     PRODUCT CARDS - PREMIUM COMPACT DESIGN
     ───────────────────────────────────────────────────────────────────────────── */
  .product-card,
  #product-grid > article,
  #product-grid > div,
  #product-grid > a {
    padding: 0.5rem !important;
    border-radius: 10px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(71, 85, 105, 0.3) !important;
    transition: all 0.2s ease !important;
  }
  
  .product-card:active {
    transform: scale(0.98) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
  }
  
  /* Product hero/image area */
  .product-card .product-hero {
    aspect-ratio: 1 !important;
    border-radius: 8px !important;
    margin-bottom: 0.375rem !important;
    overflow: hidden !important;
  }
  
  .product-card .product-hero-inner {
    padding: 0.5rem !important;
  }
  
  .product-card .product-hero img,
  .product-card img,
  #product-grid img {
    width: 65px !important;
    height: 65px !important;
    max-width: 65px !important;
    max-height: 65px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
  }
  
  /* Product body */
  .product-card .product-body {
    padding: 0.375rem 0 0 !important;
  }
  
  /* Product name - bold and readable */
  .product-card h3,
  .product-card .product-name,
  .product-card .product-name-hyper,
  #product-grid h3,
  #product-grid .font-medium {
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 0.25rem !important;
    color: #f1f5f9 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  
  /* Hide description on mobile for cleaner look */
  .product-card .product-desc-hyper,
  .product-card .product-description,
  .product-card .product-kinek,
  .product-card .product-tagline,
  .product-card .who-section-hyper,
  .product-card .who-title,
  .product-card .who-list,
  .who-section-hyper,
  .who-title,
  .who-list {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Badges row - compact and clean */
  .product-card .flex.items-center.flex-wrap {
    gap: 0.25rem !important;
    margin-bottom: 0.375rem !important;
  }
  
  .product-card .badge-hyper,
  .product-card .tag-pill-hyper,
  .product-card .level-pill-hyper,
  .product-card .discount-badge-hyper {
    font-size: 0.5625rem !important;
    padding: 0.1875rem 0.375rem !important;
    border-radius: 4px !important;
  }
  
  .product-card .purity-badge-hyper {
    font-size: 0.5rem !important;
    padding: 0.125rem 0.25rem !important;
  }
  
  .product-card .purity-badge-hyper svg {
    width: 10px !important;
    height: 10px !important;
  }
  
  /* Price - prominent and clear */
  .product-card .price-row-hyper {
    margin-bottom: 0.5rem !important;
  }
  
  .product-card .price-discount-hyper,
  .product-card .product-price,
  .product-card .price,
  #product-grid .text-cyan-300 {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #22d3ee !important;
  }
  
  .product-card .price-original-hyper {
    font-size: 0.6875rem !important;
    color: #64748b !important;
  }
  
  /* Variant selector */
  .product-card .variant-select-wrap {
    margin-bottom: 0.5rem !important;
  }
  
  .product-card .variant-select-wrap label {
    font-size: 0.6875rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .product-card .variant-select {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.625rem !important;
    min-height: 36px !important;
    border-radius: 8px !important;
  }
  
  /* Add to cart button - touch-friendly */
  .product-card .btn-main,
  .product-card button,
  .product-card .btn {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 0.625rem 0.75rem !important;
    min-height: 40px !important;
    border-radius: 8px !important;
    width: 100% !important;
  }
  
  /* Action buttons row - clean layout */
  .product-card .action-btns-row {
    display: flex !important;
    gap: 0.375rem !important;
    margin-top: 0.5rem !important;
  }
  
  /* Hide extra mini action buttons on mobile */
  .product-card .action-btn-mini {
    display: none !important;
  }
  
  /* Hide favorite button on mobile - clean look */
  .product-card .favorite-btn {
    display: none !important;
  }
  
  /* Details button styling */
  .product-card .btn-details-hyper {
    display: flex !important;
    font-size: 0.5625rem !important;
    padding: 0.5rem 0.625rem !important;
    min-height: 34px !important;
    border-radius: 8px !important;
    background: rgba(51, 65, 85, 0.6) !important;
    border: 1px solid rgba(71, 85, 105, 0.5) !important;
    color: #94a3b8 !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }
  
  .product-card .btn-main svg,
  .product-card button svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* ─────────────────────────────────────────────────────────────────────────────
     HERO SECTION - COMPACT MOBILE HERO
     ───────────────────────────────────────────────────────────────────────────── */
  .hero-hyper,
  .hero-content,
  .hero-section,
  section[class*="hero"],
  [class*="hero-"] {
    padding: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    border-radius: 12px !important;
  }
  
  .hero-hyper h1,
  .hero-title,
  .hero-section h1,
  section h1 {
    font-size: 1.125rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }
  
  .hero-hyper p,
  .hero-subtitle,
  .hero-section p {
    font-size: 0.6875rem !important;
    line-height: 1.4 !important;
    color: #94a3b8 !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Hide long descriptions on mobile hero */
  .hero-hyper .hidden.sm\\:block,
  .hero-hyper .hidden.md\\:block {
    display: none !important;
  }
  
  /* Hero badges row */
  .hero-hyper .flex.flex-wrap.items-center.gap-3 {
    gap: 0.375rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .hero-hyper .inline-flex {
    font-size: 0.5625rem !important;
    padding: 0.25rem 0.5rem !important;
  }
  
  /* Hero stats - compact grid instead of scroll */
  .hero-hyper .flex.flex-wrap.gap-4,
  .stat-box-hyper,
  .stats-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.375rem !important;
    padding: 0.375rem 0 !important;
  }
  
  .stat-box-hyper,
  .stat-box,
  .hero-stat {
    min-width: unset !important;
    padding: 0.5rem !important;
    border-radius: 8px !important;
  }
  
  .stat-box-hyper .stat-value,
  .stat-box .text-2xl,
  .stat-box .text-3xl {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
  }
  
  .stat-box-hyper .stat-label,
  .stat-box .text-xs {
    font-size: 0.5rem !important;
  }
  
  /* Hero CTA buttons - 2 column */
  .hero-hyper .flex.flex-wrap.gap-3,
  .hero-cta {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.375rem !important;
    margin-top: 0.5rem !important;
  }
  
  .hero-hyper button,
  .hyper-btn-primary,
  .hyper-btn-secondary,
  .hero-cta button,
  .hero-cta a {
    font-size: 0.625rem !important;
    font-weight: 600 !important;
    padding: 0.5rem 0.625rem !important;
    min-height: 36px !important;
    border-radius: 8px !important;
    flex: 1 1 calc(50% - 0.1875rem) !important;
    justify-content: center !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     CATEGORY FILTERS - COMPACT HORIZONTAL SCROLL
     ───────────────────────────────────────────────────────────────────────────── */
  #category-filters,
  .category-filters,
  .cat-pills-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 0.25rem !important;
    padding: 0.375rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    margin: 0 -0.5rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  #category-filters::-webkit-scrollbar,
  .category-filters::-webkit-scrollbar,
  .cat-pills-row::-webkit-scrollbar {
    display: none !important;
  }
  
  .cat-pill-hyper,
  #category-filters button {
    flex-shrink: 0 !important;
    padding: 0.375rem 0.5rem !important;
    font-size: 0.5625rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
    min-height: 28px !important;
  }
  
  /* Hide category extras on mobile */
  .cat-pill-hyper .cat-glow,
  .cat-pill-hyper .cat-count,
  .cat-pill-hyper .cat-icon-wrap,
  #category-filters .cat-glow,
  #category-filters .cat-count {
    display: none !important;
  }
  
  .cat-pill-hyper .cat-label,
  #category-filters .cat-label {
    font-size: 0.5625rem !important;
  }

  /* ─────────────────────────────────────────────────────────────────────────────
     WINDOWS - SLEEK MOBILE WINDOWS
     ───────────────────────────────────────────────────────────────────────────── */
  .window {
    border-radius: 12px !important;
    margin: 0.375rem 0 !important;
    overflow: hidden !important;
  }
  
  .window-header {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.5625rem !important;
    letter-spacing: 0.1em !important;
  }
  
  .window-header .os-dots {
    gap: 0.25rem !important;
  }
  
  .window-header .os-dots span {
    width: 6px !important;
    height: 6px !important;
  }
  
  .window .p-4,
  .window .p-6,
  .window .p-8,
  .window-content {
    padding: 0.625rem !important;
  }

  /* ─────────────────────────────────────────────────────────────────────────────
     PRODUCT PAGE - TABS & SPECS
     ───────────────────────────────────────────────────────────────────────────── */
  .product-tabs,
  .product-tab-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 0.5rem !important;
    padding: 0.625rem 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    margin: 0 -0.875rem !important;
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
  }
  
  .product-tabs::-webkit-scrollbar {
    display: none !important;
  }
  
  .product-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0.875rem !important;
    border-radius: 8px !important;
    min-height: 36px !important;
  }
  
  /* Spec cards */
  .spec-grid {
    grid-template-columns: 1fr !important;
    gap: 0.625rem !important;
  }
  
  .spec-card {
    padding: 0.875rem !important;
    border-radius: 10px !important;
  }
  
  .spec-card h4 {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.375rem !important;
  }
  
  .spec-card p {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     MODALS & OVERLAYS - FULL SCREEN MOBILE
     ───────────────────────────────────────────────────────────────────────────── */
  .modal-content,
  .window.modal,
  .modal-overlay > .window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Cart drawer - full screen slide */
  .cart-drawer,
  #cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }
  
  .cart-drawer .cart-items {
    max-height: calc(100vh - 200px) !important;
    overflow-y: auto !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     FORMS & INPUTS - TOUCH OPTIMIZED
     ───────────────────────────────────────────────────────────────────────────── */
  input, 
  select, 
  textarea,
  .input,
  .select {
    min-height: 44px !important;
    font-size: 16px !important; /* Prevents iOS zoom */
    padding: 0.75rem !important;
    border-radius: 10px !important;
  }
  
  button, 
  .btn, 
  [role="button"],
  input[type="submit"],
  input[type="button"] {
    min-height: 44px !important;
    font-size: 0.875rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 10px !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     HIDE DESKTOP ELEMENTS
     ───────────────────────────────────────────────────────────────────────────── */
  .taskbar,
  .desktop-taskbar {
    display: none !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     MOBILE BOTTOM TAB BAR
     ───────────────────────────────────────────────────────────────────────────── */
  .mobile-tab-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    height: 60px !important;
    background: rgba(2, 6, 23, 0.98) !important;
    border-top: 1px solid rgba(34, 211, 238, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    z-index: 100 !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
  }
  
  .mobile-tab-bar-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    padding: 0.5rem 0.75rem !important;
    color: #64748b !important;
    font-size: 0.625rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    min-width: 60px !important;
  }
  
  .mobile-tab-bar-item:active,
  .mobile-tab-bar-item.active {
    color: #22d3ee !important;
  }
  
  .mobile-tab-bar-item .icon,
  .mobile-tab-bar-item svg {
    font-size: 1.25rem !important;
    width: 24px !important;
    height: 24px !important;
  }
  
  .mobile-tab-bar-item .label {
    font-size: 0.5625rem !important;
    font-weight: 500 !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     SCROLL UTILITIES
     ───────────────────────────────────────────────────────────────────────────── */
  .hide-scrollbar,
  .no-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }
  
  .hide-scrollbar::-webkit-scrollbar,
  .no-scrollbar::-webkit-scrollbar {
    display: none !important;
  }
  
  /* ─────────────────────────────────────────────────────────────────────────────
     STACKS & BLENDS GRID
     ───────────────────────────────────────────────────────────────────────────── */
  .grid.sm\\:grid-cols-2,
  .grid.sm\\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  
  /* Featured cards */
  .featured-card {
    padding: 0.875rem !important;
    border-radius: 10px !important;
  }
  
  .featured-card h3 {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
  }
  
  .featured-card p {
    font-size: 0.625rem !important;
  }
  
  /* === GLOBAL SECTION PADDING === */
  section,
  .section,
  .container {
    padding: 0.75rem !important;
  }
  
  /* Hide HUD elements on mobile */
  .hud-spine,
  .hud-card,
  [class*="hud-"],
  .data-rain,
  .vial-lab-viewport,
  .vial-row,
  .main-hud-grid,
  .main-hud-gradient {
    display: none !important;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════
     CLEAN PROFESSIONAL MOBILE DESIGN - ALL PAGES
     ═══════════════════════════════════════════════════════════════════════ */
  
  /* Main content area - better spacing */
  main {
    padding: 1rem !important;
    padding-top: 56px !important;
    padding-bottom: 72px !important;
  }
  
  /* Window containers - clean rounded corners */
  .window {
    border-radius: 16px !important;
    margin-bottom: 1rem !important;
    border-width: 1px !important;
  }
  
  .window-header {
    padding: 0.625rem 1rem !important;
    font-size: 0.5625rem !important;
  }
  
  /* Hide verbose window header text */
  .window-header .text-\[10px\],
  .window-header .text-\[8px\],
  .window-header .text-\[9px\],
  .window-header .hidden,
  .window-header span:not(.os-dots):not(.os-dots *):not([class]) {
    display: none !important;
  }
  
  .window .p-4,
  .window .p-5,
  .window .p-6,
  .window .p-8,
  .window .sm\:p-5,
  .window .sm\:p-6,
  .window .lg\:p-7,
  .window .lg\:p-8 {
    padding: 1rem !important;
  }
  
  /* Clean typography */
  h1 { font-size: 1.5rem !important; text-align: center !important; }
  h2 { font-size: 1.25rem !important; }
  h3 { font-size: 0.875rem !important; }
  
  /* Hero title special */
  h1.text-3xl,
  .text-3xl.sm\:text-4xl,
  h1.text-4xl {
    font-size: 1.625rem !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }
  
  h1 span.block,
  h1 .block {
    font-size: 0.9375rem !important;
    margin-top: 0.5rem !important;
    display: block !important;
    text-align: center !important;
  }
  
  /* Hero label */
  .text-\[11px\].font-bold.tracking-\[0\.3em\],
  p.text-\[11px\].tracking-\[0\.3em\] {
    font-size: 0.5625rem !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: 0.2em !important;
    text-align: center !important;
    display: block !important;
  }
  
  /* Hide long descriptions */
  .text-sm.text-slate-400.max-w-xl,
  p.mt-5.text-sm.text-slate-400,
  .hero-hyper p.text-sm {
    display: none !important;
  }
  
  /* CTA buttons - stacked full width */
  .flex.flex-wrap.gap-3.mt-6 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    margin-top: 1.25rem !important;
    align-items: center !important;
  }
  
  .flex.flex-wrap.gap-3.mt-6 > a,
  .flex.flex-wrap.gap-3.mt-6 > button {
    font-size: 0.75rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 9999px !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 280px !important;
  }
  
  /* Hide third CTA on mobile */
  .flex.flex-wrap.gap-3.mt-6 > a:nth-child(3),
  .flex.flex-wrap.gap-3.mt-6 > button:nth-child(3) {
    display: none !important;
  }
  
  /* Status badges - centered */
  .flex.flex-wrap.items-center.gap-3.mt-4 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-top: 1.25rem !important;
    justify-content: center !important;
  }
  
  .flex.flex-wrap.items-center.gap-3.mt-4 > span {
    font-size: 0.5625rem !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 9999px !important;
  }
  
  /* Grid layouts - 2 columns */
  .grid.md\:grid-cols-\[1\.3fr_1fr\] {
    display: block !important;
  }
  
  .grid.lg\:grid-cols-3,
  .grid.lg\:grid-cols-4,
  .grid.sm\:grid-cols-2.lg\:grid-cols-3,
  .grid.gap-5.sm\:grid-cols-2.lg\:grid-cols-3 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.625rem !important;
  }
  
  /* Category cards - compact */
  .cat-card {
    padding: 0.75rem !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
  }
  
  .cat-card > p:first-child,
  .cat-card .text-\[9px\] {
    font-size: 0.5rem !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 0.125rem !important;
  }
  
  .cat-card > p.font-semibold,
  .cat-card .font-semibold {
    font-size: 0.6875rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.125rem !important;
  }
  
  /* Hide category descriptions */
  .cat-card > p:last-child,
  .cat-card > p.mt-1,
  .cat-card .text-slate-400.text-\[11px\] {
    display: none !important;
  }
  
  /* Stack/article cards - clean */
  article,
  .grid.gap-5 > article {
    padding: 0.875rem !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  article span.inline-block,
  .grid.gap-5 article span.inline-block {
    font-size: 0.5rem !important;
    padding: 0.25rem 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  article h3,
  .grid.gap-5 article h3 {
    font-size: 0.8125rem !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  
  article p.text-xs,
  .grid.gap-5 article p.text-xs {
    font-size: 0.5625rem !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0.375rem !important;
  }
  
  /* Hide lists in cards */
  article .space-y-2,
  article ul,
  article li,
  .grid.gap-5 article .space-y-2,
  .grid.gap-5 article ul {
    display: none !important;
  }
  
  /* Card footer */
  article .mt-auto {
    margin-top: auto !important;
    padding-top: 0.5rem !important;
  }
  
  /* Card buttons */
  article button,
  article a.inline-flex,
  .grid.gap-5 article button {
    font-size: 0.5625rem !important;
    padding: 0.5rem 0.75rem !important;
    margin-top: 0.375rem !important;
    width: 100% !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }
  
  /* Neon cards - hide on mobile hero */
  .grid.md\:grid-cols-\[1\.3fr_1fr\] > div:last-child,
  .grid.gap-4.sm\:grid-cols-2 {
    display: none !important;
  }
  
  /* Mobile category pills */
  .mobile-category-pills {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin-top: 1.5rem !important;
    padding: 0 0.5rem !important;
  }
  
  .mobile-category-pills a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.375rem !important;
    padding: 0.75rem 0.5rem !important;
    border-radius: 12px !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    text-align: center !important;
  }
  
  .mobile-category-pills a:last-child {
    grid-column: span 2 !important;
  }
  
  /* === PRICES - CLEAN === */
  .text-2xl { font-size: 1rem !important; }
  .text-3xl { font-size: 1.125rem !important; }
  .text-4xl { font-size: 1.25rem !important; }
  .line-through { font-size: 0.5625rem !important; }
  
  .price-current-hyper,
  .price-discount-hyper,
  [class*="price"] .text-2xl,
  [class*="price"] .text-3xl,
  [class*="price"] .text-4xl {
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
  }
  
  .price-old-hyper,
  .price-original-hyper,
  [class*="price"] .line-through {
    font-size: 0.5625rem !important;
  }
  
  /* === BUTTONS - CLEAN === */
  button:not(.mobile-menu-btn):not(.mobile-cart-btn):not(.mobile-menu-toggle):not(.mobile-tab-bar-item),
  a.inline-flex:not(.mobile-tab-bar-item),
  .btn {
    font-size: 0.625rem !important;
    padding: 0.5rem 0.875rem !important;
    min-height: 36px !important;
    border-radius: 8px !important;
  }
  
  .btn-cart-hyper,
  .btn-add-cart,
  [class*="btn-cart"] {
    font-size: 0.625rem !important;
    padding: 0.5rem 0.75rem !important;
    min-height: 36px !important;
  }
  
  /* === TYPOGRAPHY SCALE === */
  .text-xs { font-size: 0.5625rem !important; }
  .text-sm { font-size: 0.625rem !important; }
  .text-base { font-size: 0.6875rem !important; }
  .text-lg { font-size: 0.8125rem !important; }
  .text-xl { font-size: 0.9375rem !important; }
  
  /* === SPACING === */
  .gap-4, .gap-5, .gap-6, .gap-8 { gap: 0.625rem !important; }
  .space-y-4 > * + *, .space-y-3 > * + * { margin-top: 0.5rem !important; }
  .mb-4, .mb-6, .mb-8 { margin-bottom: 0.625rem !important; }
  .mt-4, .mt-6, .mt-8 { margin-top: 0.625rem !important; }
  
  /* Hide decorative blurs */
  .absolute.top-0.right-0.w-32.h-32,
  .absolute.-inset-16,
  [class*="blur-3xl"],
  .bg-\[radial-gradient\] {
    display: none !important;
  }
  
} /* END 768px media query */

/* ═══════════════════════════════════════════════════════════════════════════════
   SMALL PHONES (480px and below) - ULTRA COMPACT
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  
  /* Tighter product grid */
  #product-grid,
  .product-grid {
    gap: 0.375rem !important;
  }
  
  /* Smaller product cards */
  .product-card,
  #product-grid > article {
    padding: 0.375rem !important;
    border-radius: 8px !important;
  }
  
  .product-card .product-hero {
    aspect-ratio: 1 / 0.9 !important;
    border-radius: 6px !important;
  }
  
  .product-card .product-hero img,
  .product-card img,
  #product-grid img {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
  }
  
  .product-card h3,
  .product-card .product-name-hyper {
    font-size: 0.625rem !important;
  }
  
  .product-card .price-discount-hyper {
    font-size: 0.875rem !important;
  }
  
  .product-card .btn-main,
  .product-card button {
    font-size: 0.6875rem !important;
    padding: 0.5rem 0.625rem !important;
    min-height: 36px !important;
  }
  
  /* Hide some badges on tiny screens */
  .product-card .level-pill-hyper,
  .product-card .purity-badge-hyper {
    display: none !important;
  }
  
  /* Hero compact */
  .hero-hyper {
    padding: 1rem !important;
  }
  
  .hero-hyper h1 {
    font-size: 1.25rem !important;
  }
  
  .hero-hyper p {
    font-size: 0.75rem !important;
  }
  
  .hero-hyper button,
  .hyper-btn-primary,
  .hyper-btn-secondary {
    font-size: 0.6875rem !important;
    padding: 0.625rem 0.75rem !important;
    min-height: 40px !important;
  }
  
  /* Stat boxes smaller */
  .stat-box-hyper,
  .stat-box {
    min-width: 70px !important;
    padding: 0.5rem !important;
  }
  
  .stat-box-hyper .stat-value {
    font-size: 1rem !important;
  }
  
  .stat-box-hyper .stat-label {
    font-size: 0.5625rem !important;
  }
  
  /* Category pills compact */
  .cat-pill-hyper,
  #category-filters button {
    padding: 0.375rem 0.625rem !important;
    font-size: 0.6875rem !important;
    min-height: 36px !important;
  }
  
  .cat-pill-hyper .cat-icon-wrap {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }
  
  /* Windows */
  .window-header {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.625rem !important;
  }
  
  .window-header .os-dots span {
    width: 6px !important;
    height: 6px !important;
  }
  
  .window .p-4,
  .window .p-6,
  .window .p-8 {
    padding: 0.75rem !important;
  }
  
  /* Main */
  main {
    padding: 0.5rem !important;
    padding-top: 56px !important;
    padding-bottom: 72px !important;
  }
  
  /* Mobile tab bar smaller */
  .mobile-tab-bar {
    height: 56px !important;
  }
  
  .mobile-tab-bar-item {
    padding: 0.375rem 0.5rem !important;
    min-width: 50px !important;
  }
  
  .mobile-tab-bar-item .icon,
  .mobile-tab-bar-item svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  .mobile-tab-bar-item span:last-child {
    font-size: 0.5625rem !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   EXTRA SMALL PHONES (360px and below)
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  
  .product-card .product-hero img,
  .product-card img {
    width: 55px !important;
    height: 55px !important;
  }
  
  .product-card h3 {
    font-size: 0.6875rem !important;
  }
  
  .product-card .price-discount-hyper {
    font-size: 0.8125rem !important;
  }
  
  .product-card .btn-main {
    font-size: 0.625rem !important;
    min-height: 34px !important;
  }
  
  .hero-hyper h1 {
    font-size: 1.125rem !important;
  }
  
  .cat-pill-hyper {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.625rem !important;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════
     MODALS - CLEAN MOBILE DESIGN (Bottom Sheet Style)
     ═══════════════════════════════════════════════════════════════════════════════ */
  
  /* Generic modal styling - bottom sheet */
  .fixed.inset-0.z-50,
  [id$="-modal"] {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  
  .fixed.inset-0.z-50 > .window,
  [id$="-modal"] > .window {
    max-height: 90vh !important;
    border-radius: 16px 16px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  /* Window header compact */
  [id$="-modal"] .window-header {
    padding: 0.75rem 1rem !important;
    font-size: 0.6875rem !important;
  }
  
  /* Window content compact */
  [id$="-modal"] .p-6,
  [id$="-modal"] .p-8 {
    padding: 1rem !important;
  }
  
  /* Modal headings */
  [id$="-modal"] h2 {
    font-size: 1.125rem !important;
    line-height: 1.3 !important;
  }
  
  [id$="-modal"] h3 {
    font-size: 0.875rem !important;
  }
  
  /* Modal text */
  [id$="-modal"] p {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }
  
  /* Modal buttons */
  [id$="-modal"] button {
    font-size: 0.75rem !important;
    padding: 0.5rem 0.75rem !important;
  }
  
  /* Modal inputs */
  [id$="-modal"] input,
  [id$="-modal"] select,
  [id$="-modal"] textarea {
    font-size: 0.875rem !important;
    padding: 0.625rem !important;
  }
  
  [id$="-modal"] label {
    font-size: 0.75rem !important;
  }
  
  /* Stack Builder - Primeagen style modal */
  #stack-builder-modal {
    padding: 1.5rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(2, 6, 23, 0.78) !important;
    backdrop-filter: blur(12px) !important;
  }
  
  #stack-builder-modal > .window {
    height: auto !important;
    max-height: calc(100vh - 6rem) !important;
    border-radius: 18px !important;
    width: min(92vw, 560px) !important;
    max-width: 560px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background: rgba(12, 18, 28, 0.9) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.65) !important;
  }
  
  #stack-builder-modal .window-header {
    padding: 0.9rem 1.1rem !important;
    font-size: 0.65rem !important;
    flex-shrink: 0 !important;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2) !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #86efac !important;
    background: transparent !important;
  }
  
  #stack-builder-modal .p-6 {
    padding: 1rem 1.1rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 1 auto !important;
    -webkit-overflow-scrolling: touch !important;
    min-height: 0 !important;
  }
  
  /* Ensure header content visible */
  #stack-builder-modal .space-y-6 {
    display: flex !important;
    flex-direction: column !important;
  }
  
  #stack-builder-modal .space-y-6 > * {
    flex-shrink: 0 !important;
  }
  
  #stack-builder-modal h2 {
    font-size: 1rem !important;
  }
  
  #stack-builder-modal .space-y-2 > p {
    font-size: 0.75rem !important;
  }
  
  #stack-builder-modal .flex.gap-2.flex-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.375rem !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    overflow: visible !important;
  }
  
  #stack-builder-modal .flex.gap-2.flex-wrap button {
    padding: 0.55rem 0.5rem !important;
    font-size: 0.65rem !important;
    border-radius: 0.85rem !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.35) !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
    color: #bbf7d0 !important;
  }

  #stack-builder-modal .flex.gap-2.flex-wrap button[class*="bg-cyan-500"] {
    background: linear-gradient(135deg, #2dd4bf, #22c55e) !important;
    color: #04110a !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25) !important;
  }

  #stack-builder-modal .flex.gap-2.flex-wrap button:last-child {
    grid-column: span 2 !important;
  }
  
  #stacks-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    max-height: 55vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  #stacks-grid .stack-preset-card {
    padding: 0.85rem 1rem !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
  }

  #stacks-grid .stack-preset-card:hover {
    border-color: rgba(34, 197, 94, 0.6) !important;
    transform: translateY(-1px) !important;
  }
  
  #stacks-grid .stack-preset-card h3 {
    font-size: 0.8125rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  
  /* Hide description, metadata, and details link */
  #stacks-grid .stack-preset-card > p,
  #stacks-grid .stack-preset-card > .flex.items-center.gap-2,
  #stacks-grid .stack-preset-card > div:last-child {
    display: none !important;
  }
  
  #stacks-grid .stack-preset-card .text-xs.px-2.py-1 {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.625rem !important;
  }
  
  /* Hide custom stack section */
  #stack-builder-modal .mt-8.p-6 {
    display: none !important;
  }
  
  /* === QUIZ MODAL - STACK GUIDE MOBILE === */
  #quiz-modal {
    padding: 1rem !important;
    align-items: center !important;
    overflow-y: auto !important;
  }
  
  #quiz-modal > .quiz-container {
    max-height: 90vh !important;
    width: 100% !important;
    max-width: 42rem !important;
    border-radius: 18px !important;
    background: rgba(12, 18, 28, 0.92) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 1.25rem !important;
  }
}

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

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

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

@media (max-width: 768px) {
  .swipe-hint {
    display: block;
    text-align: center;
    font-size: 0.625rem;
    color: #64748b;
    padding: 0.25rem;
  }
  
  .swipe-hint::before {
    content: '← swipe →';
  }
}

/* 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)) {
  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) {
  .desktop-only {
    display: none !important;
  }
}

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

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE TRUST STRIP - TOP SCROLLING BADGES BAR
   ═══════════════════════════════════════════════════════════════════════════════ */
.mobile-trust-strip {
  position: fixed;
  top: 56px; /* Below header */
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  background: rgba(2, 6, 23, 0.95);
  border-bottom: 1px solid rgba(34, 211, 238, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.mobile-trust-strip::-webkit-scrollbar {
  display: none;
}

.mobile-trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 0.1875rem;
  flex-shrink: 0;
  padding: 0.1875rem 0.375rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 4px;
  font-size: 0.5rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-trust-strip .trust-item .icon {
  font-size: 0.625rem;
  line-height: 1;
}

/* Hide on desktop */
@media (min-width: 769px) {
  .mobile-trust-strip {
    display: none !important;
  }
}

/* Adjust main content to account for trust strip */
@media (max-width: 768px) {
  body.has-trust-strip main {
    padding-top: 100px !important; /* 56px header + 44px trust strip */
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE HEADER - LOGO, CART, MENU TOGGLE
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Mobile Header Layout */
@media (max-width: 768px) {
  header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 56px !important;
    padding: 0 0.75rem !important;
  }
}

/* Mobile Logo */
.mobile-logo {
  display: none;
  font-family: "JetBrains Mono", "SF Mono", monospace;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #22d3ee;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

@media (max-width: 768px) {
  .mobile-logo {
    display: block !important;
  }
}

@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;
  }
}

/* Mobile Header Right Side */
.mobile-header-right {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-header-right {
    display: flex !important;
  }
}

/* Mobile Cart Button */
.mobile-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.4);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.mobile-cart-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  background: #22d3ee;
  color: #020617;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-cart-count[data-cart-count-mobile="0"],
.mobile-cart-count:empty {
  display: none;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #94a3b8;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span,
.mobile-menu-toggle:active span {
  background: #22d3ee;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   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) {
  .mobile-menu-btn {
    display: flex;
  }
}

/* Overlay - MUST BE HIDDEN BY DEFAULT */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

/* Direct nav inside overlay (index.html structure) */
.mobile-menu-overlay > .mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
  background: rgba(15, 23, 42, 0.98);
}

.mobile-menu-overlay > .mobile-menu-section {
  background: rgba(15, 23, 42, 0.98);
  padding-bottom: 1rem;
}

.mobile-menu-overlay > .mobile-menu-footer {
  background: rgba(15, 23, 42, 0.98);
  margin-top: auto;
}

/* Menu content wrapper - slide from left (if used) */
.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;
}

/* 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;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE MENU NAVIGATION - INDEX.HTML STYLE
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Main navigation links */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.mobile-menu-nav a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

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

/* Section title */
.mobile-menu-section-title {
  padding: 0.75rem 1.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Category cards grid */
.mobile-menu-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  padding: 0.5rem 1.25rem 1rem;
}

.mobile-menu-cat-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 10px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

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

.mobile-menu-cat-card .cat-icon {
  font-size: 1rem;
}

.mobile-menu-cat-card .cat-name {
  font-size: 0.6875rem;
  white-space: nowrap;
}

/* Footer */
.mobile-menu-footer {
  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-footer-text {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.mobile-menu-contact a {
  display: inline-block;
  color: #22d3ee;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu-contact a:hover {
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  /* Product detail hero image */
  .product-detail-hero,
  .product-image-container {
    aspect-ratio: 1 !important;
    max-height: 300px !important;
    border-radius: 16px !important;
    margin-bottom: 1rem !important;
  }
  
  .product-detail-hero img {
    max-height: 200px !important;
    object-fit: contain !important;
  }
  
  /* Product detail info */
  .product-detail-info {
    padding: 0 !important;
  }
  
  .product-detail-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .product-detail-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .product-detail-price {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #22d3ee !important;
    margin-bottom: 1rem !important;
  }
  
  .product-detail-description {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
    margin-bottom: 1.25rem !important;
  }
  
  /* Variant buttons */
  .variant-btn,
  .variant-button {
    padding: 0.75rem 1rem !important;
    font-size: 0.8125rem !important;
    border-radius: 10px !important;
    min-height: 48px !important;
  }
  
  .variant-btn.active,
  .variant-button.active {
    border-color: #22d3ee !important;
    background: rgba(34, 211, 238, 0.15) !important;
  }
  
  /* Add to cart - full width sticky */
  .product-detail-cta,
  .add-to-cart-section {
    position: sticky !important;
    bottom: 70px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem !important;
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(34, 211, 238, 0.1) !important;
    margin: 0 -0.75rem !important;
    z-index: 50 !important;
  }
  
  .product-detail-cta button,
  .add-to-cart-btn {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    min-height: 52px !important;
    border-radius: 12px !important;
  }
  
  /* Dosage section */
  .dosage-section,
  .dosage-grid {
    padding: 1rem !important;
    border-radius: 12px !important;
  }
  
  .dosage-section h3,
  .dosage-grid h3 {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .dosage-table {
    font-size: 0.8125rem !important;
  }
  
  .dosage-table th,
  .dosage-table td {
    padding: 0.625rem 0.5rem !important;
  }
  
  /* Research info cards */
  .research-card,
  .info-card {
    padding: 1rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.75rem !important;
  }
  
  .research-card h4,
  .info-card h4 {
    font-size: 0.9375rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .research-card p,
  .info-card p {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
  }
  
  /* Related products */
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  
  /* COA section */
  .coa-section {
    padding: 1rem !important;
    border-radius: 12px !important;
  }
  
  .coa-badge {
    padding: 0.5rem 0.875rem !important;
    font-size: 0.8125rem !important;
  }
}

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

@media (max-width: 768px) {
  /* Landing hero */
  .landing-hero,
  .main-hero {
    padding: 1.5rem 1rem !important;
    text-align: center !important;
  }
  
  .landing-hero h1,
  .main-hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .landing-hero p,
  .main-hero p {
    font-size: 0.9375rem !important;
    max-width: 100% !important;
    margin-bottom: 1.25rem !important;
  }
  
  /* Feature cards */
  .feature-cards,
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  
  .feature-card {
    padding: 1.25rem !important;
    border-radius: 14px !important;
  }
  
  .feature-card-icon {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .feature-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .feature-card p {
    font-size: 0.8125rem !important;
  }
  
  /* Trust badges */
  .trust-badges,
  .trust-section {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1rem !important;
  }
  
  .trust-badge {
    padding: 0.625rem 0.875rem !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
  }
  
  /* Testimonials */
  .testimonials-section {
    padding: 1rem !important;
  }
  
  .testimonial-card {
    padding: 1.25rem !important;
    border-radius: 14px !important;
  }
  
  .testimonial-text {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
  }
  
  /* FAQ section */
  .faq-section {
    padding: 1rem !important;
  }
  
  .faq-item {
    padding: 1rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.625rem !important;
  }
  
  .faq-question {
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
  }
  
  .faq-answer {
    font-size: 0.8125rem !important;
    line-height: 1.6 !important;
    padding-top: 0.75rem !important;
  }
  
  /* CTA sections */
  .cta-section {
    padding: 1.5rem 1rem !important;
    border-radius: 16px !important;
    text-align: center !important;
  }
  
  .cta-section h2 {
    font-size: 1.375rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .cta-section p {
    font-size: 0.875rem !important;
    margin-bottom: 1rem !important;
  }
  
  .cta-section button,
  .cta-section a.btn {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1rem !important;
  }
}

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

@media (max-width: 768px) {
  /* Stack cards */
  .stack-card {
    padding: 1rem !important;
    border-radius: 14px !important;
  }
  
  .stack-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }
  
  .stack-card h3 {
    font-size: 1.125rem !important;
  }
  
  .stack-card-price {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
  }
  
  .stack-items {
    gap: 0.5rem !important;
  }
  
  .stack-item {
    padding: 0.75rem !important;
    border-radius: 10px !important;
    font-size: 0.8125rem !important;
  }
  
  .stack-cta {
    margin-top: 1rem !important;
  }
  
  .stack-cta button {
    width: 100% !important;
    padding: 0.875rem !important;
    font-size: 0.9375rem !important;
  }
  
  /* Protocol cards */
  .protocol-card {
    padding: 1rem !important;
    border-radius: 12px !important;
  }
  
  .protocol-timeline {
    padding-left: 1.5rem !important;
  }
  
  .protocol-step {
    padding: 0.75rem !important;
    margin-bottom: 0.625rem !important;
    font-size: 0.8125rem !important;
  }
}

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

@media (max-width: 768px) {
  .cart-drawer,
  #cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
  }
  
  .cart-drawer-header {
    padding: 1rem 1.25rem !important;
    font-size: 1rem !important;
  }
  
  .cart-items {
    padding: 0.75rem !important;
    max-height: calc(100vh - 250px) !important;
  }
  
  .cart-item {
    padding: 0.875rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.625rem !important;
  }
  
  .cart-item-image {
    width: 60px !important;
    height: 60px !important;
    border-radius: 8px !important;
  }
  
  .cart-item-name {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
  }
  
  .cart-item-variant {
    font-size: 0.75rem !important;
    color: #64748b !important;
  }
  
  .cart-item-price {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #22d3ee !important;
  }
  
  .cart-item-quantity {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  
  .cart-item-quantity button {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }
  
  .cart-footer {
    padding: 1rem 1.25rem !important;
    border-top: 1px solid rgba(71, 85, 105, 0.3) !important;
  }
  
  .cart-total {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
  }
  
  .cart-checkout-btn {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    min-height: 52px !important;
  }
}

/* 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;
  }
}

/* Primeagen modal overrides - mobile */
@media (max-width: 768px) {
  #stack-builder-modal,
  #protocol-modal,
  #protocol-lock-modal,
  #quiz-modal {
    padding: 1.5rem 1rem !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(2, 6, 23, 0.78) !important;
    backdrop-filter: blur(12px) !important;
  }

  #stack-builder-modal > .window,
  #protocol-modal > .window,
  #protocol-lock-modal > .window,
  #quiz-modal > .quiz-container {
    width: min(92vw, 560px) !important;
    max-width: 560px !important;
    max-height: calc(100vh - 6rem) !important;
    border-radius: 18px !important;
    background: rgba(12, 18, 28, 0.9) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.65) !important;
    overflow: hidden !important;
  }

  #quiz-modal > .quiz-container {
    padding: 1.1rem 1.1rem 1.25rem !important;
  }

  #stack-builder-modal .window-header,
  #protocol-modal .window-header,
  #protocol-lock-modal .window-header {
    padding: 0.9rem 1.1rem !important;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    font-size: 0.65rem !important;
    color: #86efac !important;
    background: transparent !important;
  }

  #stack-builder-modal .window-header button,
  #protocol-modal .window-header button,
  #protocol-lock-modal .window-header button,
  #quiz-modal button {
    border-radius: 0.85rem !important;
  }

  #stack-builder-modal h2,
  #protocol-modal h2,
  #protocol-lock-modal h2,
  #quiz-modal h2,
  #quiz-modal h3 {
    color: #f8fafc !important;
  }

  #stack-builder-modal .p-6,
  #protocol-modal .p-6,
  #protocol-lock-modal .p-8 {
    padding: 1rem 1.1rem !important;
  }

  #stack-builder-modal .flex.gap-2.flex-wrap button,
  #protocol-modal button,
  #protocol-lock-modal button,
  #quiz-modal .quiz-option,
  #quiz-modal button {
    border-color: rgba(34, 197, 94, 0.4) !important;
  }

  #quiz-modal .quiz-option {
    background: rgba(15, 23, 42, 0.7) !important;
    color: #e2e8f0 !important;
  }

  #quiz-modal .quiz-option.selected {
    border-color: rgba(34, 197, 94, 0.9) !important;
    background: rgba(34, 197, 94, 0.12) !important;
  }

  #protocol-modal select,
  #protocol-modal input,
  #protocol-modal textarea {
    background: #0b0f14 !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
    color: #e5e7eb !important;
  }

  #protocol-modal button[class*="bg-gradient"],
  #quiz-modal button[class*="bg-gradient"],
  #stack-builder-modal button[id^="filter-"][class*="bg-cyan-500"],
  #stack-builder-modal button[class*="bg-cyan-500"] {
    background: linear-gradient(135deg, #2dd4bf, #22c55e) !important;
    color: #04110a !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25) !important;
  }

  #quiz-modal .quiz-step-indicator.active,
  #quiz-modal .quiz-step-indicator.completed {
    background: #22c55e !important;
    color: #04110a !important;
    border-color: #22c55e !important;
  }

  #quiz-modal .quiz-progress-bar {
    background: linear-gradient(90deg, #2dd4bf, #22c55e) !important;
  }
}

.mobile-cart-btn {
  width: 48px !important;
  height: 48px !important;
}
.mobile-cart-btn svg {
  width: 32px !important;
  height: 32px !important;
}
