/* «Avisarme de novedades» (YZMF_Push).
 * Los botones llevan la clase e-button-base: su aspecto (cristal ámbar, radio,
 * tipografía, hover) sale del estilo general de botones de yzmf-site.css.
 * Aquí solo va la colocación y lo propio de los avisos. */
.yzmf-avisos-btn[hidden], .yzmf-avisos-float[hidden] { display: none !important; }
.yzmf-avisos-btn:disabled { opacity: .6; cursor: progress; }
.yzmf-avisos-btn__icon {
	width: 16px; height: 16px; flex: none; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Flotante: abajo a la izquierda, aparece al hacer scroll. */
.yzmf-avisos-float {
	position: fixed; left: 20px; bottom: 20px; z-index: 9990;
	opacity: 0; transform: translateY(12px);
	transition: opacity .3s, transform .3s, background .25s, border-color .25s;
}
.yzmf-avisos-float.is-in { opacity: 1; transform: none; }
.yzmf-avisos-float__x {
	margin-left: 4px; padding: 0 2px; font-size: 18px; line-height: 1; opacity: .7;
}
.yzmf-avisos-float__x:hover { opacity: 1; }

/* Tarjeta previa al permiso del navegador. */
.yzmf-avisos-card {
	box-sizing: border-box;
	position: fixed; left: 20px; bottom: 20px; z-index: 99990;
	width: min(360px, calc(100vw - 40px)); padding: 20px 20px 16px;
	border-radius: 18px; background: #1A1917; border: 1px solid #2A2926; color: #C9C5BD;
	font: 400 14px/1.5 Inter, system-ui, sans-serif; box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
	animation: yzmf-avisos-in .25s ease;
}
.yzmf-avisos-card p { margin: 0 0 12px; }
.yzmf-avisos-card b { color: #EDEBE6; }
.yzmf-avisos-card__title { font: 700 18px/1.25 Archivo, Inter, sans-serif; color: #EDEBE6; }
.yzmf-avisos-card__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
/* «Ahora no» con la variante secundaria (blanca) del estilo general. */
body[class*="elementor-kit-"] .yzmf-avisos-card .yzmf-avisos-card__no {
	--_bg: var(--yzmf-btn-sec-bg);
	--_bg-h: var(--yzmf-btn-sec-bg-hover);
	--_bd: var(--yzmf-btn-sec-border);
	--_bd-h: var(--yzmf-btn-sec-border-hover);
	--_tx: var(--yzmf-btn-sec-text);
}

.yzmf-avisos-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 99991; max-width: calc(100vw - 40px);
	padding: 12px 18px; border-radius: 12px; background: #EDEBE6; color: #141210;
	font: 500 14px/1.4 Inter, system-ui, sans-serif;
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.yzmf-avisos-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@keyframes yzmf-avisos-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
	.yzmf-avisos-float { left: 12px; bottom: 12px; }
	.yzmf-avisos-card { left: 12px; bottom: 12px; width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) {
	.yzmf-avisos-float, .yzmf-avisos-card, .yzmf-avisos-toast { transition: none; animation: none; }
}
