/* mm-whatsapp-preform (DEV-02). Colores del theme.json. Secundario frente al CTA amarillo. */
.mm-wa-boton {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 50;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Verde de WhatsApp con halo claro: se distingue sobre fondos azules y blancos (PO, 05-nov; referencia aotronivelfit.com) */
	background: #25d366;
	color: #fff;
	box-shadow: 0 0 0 7px rgb(37 211 102 / 22%), 0 10px 15px -3px rgb(0 0 0 / 15%), 0 4px 6px -4px rgb(0 0 0 / 12%);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mm-wa-boton:hover { background: #1ebe5b; transform: scale(1.05); box-shadow: 0 0 0 9px rgb(37 211 102 / 26%), 0 10px 15px -3px rgb(0 0 0 / 18%); }
.mm-wa-boton:focus-visible { outline: 3px solid var(--wp--preset--color--amarillo); outline-offset: 3px; }

.mm-wa {
	width: min(440px, calc(100vw - 2rem));
	max-height: calc(100vh - 2rem);
	border: 0;
	border-radius: 10px;
	padding: 0;
	color: var(--wp--preset--color--texto);
	background: var(--wp--preset--color--blanco);
}
.mm-wa::backdrop { background: color-mix(in srgb, var(--wp--preset--color--azul) 60%, transparent); }
.mm-wa__form { position: relative; display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem; }
.mm-wa__titulo { margin: 0 2rem 0.25rem 0; font-size: var(--wp--preset--font-size--x-large); }
.mm-wa__apoyo { margin: 0 0 0.75rem; }
.mm-wa label, .mm-wa legend { font-weight: 700; color: var(--wp--preset--color--azul); }
.mm-wa input[type="text"], .mm-wa textarea {
	font: inherit;
	font-size: 16px; /* 16 px o más: iPhone no amplía la página al tocar el campo */
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--wp--preset--color--suave);
	border-radius: 6px;
	margin-bottom: 0.5rem;
	width: 100%;
	box-sizing: border-box;
}
.mm-wa input:focus-visible, .mm-wa textarea:focus-visible { outline: 3px solid var(--wp--preset--color--azul); outline-offset: 1px; }
.mm-wa__entrega { border: 0; padding: 0; margin: 0 0 0.5rem; }
.mm-wa__entrega label { font-weight: 400; color: var(--wp--preset--color--texto); display: flex; gap: 0.5rem; align-items: center; margin-top: 0.35rem; }
.mm-wa__error { color: var(--wp--preset--color--rojo); font-weight: 700; margin: 0; }
.mm-wa__enviar { margin-top: 0.5rem; cursor: pointer; border: 0; }
.mm-wa__cerrar {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--wp--preset--color--azul);
	cursor: pointer;
}
.mm-wa__cerrar:focus-visible { outline: 3px solid var(--wp--preset--color--azul); }
