/* One quiet landscape moment per selected inner page. No flow, type or colour changes. */
.song-elegance-commerce .song-commerce :is(.woocommerce-products-header,.product-story-band)::before {
  background-image: url('../song-elegance/landscape-atmosphere.webp');
  background-repeat: no-repeat;
  background-size: cover;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: none;
  transition: none;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent), linear-gradient(transparent, #000 35%, #000 72%, transparent);
  mask-composite: intersect;
}
/* Dissolve beyond the heading into its existing margins, never into product cards. */
.song-elegance-commerce .song-commerce .woocommerce-products-header::before {
  inset: -24px 0 -24px 24%;
  background-position: 65% bottom;
  opacity: .18;
}
/* Use the existing interlude, with a soft continuation into its reserved clear space. */
.song-elegance-commerce .song-commerce .product-story-band::before {
  inset: -40px 0 -24px 44%;
  background-position: center bottom;
  opacity: .18;
}
@media (max-width: 900px) {
  .song-elegance-commerce .song-commerce .woocommerce-products-header::before {
    opacity: .13;
  }
  .song-elegance-commerce .song-commerce .product-story-band::before { inset: -32px 0 -20px 36%; opacity: .12; }
}
@media (max-width: 600px) {
  .song-elegance-commerce .song-commerce .woocommerce-products-header::before {
    inset: -16px 0 -16px 10%;
    background-position: 55% bottom;
    opacity: .09;
  }
  .song-elegance-commerce .song-commerce .product-story-band::before {
    inset: -20px 0 -20px 0;
    background-position: 55% bottom;
    opacity: .08;
  }
}
/* The desktop login has spare canvas to the right of its 640px form. Keep a 40px gap.
   No Account scenery on narrower screens, authenticated endpoints or password reset. */
@media (min-width: 1200px) {
  .song-elegance-account:not(.logged-in) .song-account:has(.woocommerce-form-login):not(:has(.woocommerce-form-register)) { position: relative; isolation: isolate; }
  .song-elegance-account:not(.logged-in) .song-account:has(.woocommerce-form-login):not(:has(.woocommerce-form-register))::before {
    content: '';
    position: absolute;
    inset: auto 0 40px 680px;
    height: 360px;
    z-index: -1;
    background: url('../song-elegance/landscape-atmosphere.webp') center bottom / auto 100% no-repeat;
    opacity: .18;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 78%, transparent), linear-gradient(transparent, #000 35%, #000 75%, transparent);
    mask-composite: intersect;
    pointer-events: none;
    animation: none;
    transition: none;
  }
}
/* Engines without intersecting masks receive clean paper instead of a hard image edge. */
@supports not (mask-composite: intersect) {
  .song-elegance-commerce .song-commerce :is(.woocommerce-products-header,.product-story-band)::before { background-image: none; }
  .song-elegance-account .song-account::before { content: none; }
}
