.fsp-sale-pop {
	--fsp-accent: var(--tb-theme-color, #86bc42);
	--fsp-accent-hover: var(--tb-theme-color-hover, #6f9f34);
	--fsp-text: #17181a;
	--fsp-muted: #777;
	position: fixed;
	bottom: 24px;
	z-index: 9998;
	width: min(400px, calc(100vw - 28px));
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
	color: var(--fsp-text);
	font-family: var(--tb-text-primary-font, inherit);
	opacity: 0;
	pointer-events: none;
	transform: translateY(18px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.fsp-sale-pop--bottom-left {
	left: 24px;
}

.fsp-sale-pop--bottom-right {
	right: 24px;
}

.fsp-sale-pop.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.fsp-sale-pop__inner {
	display: grid;
	grid-template-columns: 86px 1fr;
	gap: 16px;
	align-items: center;
	min-height: 106px;
	padding: 12px 42px 12px 12px;
	color: inherit;
	text-decoration: none;
}

.fsp-sale-pop__inner:hover,
.fsp-sale-pop__inner:focus {
	color: inherit;
	text-decoration: none;
}

.fsp-sale-pop__media {
	position: relative;
	display: block;
	width: 86px;
	height: 86px;
	overflow: hidden;
	background: #f5f5f5;
}

.fsp-sale-pop__media:after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: var(--fsp-accent);
}

.fsp-sale-pop__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fsp-sale-pop__content {
	min-width: 0;
	display: block;
}

.fsp-sale-pop__eyebrow {
	display: block;
	margin-bottom: 2px;
	color: var(--fsp-muted);
	font-size: 14px;
	line-height: 1.4;
}

.fsp-sale-pop__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--fsp-text);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.fsp-sale-pop__meta {
	display: block;
	margin-top: 5px;
	color: var(--fsp-accent);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.fsp-sale-pop__close {
	position: absolute;
	top: -10px;
	right: -10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	padding: 0;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	color: #000;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.fsp-sale-pop__close:hover,
.fsp-sale-pop__close:focus {
	border-color: var(--fsp-accent);
	color: var(--fsp-accent-hover);
	outline: none;
}

@media (max-width: 767px) {
	.fsp-sale-pop {
		right: 14px;
		bottom: 14px;
		left: 14px;
		width: auto;
	}

	.fsp-sale-pop__inner {
		grid-template-columns: 70px 1fr;
		min-height: 92px;
		gap: 12px;
	}

	.fsp-sale-pop__media {
		width: 70px;
		height: 70px;
	}

	.fsp-sale-pop__eyebrow {
		font-size: 13px;
	}

	.fsp-sale-pop__title {
		font-size: 15px;
	}

	.fsp-sale-pop__meta {
		font-size: 13px;
	}
}
