/**
 * Bluteee Offer Strips & Top Bar - Frontend Stylesheet
 * 100% Blocksy Theme Compatible, 60fps Smooth Hardware Accelerated Marquee.
 */

.bos-strip-wrap {
	--bos-bg: #0074e4;
	--bos-color: #ffffff;
	--bos-fs-dt: 13px;
	--bos-fs-mb: 12px;
	--bos-pad-v: 8px;

	background: var(--bos-bg);
	color: var(--bos-color);
	font-size: var(--bos-fs-dt);
	padding: var(--bos-pad-v) 0;
	position: relative;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	line-height: 1.4;
	z-index: 100;
	font-family: inherit;
}

.bos-strip-wrap *,
.bos-strip-wrap *::before,
.bos-strip-wrap *::after {
	box-sizing: border-box;
}

/* Blocksy Theme Topbar Placement */
.bos-global-topbar {
	margin-bottom: 0 !important;
}

/* Sticky Option */
.bos-sticky-topbar {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 99999;
}

.bos-strip-inner {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ============================================================
   1. INFINITE SMOOTH MARQUEE ENGINE
   ============================================================ */
.bos-mode-marquee .bos-strip-inner {
	display: block;
	overflow: hidden;
	width: 100%;
}

.bos-marquee-track {
	display: flex;
	width: -webkit-max-content;
	width: max-content;
	will-change: transform;
}

/* Animation Speeds & Directions */
.bos-dir-left.bos-speed-slow .bos-marquee-track {
	animation: bosMarqueeLeft 40s linear infinite;
}
.bos-dir-left.bos-speed-normal .bos-marquee-track {
	animation: bosMarqueeLeft 25s linear infinite;
}
.bos-dir-left.bos-speed-fast .bos-marquee-track {
	animation: bosMarqueeLeft 14s linear infinite;
}

.bos-dir-right.bos-speed-slow .bos-marquee-track {
	animation: bosMarqueeRight 40s linear infinite;
}
.bos-dir-right.bos-speed-normal .bos-marquee-track {
	animation: bosMarqueeRight 25s linear infinite;
}
.bos-dir-right.bos-speed-fast .bos-marquee-track {
	animation: bosMarqueeRight 14s linear infinite;
}

@keyframes bosMarqueeLeft {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

@keyframes bosMarqueeRight {
	0% {
		transform: translate3d(-50%, 0, 0);
	}
	100% {
		transform: translate3d(0, 0, 0);
	}
}

/* Interactivity: Pause on hover / touch */
.bos-pause-on-hover:hover .bos-marquee-track,
.bos-pause-on-hover.bos-touch-paused .bos-marquee-track {
	animation-play-state: paused !important;
}

.bos-marquee-group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	white-space: nowrap;
}

.bos-marquee-item {
	display: inline-flex;
	align-items: center;
	padding: 0 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.bos-item-separator {
	margin-left: 18px;
	opacity: 0.6;
	font-size: 11px;
	vertical-align: middle;
	display: inline-block;
}

.bos-item-link {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	transition: opacity 0.2s ease;
}

.bos-item-link:hover {
	opacity: 0.85;
	text-decoration: underline;
}

.bos-item-text-wrap {
	display: inline-flex;
	align-items: center;
}

.bos-badge {
	background: rgba(255, 255, 255, 0.22);
	color: inherit;
	padding: 1px 7px;
	border-radius: 4px;
	font-size: 0.78em;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-right: 7px;
	display: inline-block;
	line-height: 1.4;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   2. ROTATOR / SLIDER ENGINE
   ============================================================ */
.bos-rotator-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 40px;
	position: relative;
}

.bos-rotator-slides {
	position: relative;
	width: 100%;
	text-align: center;
	min-height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bos-rotator-slide {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, transform 0.35s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 600;
}

.bos-rotator-slide.bos-slide-active {
	opacity: 1;
	visibility: visible;
	position: relative;
	top: auto;
	left: auto;
	transform: none;
}

.bos-rot-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: inherit;
	font-size: 18px;
	cursor: pointer;
	padding: 4px 8px;
	line-height: 1;
	opacity: 0.6;
	transition: opacity 0.2s ease;
	z-index: 2;
}

.bos-rot-nav:hover {
	opacity: 1;
}

.bos-rot-prev {
	left: 8px;
}

.bos-rot-next {
	right: 8px;
}

/* ============================================================
   3. STATIC BANNER
   ============================================================ */
.bos-static-container {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
	padding: 0 30px;
	text-align: center;
	font-weight: 600;
}

.bos-static-item {
	display: inline-flex;
	align-items: center;
}

/* ============================================================
   4. DISMISS / CLOSE BUTTON
   ============================================================ */
.bos-dismiss-btn {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: inherit;
	font-size: 13px;
	line-height: 1;
	padding: 6px;
	cursor: pointer;
	opacity: 0.65;
	transition: opacity 0.2s ease, transform 0.15s ease;
	z-index: 10;
	border-radius: 50%;
}

.bos-dismiss-btn:hover {
	opacity: 1;
	transform: translateY(-50%) scale(1.15);
}

/* ============================================================
   5. MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
	.bos-strip-wrap {
		font-size: var(--bos-fs-mb);
	}

	.bos-marquee-item {
		padding: 0 12px;
	}

	.bos-item-separator {
		margin-left: 12px;
	}

	.bos-rotator-container {
		padding: 0 30px;
	}

	.bos-badge {
		font-size: 0.72em;
		padding: 1px 5px;
		margin-right: 5px;
	}

	.bos-dismiss-btn {
		right: 6px;
		font-size: 12px;
		padding: 4px;
	}
}
