/* ---------- Recent purchases pop-up (social proof) ---------- */

.evt-social-proof {
	position: fixed;
	z-index: 99999;
	bottom: max(16px, env(safe-area-inset-bottom));
	pointer-events: none;
	display: flex;
	max-width: 340px;
	width: calc(100% - 32px);
}

.evt-social-proof.evt-sp-bottom-left  { left: 16px; }
.evt-social-proof.evt-sp-bottom-right { right: 16px; }

.evt-sp-card {
	pointer-events: auto;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	background: var(--evt-white, #fff);
	border: 1px solid rgba(1,25,38,0.08);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(1,25,38,0.16), 0 2px 8px rgba(1,25,38,0.08);
	padding: 13px 14px;
	font-family: 'DM Sans', Helvetica, Arial, sans-serif;
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition: opacity .35s ease, transform .35s ease;
}
.evt-sp-card.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.evt-sp-check {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eaf6ee;
	color: #1d7a3c;
	margin-top: 1px;
}

.evt-sp-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.evt-sp-line1 {
	font-size: 13.5px;
	color: #2b2820;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.evt-sp-line1 strong {
	color: var(--evt-ink, #011926);
	font-weight: 700;
}
.evt-sp-line2 {
	font-size: 13px;
	color: var(--evt-ink, #011926);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.evt-sp-time {
	font-size: 11.5px;
	color: #928a78;
}

.evt-sp-close {
	flex: 0 0 auto;
	background: transparent;
	border: none;
	padding: 4px;
	margin: -4px -4px 0 0;
	color: #a39a86;
	cursor: pointer;
	border-radius: 50%;
	line-height: 0;
}
.evt-sp-close:hover { color: #6b6457; background: rgba(1,25,38,0.06); }

@media (max-width: 480px) {
	.evt-social-proof { max-width: none; width: calc(100% - 24px); }
	.evt-social-proof.evt-sp-bottom-left  { left: 12px; }
	.evt-social-proof.evt-sp-bottom-right { right: 12px; }
	.evt-sp-card { padding: 11px 12px; border-radius: 10px; }
	.evt-sp-line1, .evt-sp-line2 { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
	.evt-sp-card { transition: opacity .15s linear; transform: none; }
}
