/* Lonex Cookie Consent – lišta */
.lcc,
.lcc * {
	box-sizing: border-box;
}
.lcc [hidden] {
	display: none !important;
}
.lcc {
	--lcc-bg: #14161a;
	--lcc-text: #f3efe6;
	--lcc-accent: #c9a24b;
	--lcc-accent-text: #14161a;
	--lcc-radius: 12px;
	--lcc-line: color-mix(in srgb, var(--lcc-text) 18%, transparent);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.55;
	color: var(--lcc-text);
}
.lcc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 999997;
}
.lcc-banner,
.lcc-modal {
	position: fixed;
	z-index: 999998;
	background: var(--lcc-bg);
	color: var(--lcc-text);
	border: 1px solid var(--lcc-line);
	border-radius: var(--lcc-radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	outline: none;
}
.lcc-banner {
	padding: 22px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}
.lcc-title {
	margin: 0 0 8px;
	padding: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--lcc-text);
}
.lcc-message {
	margin: 0;
	font-size: 14px;
	color: var(--lcc-text);
	opacity: 0.92;
}
.lcc a,
.lcc a:visited {
	color: var(--lcc-accent);
	text-decoration: underline;
}
.lcc-logo-wrap {
	margin: 0 0 14px;
}
.lcc-logo {
	display: block;
	max-height: 44px;
	max-width: 180px;
	width: auto;
	height: auto;
}
.lcc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}
.lcc-btn {
	flex: 1 1 140px;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: calc(var(--lcc-radius) * 0.6);
	border: 1px solid var(--lcc-accent);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	transition: filter 0.15s ease;
}
/* Prijať aj odmietnuť majú zámerne úplne rovnaký vzhľad. */
.lcc-btn-main {
	background: var(--lcc-accent);
	color: var(--lcc-accent-text);
}
.lcc-btn-ghost {
	background: transparent;
	color: var(--lcc-text);
	border-color: var(--lcc-line);
}
.lcc-btn:hover {
	filter: brightness(1.08);
}
.lcc button:focus-visible,
.lcc a:focus-visible,
.lcc input:focus-visible + .lcc-slider,
.lcc summary:focus-visible {
	outline: 2px solid var(--lcc-accent);
	outline-offset: 2px;
}

/* --- Rozloženia --- */
.lcc-layout-bar-bottom .lcc-banner,
.lcc-layout-bar-top .lcc-banner {
	left: 0;
	right: 0;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 18px max(20px, calc((100vw - 1280px) / 2));
}
.lcc-layout-bar-bottom .lcc-banner {
	bottom: 0;
	border-bottom: 0;
}
.lcc-layout-bar-top .lcc-banner {
	top: 0;
	border-top: 0;
}
.lcc-layout-bar-bottom .lcc-body,
.lcc-layout-bar-top .lcc-body {
	flex: 1 1 auto;
	min-width: 0;
}
.lcc-layout-bar-bottom .lcc-banner .lcc-logo-wrap,
.lcc-layout-bar-top .lcc-banner .lcc-logo-wrap {
	margin: 0;
	flex: 0 0 auto;
}
.lcc-layout-bar-bottom .lcc-banner .lcc-actions,
.lcc-layout-bar-top .lcc-banner .lcc-actions {
	margin-top: 0;
	flex: 0 0 auto;
	flex-wrap: nowrap;
}
.lcc-layout-bar-bottom .lcc-banner .lcc-btn,
.lcc-layout-bar-top .lcc-banner .lcc-btn {
	flex: 0 0 auto;
	white-space: nowrap;
}
.lcc-layout-box-left .lcc-banner,
.lcc-layout-box-right .lcc-banner,
.lcc-layout-box-center .lcc-banner {
	bottom: 20px;
	width: min(440px, calc(100vw - 32px));
}
.lcc-layout-box-left .lcc-banner {
	left: 20px;
}
.lcc-layout-box-right .lcc-banner {
	right: 20px;
}
.lcc-layout-box-center .lcc-banner {
	left: 50%;
	transform: translateX(-50%);
	width: min(560px, calc(100vw - 32px));
}
.lcc-layout-popup .lcc-banner {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(560px, calc(100vw - 32px));
	padding: 28px;
}

/* --- Okno nastavení --- */
.lcc-modal {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(640px, calc(100vw - 24px));
	max-height: calc(100vh - 24px);
	display: flex;
	flex-direction: column;
	z-index: 999999;
}
.lcc-modal-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
	border-bottom: 1px solid var(--lcc-line);
}
.lcc-modal-head .lcc-logo-wrap,
.lcc-modal-head .lcc-title {
	margin: 0;
}
.lcc-modal-head .lcc-title {
	flex: 1 1 auto;
}
.lcc-close {
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: var(--lcc-text);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
}
.lcc-modal-body {
	padding: 18px 22px;
	overflow-y: auto;
}
.lcc-modal > .lcc-actions {
	margin: 0;
	padding: 16px 22px;
	border-top: 1px solid var(--lcc-line);
}
.lcc-cats {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}
.lcc-cat {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--lcc-line);
}
.lcc-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.lcc-switch {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-weight: 600;
	margin: 0;
	color: var(--lcc-text);
}
.lcc-switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.lcc-slider {
	position: relative;
	flex: 0 0 44px;
	width: 44px;
	height: 24px;
	border-radius: 24px;
	background: color-mix(in srgb, var(--lcc-text) 28%, transparent);
	transition: background 0.15s ease;
}
.lcc-slider::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--lcc-bg);
	transition: transform 0.15s ease;
}
.lcc-switch input:checked + .lcc-slider {
	background: var(--lcc-accent);
}
.lcc-switch input:checked + .lcc-slider::after {
	transform: translateX(20px);
}
.lcc-switch input:disabled + .lcc-slider {
	opacity: 0.6;
	cursor: not-allowed;
}
.lcc-always {
	font-size: 12px;
	opacity: 0.75;
	white-space: nowrap;
}
.lcc-cat-desc {
	margin: 8px 0 0;
	font-size: 13px;
	opacity: 0.88;
	color: var(--lcc-text);
}
.lcc-details {
	margin-top: 8px;
	font-size: 13px;
}
.lcc-details summary {
	cursor: pointer;
	color: var(--lcc-accent);
}
.lcc-details ul {
	margin: 8px 0 0;
	padding-left: 18px;
}
.lcc-details li {
	margin: 0 0 6px;
	word-break: break-word;
}

/* --- Plávajúce tlačidlo --- */
.lcc-float {
	position: fixed;
	bottom: 18px;
	z-index: 999996;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--lcc-line);
	background: var(--lcc-bg);
	color: var(--lcc-accent);
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	padding: 0;
}
.lcc-float-left .lcc-float {
	left: 18px;
}
.lcc-float-right .lcc-float {
	right: 18px;
}

/* --- Odkazy v päte, zástupný obsah, stránka zásad --- */
.lcc-footer-links {
	text-align: center;
	font-size: 13px;
	padding: 12px 16px;
}
.lcc-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 180px;
	padding: 24px;
	text-align: center;
	background: #f1f1ee;
	color: #222;
	border: 1px dashed #b9b9b0;
	border-radius: 8px;
}
.lcc-placeholder p {
	margin: 0;
}
.lcc-policy-btn {
	padding: 10px 18px;
	border-radius: 8px;
	border: 1px solid #14161a;
	background: #14161a;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.lcc-status {
	padding: 16px 20px;
	margin: 24px 0;
	border: 1px solid rgba(128, 128, 128, 0.35);
	border-radius: 8px;
}
.lcc-status h3 {
	margin-top: 0;
}
.lcc-table-wrap {
	overflow-x: auto;
}
.lcc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9em;
}
.lcc-table th,
.lcc-table td {
	padding: 8px 10px;
	border: 1px solid rgba(128, 128, 128, 0.35);
	text-align: left;
	vertical-align: top;
	word-break: break-word;
}

@media (max-width: 782px) {
	.lcc-layout-bar-bottom .lcc-banner,
	.lcc-layout-bar-top .lcc-banner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 18px;
	}
	.lcc-layout-bar-bottom .lcc-banner .lcc-actions,
	.lcc-layout-bar-top .lcc-banner .lcc-actions {
		flex-wrap: wrap;
	}
	.lcc-layout-bar-bottom .lcc-banner .lcc-btn,
	.lcc-layout-bar-top .lcc-banner .lcc-btn {
		flex: 1 1 140px;
	}
	.lcc-layout-box-left .lcc-banner,
	.lcc-layout-box-right .lcc-banner,
	.lcc-layout-box-center .lcc-banner {
		left: 16px;
		right: 16px;
		bottom: 16px;
		width: auto;
		transform: none;
	}
	.lcc-modal > .lcc-actions .lcc-btn {
		flex: 1 1 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.lcc * {
		transition: none !important;
	}
}
@media print {
	.lcc,
	.lcc-footer-links {
		display: none !important;
	}
}
