.cv-vpds {
	--cv-vpds-accent: #0f766e;
	--cv-vpds-accent-2: var(--cv-vpds-display-accent, #f59e0b);
	--cv-vpds-soft: var(--cv-vpds-display-icon-bg, #ecfdf5);
	--cv-vpds-ink: var(--cv-vpds-display-text, #172033);
	--cv-vpds-muted: #64748b;
	align-items: center;
	background: var(--cv-vpds-display-bg, #ffffff);
	border: 1px solid var(--cv-vpds-display-border, rgba(15, 118, 110, 0.18));
	border-radius: var(--cv-vpds-display-radius, 8px);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
	color: var(--cv-vpds-ink);
	display: inline-flex;
	font-size: 14.5px;
	font-weight: 700;
	gap: 9px;
	line-height: 1.35;
	margin: 10px 0;
	padding: 9px 12px;
}

.cv-vpds-icon {
	align-items: center;
	background: var(--cv-vpds-soft);
	border: 1px solid rgba(15, 118, 110, 0.14);
	border-radius: 999px;
	color: var(--cv-vpds-display-accent, var(--cv-vpds-accent));
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	height: 26px;
	justify-content: center;
	width: 26px;
}

.cv-vpds-count {
	color: var(--cv-vpds-accent-2);
	font-variant-numeric: tabular-nums;
}

.cv-vpds--pill {
	border-radius: 999px;
	padding-right: 14px;
}

.cv-vpds--line {
	background: transparent;
	border: 0;
	border-left: 3px solid var(--cv-vpds-display-accent, var(--cv-vpds-accent));
	border-radius: 0;
	box-shadow: none;
	padding-left: 10px;
}

.cv-vpds--notice {
	background: var(--cv-vpds-display-bg, #f8fafc);
	border: 1px solid var(--cv-vpds-display-border, #d9e2ec);
	border-radius: 8px;
	display: flex;
	padding: 10px 12px;
	width: fit-content;
}

@media (max-width: 480px) {
	.cv-vpds {
		align-items: flex-start;
		font-size: 13.5px;
		max-width: 100%;
	}
}

.cv-vpds--badge {
	background: var(--cv-vpds-display-accent, var(--cv-vpds-accent));
	border-color: var(--cv-vpds-display-accent, var(--cv-vpds-accent));
	border-radius: 999px;
	color: #ffffff;
	box-shadow: none;
}

.cv-vpds--badge .cv-vpds-count,
.cv-vpds--badge .cv-vpds-icon {
	color: #ffffff;
}

.cv-vpds--badge .cv-vpds-icon {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.24);
}

.cv-vpds--card {
	align-items: flex-start;
	background: var(--cv-vpds-display-bg, linear-gradient(135deg, #ffffff 0%, #f8fafc 100%));
	border-radius: var(--cv-vpds-display-radius, 14px);
	display: flex;
	max-width: 360px;
	padding: 13px 14px;
}

.cv-vpds--no-shadow {
	box-shadow: none !important;
}

.cv-vpds-toast {
	bottom: 18px;
	max-width: min(360px, calc(100vw - 32px));
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: 18px;
	transform: translateY(12px);
	transition: opacity 240ms ease, transform 240ms ease;
	z-index: 99999;
}

.cv-vpds-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.cv-vpds-toast .cv-vpds {
	margin: 0;
	width: 100%;
}

.cv-vpds-toast--bottom-left {
	left: 18px;
	right: auto;
}

.cv-vpds-toast--top-right {
	bottom: auto;
	right: 18px;
	top: 18px;
	transform: translateY(-12px);
}

.cv-vpds-toast--top-left {
	bottom: auto;
	left: 18px;
	right: auto;
	top: 18px;
	transform: translateY(-12px);
}

.cv-vpds-toast--top-right.is-visible,
.cv-vpds-toast--top-left.is-visible {
	transform: translateY(0);
}

.cv-vpds-message {
	display: inline;
	min-width: 0;
	word-break: normal;
	overflow-wrap: anywhere;
}

.cv-vpds-message .cv-vpds-icon {
	margin-right: 7px;
	vertical-align: middle;
}

.cv-vpds-toast .cv-vpds {
	align-items: center;
	box-sizing: border-box;
	max-width: 100%;
	white-space: normal;
	width: 100%;
}

.cv-vpds-toast .cv-vpds-message {
	display: block;
	line-height: 1.45;
	min-width: 0;
}

.cv-vpds-toast .cv-vpds-product,
.cv-vpds-toast .cv-vpds-name,
.cv-vpds-toast .cv-vpds-city {
	display: inline;
}

/* v1.2.5: product thumbnail and richer popup tokens */
.cv-vpds-toast .cv-vpds--card {
	align-items: center;
	gap: 10px;
}

.cv-vpds-thumb {
	align-items: center;
	background: #f8fafc;
	border: 1px solid rgba(15, 118, 110, 0.12);
	border-radius: 10px;
	display: inline-flex;
	flex: 0 0 48px;
	height: 48px;
	justify-content: center;
	overflow: hidden;
	width: 48px;
}

.cv-vpds-thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.cv-vpds-action,
.cv-vpds-quantity,
.cv-vpds-time-ago {
	display: inline;
}

.cv-vpds-time-ago {
	color: var(--cv-vpds-muted);
	font-weight: 600;
}

@media (max-width: 480px) {
	.cv-vpds-toast {
		left: 12px;
		right: 12px;
		max-width: none;
	}

	.cv-vpds-toast--bottom-left,
	.cv-vpds-toast--top-left {
		left: 12px;
		right: 12px;
	}

	.cv-vpds-thumb {
		flex-basis: 44px;
		height: 44px;
		width: 44px;
	}
}

.cv-vpds-viewing {
	color: var(--cv-vpds-accent-2);
	font-variant-numeric: tabular-nums;
}

/* v1.3.1: separate viewing display */
.cv-vpds-viewing-display {
	background: var(--cv-vpds-display-viewing-bg, #f8fafc);
	border-color: var(--cv-vpds-display-border, rgba(15, 118, 110, 0.14));
	box-shadow: none;
	color: var(--cv-vpds-muted);
	font-size: 13.5px;
	font-weight: 700;
	margin-top: -4px;
	padding: 7px 11px;
}

.cv-vpds-viewing-display + .cv-vpds,
.cv-vpds + .cv-vpds-viewing-display {
	display: inline-flex;
}
.cv-vpds.cv-vpds-viewing-display {
	display: flex;
	width: fit-content;
}

/* v1.4.0: custom popup colors and mobile controls */
.cv-vpds-toast .cv-vpds--card,
.cv-vpds-popup-preview-stage .cv-vpds--card {
	--cv-vpds-accent-2: var(--cv-vpds-toast-accent, #f59e0b);
	background: var(--cv-vpds-toast-bg, #ffffff);
	border-color: var(--cv-vpds-toast-border, #d9e2ec);
	border-radius: var(--cv-vpds-toast-radius, 14px);
	color: var(--cv-vpds-toast-text, #172033);
}

.cv-vpds-toast .cv-vpds-icon,
.cv-vpds-popup-preview-stage .cv-vpds-icon {
	background: var(--cv-vpds-toast-icon-bg, #ecfdf5);
	color: var(--cv-vpds-toast-accent, #f59e0b);
}

.cv-vpds-toast--no-shadow .cv-vpds,
.cv-vpds--no-shadow {
	box-shadow: none !important;
}

@media (max-width: 480px) {
	.cv-vpds-toast {
		bottom: var(--cv-vpds-mobile-bottom-offset, 80px);
	}

	.cv-vpds-toast-mobile--bottom-center {
		left: 12px;
		right: 12px;
	}

	.cv-vpds-toast-mobile--bottom-right {
		left: auto;
		right: 12px;
		max-width: min(340px, calc(100vw - 24px));
	}

	.cv-vpds-toast-mobile--bottom-left {
		left: 12px;
		right: auto;
		max-width: min(340px, calc(100vw - 24px));
	}

	.cv-vpds-toast-mobile--top-center {
		bottom: auto;
		left: 12px;
		right: 12px;
		top: 12px;
	}

	.cv-vpds-toast--mobile-compact .cv-vpds--card {
		font-size: 12.8px;
		gap: 8px;
		padding: 9px 10px;
	}

	.cv-vpds-toast--mobile-compact .cv-vpds-thumb {
		flex-basis: 38px;
		height: 38px;
		width: 38px;
	}
}

/* v1.5.0 */
.cv-vpds-toast--clickable { cursor: pointer; }
.cv-vpds-toast--clickable:focus { outline: 2px solid var(--cv-vpds-toast-accent, #f59e0b); outline-offset: 3px; }

/* v1.8.0: social proof sticky bar */
.cv-vpds-proof-bar {
	align-items: center;
	background: var(--cv-vpds-display-bg, #fff);
	border: 1px solid var(--cv-vpds-display-border, #d9e2ec);
	border-radius: var(--cv-vpds-display-radius, 12px);
	box-shadow: 0 12px 34px rgba(15, 23, 42, .14);
	color: var(--cv-vpds-display-text, #172033);
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	left: 50%;
	line-height: 1.35;
	max-width: min(560px, calc(100vw - 24px));
	padding: 10px 14px;
	position: fixed;
	transform: translateX(-50%);
	width: max-content;
	z-index: 99998;
}
.cv-vpds-proof-bar--bottom { bottom: calc(12px + var(--cv-vpds-proof-offset, 0px)); }
.cv-vpds-proof-bar--top { top: 12px; }
.cv-vpds-proof-bar .cv-vpds-count,
.cv-vpds-proof-bar .cv-vpds-viewing { color: var(--cv-vpds-display-accent, #f59e0b); }
@media (min-width: 769px) {
	.cv-vpds-proof-bar--mobile-only { display: none; }
}
@media (max-width: 768px) {
	.cv-vpds-proof-bar {
		bottom: calc(12px + var(--cv-vpds-mobile-bottom-offset, 80px) + var(--cv-vpds-proof-offset, 0px));
		font-size: 13px;
		justify-content: center;
		left: 12px;
		right: 12px;
		transform: none;
		width: auto;
	}
	.cv-vpds-proof-bar--top { bottom: auto; top: 12px; }
}

.cv-vpds--scarcity { margin-top: 6px; }
.cv-vpds--scarcity .cv-vpds-countdown,
.cv-vpds--scarcity .cv-vpds-stock-left { color: var(--cv-vpds-display-accent, #f59e0b); font-weight: 800; }
