.wfo-popup {
	--wfo-accent: #ff5a3d;
	position: fixed;
	z-index: 999999;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 14px;
	width: min(390px, calc(100vw - 32px));
	padding: 12px 42px 12px 12px;
	color: #17202a;
	background: rgba(255, 255, 255, .97);
	border: 1px solid rgba(20, 31, 44, .08);
	border-radius: 16px;
	box-shadow: 0 18px 55px rgba(21, 30, 43, .18), 0 3px 12px rgba(21, 30, 43, .08);
	font-family: inherit;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(18px) scale(.97);
	transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s;
	-webkit-font-smoothing: antialiased;
	backdrop-filter: blur(12px);
}

.wfo-popup--bottom-left { bottom: 22px; left: 22px; }
.wfo-popup--bottom-right { right: 22px; bottom: 22px; }
.wfo-popup--top-left { top: 22px; left: 22px; transform: translateY(-18px) scale(.97); }
.wfo-popup--top-right { top: 22px; right: 22px; transform: translateY(-18px) scale(.97); }

.wfo-popup.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.wfo-popup__image-link {
	display: block;
	width: 76px;
	height: 76px;
	overflow: hidden;
	background: #f4f5f6;
	border-radius: 12px;
}

.wfo-popup__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform .3s ease;
}

.wfo-popup__image-link:hover .wfo-popup__image { transform: scale(1.05); }

.wfo-popup__content {
	align-self: center;
	min-width: 0;
	line-height: 1.35;
}

.wfo-popup__eyebrow {
	margin: 0 0 4px;
	color: #718096;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.wfo-popup__eyebrow span {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 4px;
	background: #2ecc71;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(46, 204, 113, .14);
	animation: wfo-pulse 1.8s infinite;
}

.wfo-popup__content p {
	margin: 0 0 2px;
	color: #4a5568;
	font-size: 12px;
}

.wfo-popup__content p strong {
	color: #17202a;
	font-weight: 700;
}

.wfo-popup__product {
	display: block;
	overflow: hidden;
	margin: 0 0 3px;
	color: #17202a !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wfo-popup__product:hover { color: var(--wfo-accent) !important; }

.wfo-popup__time {
	display: block;
	color: #98a2b3;
	font-size: 11px;
}

.wfo-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: grid;
	width: 26px;
	height: 26px;
	padding: 0;
	color: #98a2b3;
	background: transparent;
	border: 0;
	border-radius: 50%;
	font: 20px/1 Arial, sans-serif;
	cursor: pointer;
	place-items: center;
	transition: color .2s, background .2s;
}

.wfo-popup__close:hover {
	color: #17202a;
	background: #f2f4f7;
}

@keyframes wfo-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(46, 204, 113, .13); }
	50% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
}

@media (max-width: 480px) {
	.wfo-popup,
	.wfo-popup--bottom-left,
	.wfo-popup--bottom-right {
		right: 12px;
		bottom: 12px;
		left: 12px;
		width: auto;
	}

	.wfo-popup--top-left,
	.wfo-popup--top-right {
		top: 12px;
		right: 12px;
		bottom: auto;
		left: 12px;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wfo-popup,
	.wfo-popup__image { transition: none; }
	.wfo-popup__eyebrow span { animation: none; }
}

