/* S166 homepage top bar. Fixed above the sticky Elementor header; js/bf-stages.js
   sets --bf-bar-h and body.bf-bar-on so the page and header move down by its height. */

.bf-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 18px;
	padding: 10px 52px;
	background: #000;
	border-bottom: 1px solid rgba(224, 96, 91, .5);
	font-family: Montserrat, sans-serif;
	color: #fff;
}
.bf-bar[hidden] { display: none !important; }
.admin-bar .bf-bar { top: 32px; }

/* Holiday red (Iain, 11/18): a lighter tint of Samsara red for text on black, so it
   stays readable; the button uses Samsara red itself, like the sale page's buttons. */
.bf-bar__text { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; text-align: center; }
.bf-bar__text strong { color: #E0605B; font-weight: 800; }
.bf-bar__cta {
	padding: 8px 18px;
	border-radius: 4px;
	background: #BA4542;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	white-space: nowrap;
}
.bf-bar__cta:hover { background: #A33B38; }
.bf-bar__close {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	padding: 4px 8px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

/* Push the page and the sticky header (Elementor sets an inline top: 0) down. */
body.bf-bar-on { padding-top: var(--bf-bar-h); }
body.bf-bar-on .elementor-location-header .elementor-sticky--active { top: var(--bf-bar-h) !important; }
body.admin-bar.bf-bar-on .elementor-location-header .elementor-sticky--active { top: calc(var(--bf-bar-h) + 32px) !important; }

@media (max-width: 782px) {
	.admin-bar .bf-bar { top: 46px; }
	body.admin-bar.bf-bar-on .elementor-location-header .elementor-sticky--active { top: calc(var(--bf-bar-h) + 46px) !important; }
}
@media (max-width: 600px) {
	.bf-bar { padding: 8px 40px 8px 12px; gap: 6px 12px; }
	.bf-bar__text { font-size: 16px; }
	.bf-bar__ends { display: none; }
	.bf-bar__cta { padding: 6px 12px; font-size: 13px; }
}
