/* =============================================
   Elemance Widget — Counter
   ============================================= */

.elemance-counter {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.elemance-counter__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	line-height: 1;
	margin-bottom: 4px;
}

.elemance-counter__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.elemance-counter__row {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 2px;
	line-height: 1;
}

.elemance-counter__prefix,
.elemance-counter__suffix {
	font-size: 0.55em;
	font-weight: 800;
	line-height: 1;
}

.elemance-counter__number {
	font-size: 56px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -2px;
	transition: color 0.3s;
}

.elemance-counter__title {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 4px;
}

/* ── Layout: Inline (icon left of number) ─────── */
.elemance-counter--inline {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	text-align: left;
}

.elemance-counter--inline .elemance-counter__icon {
	flex-shrink: 0;
	margin-bottom: 0;
	width: 52px;
	height: 52px;
	background: rgba(108,99,255,0.1);
	border-radius: 14px;
}

.elemance-counter--inline .elemance-counter__row {
	justify-content: flex-start;
}

/* ── Layout: Stat Card (bordered box) ─────────── */
.elemance-counter--stat-card {
	background: #fff;
	border: 1.5px solid #e5e7eb;
	border-radius: 16px;
	padding: 28px 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	transition: box-shadow 0.25s, transform 0.25s;
}

.elemance-counter--stat-card:hover {
	box-shadow: 0 8px 32px rgba(108,99,255,0.14);
	transform: translateY(-3px);
}

.elemance-counter--stat-card .elemance-counter__icon {
	background: rgba(108,99,255,0.08);
	border-radius: 12px;
	padding: 10px;
	width: 52px;
	height: 52px;
	margin-bottom: 8px;
}
