/* BEEGITAL Ambient Layers: separate additive decorative layer.
   Does not replace theme backgrounds, visuals, logos, typography or animations. */
.bgl-ambient-section {
    position: relative;
    isolation: isolate;
}
.bgl-ambient-section > canvas.bgl-ambient-extension {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-mask-image: linear-gradient(180deg,transparent 0%,#000 10%,#000 88%,transparent 100%);
    mask-image: linear-gradient(180deg,transparent 0%,#000 10%,#000 88%,transparent 100%);
}
.bgl-ambient-section[data-bgl-ambient="dark"] > canvas.bgl-ambient-extension {
    opacity: .82;
    mix-blend-mode: screen;
}
.bgl-ambient-section[data-bgl-ambient="light"] > canvas.bgl-ambient-extension {
    opacity: .83;
    mix-blend-mode: multiply;
}
/* Place existing, static direct children above the new canvas.
   Absolutely positioned original decorations keep their pre-existing layout. */
.bgl-ambient-section > .bgl-ambient-foreground {
    position: relative;
    z-index: 1;
}
@media (max-width: 767px) {
    .bgl-ambient-section[data-bgl-ambient] > canvas.bgl-ambient-extension {
        opacity: .38;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bgl-ambient-section[data-bgl-ambient] > canvas.bgl-ambient-extension {
        opacity: .30;
    }
}

/* Correction 1: make only the small grey labels in the approved homepage
   system map legible; leave logos, colors, geometry and animations untouched. */
body.home .system-map .system-node > span:last-child {
    color: #cad1dc !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}
body.home .system-map .system-map__footer,
body.home .system-map .system-map__footer > span {
    color: #bec6d1 !important;
    font-size: 10px !important;
}
body.home .system-map .system-map__live {
    color: #c9d0d9 !important;
    font-size: 11px !important;
}
body.home .system-map .system-map__footer strong {
    color: #d4dae2 !important;
    font-size: 10px !important;
}

/* v1.2.0: keep honeycomb clearly visible against Black Friday section surfaces.
   No foreground/content style changes. */
.beegital-bf2026 > .bgl-ambient-section[data-bgl-ambient="dark"] > canvas.bgl-ambient-extension {
    opacity: .94;
}


/* BF mobile/subtle and reduced-motion v1.2.1: same as existing site policy.
   Desktop colors, animation and approved foreground are unchanged. */
@media (max-width: 767px) {
  .beegital-bf2026 > .bgl-ambient-section[data-bgl-ambient="dark"] > canvas.bgl-ambient-extension {
    opacity: .38;
  }
}
@media (prefers-reduced-motion: reduce) {
  .beegital-bf2026 > .bgl-ambient-section[data-bgl-ambient="dark"] > canvas.bgl-ambient-extension {
    opacity: .30;
  }
}


/* v1.3.0 – full-bleed waves on light sections. Width applies to canvas only.
   Text, cards, navigation and approved responsive containers stay unchanged. */
.bgl-ambient-section.bgl-ambient-fullbleed > canvas.bgl-ambient-extension {
  left: 50%;
  right: auto;
  width: 100vw;
  max-width: none;
  transform: translateX(-50%);
}

/* Commerce and Hosting need visible walls above their own dark surfaces.
   The overlay remains decorative and cannot receive clicks or focus. */
.bgl-ambient-section.bgl-ambient-enhanced[data-bgl-ambient="dark"] > canvas.bgl-ambient-extension {
  opacity: .96;
}
@media(max-width: 767px) {
  .bgl-ambient-section.bgl-ambient-enhanced[data-bgl-ambient="dark"] > canvas.bgl-ambient-extension {
    opacity: .38;
  }
}
@media(prefers-reduced-motion:reduce) {
  .bgl-ambient-section.bgl-ambient-enhanced[data-bgl-ambient="dark"] > canvas.bgl-ambient-extension {
    opacity: .30;
  }
}

/* Shop hero text protection: keep the new hex effect toward the right while
   the existing title and grey introduction retain their approved contrast. */
main.beegital-commerce > canvas.bgl-ambient-extension { opacity: .82 !important; }
.beegital-store-hero > canvas.bgl-ambient-extension {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 41%, rgba(0,0,0,.25) 64%, #000 95%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 41%, rgba(0,0,0,.25) 64%, #000 95%);
}
@media(max-width:767px){
  main.beegital-commerce > canvas.bgl-ambient-extension {opacity: .38 !important;}
}
@media(prefers-reduced-motion: reduce){
  main.beegital-commerce > canvas.bgl-ambient-extension {opacity: .30 !important;}
}
