/* FFS Purchase Nudges: matches the Food Founder Series palette (cream, coral, forest). */
.ffs-nudge {
	--ffs-n-cream: #FFF6E5;
	--ffs-n-line: #EED8A6;
	--ffs-n-ink: #1F1D1A;
	--ffs-n-text: #4A4640;
	--ffs-n-coral: #E05746;
	--ffs-n-forest: #25503C;
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 9990;
	width: min(340px, calc(100vw - 32px));
	background: var(--ffs-n-cream);
	border: 1px solid var(--ffs-n-line);
	border-left: 4px solid var(--ffs-n-coral);
	border-radius: 14px;
	box-shadow: 0 18px 40px -16px rgba(60, 40, 20, .45), 0 4px 12px rgba(60, 40, 20, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px) scale(.98);
	transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
	font-family: Poppins, "Segoe UI", Arial, sans-serif;
}
.ffs-nudge.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .35s ease, transform .35s ease, visibility 0s;
}
.ffs-nudge[data-type="sale"] { border-left-color: var(--ffs-n-forest); }
.ffs-nudge__link {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: center;
	padding: 12px 36px 12px 12px;
	color: inherit;
	text-decoration: none;
}
.ffs-nudge__link:focus-visible { outline: 3px solid var(--ffs-n-forest); outline-offset: 2px; border-radius: 12px; }
.ffs-nudge__img {
	width: 46px;
	height: 64px;
	object-fit: cover;
	object-position: top;
	border-radius: 2px 5px 5px 2px;
	box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .45);
	display: block;
}
.ffs-nudge__img[hidden] { display: none; }
.ffs-nudge__body { display: grid; gap: 2px; min-width: 0; }
.ffs-nudge__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ffs-n-coral);
}
.ffs-nudge[data-type="sale"] .ffs-nudge__eyebrow { color: var(--ffs-n-forest); }
.ffs-nudge[data-type="sale"] .ffs-nudge__eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #2E9E5B;
	box-shadow: 0 0 0 0 rgba(46, 158, 91, .5);
	animation: ffs-nudge-pulse 1.8s infinite;
}
.ffs-nudge__title {
	font: 800 15px/1.25 "Playfair Display", Georgia, serif;
	color: var(--ffs-n-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ffs-nudge__text { font-size: 12.5px; line-height: 1.4; color: var(--ffs-n-text); }
.ffs-nudge__close {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ffs-n-text);
	font: 400 18px/26px Arial, sans-serif;
	cursor: pointer;
}
.ffs-nudge__close:hover,
.ffs-nudge__close:focus-visible { background: rgba(31, 29, 26, .08); color: var(--ffs-n-ink); }

@keyframes ffs-nudge-pulse {
	70% { box-shadow: 0 0 0 7px rgba(46, 158, 91, 0); }
	100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); }
}

@media (max-width: 820px) {
	.ffs-nudge { left: 12px; bottom: 12px; }
	/* product pages have a sticky buy bar at the bottom on phones */
	.single-product .ffs-nudge { bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
	.ffs-nudge, .ffs-nudge.is-on { transform: none; transition: opacity .2s, visibility 0s; }
	.ffs-nudge[data-type="sale"] .ffs-nudge__eyebrow::before { animation: none; }
}
