.mk-kp-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	background: #fff;
	border-top: 1px solid #e3e5e9;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	padding: 1.25em 1.5em;
	font-size: 0.95rem;
	color: #3f4650;
}

.mk-kp-banner[hidden] {
	display: none;
}

.mk-kp-banner__inner {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em 1.5em;
}

.mk-kp-banner__text {
	flex: 1 1 320px;
	margin: 0;
	line-height: 1.5;
}

.mk-kp-banner__text a {
	color: #5b6b8c;
	text-decoration: underline;
}

.mk-kp-banner__buttons {
	display: flex;
	gap: 0.75em;
	flex: 0 0 auto;
}

.mk-kp-banner__buttons[hidden] {
	display: none;
}

.mk-kp-btn {
	border: none;
	border-radius: 4px;
	padding: 0.65em 1.5em;
	font-weight: 700;
	font-size: 0.95em;
	cursor: pointer;
	letter-spacing: 0.02em;
}

.mk-kp-btn--primary {
	background: #5b6b8c;
	color: #fff;
}

.mk-kp-btn--primary:hover {
	background: #4c5a78;
}

.mk-kp-btn--ghost {
	background: transparent;
	color: #5b6b8c;
	border: 1px solid #c9ced9;
}

.mk-kp-btn--ghost:hover {
	background: #f5f6f8;
}

.mk-kp-banner__panel {
	flex: 1 1 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1em;
	border-top: 1px solid #e3e5e9;
	padding-top: 1em;
	margin-top: 0.25em;
}

.mk-kp-banner__panel[hidden] {
	display: none;
}

.mk-kp-cat {
	background: #f9fafb;
	border: 1px solid #e3e5e9;
	border-radius: 6px;
	padding: 0.85em 1em;
}

.mk-kp-cat p {
	margin: 0.4em 0 0;
	font-size: 0.88em;
	color: #6b7280;
}

.mk-kp-cat__head {
	display: flex;
	align-items: center;
	gap: 0.6em;
}

.mk-kp-always {
	font-size: 0.8em;
	color: #6b7280;
	margin-left: auto;
}

.mk-kp-banner__actions {
	grid-column: 1 / -1;
	margin: 0.25em 0 0;
	text-align: right;
}

/* Lüliti (toggle) */
.mk-kp-switch {
	position: relative;
	display: inline-block;
	width: 36px;
	height: 20px;
	flex: 0 0 auto;
}

.mk-kp-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.mk-kp-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background: #c9ced9;
	border-radius: 999px;
	transition: 0.15s;
}

.mk-kp-slider::before {
	content: "";
	position: absolute;
	height: 14px;
	width: 14px;
	left: 3px;
	top: 3px;
	background: #fff;
	border-radius: 50%;
	transition: 0.15s;
}

.mk-kp-switch input:checked + .mk-kp-slider {
	background: #5b6b8c;
}

.mk-kp-switch input:checked + .mk-kp-slider::before {
	transform: translateX(16px);
}

/* "Halda küpsiseid" lühikoodi link */
.mk-kp-manage-link {
	background: none;
	border: none;
	padding: 0;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
}

@media (max-width: 700px) {
	.mk-kp-banner__panel {
		grid-template-columns: 1fr;
	}
	.mk-kp-banner__inner {
		flex-direction: column;
		align-items: stretch;
	}
	.mk-kp-banner__buttons {
		justify-content: stretch;
	}
	.mk-kp-banner__buttons .mk-kp-btn {
		flex: 1 1 0;
	}
}
