/* ANTA Web App: stesso formato del logo nell'header (riquadro bianco, 52px, 44px su smartphone). */
.anta-webapp-pulsante {
	display: none;
	flex: 0 0 auto;
	box-sizing: border-box;
	height: 52px;
	width: 100px;
	margin: 0;
	padding: 4px 8px;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 0;
	border-radius: 10px;
	background: #ffffff;
	color: #14532d;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	font-family: "DMSans", "DM Sans", Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
html.anta-webapp-si .anta-webapp-pulsante {
	display: inline-flex;
}
.anta-webapp-pulsante svg {
	flex: 0 0 auto;
}
.anta-webapp-pulsante:active {
	background: #f0fdf4;
}
.anta-webapp-pulsante:focus-visible {
	outline: 3px solid #eab308;
	outline-offset: 2px;
}
@media (max-width: 600px) {
	.anta-webapp-pulsante {
		height: 44px;
		width: 84px;
		gap: 4px;
		padding: 4px 6px;
		font-size: 12px;
	}
	.anta-webapp-pulsante svg {
		width: 18px;
		height: 18px;
	}
}

/* Con il pulsante, la prima colonna dell'header segue logo + pulsante e il logo non si comprime. */
html.anta-webapp-si header .hostinger-ai-menu-wrapper {
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 8px;
}
html.anta-webapp-si header .wp-block-site-logo {
	flex: 0 0 auto;
}
@media (max-width: 360px) {
	.anta-webapp-pulsante {
		width: 72px;
		padding: 4px;
		font-size: 11px;
	}
}

.anta-webapp-guida {
	box-sizing: border-box;
	width: min(92vw, 400px);
	padding: 24px;
	border: 0;
	border-top: 4px solid #14532d;
	border-radius: 12px;
	background: #ffffff;
	color: #1f2937;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.anta-webapp-guida::backdrop {
	background: rgba(0, 0, 0, 0.5);
}
.anta-webapp-guida h2 {
	margin: 0 0 8px;
	color: #14532d;
	font-size: 1.3rem;
	font-weight: 400;
}
.anta-webapp-guida p {
	margin: 0 0 12px;
	font-size: 0.95rem;
	line-height: 1.5;
}
.anta-webapp-guida ol {
	margin: 0 0 12px;
	padding-left: 20px;
	font-size: 1rem;
	line-height: 1.5;
}
.anta-webapp-guida li {
	margin-bottom: 6px;
}
.anta-webapp-guida .anta-webapp-nota {
	color: #4b5563;
	font-size: 0.85rem;
}
.anta-webapp-guida [hidden] {
	display: none;
}
#anta-webapp-chiudi {
	width: 100%;
	min-height: 44px;
	border: 0;
	border-radius: 8px;
	background: #14532d;
	color: #ffffff;
	font-family: "DMSans", "DM Sans", Montserrat, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}
