.ls-fomo-region {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 9995;
	width: min(400px, calc(100vw - 48px));
	pointer-events: none;
}

.ls-fomo-card {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 98px;
	padding: 13px 17px 13px 13px;
	overflow: hidden;
	border: 1px solid var(--ls-store-border-soft, #e5e7eb);
	border-left: 4px solid var(--ls-store-primary, #7a2e3a);
	border-radius: 18px;
	background: linear-gradient(
		135deg,
		var(--ls-store-card, #ffffff) 0%,
		var(--ls-store-surface, #fffaf7) 100%
	);
	color: var(--ls-store-text, #4b5563);
	box-shadow:
		0 18px 42px rgba(var(--ls-store-shadow-rgb, 0, 0, 0), 0.22),
		0 6px 16px rgba(var(--ls-store-shadow-rgb, 0, 0, 0), 0.12);
	opacity: 0;
	transform: translate3d(-26px, 0, 0) scale(0.98);
	transition:
		opacity 260ms ease,
		transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	will-change: opacity, transform;
}

.ls-fomo-card::after {
	position: absolute;
	right: -36px;
	top: -46px;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: var(--ls-store-button-soft, rgba(122, 46, 58, 0.08));
	content: "";
	pointer-events: none;
}

.ls-fomo-card.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

.ls-fomo-card.is-leaving {
	opacity: 0;
	transform: translate3d(-26px, 0, 0) scale(0.98);
}

.ls-fomo-media {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border: 1px solid var(--ls-store-border-soft, #e5e7eb);
	border-radius: 15px;
	background: var(--ls-store-button-soft, rgba(122, 46, 58, 0.1));
	box-shadow: 0 5px 14px rgba(var(--ls-store-shadow-rgb, 0, 0, 0), 0.12);
}

.ls-fomo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ls-fomo-fallback {
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--ls-store-primary, #7a2e3a);
}

.ls-fomo-card.has-image-fallback .ls-fomo-image {
	display: none;
}

.ls-fomo-card.has-image-fallback .ls-fomo-fallback {
	display: flex;
}

.ls-fomo-fallback svg {
	display: block;
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ls-fomo-copy {
	position: relative;
	z-index: 1;
	min-width: 0;
	line-height: 1.25;
}

.ls-fomo-kicker {
	display: block;
	margin: 0 0 3px;
	color: var(--ls-store-primary, #7a2e3a);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ls-fomo-order-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px;
	margin: 0 0 3px;
	color: var(--ls-store-muted, #6b7280);
	font-size: 14px;
	line-height: 1.25;
}

.ls-fomo-customer {
	max-width: 190px;
	overflow: hidden;
	color: var(--ls-store-primary, #7a2e3a);
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ls-fomo-product {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: var(--ls-store-heading, #111827);
	font-size: 15.5px;
	font-weight: 750;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ls-fomo-time {
	display: block;
	margin-top: 5px;
	color: var(--ls-store-muted, #6b7280);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

@media (max-width: 600px) {
	.ls-fomo-region {
		left: 12px;
		bottom: 14px;
		width: min(348px, calc(100vw - 24px));
	}

	.ls-fomo-card {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 12px;
		min-height: 86px;
		padding: 11px 13px 11px 11px;
		border-left-width: 4px;
		border-radius: 17px;
		box-shadow:
			0 15px 34px rgba(var(--ls-store-shadow-rgb, 0, 0, 0), 0.22),
			0 5px 12px rgba(var(--ls-store-shadow-rgb, 0, 0, 0), 0.11);
	}

	.ls-fomo-media {
		width: 60px;
		height: 60px;
		border-radius: 13px;
	}

	.ls-fomo-fallback svg {
		width: 24px;
		height: 24px;
	}

	.ls-fomo-kicker {
		margin-bottom: 2px;
		font-size: 9.5px;
	}

	.ls-fomo-order-line {
		margin-bottom: 2px;
		font-size: 12.5px;
	}

	.ls-fomo-customer {
		max-width: 150px;
	}

	.ls-fomo-product {
		font-size: 13.5px;
		line-height: 1.28;
	}

	.ls-fomo-time {
		margin-top: 4px;
		font-size: 11px;
	}
}

@media (max-width: 360px) {
	.ls-fomo-region {
		width: calc(100vw - 20px);
		left: 10px;
	}

	.ls-fomo-card {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 10px;
		padding: 10px 11px 10px 10px;
	}

	.ls-fomo-media {
		width: 56px;
		height: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ls-fomo-card,
	.ls-fomo-card.is-visible,
	.ls-fomo-card.is-leaving {
		transform: none;
		transition-duration: 1ms;
	}
}

