/**
 * WOW Sparkle Overlay — front-end styles.
 *
 * The widget wrapper is lifted out of the flex/grid flow and stretched over its
 * parent container so it contributes no height and never shifts the layout.
 */

.elementor-element.elementor-widget-wow-sparkle-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	pointer-events: none;
	z-index: 1;
}

/* Elementor containers are already relatively positioned, but older sections
   and third-party wrappers are not. This covers both. */
.e-con:has( > .elementor-widget-wow-sparkle-overlay ),
.e-con-inner:has( > .elementor-widget-wow-sparkle-overlay ),
.elementor-widget-wrap:has( > .elementor-widget-wow-sparkle-overlay ) {
	position: relative;
}

.wow-sparkle-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
}

.wow-sparkle-overlay__canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.wow-sparkle-overlay.is-hidden {
	display: none;
}

/* Editor affordance: a small tag so the overlay can be grabbed on canvas. */
.wow-sparkle-overlay--editing {
	outline: 1px dashed rgba( 125, 125, 125, 0.5 );
	outline-offset: -1px;
}

.wow-sparkle-overlay__tag {
	position: absolute;
	top: 6px;
	left: 6px;
	padding: 2px 8px;
	border-radius: 3px;
	background: rgba( 0, 0, 0, 0.65 );
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.6;
	pointer-events: auto;
	white-space: nowrap;
}
