/* ============================================================
   haribo.agency — mobile candy landing, COLD "snow" theme.
   Mobile-only: content column ≤ 460px, centered (same on desktop).
   Look: frosted glass on an icy gradient, bold cold-navy type,
   blue Telegram CTA. HARIBO red is reserved for the brand logo.
   Compressed to ~1–1.5 screens: hero → 2×2 grid → CTA → footer.
   ============================================================ */

:root {
  --red: #e1001a;            /* error / form invalid only */
  --brand: #15538f;          /* Frosty Bears wordmark (deep ice blue) */
  --blue: #2f8fe6;           /* cold accent / interactive */
  --blue-d: #1f6fc0;
  --tg: #229ED9;
  --tg-d: #1c8bc0;
  --ink: #0e2740;            /* deep cold navy */
  --ink-2: #4f6a84;          /* muted cold gray-blue (WCAG AA on ice bg) */
  --ice: #eaf3fc;            /* page base */
  --ice-deep: #d3e6f8;
  --card: rgba(255, 255, 255, .74);
  --card-solid: #ffffff;
  --line: rgba(20, 50, 90, .10);
  --shadow: 0 18px 38px -20px rgba(20, 60, 110, .42);
  --maxw: 460px;
  --r: 22px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(130% 70% at 50% -8%, #ffffff 0%, var(--ice) 42%, var(--ice-deep) 100%) no-repeat,
    var(--ice);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- snow backdrop (subtle, behind content) ---------- */
.snow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.snow span {
  position: absolute; top: -8%; color: #bcd9f5; opacity: .8;
  font-size: 14px; animation: fall linear infinite;
  text-shadow: 0 1px 3px rgba(120, 170, 220, .4);
}
.snow span:nth-child(1) { left: 8%;  font-size: 13px; animation-duration: 13s; animation-delay: 0s;  }
.snow span:nth-child(2) { left: 26%; font-size: 18px; animation-duration: 17s; animation-delay: -4s; opacity: .6; }
.snow span:nth-child(3) { left: 47%; font-size: 11px; animation-duration: 11s; animation-delay: -2s; }
.snow span:nth-child(4) { left: 66%; font-size: 20px; animation-duration: 19s; animation-delay: -7s; opacity: .55; }
.snow span:nth-child(5) { left: 81%; font-size: 13px; animation-duration: 14s; animation-delay: -1s; }
.snow span:nth-child(6) { left: 92%; font-size: 16px; animation-duration: 16s; animation-delay: -9s; opacity: .65; }
@keyframes fall {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); }
  100% { transform: translateY(112vh) translateX(14px) rotate(360deg); }
}

/* ---------- header (top 80px = triple-tap zone) ---------- */
.hd {
  position: sticky; top: 0; z-index: 30;
  background: rgba(234, 243, 252, .72);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.hd-in {
  max-width: var(--maxw); margin: 0 auto;
  height: 56px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.hd-logo {
  font-weight: 900; font-size: 19px; letter-spacing: .3px; color: var(--brand);
  user-select: none;
}
.hd-cart { font-size: 17px; opacity: .5; filter: grayscale(.2); }

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 20px 12px; }

/* ---------- hero (tight band: wordmark + floating snow-bears) ---------- */
.hero { position: relative; padding: 10px 0 6px; text-align: left; min-height: 76px; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  top: -18px; right: -16px;
  width: 200px; height: 168px;
  background: radial-gradient(56% 56% at 72% 34%, rgba(86, 168, 240, .24), rgba(86, 168, 240, 0) 70%);
  pointer-events: none;
}
.hero-bears {
  position: absolute; top: -2px; right: -8px; width: 104px; z-index: 0;
  transform: rotate(8deg);
  filter: drop-shadow(0 10px 16px rgba(20, 60, 110, .22));
  pointer-events: none;
  animation: floaty 6s ease-in-out infinite;
}
.hero-bears img { width: 100%; height: auto; display: block; }
@keyframes floaty {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50%      { transform: rotate(8deg) translateY(-6px); }
}
.hero-eyebrow {
  position: relative; z-index: 1;
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-d);
  background: rgba(47, 143, 230, .12); padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(47, 143, 230, .16);
}
.hero-h {
  position: relative; z-index: 1;
  margin: 9px 0 3px; max-width: 64%;
  font-size: clamp(30px, 9.6vw, 42px); font-weight: 900; line-height: .9;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #6fb6f4 0%, #2f8fe6 40%, #14538f 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #1b5fa3;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .8)) drop-shadow(0 6px 12px rgba(31, 111, 192, .26));
}
.hero-tag {
  position: relative; z-index: 1; margin: 0;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--blue-d);
}
.hero-tag span { color: var(--ink); }

/* trust chips (slim row above CTA) */
.trust {
  display: flex; gap: 7px; justify-content: center; flex-wrap: wrap;
  margin: 0 0 9px;
}
.trust-i {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9);
  padding: 7px 11px; border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px -12px rgba(20, 60, 110, .5);
}
.trust-ic { font-size: 13px; }

/* ---------- catalog ---------- */
.cat { margin-top: 8px; }
.cat-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.cat-hd h2 { margin: 0; font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.cat-hd-note { font-size: 11.5px; color: var(--ink-2); }

.grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.card {
  position: relative; cursor: pointer;
  background: var(--card); border: 1px solid rgba(255, 255, 255, .85);
  border-radius: var(--r); overflow: hidden;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease;
  animation: cardIn .55s cubic-bezier(.2, .8, .2, 1) backwards;
}
.card:nth-child(1) { animation-delay: .04s; }
.card:nth-child(2) { animation-delay: .10s; }
.card:nth-child(3) { animation-delay: .16s; }
.card:nth-child(4) { animation-delay: .22s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.card:active { transform: scale(.97); }
.card.tapped { transform: scale(.97); box-shadow: 0 24px 44px -18px rgba(20, 60, 110, .55); }
.card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) {
  .card:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -20px rgba(20, 60, 110, .55); }
  .card:hover .bag { transform: translateY(-2px) rotate(-2deg) scale(1.05); }
}
.card-tag {
  position: absolute; top: 9px; right: 9px; z-index: 2;
  font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: #fff; background: linear-gradient(135deg, #46a0ef, var(--blue-d));
  padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(31, 111, 192, .65);
}
.card-price {
  position: absolute; top: 9px; left: 9px; z-index: 2;
  font-size: 12px; font-weight: 900; color: var(--ink);
  background: #fff; border: 1px solid rgba(190, 224, 255, .9);
  padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 6px 14px -7px rgba(20, 60, 110, .6);
}
.card-img {
  padding: 6px 6px 0; display: flex; align-items: flex-end; justify-content: center;
  height: 98px; perspective: 760px;
  background: linear-gradient(180deg, #ffffff 0%, #e7f1fb 100%);
}
.card-img .bag {
  width: auto; height: 94px; display: block;
  filter: drop-shadow(0 8px 12px rgba(20, 60, 110, .16));
  transition: transform .22s ease;
  transform-origin: 50% 70%;
}
/* tap → pouch spins 360° before routing */
.card.flip .bag { animation: bagflip .62s cubic-bezier(.34, 1.2, .5, 1); }
@keyframes bagflip {
  0%   { transform: rotateY(0) scale(1); }
  45%  { transform: rotateY(180deg) scale(1.1); }
  100% { transform: rotateY(360deg) scale(1); }
}
.card-body { padding: 8px 11px 10px; }
.card-name { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.card-no { color: var(--blue-d); font-weight: 900; }
.card-sub { font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }

/* ---------- CTA (slim) ---------- */
.cta-sec { margin-top: 8px; }
.tg-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px 18px; border: none; cursor: pointer;
  font-size: 16px; font-weight: 800; letter-spacing: .02em; color: #fff;
  text-decoration: none; border-radius: 16px;
  background: linear-gradient(135deg, #2bb2ec 0%, var(--tg) 55%, var(--tg-d) 100%);
  box-shadow: 0 16px 34px -12px rgba(34, 158, 217, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .14s ease, box-shadow .14s ease;
}
.tg-btn:active { transform: translateY(2px) scale(.99); box-shadow: 0 8px 20px -12px rgba(34, 158, 217, .8); }
@media (hover: hover) {
  .tg-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 42px -12px rgba(34, 158, 217, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
}
/* moving glare */
.tg-shine {
  position: absolute; top: -20%; left: -65%; width: 45%; height: 140%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
  transform: skewX(-18deg); pointer-events: none;
  animation: shine 4s ease-in-out infinite; animation-delay: 1.2s;
}
@keyframes shine {
  0%   { left: -65%; }
  16%  { left: 145%; }
  100% { left: 145%; }
}
.tg-ic, .tg-label { position: relative; z-index: 2; display: inline-flex; align-items: center; }
.tg-ic svg { animation: tgnudge 4s ease-in-out infinite; }
@keyframes tgnudge { 0%, 88%, 100% { transform: translateX(0); } 93% { transform: translateX(3px); } }
.cta-note { text-align: center; font-size: 11.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.4; }

/* ---------- footer (premium frosted block) ---------- */
.ft {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  padding: 6px 20px calc(12px + env(safe-area-inset-bottom));
}
.ft-card {
  text-align: center; border-radius: 18px; padding: 11px 15px 12px;
  background: var(--card); border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.ft-logo { font-size: 16px; font-weight: 900; color: var(--brand); letter-spacing: .3px; }
.ft-tag { margin: 2px 0 7px; font-size: 11px; color: var(--ink-2); line-height: 1.3; }
.ft-tg {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 800; color: var(--tg); text-decoration: none;
  background: rgba(34, 158, 217, .1); border: 1px solid rgba(34, 158, 217, .25);
  transition: transform .14s ease, background .14s ease;
}
.ft-tg:active { transform: scale(.96); }
@media (hover: hover) { .ft-tg:hover { background: rgba(34, 158, 217, .18); } }
.ft-sub { font-size: 11px; color: var(--ink-2); margin-top: 8px; text-align: center; line-height: 1.35; }

/* ---------- order modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; }
.modal.open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(8, 24, 44, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-card {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--maxw); margin: 0 auto;
  background: var(--card-solid); border-radius: 24px 24px 0 0;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 50px -20px rgba(8, 30, 60, .5);
  animation: sheet .26s cubic-bezier(.2, .8, .2, 1);
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: none; border-radius: 50%; background: rgba(20, 50, 90, .07);
  color: var(--ink-2); font-size: 15px; cursor: pointer;
}
.modal-kick { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-d); }
.modal-title { font-size: 22px; font-weight: 900; margin: 6px 0 2px; letter-spacing: -.01em; }
.modal-prod { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; min-height: 18px; }
.modal-prod b { color: var(--ink); }

.fld {
  width: 100%; padding: 14px 15px; margin-bottom: 11px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  background: #eef4fb; border: 1.5px solid transparent; border-radius: 13px;
  outline: none; transition: border-color .15s, background .15s;
}
.fld::placeholder { color: #7a90a8; }
.fld:focus { background: #fff; border-color: var(--blue); }
.fld.err { border-color: var(--red); background: #fff3f3; }
textarea.fld { resize: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.modal-err { font-size: 12.5px; color: var(--red); min-height: 17px; margin-bottom: 4px; }
.modal-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px; border: none; cursor: pointer;
  font-size: 16px; font-weight: 800; color: #fff; border-radius: 14px;
  background: linear-gradient(135deg, #2bb2ec 0%, var(--tg) 60%, var(--tg-d) 100%);
  box-shadow: 0 14px 30px -12px rgba(34, 158, 217, .7);
  transition: transform .14s, opacity .14s;
}
.modal-submit:active { transform: translateY(2px); }
.modal-submit:disabled { opacity: .6; cursor: default; }
.modal-fine { font-size: 11px; color: var(--ink-2); text-align: center; margin-top: 12px; line-height: 1.4; }

@media (min-width: 520px) {
  .modal-card { top: 50%; bottom: auto; left: 50%; right: auto; border-radius: 24px; width: calc(var(--maxw) - 24px); transform: translate(-50%, -50%); animation: pop .24s ease; }
  @keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
}

/* ---------- global tap ripple (snow puff) ---------- */
.hb-ripple {
  position: fixed; z-index: 60; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(86, 168, 240, .42) 0%, rgba(120, 190, 245, .18) 45%, rgba(86, 168, 240, 0) 72%);
  animation: hbripple .62s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes hbripple {
  from { transform: scale(.35); opacity: .85; }
  to   { transform: scale(5.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .snow, .hb-ripple { display: none; }
}

/* ════════════════════════════════════════════════════════════
   DARK NEON theme (v6) — "ENERGY BEARS".
   OLED-black base + electric cyan/magenta/lime/purple neon.
   Overrides the cold theme above. High-contrast text (a11y),
   glow used purposefully; every pulse auto-disables under
   prefers-reduced-motion via the global guard. Per-card hue
   through --neon / --gl (r,g,b for rgba glows).
   ════════════════════════════════════════════════════════════ */
:root {
  --brand: #00e5ff;
  --blue: #22d3ff; --blue-d: #00b8e6;
  --tg: #00e5ff; --tg-d: #1f9fe0;
  --ink: #eaf2ff; --ink-2: #93a4c8;
  --ice: #07090f; --ice-deep: #04050a;
  --card: rgba(255, 255, 255, .045); --card-solid: #0d1018;
  --line: rgba(120, 180, 255, .14);
  --shadow: 0 20px 44px -20px rgba(0, 0, 0, .85);
  --neon-cyan: #00e5ff; --neon-magenta: #ff3dcb; --neon-lime: #b6ff3c; --neon-purple: #9d6bff;
  --neon: #00e5ff; --gl: 0, 229, 255;
}
html { color-scheme: dark; }
body {
  background:
    radial-gradient(85% 55% at 12% -6%, rgba(0, 229, 255, .12), transparent 60%),
    radial-gradient(75% 50% at 96% 8%, rgba(255, 61, 203, .11), transparent 60%),
    radial-gradient(120% 80% at 50% 112%, rgba(157, 107, 255, .14), transparent 62%),
    var(--ice);
  background-attachment: fixed;
}

/* neon "cold-spark" particles (reuse snow nodes) */
.snow span { color: rgba(0, 229, 255, .55); opacity: .5; text-shadow: 0 0 8px rgba(0, 229, 255, .9); }
.snow span:nth-child(2) { color: rgba(255, 61, 203, .5); text-shadow: 0 0 8px rgba(255, 61, 203, .9); }
.snow span:nth-child(4) { color: rgba(182, 255, 60, .5); text-shadow: 0 0 8px rgba(182, 255, 60, .85); }
.snow span:nth-child(6) { color: rgba(157, 107, 255, .55); text-shadow: 0 0 8px rgba(157, 107, 255, .9); }

/* header */
.hd { background: rgba(7, 9, 15, .72); border-bottom: 1px solid var(--line); }
.hd-logo { color: var(--brand); text-shadow: 0 0 14px rgba(0, 229, 255, .6); }
.hd-cart { color: var(--neon-magenta); opacity: .85; filter: drop-shadow(0 0 6px rgba(255, 61, 203, .6)); }

/* hero — neon wordmark + charged energy aura on bears */
.hero::before { background: radial-gradient(56% 56% at 72% 34%, rgba(0, 229, 255, .26), transparent 70%); animation: auraPulse 3.4s ease-in-out infinite; }
.hero-bears {
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, .6)) drop-shadow(0 0 34px rgba(157, 107, 255, .45)) brightness(1.06) saturate(1.12);
  animation: floaty 6s ease-in-out infinite, energyPulse 2.8s ease-in-out infinite;
}
@keyframes auraPulse { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes energyPulse {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 229, 255, .5)) drop-shadow(0 0 26px rgba(157, 107, 255, .35)) brightness(1.05) saturate(1.1); }
  50%      { filter: drop-shadow(0 0 22px rgba(0, 229, 255, .85)) drop-shadow(0 0 46px rgba(157, 107, 255, .6)) brightness(1.12) saturate(1.22); }
}
.hero-eyebrow { color: #9becff; background: rgba(0, 229, 255, .10); border: 1px solid rgba(0, 229, 255, .32); text-shadow: 0 0 8px rgba(0, 229, 255, .5); }
.hero-h {
  background: linear-gradient(180deg, #c7f7ff 0%, #00e5ff 46%, #9d6bff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #00e5ff;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, .5)) drop-shadow(0 0 36px rgba(157, 107, 255, .3));
}
.hero-tag { color: var(--neon-cyan); }
.hero-tag span { color: var(--ink); }

/* catalog header */
.cat-hd h2 { color: var(--ink); }
.cat-hd-note { color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0, 229, 255, .45); }

/* trust chips */
.trust-i { color: var(--ink); background: rgba(255, 255, 255, .04); border: 1px solid rgba(120, 180, 255, .18); box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .7); }
.trust-ic { color: var(--neon-cyan); filter: drop-shadow(0 0 5px rgba(0, 229, 255, .6)); }

/* ── product cards: per-hue neon glass (cycles every 4 for any product count) ── */
.card:nth-child(4n+1) { --neon: #00e5ff; --gl: 0, 229, 255; }
.card:nth-child(4n+2) { --neon: #ff3dcb; --gl: 255, 61, 203; }
.card:nth-child(4n+3) { --neon: #b6ff3c; --gl: 182, 255, 60; }
.card:nth-child(4n+4) { --neon: #9d6bff; --gl: 157, 107, 255; }
.card {
  background: var(--card);
  border: 1px solid rgba(var(--gl), .30);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .75), 0 0 18px -7px rgba(var(--gl), .4), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.card.tapped, .card:active {
  box-shadow: 0 0 0 1px rgba(var(--gl), .85), 0 0 26px rgba(var(--gl), .55), 0 14px 34px -14px rgba(0, 0, 0, .85);
}
@media (hover: hover) {
  .card:hover { box-shadow: 0 0 0 1px rgba(var(--gl), .7), 0 0 32px rgba(var(--gl), .6), 0 18px 42px -16px rgba(0, 0, 0, .9); }
}
.card-img {
  background:
    radial-gradient(82% 78% at 50% 16%, rgba(var(--gl), .16), transparent 70%),
    linear-gradient(180deg, #0e1422 0%, #070a12 100%);
}
.card-img .bag { filter: drop-shadow(0 0 11px rgba(var(--gl), .6)) drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.card-name { color: var(--ink); }
.card-no { color: var(--neon); text-shadow: 0 0 8px rgba(var(--gl), .6); }
.card-sub { color: var(--ink-2); }
.card-tag {
  color: #06090f; background: linear-gradient(135deg, rgba(var(--gl), .95), rgba(var(--gl), .55));
  box-shadow: 0 0 14px rgba(var(--gl), .6); border: 1px solid rgba(255, 255, 255, .25);
}
.card-price {
  color: #fff; background: rgba(7, 9, 15, .72); border: 1px solid rgba(var(--gl), .6);
  text-shadow: 0 0 8px rgba(var(--gl), .85);
  box-shadow: 0 0 10px rgba(var(--gl), .45), inset 0 0 8px rgba(var(--gl), .15);
  animation: pricePulse 2.6s ease-in-out infinite;
}
@keyframes pricePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(var(--gl), .4), inset 0 0 8px rgba(var(--gl), .12); }
  50%      { box-shadow: 0 0 18px rgba(var(--gl), .78), inset 0 0 11px rgba(var(--gl), .22); }
}

/* CTA — neon energy button */
.tg-btn {
  color: #04121a;
  background: linear-gradient(135deg, #00e5ff 0%, #1fa8ff 52%, #6b5bff 100%);
  box-shadow: 0 0 26px rgba(0, 229, 255, .5), 0 14px 34px -12px rgba(0, 180, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .45);
  animation: ctaGlow 2.8s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 255, .42), 0 14px 34px -14px rgba(0, 180, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .45); }
  50%      { box-shadow: 0 0 38px rgba(0, 229, 255, .75), 0 16px 42px -12px rgba(0, 180, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
}
.tg-shine { background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .78) 50%, transparent 100%); }
.cta-note { color: var(--ink-2); }

/* footer */
.ft-card { background: var(--card); border: 1px solid rgba(120, 180, 255, .16); box-shadow: 0 0 28px -12px rgba(0, 229, 255, .3), var(--shadow); }
.ft-logo { color: var(--neon-cyan); text-shadow: 0 0 14px rgba(0, 229, 255, .55); }
.ft-tag, .ft-sub { color: var(--ink-2); }
.ft-tg {
  color: #04121a; font-weight: 800; border: none;
  background: linear-gradient(135deg, #00e5ff, #1fa8ff);
  box-shadow: 0 0 18px rgba(0, 229, 255, .5);
}
@media (hover: hover) { .ft-tg:hover { background: linear-gradient(135deg, #38ecff, #36b6ff); } }

/* tap ripple → neon */
.hb-ripple { background: radial-gradient(circle, rgba(0, 229, 255, .5) 0%, rgba(157, 107, 255, .22) 45%, rgba(0, 229, 255, 0) 72%); }

/* ── design-review fixes (v7): real type system + a11y touch target ── */
/* AI-slop #11 fix: drop system-ui as primary face. Chakra Petch = techno/energy
   display (wordmark, headings, badges, CTA), Space Grotesk = clean body. */
body { font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.hero-h, .hero-eyebrow, .hero-tag, .cat-hd h2, .card-name, .card-tag, .tg-label, .ft-logo, .trust-i {
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
}
.hero-h { letter-spacing: -.02em; }
/* touch target: footer Telegram button was 34px tall → ≥44px (WCAG / Fitts) */
.ft-tg { padding: 12px 18px; min-height: 44px; }

/* ════════════════════════════════════════════════════════════
   v8 — feedback fixes:
   • dropped the "outlines" on cards and trust chips (looked generic)
   • bigger cards; photo products: transparent bg + neon glow, no border
   • single neon icon set (.ic) instead of emoji stickers
   • heading no longer clipped vertically
   ════════════════════════════════════════════════════════════ */

/* — single icon set (line-icons, color/glow set by CSS) — */
.ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.18em; flex: 0 0 auto; }
.hd-logo .ic, .ft-logo .ic { width: 1em; height: 1em; color: var(--neon-cyan); filter: drop-shadow(0 0 7px rgba(0, 229, 255, .75)); }
.hero-eyebrow .ic { color: var(--neon-cyan); filter: drop-shadow(0 0 6px rgba(0, 229, 255, .7)); }

/* — heading: breathing room top/bottom, nothing gets clipped — */
.hero { overflow: visible; }
.hero-h { line-height: 1.02; padding: 2px 0 4px; overflow: visible; }

/* — trust chips: NO outline, dark glass, neon icon in its own color — */
.trust { gap: 8px; }
.trust-i {
  border: none; background: rgba(10, 15, 26, .55);
  box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  padding: 8px 13px;
}
.trust-i:nth-child(1) { --tgl: 0, 229, 255; }
.trust-i:nth-child(2) { --tgl: 182, 255, 60; }
.trust-i:nth-child(3) { --tgl: 255, 61, 203; }
.trust-ic { display: inline-flex; color: rgb(var(--tgl)); filter: drop-shadow(0 0 6px rgba(var(--tgl), .8)); }
.trust-ic .ic { width: 17px; height: 17px; }

/* — cards: BIGGER and BORDERLESS (only a soft neon glow) — */
.grid { gap: 12px; }
.card {
  border: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: 0 16px 38px -18px rgba(0, 0, 0, .85), 0 0 22px -8px rgba(var(--gl), .42);
}
.card.tapped, .card:active {
  box-shadow: 0 0 30px -6px rgba(var(--gl), .6), 0 18px 40px -16px rgba(0, 0, 0, .9);
}
@media (hover: hover) {
  .card:hover { box-shadow: 0 0 38px -6px rgba(var(--gl), .7), 0 22px 48px -18px rgba(0, 0, 0, .92); }
}
.card-img { height: 152px; padding: 14px 14px 0; align-items: center; }
.card-img .bag { height: 132px; }
.card-body { padding: 11px 13px 13px; }
.card-name { font-size: 15.5px; }
.card-sub { font-size: 12px; margin-top: 3px; }

/* — photo product: transparent bg (PNG/WebP with alpha) + neon glow, NO border — */
.bag-photo { width: auto; max-width: 94%; object-fit: contain; background: transparent; border: none; border-radius: 0; }
.card-img .bag-photo { filter: drop-shadow(0 0 15px rgba(var(--gl), .55)) drop-shadow(0 8px 12px rgba(0, 0, 0, .6)); }
@media (hover: hover) { .card:hover .bag-photo { transform: translateY(-2px) scale(1.04); } }

/* ════════════════════════════════════════════════════════════
   v9 — product WITHOUT a container block: a cut-out PNG floats right on the
   page background (no card/border/backing — just the product + glow + text).
   ════════════════════════════════════════════════════════════ */
.grid { gap: 16px 12px; }
.card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-radius: 0;
  overflow: visible;
}
.card.tapped, .card:active { transform: scale(.96); box-shadow: none; }
@media (hover: hover) {
  .card:hover { box-shadow: none; transform: translateY(-3px); }
}
.card-img {
  height: 176px; padding: 0; align-items: center;
  background: transparent;
}
.card-img .bag { height: 158px; }
.card-img .bag-photo {
  max-width: 100%;
  filter: drop-shadow(0 0 18px rgba(var(--gl), .5)) drop-shadow(0 12px 16px rgba(0, 0, 0, .55));
}
.card-body { padding: 9px 4px 0; text-align: center; }
.card-name { font-size: 14.5px; }
.card-sub { font-size: 12px; }

/* ════════════════════════════════════════════════════════════
   v10 — fixed neon photo background (owner-supplied).
   Uses a fixed element (not background-attachment) for reliable mobile
   rendering; a top-to-bottom scrim keeps the neon content readable.
   ════════════════════════════════════════════════════════════ */
html { background: var(--ice); }
body { background: transparent; }
.site-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 9, 15, .60) 0%, rgba(7, 9, 15, .74) 46%, rgba(7, 9, 15, .88) 100%),
    url("../img/bg.webp") center center / cover no-repeat;
}

/* ════════════════════════════════════════════════════════════
   v11 — "Get price" CTA, shown on cards with no price set. Tapping it
   (like the whole card) routes to a manager. Neon button in the card hue.
   ════════════════════════════════════════════════════════════ */
.card-cta {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; padding: 7px 15px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .01em;
  color: #04121a; cursor: pointer;
  font-family: "Chakra Petch", "Space Grotesk", sans-serif;
  background: linear-gradient(135deg, rgb(var(--gl)), rgba(var(--gl), .72));
  box-shadow: 0 0 16px rgba(var(--gl), .55), 0 6px 16px -8px rgba(0, 0, 0, .7);
  animation: pricePulse 2.6s ease-in-out infinite;
}
.card-cta::before { content: "$"; font-weight: 900; font-size: 13.5px; }
.card-cta::after  { content: "→"; font-weight: 800; opacity: .85; }

/* ════════════════════════════════════════════════════════════
   v13 — fixed bottom CTA + lazy product reveal + Android speed.
   • products: first 4 visible, the rest reveal on scroll (JS).
   • CTA: pinned to the bottom, always visible, shrinks on scroll (.shrunk).
   • speed: CONTINUOUS box-shadow/filter pulses are disabled
     (pricePulse/ctaGlow/energyPulse) — they lag Android; glow stays static.
   ════════════════════════════════════════════════════════════ */

/* lazy reveal: hidden products take no space and skip image loading */
.card.is-hidden { display: none; }
.grid-end { height: 1px; }

/* trust row now in flow, above the fixed bar */
.trust { margin: 4px 0 14px; }

/* fixed bottom CTA bar */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  max-width: var(--maxw); margin: 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 9, 15, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(120, 180, 255, .14);
  transition: padding .15s ease;            /* light — toggles once at the threshold */
}
.cta-bar .tg-btn { transition: padding .15s ease, font-size .15s ease; }
.cta-note { text-align: center; font-size: 11px; color: var(--ink-2); margin-top: 7px; line-height: 1.35; }
/* shrunk state when scrolled down */
.cta-bar.shrunk { padding: 6px 16px calc(6px + env(safe-area-inset-bottom)); }
.cta-bar.shrunk .tg-btn { padding: 11px 16px; font-size: 14.5px; }
.cta-bar.shrunk .cta-note { display: none; }
/* keep content from hiding under the fixed bar */
body { padding-bottom: 96px; }

/* ── Android speed: static glow instead of continuous pulses ── */
.card-price, .card-cta { animation: none; }
.tg-btn { animation: none; }                            /* .tg-shine glare kept — tiny, clipped, cheap */
.hero-bears { animation: floaty 6s ease-in-out infinite; }  /* light float only, no energyPulse */
.hero::before { animation: none; }

/* ════════════════════════════════════════════════════════════
   v14 — theme switcher.
   Default is a clean light shop theme. The previous neon look is kept as
   data-theme="dark" and can be restored from the header toggle.
   ════════════════════════════════════════════════════════════ */
:root,
html[data-theme="light"] {
  color-scheme: light;
  --brand: #0f6f63;
  --blue: #0f8f83;
  --blue-d: #0b6f67;
  --rasta-red: #f0352f;
  --rasta-gold: #ffd429;
  --rasta-green: #12b05d;
  --tg: #1f9ed7;
  --tg-d: #187eaf;
  --ink: #10201d;
  --ink-2: #53635f;
  --ice: #f7fbf7;
  --ice-deep: #e8f4ee;
  --card: rgba(255, 255, 255, .88);
  --card-solid: #ffffff;
  --line: rgba(22, 92, 78, .14);
  --shadow: 0 18px 42px -24px rgba(19, 74, 61, .34);
  --neon: #0f8f83;
  --gl: 15, 143, 131;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --brand: #00e5ff;
  --blue: #22d3ff;
  --blue-d: #00b8e6;
  --tg: #00e5ff;
  --tg-d: #1f9fe0;
  --ink: #eaf2ff;
  --ink-2: #93a4c8;
  --ice: #07090f;
  --ice-deep: #04050a;
  --card: rgba(255, 255, 255, .045);
  --card-solid: #0d1018;
  --line: rgba(120, 180, 255, .14);
  --shadow: 0 20px 44px -20px rgba(0, 0, 0, .85);
  --neon: #00e5ff;
  --gl: 0, 229, 255;
}

html[data-theme="light"] body {
  background:
    radial-gradient(82% 38% at 50% -10%, rgba(220, 247, 232, .72), rgba(247, 251, 247, 0) 68%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf6 46%, #ffffff 100%);
}

html[data-theme="light"] .site-bg {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(250, 253, 249, .98) 48%, rgba(255, 255, 255, .99) 100%),
    radial-gradient(52% 26% at 10% 0%, rgba(18, 176, 93, .10), transparent 74%),
    radial-gradient(46% 26% at 96% 10%, rgba(255, 212, 41, .12), transparent 72%),
    url("../img/bg.webp") center center / cover no-repeat;
}

html[data-theme="dark"] .site-bg {
  background:
    linear-gradient(180deg, rgba(7, 9, 15, .60) 0%, rgba(7, 9, 15, .74) 46%, rgba(7, 9, 15, .88) 100%),
    url("../img/bg.webp") center center / cover no-repeat;
}

html[data-theme="light"] .snow span {
  color: rgba(17, 121, 103, .22);
  opacity: .42;
  text-shadow: none;
}

html[data-theme="light"] .hd {
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(22, 92, 78, .12);
  box-shadow: 0 8px 24px -22px rgba(19, 74, 61, .45);
}
html[data-theme="light"] .hd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--rasta-red), var(--rasta-gold) 48%, var(--rasta-green));
  box-shadow: 0 0 16px rgba(255, 212, 41, .42), 0 0 24px rgba(18, 176, 93, .28);
}

html[data-theme="light"] .hd-logo,
html[data-theme="light"] .ft-logo {
  color: var(--brand);
  text-shadow: none;
}

html[data-theme="light"] .hd-logo .ic,
html[data-theme="light"] .ft-logo .ic,
html[data-theme="light"] .hero-eyebrow .ic {
  color: var(--brand);
  filter: none;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  margin-left: auto;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .45);
  cursor: pointer;
}
.theme-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.theme-toggle-ic {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f4b942;
  box-shadow: 0 0 0 4px rgba(244, 185, 66, .18), 0 0 18px rgba(244, 185, 66, .35);
}
html[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(120, 180, 255, .18);
}
html[data-theme="dark"] .theme-toggle-ic {
  background: #dbeafe;
  box-shadow: inset -6px -2px 0 #7c3aed, 0 0 18px rgba(0, 229, 255, .45);
}

html[data-theme="light"] .hd-cart {
  color: var(--brand);
  opacity: .56;
  filter: none;
}

html[data-theme="light"] .hero {
  min-height: 340px;
  padding-top: 232px;
  padding-bottom: 18px;
  text-align: center;
}
html[data-theme="light"] .hero::before {
  top: -18px;
  left: 50%;
  right: auto;
  width: 300px;
  height: 250px;
  background:
    linear-gradient(135deg, rgba(240, 53, 47, .18), rgba(255, 212, 41, .18) 45%, rgba(18, 176, 93, .20));
  clip-path: polygon(18% 10%, 100% 0, 86% 78%, 0 100%);
  opacity: .54;
  filter: blur(20px);
  transform: translateX(-50%);
}
html[data-theme="light"] .hero-bears {
  top: 10px;
  left: 50%;
  right: auto;
  width: 220px;
  opacity: 1;
  transform: translateX(-50%) rotate(0);
  animation: rastaLogoFloat 5.8s ease-in-out infinite;
  filter:
    drop-shadow(0 0 10px rgba(18, 176, 93, .30))
    drop-shadow(0 0 18px rgba(255, 212, 41, .26))
    drop-shadow(0 18px 24px rgba(19, 74, 61, .24));
}
html[data-theme="light"] .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rasta-red), var(--rasta-gold), var(--rasta-green));
  box-shadow: 0 0 14px rgba(255, 212, 41, .46), 0 0 24px rgba(18, 176, 93, .28);
}
html[data-theme="light"] .hero-bears img {
  border-radius: 28px;
}
@keyframes rastaLogoFloat {
  0%, 100% { transform: translateX(-50%) rotate(0) translateY(0); }
  50% { transform: translateX(-50%) rotate(0) translateY(-7px); }
}
html[data-theme="light"] .hero-eyebrow {
  color: var(--blue-d);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(18, 176, 93, .24);
  box-shadow: 0 10px 22px -18px rgba(19, 74, 61, .42), 0 0 0 2px rgba(255, 212, 41, .12);
  text-shadow: none;
}
html[data-theme="light"] .hero-h {
  max-width: 100%;
  color: #10201d;
  background: none;
  -webkit-text-fill-color: currentColor;
  filter: none;
  text-shadow: none;
  letter-spacing: 0;
}
html[data-theme="light"] .hero-tag {
  max-width: 100%;
  color: #31544d;
  text-shadow: none;
  letter-spacing: .03em;
}

html[data-theme="light"] .cat-hd h2,
html[data-theme="light"] .card-name {
  color: #10201d;
  text-shadow: none;
}
html[data-theme="light"] .cat-hd-note,
html[data-theme="light"] .card-sub,
html[data-theme="light"] .cta-note,
html[data-theme="light"] .ft-tag,
html[data-theme="light"] .ft-sub {
  color: var(--ink-2);
  text-shadow: none;
}

html[data-theme="light"] .grid { gap: 14px 12px; }
html[data-theme="light"] .card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(22, 92, 78, .16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
html[data-theme="light"] .card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--rasta-red), var(--rasta-gold), var(--rasta-green));
  box-shadow: 0 0 16px rgba(255, 212, 41, .34);
}
html[data-theme="light"] .card:hover { box-shadow: 0 22px 50px -24px rgba(19, 74, 61, .46), 0 0 24px -14px rgba(255, 212, 41, .70); }
html[data-theme="light"] .card-img {
  height: 172px;
  padding: 10px;
  background:
    linear-gradient(118deg, rgba(240, 53, 47, .10), rgba(255, 212, 41, .18) 43%, rgba(18, 176, 93, .12)),
    radial-gradient(80% 68% at 50% 22%, rgba(225, 244, 235, .88), rgba(255, 255, 255, .35) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 252, 248, .96));
}
html[data-theme="light"] .card-img .bag,
html[data-theme="light"] .card-img .bag-photo {
  height: 148px;
  max-width: 96%;
  filter: drop-shadow(0 14px 16px rgba(19, 74, 61, .18));
}
html[data-theme="light"] .card-body {
  padding: 11px 10px 13px;
  text-align: center;
  background: rgba(255, 255, 255, .96);
}
html[data-theme="light"] .card-no {
  color: var(--blue-d);
  text-shadow: none;
}
html[data-theme="light"] .card-tag {
  color: #ffffff;
  background: linear-gradient(135deg, #f0352f 0%, #d2a900 48%, #0f8f4c 100%);
  box-shadow: 0 8px 18px -10px rgba(255, 212, 41, .9);
  border: none;
}
html[data-theme="light"] .card-price {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(22, 92, 78, .16);
  text-shadow: none;
  box-shadow: 0 10px 20px -14px rgba(19, 74, 61, .42);
}
html[data-theme="light"] .card-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #0f8f83, #0b6f67);
  box-shadow: 0 12px 24px -14px rgba(15, 143, 131, .78);
}

html[data-theme="light"] .trust-i {
  color: var(--ink);
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(22, 92, 78, .10);
  box-shadow: 0 12px 26px -22px rgba(19, 74, 61, .42);
}
html[data-theme="light"] .trust-ic,
html[data-theme="light"] .trust-ic .ic {
  color: var(--blue-d);
  filter: none;
}

html[data-theme="light"] .cta-bar {
  background: rgba(255, 255, 255, .88);
  border-top: 1px solid rgba(22, 92, 78, .12);
  box-shadow: 0 -16px 36px -28px rgba(19, 74, 61, .5);
}
html[data-theme="light"] .tg-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #f0352f 0%, #f0b900 32%, #12a85a 66%, #0d6f68 100%);
  box-shadow: 0 18px 38px -18px rgba(18, 176, 93, .85), 0 0 28px -12px rgba(255, 212, 41, .78), inset 0 1px 0 rgba(255, 255, 255, .34);
}

html[data-theme="light"] .ft-card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(22, 92, 78, .10);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .ft-tg {
  color: #ffffff;
  background: linear-gradient(135deg, #159e8c, #0d6f68);
  box-shadow: 0 12px 24px -16px rgba(15, 143, 131, .9);
}

html[data-theme="dark"] .site-bg + .snow span {
  color: rgba(0, 229, 255, .55);
  opacity: .5;
  text-shadow: 0 0 8px rgba(0, 229, 255, .9);
}
