.pcb-bar {
	--pcb-bg: #2a1c14;
	--pcb-fg: #f6eee4;
	--pcb-accent: #c9822f;
	background: var(--pcb-bg);
	color: var(--pcb-fg);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.3;
	position: relative;
	z-index: 9990;
	box-sizing: border-box;
}
.pcb-bar *,
.pcb-bar *::before,
.pcb-bar *::after { box-sizing: border-box; }
.pcb-bar[hidden],
.pcb-bar [hidden] { display: none !important; }

.pcb-bar.pcb-sticky { position: sticky; top: 0; }
.admin-bar .pcb-bar.pcb-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .pcb-bar.pcb-sticky { top: 46px; } }
@media (max-width: 600px) { .admin-bar .pcb-bar.pcb-sticky { top: 0; } }

.pcb-bar.pcb-inline { border-radius: 8px; }

.pcb-inner {
	max-width: 1360px;
	margin: 0 auto;
	padding: 9px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	text-align: center;
}

.pcb-label { font-weight: 500; }

.pcb-timer {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	font-variant-numeric: tabular-nums;
}
.pcb-unit { display: inline-flex; align-items: baseline; gap: 3px; }
.pcb-unit b {
	font-size: 18px;
	font-weight: 700;
	color: var(--pcb-fg);
	min-width: 2ch;
	text-align: right;
}
.pcb-unit small { font-size: 12px; opacity: .7; }
.pcb-unit + .pcb-unit::before {
	content: ":";
	margin-right: 7px;
	color: var(--pcb-accent);
	font-weight: 700;
	font-size: 16px;
}

.pcb-timer.pcb-no-days .pcb-unit-h::before { content: none; }

.pcb-offer { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
.pcb-discount { color: var(--pcb-accent); font-weight: 600; }

/* Przycisk z kodem — wzmocniona specyficzność, żeby style przycisków motywu go nie nadpisały. */
.pcb-bar .pcb-code {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 4px 6px 4px 12px;
	min-height: 0;
	width: auto;
	background: transparent;
	color: var(--pcb-fg);
	border: 1px dashed var(--pcb-accent);
	border-radius: 4px;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: background-color .15s ease;
}
.pcb-bar .pcb-code:hover { background: rgba(255, 255, 255, .07); color: var(--pcb-fg); }
.pcb-bar .pcb-code:focus { outline: none; }
.pcb-bar .pcb-code:focus-visible { outline: 2px solid var(--pcb-accent); outline-offset: 2px; }
.pcb-bar .pcb-code strong { font-weight: 700; letter-spacing: .04em; }
.pcb-code-label { opacity: .75; }
.pcb-copy {
	background: var(--pcb-accent);
	color: var(--pcb-bg);
	font-size: 12px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 2px;
}
.pcb-code.is-copied .pcb-copy { background: var(--pcb-fg); }

.pcb-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 600px) {
	.pcb-bar { font-size: 13px; }
	.pcb-inner { padding: 7px 10px; gap: 5px 12px; }
	.pcb-label { flex-basis: 100%; }
	.pcb-timer { gap: 6px; }
	.pcb-unit b { font-size: 15px; }
	.pcb-unit small { font-size: 11px; }
	.pcb-unit + .pcb-unit::before { margin-right: 4px; font-size: 14px; }
	.pcb-bar .pcb-code { font-size: 13px; padding: 3px 5px 3px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.pcb-bar .pcb-code { transition: none; }
}
