/* FlexiType Notify — sales-proof popup */
.ftn-pop {
	position: fixed;
	z-index: 99990;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 340px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 14px;
	box-shadow: 0 14px 40px rgba(16, 24, 40, .16);
	padding: 14px 16px;
	font-family: inherit;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .35s ease, transform .35s ease;
	pointer-events: auto;
}
.ftn-pop.is-show { opacity: 1; transform: translateY(0); }

.ftn-pop--bl { left: 20px; bottom: 20px; }
.ftn-pop--br { right: 20px; bottom: 20px; }
.ftn-pop--tl { left: 20px; top: 20px; transform: translateY(-12px); }
.ftn-pop--tr { right: 20px; top: 20px; transform: translateY(-12px); }
.ftn-pop--tl.is-show, .ftn-pop--tr.is-show { transform: translateY(0); }

.ftn-pop__icon {
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--brand, #3FA34D), var(--brand-dark, #34883F));
	color: #fff;
	overflow: hidden;
}
.ftn-pop__icon svg { width: 28px; height: 28px; }
/* Dynamic product thumbnail (Envato-style 80×80, shown at the icon size). */
.ftn-pop__icon--img { background: #f1f5f9; }
.ftn-pop__icon--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ftn-pop--announcement .ftn-pop__icon { background: linear-gradient(135deg, var(--brand, #3FA34D), var(--brand-dark, #34883F)); }

.ftn-pop__body { min-width: 0; flex: 1; }
.ftn-pop__top { color: #6b7280; font-size: 13px; line-height: 1.3; }
.ftn-pop__name { font-weight: 600; color: #475467; }
.ftn-pop__product {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	color: #151b22;
	font-size: 15px;
	font-weight: 600;
	margin: 2px 0 4px;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.3;
}
.ftn-pop__product a { color: inherit; text-decoration: none; }
.ftn-pop__time { color: #98a2b3; font-size: 12px; }

.ftn-pop__close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: 0;
	cursor: pointer;
	color: #98a2b3;
	font-size: 16px;
	line-height: 1;
	padding: 4px;
}
.ftn-pop__close:hover { color: #475467; }

@media (max-width: 600px) {
	.ftn-pop { width: calc(100vw - 24px); }
	.ftn-pop--hide-mobile { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.ftn-pop { transition: opacity .2s; transform: none; }
}

/* type accents */
.ftn-pop--offer .ftn-pop__icon { background: linear-gradient(135deg, #ef3002, #c52800); }
.ftn-pop--review .ftn-pop__icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ftn-pop--visitors .ftn-pop__icon { background: linear-gradient(135deg, #6366f1, #4f46e5); }

/* review stars */
.ftn-pop__stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.ftn-pop__star { color: #d1d5db; font-size: 13px; line-height: 1; }
.ftn-pop__star.is-on { color: #f59e0b; }
