/**
 * CF Widgets — Countdown
 *
 * Dois estilos fiéis ao site actual:
 * — hero: pill castanha grande com caixas de unidades;
 * — nav:  versão mini para a barra de navegação.
 */

.cf-cd {
	display: inline-flex;
	align-items: center;
	background: var( --cf-brown, #3D1C08 );
}

.cf-cd-dot {
	border-radius: 50%;
	animation: cf-cd-pulse 1.5s infinite;
	flex-shrink: 0;
}

@keyframes cf-cd-pulse {
	0%, 100% { opacity: 1; transform: scale( 1 ); }
	50%      { opacity: .4; transform: scale( .8 ); }
}

@media ( prefers-reduced-motion: reduce ) {
	.cf-cd-dot { animation: none; }
}

.cf-cd-label {
	color: rgba( 255, 255, 255, 0.5 );
	white-space: nowrap;
}

.cf-cd-units {
	display: flex;
	align-items: center;
}

.cf-cd-n {
	display: block;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

.cf-cd-l {
	display: block;
	color: rgba( 255, 255, 255, 0.4 );
	letter-spacing: 1px;
	text-transform: uppercase;
}

.cf-cd-sep {
	color: rgba( 255, 255, 255, 0.3 );
	font-weight: 700;
}

/* Texto final quando a contagem termina. */
.cf-cd--terminado b {
	color: #fff;
}

/* ── Estilo hero ─────────────────────────────────────────────── */

.cf-cd--hero {
	gap: 12px;
	border-radius: 60px;
	padding: 14px 28px 14px 20px;
}

.cf-cd--hero .cf-cd-dot { width: 10px; height: 10px; }
.cf-cd--hero .cf-cd-label { font-size: 13px; }
.cf-cd--hero .cf-cd-units { gap: 6px; }

.cf-cd--hero .cf-cd-u {
	background: rgba( 255, 255, 255, 0.1 );
	border-radius: 10px;
	padding: 6px 14px;
	text-align: center;
	min-width: 52px;
}

.cf-cd--hero .cf-cd-n { font-size: 22px; }
.cf-cd--hero .cf-cd-l { font-size: 10px; margin-top: 3px; }
.cf-cd--hero .cf-cd-sep { font-size: 20px; }

/* ── Estilo nav (mini) ───────────────────────────────────────── */

.cf-cd--nav {
	gap: 8px;
	border-radius: 50px;
	padding: 7px 16px 7px 12px;
}

.cf-cd--nav .cf-cd-dot { width: 7px; height: 7px; }

.cf-cd--nav .cf-cd-label {
	font-size: 11px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.cf-cd--nav .cf-cd-units { gap: 4px; }

.cf-cd--nav .cf-cd-u {
	text-align: center;
	min-width: 28px;
}

.cf-cd--nav .cf-cd-n { font-size: 14px; }
.cf-cd--nav .cf-cd-l { font-size: 8px; letter-spacing: 0.5px; }

.cf-cd--nav .cf-cd-sep {
	font-size: 13px;
	line-height: 1;
	padding-bottom: 8px;
}

/* ── Mobile ──────────────────────────────────────────────────── */

@media ( max-width: 768px ) {
	.cf-cd--hero {
		flex-wrap: wrap;
		justify-content: center;
		border-radius: 24px;
		padding: 12px 16px;
		gap: 8px;
	}
}
