/* TCM Leaf Decorator - base styles */

.tcm-leaf-decor {
	position: relative;
}

.tcm-leaf-container {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: visible;
	z-index: 5;
}

.tcm-leaf-wrap {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.tcm-leaf-img {
	display: block;
	opacity: 0;
	transform: scale(0);
	transition:
		transform var(--tcm-leaf-duration, 450ms) cubic-bezier(0.34, 1.56, 0.64, 1),
		opacity var(--tcm-leaf-duration, 350ms) ease;
	transition-delay: var(--tcm-leaf-delay, 0ms);
	will-change: transform, opacity;
}

.tcm-leaf-decor.tcm-leaf-active .tcm-leaf-img {
	opacity: 1;
	transform: scale(1);
}
