.mms-freshness {
	--mms-accent: #1a7f37;
	--mms-surface: #f2f9f4;
	--mms-border: #cfe7d6;
	--mms-text: #17331f;
	--mms-muted: #4d6553;

	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 14px 0;
	padding: 12px 14px;
	max-width: 480px;
	border: 1px solid var(--mms-border);
	border-radius: 10px;
	background: var(--mms-surface);
	color: var(--mms-text);
	font-size: 13px;
	line-height: 1.75;
}

.mms-freshness--recent,
.mms-freshness--stable {
	--mms-accent: #2b6cb0;
	--mms-surface: #f2f7fc;
	--mms-border: #cfe0f0;
	--mms-text: #1a2f45;
	--mms-muted: #4a6079;
}

.mms-freshness__pulse {
	position: relative;
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin-top: 8px;
	border-radius: 50%;
	background: var(--mms-accent);
}

.mms-freshness--live .mms-freshness__pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var(--mms-accent);
	opacity: 0;
	animation: mms-pulse 2.4s ease-out infinite;
}

@keyframes mms-pulse {
	0% {
		transform: scale(0.6);
		opacity: 0.7;
	}

	70% {
		transform: scale(1.5);
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mms-freshness--live .mms-freshness__pulse::after {
		animation: none;
	}
}

.mms-freshness__body {
	flex: 1 1 auto;
	min-width: 0;
}

.mms-freshness p {
	margin: 0;
}

.mms-freshness__headline {
	font-weight: 600;
}

.mms-freshness__stock {
	margin-top: 2px !important;
	color: var(--mms-muted);
}

.mms-freshness__stock--low {
	color: #9a3412;
	font-weight: 600;
}

.mms-freshness__stock--out {
	color: var(--mms-muted);
}

.mms-freshness__assurance {
	margin-top: 4px !important;
	color: var(--mms-muted);
	font-size: 12px;
}

@media (max-width: 480px) {
	.mms-freshness {
		font-size: 12.5px;
		padding: 10px 12px;
	}
}
