/**
 * Sitewide Special Offer countdown bar.
 */

.knxb-offer-bar {
	width: 100%;
	background: #f7f4f4;
	border-bottom: 1px solid #ece7e7;
	z-index: 10050;
	position: relative;
}

.knxb-offer-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 10px 20px;
	text-decoration: none !important;
	color: inherit;
}

.knxb-offer-bar__timer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	min-width: 0;
}

.knxb-offer-bar__clock {
	display: inline-flex;
	color: #e10600;
	flex: 0 0 auto;
}

.knxb-offer-bar__label {
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.knxb-offer-bar__units {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.knxb-offer-bar__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	padding: 6px 8px 5px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.knxb-offer-bar__unit strong {
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.1;
	color: #e10600;
	font-variant-numeric: tabular-nums;
}

.knxb-offer-bar__unit span {
	font-size: 0.62rem;
	font-weight: 600;
	color: #94a3b8;
	line-height: 1.2;
	margin-top: 2px;
}

.knxb-offer-bar__cta-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.knxb-offer-bar__slash {
	color: #e10600;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.02em;
}

.knxb-offer-bar__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 22px 0 26px;
	background: #e10600;
	color: #fff !important;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	border-radius: 0 999px 999px 0;
	clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
	box-shadow: 0 2px 8px rgba(225, 6, 0, 0.28);
	white-space: nowrap;
}

.knxb-offer-bar__inner:hover .knxb-offer-bar__cta {
	background: #c40500;
}

@media (max-width: 782px) {
	.knxb-offer-bar__inner {
		flex-direction: column;
		align-items: stretch;
		padding: 10px 14px 12px;
		gap: 10px;
	}

	.knxb-offer-bar__timer {
		justify-content: center;
	}

	.knxb-offer-bar__unit {
		min-width: 46px;
		padding: 5px 6px 4px;
	}

	.knxb-offer-bar__unit strong {
		font-size: 0.95rem;
	}

	.knxb-offer-bar__cta-wrap {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.knxb-offer-bar__label {
		width: 100%;
		text-align: center;
	}

	.knxb-offer-bar__clock {
		display: none;
	}
}
