/* NenoWorks — whole-site ribbon background (shop pages only).
   The <canvas class="nw-bgfx"> lives inside the fixed .bg layer (z-index:-1),
   so every piece of content sits above it and it never takes pointer input. */
.bg{pointer-events:none}
.nw-bgfx{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;opacity:0;transition:opacity 1.4s ease}
.nw-bgfx.is-on{opacity:1}
@media (prefers-reduced-motion:reduce){.nw-bgfx{transition:none}}
/* Dark theme paints #000 on both html and body; body's block background would
   cover the fixed z-index:-1 layer. html stays #000, so this is invisible
   without the canvas. */
html[data-theme="dark"].nw-bgfx-on body{background:transparent}
/* Readability over the ribbons (dark only, once the canvas is on). The panels
   stay translucent so the ribbons read through them mid-page, but the fill is
   dense enough (and blurred where cheap) to keep text crisp. */
html[data-theme="dark"].nw-bgfx-on .pdp-info,
html[data-theme="dark"].nw-bgfx-on .prose,
html[data-theme="dark"].nw-bgfx-on .hero-stats{
  background:linear-gradient(135deg,rgba(16,16,16,.74),rgba(0,0,0,.8));
}
html[data-theme="dark"].nw-bgfx-on .pdp-media{
  background:linear-gradient(135deg,rgba(16,16,16,.6),rgba(0,0,0,.7));
}
html[data-theme="dark"].nw-bgfx-on .shop-grid .glass{
  background:linear-gradient(160deg,rgba(18,18,18,.62),rgba(0,0,0,.74));
}
/* Light: slightly lighter frost on catalog cards so the violet ribbons show. */
html[data-theme="light"].nw-bgfx-on .shop-grid .glass{
  background:linear-gradient(135deg,rgba(255,255,255,.74),rgba(255,255,255,.46));
}
/* Let the ribbons read through the product stages around cut-out models. */
html[data-theme="dark"].nw-bgfx-on .scard .stage{
  background:radial-gradient(110% 85% at 50% 18%,rgba(26,26,26,.7) 0,rgba(10,10,10,.76) 55%,rgba(0,0,0,.84) 100%);
}
