/* Header Transparente en frontend (no bloquea edición en el editor) */
body:not(.elementor-editor-active) .avhf-transparent-yes {
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 998;
}

/* Transiciones suaves para efectos de scroll */
.avhf-sticky-el {
	transition:
		background-color 0.28s ease,
		padding 0.28s ease,
		box-shadow 0.28s ease,
		border-color 0.28s ease,
		transform 0.28s ease,
		backdrop-filter 0.28s ease;
}

.avhf-sticky-el.avhf-sticky--active {
	position: fixed !important;
	left: 0;
	right: 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.avhf-sticky-el.avhf-sticky--hidden {
	transform: translateY(-110%);
}

.avhf-sticky-spacer {
	pointer-events: none;
	visibility: hidden;
}

/* Shrink de logo mediante variable CSS */
.avhf-sticky-el .avhf-site-logo img {
	transition: transform 0.28s ease;
	transform: scale(var(--avhf-logo-scale, 1));
	transform-origin: left center;
}

/* Intercambio de logo alternativo al hacer scroll */
.avhf-site-logo .avhf-logo-sticky {
	display: none;
}

.avhf-swap-logo-yes.avhf-sticky--effects .avhf-site-logo.avhf-has-sticky-logo .avhf-logo-default {
	display: none;
}

.avhf-swap-logo-yes.avhf-sticky--effects .avhf-site-logo.avhf-has-sticky-logo .avhf-logo-sticky {
	display: inline-block;
}
