.mms-trust {
	--mms-accent: #1a7f37;
	--mms-accent-soft: rgba(26, 127, 55, 0.14);
	--mms-surface: #f2f9f4;
	--mms-border: #cfe7d6;
	--mms-text: #17331f;
	--mms-muted: #5c7666;

	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 14px 0;
	padding: 13px 15px;
	max-width: 480px;
	border: 1px solid var(--mms-border);
	border-radius: 12px;
	background: var(--mms-surface);
	color: var(--mms-text);
	font-size: 13px;
	line-height: 1.8;
	animation: mms-panel-in 0.5s ease-out both;
}

@keyframes mms-panel-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ---------------------------------------------------------- trust icon */

.mms-trust__icon {
	flex: 0 0 auto;
	display: inline-flex;
	margin-top: 1px;
}

.mms-trust__icon svg {
	overflow: visible;
}

.mms-trust__ring,
.mms-trust__disc {
	stroke: var(--mms-accent);
	fill: none;
}

.mms-trust__disc {
	fill: var(--mms-accent-soft);
	stroke-width: 0;
	transform-origin: center;
	animation: mms-disc-in 0.5s ease-out 0.05s both;
}

.mms-trust__ring {
	stroke-width: 1.5;
	opacity: 0.9;
}

.mms-trust__ring {
	stroke-dasharray: 63;
	stroke-dashoffset: 63;
	animation: mms-ring-draw 0.6s ease-out 0.1s forwards;
}

.mms-trust__check {
	fill: none;
	stroke: var(--mms-accent);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 14;
	stroke-dashoffset: 14;
	animation: mms-check-draw 0.35s ease-out 0.55s forwards;
}

/* A soft, continuous pulse behind the icon signals "live" without ever
   implying any single product's data is more or less fresh than another's —
   the claim is about the system, so every product gets the same pulse. */
.mms-trust__icon::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid var(--mms-accent);
	opacity: 0;
	animation: mms-pulse 2.8s ease-out 1s infinite;
}

.mms-trust__icon {
	position: relative;
}

@keyframes mms-disc-in {
	from {
		transform: scale(0.6);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes mms-ring-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes mms-check-draw {
	to {
		stroke-dashoffset: 0;
	}
}

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

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

	100% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mms-trust,
	.mms-trust__disc,
	.mms-trust__ring,
	.mms-trust__check {
		animation: none;
		opacity: 1;
		transform: none;
		stroke-dashoffset: 0;
	}

	.mms-trust__icon::after {
		animation: none;
		display: none;
	}
}

/* ---------------------------------------------------------------- body */

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

.mms-trust p {
	margin: 0;
}

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

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

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

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

.mms-trust__date {
	margin-top: 6px !important;
	font-size: 11.5px;
	color: var(--mms-muted);
	opacity: 0.85;
}

@media (max-width: 480px) {
	.mms-trust {
		font-size: 12.5px;
		padding: 11px 13px;
	}
}
