/* ============================================================
   PromoBar Bird — Frontend Styles
   ============================================================ */

#pbb-bar {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 99999;
	padding: 10px 48px 10px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#pbb-bar.pbb-top {
	top: 0;
}

#pbb-bar.pbb-bottom {
	bottom: 0;
}

#pbb-bar.pbb-hidden {
	display: none !important;
}

/* Inner wrapper */
.pbb-bar-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1200px;
	width: 100%;
}

/* Text */
.pbb-bar-text {
	font-size: 14px;
	line-height: 1.5;
}

.pbb-bar-text a {
	color: inherit;
	text-decoration: underline;
}

/* CTA button */
.pbb-bar-btn {
	display: inline-block;
	padding: 6px 18px;
	border-radius: 4px;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	line-height: 1.5;
	transition: opacity 0.2s ease, transform 0.15s ease;
	cursor: pointer;
}

.pbb-bar-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

/* ── Countdown ── */
.pbb-countdown {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.pbb-cd-block {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
}

.pbb-cd-num {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1;
}

.pbb-cd-lbl {
	font-size: 10px;
	opacity: 0.75;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 2px;
}

.pbb-cd-sep {
	font-size: 20px;
	font-weight: 700;
	align-self: flex-start;
	padding-top: 2px;
	opacity: 0.6;
}

/* ── Close button ── */
.pbb-close {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
	padding: 4px 8px;
	border-radius: 3px;
	transition: opacity 0.15s;
}

.pbb-close:hover {
	opacity: 1;
}

/* ── Responsive ── */
@media ( max-width: 600px ) {
	#pbb-bar {
		padding: 10px 44px 10px 12px;
	}

	.pbb-bar-inner {
		flex-direction: column;
		gap: 10px;
		align-items: center;
	}

	/* Volgorde: Timer → Tekst → Button */
	.pbb-countdown {
		order: 1;
		gap: 4px;
	}

	.pbb-bar-text {
		order: 2;
		font-size: 15px;
		text-align: center;
	}

	.pbb-bar-btn {
		order: 3;
		font-size: 14px;
		padding: 5px 14px;
	}

	.pbb-cd-num {
		font-size: 16px;
	}

	.pbb-cd-lbl {
		font-size: 9px;
	}

	.pbb-cd-sep {
		font-size: 16px;
	}
}
