/* Site-wide Black Friday offer ticker */
.xfin-offer-ticker {
	display: block;
	position: sticky;
	top: 0;
	z-index: 95;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	isolation: isolate;
	contain: paint;
	text-decoration: none;
	color: #fff;
	-webkit-text-fill-color: #fff;
	background: linear-gradient(90deg, #de650e, #c04a15 50%, #b12325);
	font-family: Manrope, Inter, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	box-sizing: border-box;
}
.xfin-offer-ticker:hover,
.xfin-offer-ticker:focus-visible {
	color: #fff;
	-webkit-text-fill-color: #fff;
	filter: brightness(1.05);
}
.xfin-offer-ticker__track {
	display: flex;
	width: max-content;
	max-width: none;
	animation: xfinOfferTicker 38s linear infinite;
	will-change: transform;
}
.xfin-offer-ticker__set {
	display: flex;
}
.xfin-offer-ticker__set > span {
	display: inline-flex;
	align-items: center;
	padding: 10px 26px;
	color: #fff;
	-webkit-text-fill-color: #fff;
}
.xfin-offer-ticker__set > span::after {
	content: "✦";
	margin-left: 26px;
	opacity: 0.75;
	font-size: 0.85em;
}
@keyframes xfinOfferTicker {
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.xfin-offer-ticker__track { animation: none; }
}

/* Keep sticky site header below the ticker */
body:has(.xfin-offer-ticker) .xfin-header {
	top: 33px;
}
body.admin-bar .xfin-offer-ticker {
	top: 32px;
}
body.admin-bar:has(.xfin-offer-ticker) .xfin-header {
	top: 65px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .xfin-offer-ticker {
		top: 46px;
	}
	body.admin-bar:has(.xfin-offer-ticker) .xfin-header {
		top: 76px;
	}
}
@media (max-width: 640px) {
	.xfin-offer-ticker { font-size: 12px; }
	.xfin-offer-ticker__set > span { padding: 9px 18px; }
	body:has(.xfin-offer-ticker) .xfin-header {
		top: 30px;
	}
	body.admin-bar:has(.xfin-offer-ticker) .xfin-header {
		top: 76px;
	}
}
