/* CTA Pill (235:30), CTA Button telefono (235:93), CTA banner (235:356), striscia Zona (235:135). */
.cc-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--cc-red);
	color: #fff;
	justify-content: center;
	text-decoration: none;
	font-weight: 600; /* 0.10.0 (B3): stesso peso ovunque */
	line-height: 1.3;
	transition: background-color var(--cc-ease);
}

.cc-cta__circle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	background: #fff;
	border-radius: var(--wp--custom--radius--tondo);
	color: var(--cc-red);
	transition: transform var(--cc-ease);
}

.cc-cta--pill {
	padding: 15px 28px; /* 06/11: pillola semplice ovunque, senza cerchio (era 10/10/10/26 con cerchio freccia) */
	border-radius: var(--wp--custom--radius--pill);
	font-size: var(--wp--preset--font-size--cta);
}

.cc-cta--pill .cc-cta__circle,
.cc-cta--phone .cc-cta__circle {
	display: none; /* 06/11: come hero home e landing */
}

.cc-cta--phone {
	gap: 12px;
	padding: 15px 28px; /* 06/11: come la pillola, senza cerchio telefono */
	border-radius: var(--wp--custom--radius--tondo);
	font-size: var(--wp--preset--font-size--cta);
}

.cc-cta--phone .cc-cta__circle {
	width: 36px;
	height: 36px;
	background: none;
}

/* Banner: pillola rossa + cerchio bianco separato (la pillola e l'etichetta). */
.cc-cta--banner {
	background: none;
	border-radius: var(--wp--custom--radius--tondo); /* 0.10.1 (R6): l'anello di focus segue la pillola */
	gap: 10px;
}

.cc-cta--banner .cc-cta__label {
	display: inline-flex;
	align-items: center;
	min-height: 48px; /* taglia M */
	padding: 13px 26px;
	background: var(--cc-red);
	border-radius: var(--wp--custom--radius--tondo);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--outro);
	transition: background-color var(--cc-ease);
}

.cc-cta--banner .cc-cta__circle {
	width: 48px;
	height: 48px;
	color: var(--cc-navy);
}

.cc-cta--banner .cc-arrow {
	width: 20px;
	height: 20px;
}

.cc-cta--strip {
	padding: 13px 26px;
	border-radius: var(--wp--custom--radius--tondo);
	font-size: var(--wp--preset--font-size--outro);
	white-space: nowrap;
}

/* Pillola piena (340:20 CTA del rail SEO; 235:541 Prezzi con size lg, senza freccia). */
.cc-cta--solid {
	gap: 10px;
	padding: 15px 28px;
	border-radius: var(--wp--custom--radius--tondo);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--cta);
}

.cc-cta--solid .cc-arrow {
	width: 16px;
	height: 16px;
}

.cc-cta--lg {
	padding: 15px 28px; /* L come le altre pillole: la variante lg non cambia piu la taglia */
	font-size: var(--wp--preset--font-size--cta);
}

/* 0.10.0 (B3) - Scala unica dei pulsanti. L: 56 (52 su mobile), corpo 20 (16). M: 48, corpo 17. S: 44, corpo 15 (banner cookie).
   Le altezze sono fissate con min-height cosi non dipendono dall'interlinea del font. */
.cc-cta--pill,
.cc-cta--phone,
.cc-cta--solid,
.cc-cta--outline {
	min-height: 56px;
}

/* 0.10.2: L con bordo navy (pagina 404). Il bordo e interno alla taglia: padding ridotto di 2 px. */
.cc-cta--outline {
	padding: 13px 26px;
	background: transparent;
	border: 2px solid var(--cc-navy);
	border-radius: var(--wp--custom--radius--pill);
	color: var(--cc-navy);
	font-size: var(--wp--preset--font-size--cta);
}

@media (hover: hover) {
	.cc-cta.cc-cta--outline:hover {
		background: var(--cc-navy);
		color: #fff;
	}
}

.cc-cta--strip {
	min-height: 48px;
}

@media (hover: hover) {
	.cc-cta:hover {
		background: var(--cc-red-hover);
	}

	.cc-cta--banner:hover {
		background: none;
	}

	.cc-cta--banner:hover .cc-cta__label {
		background: var(--cc-red-hover);
	}

	.cc-cta:hover .cc-cta__circle {
		transform: translateX(2px);
	}
}

@media (max-width: 768px) {
	.cc-cta--pill,
	.cc-cta--phone,
	.cc-cta--solid,
	.cc-cta--outline,
	.cc-cta--lg {
		min-height: 52px;
		padding: 15px 24px;
		font-size: var(--wp--preset--font-size--body);
	}

	.cc-cta--outline {
		padding: 13px 22px; /* il bordo da 2 px sta dentro i 52 */
	}

	.cc-cta--solid .cc-arrow {
		width: 14px;
		height: 14px;
	}
}
