/**
 * R33 — Leggibilità testi descrittivi (web_app cliente).
 * Scope: body.wa-client-app. Caricato per ultimo: batte editor.css e legacy.
 * Root cause storica: line-height ratio salvato come px (es. 1.65px → righe sovrapposte).
 */

body.wa-client-app .wa-lead,
body.wa-client-app .wa-help,
body.wa-client-app .wa-hint,
body.wa-client-app .wa-checkout-lead,
body.wa-client-app .wa-checkout-help,
body.wa-client-app .wa-checkout-hint,
body.wa-client-app .wa-checkout-delivery-lead,
body.wa-client-app .wa-checkout-delivery-fallback-lead,
body.wa-client-app .wa-lucy-hero-lead,
body.wa-client-app .wa-lucy-result-lead,
body.wa-client-app .wa-checkout-subtitle,
body.wa-client-app .wa-checkout-pagamento-lead,
body.wa-client-app .wa-checkout-marketing-hint,
body.wa-client-app .testoconsegna {
	display: block !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	max-width: 100% !important;
	color: var(--wa-muted-color, var(--wa-color-muted)) !important;
	font-family: var(--wa-font-body) !important;
	font-size: clamp(15px, 3.7vw, 16px) !important;
	font-weight: var(--wa-text-weight, 500) !important;
	line-height: 1.6 !important;
	letter-spacing: normal !important;
	white-space: normal !important;
	overflow: visible !important;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

body.wa-client-app .wa-checkout-delivery-lead,
body.wa-client-app .wa-checkout-delivery-fallback-lead {
	text-align: center;
	margin-bottom: 12px !important;
}

body.wa-client-app .wa-checkout-delivery-lead--second,
body.wa-client-app .wa-checkout-delivery-logged {
	margin-top: 0 !important;
	margin-bottom: 16px !important;
	font-size: clamp(14px, 3.4vw, 15px) !important;
	line-height: 1.6 !important;
	text-align: center;
}

body.wa-client-app .wa-checkout-delivery-lead *,
body.wa-client-app .wa-checkout-delivery-fallback-lead *,
body.wa-client-app .testoconsegna * {
	line-height: inherit !important;
}

body.wa-client-app .wa-checkout-delivery-lead strong,
body.wa-client-app .testoconsegna strong {
	color: var(--wa-text-color, var(--wa-color-text)) !important;
	font-weight: var(--wa-button-weight, 700) !important;
}

/* Blocco indirizzo: niente compressione verticale */
body.wa-client-app .wa-checkout-delivery-block,
body.wa-client-app .wa-co-delivery-dynamic-panel {
	overflow: visible !important;
	max-height: none !important;
}

body.wa-client-app .wa-checkout-delivery-title {
	line-height: var(--wa-line-tight, 1.15) !important;
	margin-bottom: 12px !important;
}

/* Hint sotto input — min 1.55, allineamento locale */
body.wa-client-app .wa-checkout-hint,
body.wa-client-app .wa-addr-esteso-help,
body.wa-client-app .wa-checkout-subtitle--stepper-hint,
body.wa-client-app .invalid-feedback,
body.wa-client-app .wa-slots-hint-optional {
	font-size: var(--wa-text-xs, 13px) !important;
	line-height: 1.55 !important;
	text-align: left;
	margin-bottom: 12px !important;
}

body.wa-client-app .wa-checkout-page .wa-checkout-hint,
body.wa-client-app .wa-checkout-page .wa-addr-esteso-help {
	text-align: center;
}

/* Messaggi checkout (info/warn) */
body.wa-client-app .wa-checkout-msg {
	line-height: 1.55 !important;
	white-space: normal !important;
	overflow: visible !important;
}

/* Titoli flusso: tight ratio, mai px da editor */
body.wa-client-app .wa-flow-page-title,
body.wa-client-app .iltuo,
body.wa-client-app .titolo_pagina {
	line-height: var(--wa-line-tight, 1.15) !important;
}
