/* Composters Online — campaign (Black Friday) bar + subtle nods.
   Styled on the Black Friday banner roundel: black disc, #eb5767 ring, white type,
   italic small print. Colours come from the Customizer:
   --gt-cmp-bg (#000) / --gt-cmp-ink (#fff) / --gt-cmp-accent (#eb5767) */

.wbo-promo[hidden],
[data-gt-campaign][hidden] {
	display: none !important;
}

/* ---------- Top bar ---------- */
.gt-cmp-bar {
	display: block;
	padding: 7px var(--wbo-gutter, 24px);
	color: var(--gt-cmp-ink) !important;
	text-decoration: none !important;
	background: var(--gt-cmp-bg);
	border-bottom: 2px solid var(--gt-cmp-accent);
}

.gt-cmp-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 16px;
	max-width: var(--wbo-max, 1440px);
	margin: 0 auto;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.gt-cmp-bar__label {
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--gt-cmp-bg);
	box-shadow: inset 0 0 0 2px var(--gt-cmp-accent);
	color: var(--gt-cmp-ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.gt-cmp-bar__short { display: none; }

.gt-cmp-bar__cta {
	padding: 3px 12px;
	border: 1px solid var(--gt-cmp-accent);
	border-radius: 999px;
	color: var(--gt-cmp-accent);
	font-size: 14px;
	white-space: nowrap;
	transition: background .2s, color .2s;
}

.gt-cmp-bar:hover .gt-cmp-bar__cta,
.gt-cmp-bar:focus-visible .gt-cmp-bar__cta {
	background: var(--gt-cmp-accent);
	color: var(--gt-cmp-bg);
}

.gt-cmp-bar:focus-visible {
	outline: 3px solid var(--gt-cmp-accent);
	outline-offset: -3px;
}

/* ---------- Countdown ---------- */
.gt-cmp-bar__timer,
.gt-cmp-strip__timer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.gt-cd__lead {
	font-style: italic;
	font-weight: 500;
	opacity: .9;
}

.gt-cd {
	display: inline-flex;
	gap: 4px;
	font-variant-numeric: tabular-nums;
}

.gt-cd__u {
	min-width: 2.6em;
	padding: 2px 5px;
	border-radius: 5px;
	background: rgba(255, 255, 255, .1);
	color: var(--gt-cmp-accent);
	font-weight: 800;
	text-align: center;
}

.gt-cd__u i {
	margin-left: 1px;
	font-style: normal;
	font-weight: 600;
	font-size: .8em;
	opacity: .8;
}

.gt-cd__u[data-u="d"][data-zero] { display: none; }

/* ---------- Product page strip ---------- */
.gt-cmp-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 10px 0 16px;
	padding: 9px 14px;
	border-left: 4px solid var(--gt-cmp-accent);
	border-radius: var(--wbo-r-sm, 8px);
	background: var(--gt-cmp-bg);
	color: var(--gt-cmp-ink);
	font-size: 15px;
	font-weight: 600;
}

.gt-cmp-strip__label {
	color: var(--gt-cmp-ink);
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* ---------- Sale badges ---------- */
html body.gt-campaign-badges span.onsale,
html body.gt-campaign-badges .woocommerce span.onsale,
html body.gt-campaign-badges .custom-savings-badge {
	background: var(--gt-cmp-bg) !important;
	color: var(--gt-cmp-ink) !important;
	box-shadow: inset 0 0 0 2px var(--gt-cmp-accent);
}

/* Homepage slider: active dot picks up the ring colour */
.gt-campaign-on .gt-hero__dot.is-active::before {
	background: var(--gt-cmp-accent);
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
	.gt-cmp-bar__inner {
		gap: 4px 10px;
		font-size: 14px;
	}

	.gt-cmp-bar__long,
	.gt-cmp-bar__cta,
	.gt-cmp-bar__timer .gt-cd__lead {
		display: none;
	}

	.gt-cmp-bar__short { display: inline; }

	.gt-cmp-bar__label {
		padding: 2px 8px;
		font-size: 11px;
	}

	.gt-cd__u {
		min-width: 2.3em;
		padding: 1px 4px;
	}
}
