/* Countdown di lancio (inc/launch-countdown.php) */
.osm-countdown {
	--osm-cd-accent: var(--osm-accent, #537D5D);
	--osm-cd-ink: var(--osm-ink, #1D231E);
	--osm-cd-soft: var(--osm-soft, #F7F2E4);
	--osm-cd-line: var(--osm-line, #E2E2E2);
	color: var(--osm-cd-ink);
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.osm-countdown__icon {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--osm-cd-accent);
}

.osm-countdown__label {
	color: var(--osm-cd-accent);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
 * Card prodotto: una riga del blocco informazioni, stessi rientri (18px)
 * ------------------------------------------------------------------------- */

.osm-countdown--card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px 10px;
	flex-wrap: wrap;
	padding: 10px 18px;
	background: var(--osm-cd-soft);
	border-bottom: 1px solid var(--osm-cd-line);
}

.osm-countdown--card .osm-countdown__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
}

.osm-countdown--card .osm-countdown__time {
	font-size: 12px;
	white-space: nowrap;
}

.osm-countdown--card .osm-countdown__time b {
	font-size: 15px;
	font-weight: 600;
}

/* card strette (2 colonne da mobile): etichetta sopra, tempo sotto */
@container (max-width: 200px) {
	.osm-countdown--card {
		padding: 8px 12px;
	}
	.osm-countdown--card .osm-countdown__time b {
		font-size: 14px;
	}
}

/* ---------------------------------------------------------------------------
 * Scheda prodotto e categoria: etichetta + quattro contatori
 * ------------------------------------------------------------------------- */

.osm-countdown--single,
.osm-countdown--category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	flex-wrap: wrap;
	margin: 16px 0;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--osm-cd-soft);
}

.osm-countdown__head {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.osm-countdown--single .osm-countdown__time,
.osm-countdown--category .osm-countdown__time {
	display: flex;
	gap: 6px;
}

.osm-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 52px;
	padding: 6px 4px 5px;
	border-radius: 8px;
	background: #fff;
}

.osm-countdown__unit b {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.1;
}

.osm-countdown__unit small {
	margin-top: 2px;
	color: var(--osm-cd-accent);
	font-size: 10px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.osm-countdown--category {
	justify-content: center;
	gap: 12px 28px;
}

/* scheda prodotto: colonna stretta, etichetta sopra e contatori a tutta larghezza */
.osm-countdown--single {
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.osm-countdown--single .osm-countdown__unit {
	flex: 1 1 0;
	min-width: 0;
}

@media (max-width: 767px) {
	.osm-countdown--single,
	.osm-countdown--category {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.osm-countdown__head {
		justify-content: center;
	}
	.osm-countdown--single .osm-countdown__time,
	.osm-countdown--category .osm-countdown__time {
		justify-content: center;
	}
	.osm-countdown__unit {
		flex: 1 1 0;
		min-width: 0;
		max-width: 76px;
	}
}
