/* ShopHub background for the long front page (Tamás's handoff of 2026-11-11, "long page, recipe 1").
   Layers from the bottom: page colour, glows per section, dot canvas per section, content. */
:root {
  --sh-bg: #1b112f;              /* halfway between #261542 and #100c1b */
  --sh-dot-alpha: 0.14;          /* dot opacity */
  --sh-glow-strength: 0.45;      /* overall glow strength */
  --sh-lilac: 154, 127, 208;     /* --cf-lilac #9a7fd0 */
  --sh-pink-glow: 156, 52, 102;  /* --cf-pink-glow #9c3466 */
  --sh-teal-glow: 30, 150, 174;  /* --cf-teal-glow #1e96ae, not cyan */
}
.sh-page { position: relative; overflow: clip; background-color: var(--sh-bg); }
/* The sections are centred columns (1380 to 1560 px); the glows and the dots bleed to the full window width.
   The body's overflow-x: hidden (style.css) clips them at the window edge; html must stay visible, or sticky elements stop working. */
/* isolation keeps the glows and the dots (z-index -1) behind the section content but above the page colour */
.sh-section { position: relative; isolation: isolate; }
.sh-glows { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; z-index: -1; pointer-events: none; opacity: var(--sh-glow-strength); overflow-x: clip; }
.sh-glow {
  --s: 1;
  position: absolute;
  left: calc(var(--x) - var(--r) * var(--s));
  top: calc(var(--y) - var(--r) * var(--s));
  width: calc(var(--r) * 2 * var(--s));
  height: calc(var(--r) * 2 * var(--s));
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(var(--c), var(--a)) 0%,
    rgba(var(--c), calc(var(--a) * 0.72)) 30%,
    rgba(var(--c), calc(var(--a) * 0.3)) 62%,
    rgba(var(--c), 0) 100%);
}
@media (max-width: 640px) { .sh-glow { --s: 0.6; } }
/* 40 px bleed above and below, so the displaced dots are not cut off at the section edge */
.sh-dots { position: absolute; z-index: -1; left: calc(50% - 50vw); top: -40px; width: 100vw; height: calc(100% + 80px); display: block; pointer-events: none; }
