.cwd-campaign-bar {
	background: var(--cwd-bar-bg, #111827);
	color: var(--cwd-bar-text, #fff);
	font-family: inherit;
	position: relative;
	width: 100%;
	z-index: 9998;
}

.cwd-campaign-bar[hidden],
.cwd-campaign-popup[hidden],
.cwd-custom-campaign[hidden] {
	display: none !important;
}

body.cwd-campaign-scroll-lock {
	overflow: hidden;
}

.cwd-custom-popup {
	position: relative;
	z-index: 2147483000;
}

.cwd-campaign-bar__inner {
	align-items: center;
	display: flex;
	gap: 14px;
	justify-content: center;
	margin: 0 auto;
	max-width: 1180px;
	min-height: 44px;
	padding: 8px 16px;
	text-align: center;
}

.cwd-campaign-bar__message {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.cwd-campaign-countdown {
	color: var(--cwd-bar-accent, #22c55e);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	white-space: nowrap;
}

.cwd-campaign-bar__button,
.cwd-campaign-popup__button {
	align-items: center;
	background: var(--cwd-bar-accent, #22c55e);
	border: 0;
	border-radius: 6px;
	color: #06130b;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	justify-content: center;
	line-height: 1;
	min-height: 32px;
	padding: 9px 13px;
	text-decoration: none;
	white-space: nowrap;
}

.cwd-campaign-dismiss,
.cwd-campaign-popup__close {
	background: transparent;
	border: 0;
	color: currentColor;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	padding: 4px;
}

.cwd-campaign-popup {
	inset: 0;
	position: fixed;
	z-index: 9999;
}

.cwd-campaign-popup__overlay {
	background: rgba(17, 24, 39, 0.62);
	inset: 0;
	position: absolute;
}

.cwd-campaign-popup__dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
	color: #111827;
	left: 50%;
	max-width: 420px;
	padding: 28px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.cwd-campaign-popup__close {
	color: #475569;
	position: absolute;
	right: 12px;
	top: 10px;
}

.cwd-campaign-popup__dialog h2 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0 28px 10px 0;
}

.cwd-campaign-popup__description {
	color: #475569;
	font-size: 15px;
	line-height: 1.55;
	margin-bottom: 18px;
}

@media (max-width: 640px) {
	.cwd-campaign-bar__inner {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
		padding-right: 44px;
	}

	.cwd-campaign-dismiss {
		position: absolute;
		right: 12px;
		top: 9px;
	}
}
