/* KB Launch Engine – Countdown & Bar */

/* Inline-Countdown */
.kble-cd { text-align: center; margin: 1.2em auto; }
.kble-cd-label { font-size: 1.05em; letter-spacing: .04em; margin-bottom: .5em; opacity: .85; }
.kble-cd-boxes { display: flex; gap: .55em; justify-content: center; }
.kble-cd-box {
	display: inline-flex; flex-direction: column; align-items: center;
	min-width: 3.4em; padding: .55em .45em .5em;
	background: rgba(0,0,0,.045); border-radius: .5em;
}
.kble-cd-num { font-size: 1.9em; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.kble-cd-unit { font-size: .68em; text-transform: uppercase; letter-spacing: .09em; margin-top: .45em; opacity: .65; }
.kble-cd-compact .kble-cd-num { font-size: 1.3em; }
.kble-cd-compact .kble-cd-box { min-width: 2.6em; padding: .35em .3em; }

/* Floating-Bar */
.kble-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
	display: flex; align-items: center; justify-content: center; gap: .9em; flex-wrap: wrap;
	padding: .7em 1em calc(.7em + env(safe-area-inset-bottom));
	background: var(--kble-bg, #3a2e39); color: var(--kble-fg, #faf6f1);
	font-size: 1rem; line-height: 1.3; text-align: center;
	box-shadow: 0 -2px 14px rgba(0,0,0,.18);
}
.kble-bar-timer {
	font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .05em;
	color: var(--kble-ac, #b76e79); font-size: 1.15em; white-space: nowrap;
}
body.admin-bar .kble-preview { top: 32px; }

/* Preview-Banner (Zeitreise) */
.kble-preview {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100000;
	background: #1f6feb; color: #fff; padding: .45em 1em;
	font: 600 13px/1.4 system-ui, sans-serif; text-align: center;
}
.kble-preview a { color: #fff; text-decoration: underline; }

/* Buy-/Warteliste-Button (Shortcode [kble_buy]) */
.kble-btn {
	display: inline-block; padding: .85em 2em; border-radius: 999px;
	font-weight: 700; font-size: 1.05em; text-decoration: none; line-height: 1.2;
	transition: transform .12s ease, box-shadow .12s ease;
}
.kble-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.kble-btn-buy  { background: var(--kble-ac, #b76e79); color: #fff; }
.kble-btn-wait { background: #6d5c68; color: #fff; }

/* Automatischer Geschlossen-Hinweis auf der Warteliste-Seite */
.kble-closed {
	max-width: 760px; margin: 1.4em auto; padding: 1em 1.3em;
	border-radius: .6em; text-align: center; line-height: 1.5;
	background: var(--kble-bg, #b76e79); color: var(--kble-fg, #fff);
}

/* Phasen-Sichtbarkeit für Page-Builder-Elemente */
.kble-only-open, .kble-only-closed { display: none !important; }
body.kble-cart-open  .kble-only-open  { display: revert !important; }
body.kble-cart-closed .kble-only-closed { display: revert !important; }
