/**
 * Mascota YoLaburo — home buscador (mobile-first).
 */

.zp-yolaburo-search-mascot-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	position: relative;
	z-index: 50;
}

body.zp-yolaburo-home-mascot .zp-yolaburo-search-mascot-row .zp-app-search-wrap {
	width: 100%;
	max-width: none;
	padding-top: 0;
}

.zp-yolaburo-mascot {
	order: -1;
	margin: 0 0 -18px;
	padding: 0;
	width: clamp(88px, 26vw, 112px);
	flex-shrink: 0;
	line-height: 0;
	position: relative;
	z-index: 55;
	pointer-events: none;
	user-select: none;
	align-self: center;
}

.zp-yolaburo-mascot__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.12));
}

@media (min-width: 900px) {
	.zp-yolaburo-search-mascot-row {
		flex-direction: row;
		align-items: flex-end;
		justify-content: center;
		gap: 0;
		max-width: 720px;
	}

	body.zp-yolaburo-home-mascot .zp-yolaburo-search-mascot-row .zp-app-search-wrap {
		flex: 1 1 480px;
		max-width: 480px;
		padding-right: 0;
	}

	.zp-yolaburo-mascot {
		order: 1;
		width: clamp(140px, 16vw, 180px);
		margin: 0 0 8px -12px;
		align-self: flex-end;
	}

	.zp-yolaburo-mascot__img {
		filter: drop-shadow(0 10px 24px rgba(15, 23, 42, 0.14));
	}
}

@media (prefers-reduced-motion: no-preference) {
	.zp-yolaburo-mascot__img {
		animation: zp-yolaburo-mascot-float 4.5s ease-in-out infinite;
	}
}

@keyframes zp-yolaburo-mascot-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-4px);
	}
}
