/* ==========================================================================
   RENTON 2026 – CookieYes
   Preložený banner je nastavený v CookieYes; tu iba zjednocujeme vzhľad
   s novým dizajnom a zmenšujeme lištu na mobile.
   ========================================================================== */

.cky-consent-container,
.cky-consent-container *,
.cky-preference-center,
.cky-preference-center * {
	box-sizing: border-box;
}

/* ---------- Desktopový banner ---------- */

.cky-consent-container.cky-box-bottom-left,
.cky-consent-container.cky-box-bottom-right,
.cky-consent-container.cky-box-top-left,
.cky-consent-container.cky-box-top-right {
	width: 420px !important;
	max-width: calc(100vw - 48px) !important;
	border: 1px solid #14110f !important;
	border-radius: 0 !important;
	box-shadow: 0 18px 44px rgba(20, 17, 15, 0.18) !important;
}

.cky-consent-container.cky-box-bottom-left {
	left: 24px !important;
	bottom: 24px !important;
	top: auto !important;
	right: auto !important;
}

.cky-consent-container.cky-box-bottom-right {
	right: 24px !important;
	bottom: 24px !important;
	top: auto !important;
	left: auto !important;
}

.cky-consent-container.cky-box-top-left {
	left: 24px !important;
	top: 24px !important;
	bottom: auto !important;
	right: auto !important;
}

.cky-consent-container.cky-box-top-right {
	right: 24px !important;
	top: 24px !important;
	bottom: auto !important;
	left: auto !important;
}

.cky-consent-container .cky-consent-bar {
	padding: 16px 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.cky-consent-container .cky-title {
	margin: 0 0 8px !important;
	font-size: 16px !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
}

.cky-consent-container .cky-notice-des {
	font-size: 13px !important;
	line-height: 1.5 !important;
}

.cky-consent-container .cky-notice-des p {
	margin: 0 0 8px !important;
}

.cky-consent-container .cky-notice-des p:last-child {
	margin-bottom: 0 !important;
}

.cky-consent-container .cky-notice-btn-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin-top: 12px !important;
}

.cky-consent-container .cky-btn {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 7px 10px !important;
	border-radius: 0 !important;
	font-size: 13px !important;
	line-height: 1.25 !important;
}

/* ---------- Tlačidlá v banneri aj v detaile ---------- */

.cky-consent-container .cky-btn,
.cky-preference-center .cky-btn {
	border-radius: 0 !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cky-consent-container .cky-btn-accept,
.cky-preference-center .cky-btn-accept {
	color: #14110f !important;
	background-color: #58ad30 !important;
	border-color: #58ad30 !important;
}

.cky-consent-container .cky-btn-accept:hover,
.cky-preference-center .cky-btn-accept:hover {
	color: #14110f !important;
	background-color: #7bd247 !important;
	border-color: #7bd247 !important;
}

.cky-consent-container .cky-btn-reject,
.cky-preference-center .cky-btn-reject {
	color: #14110f !important;
	background-color: #eaf5e2 !important;
	border-color: #58ad30 !important;
}

.cky-consent-container .cky-btn-reject:hover,
.cky-preference-center .cky-btn-reject:hover {
	color: #14110f !important;
	background-color: #d9eccb !important;
	border-color: #3f8a22 !important;
}

.cky-consent-container .cky-btn-customize,
.cky-preference-center .cky-btn-preferences {
	color: #14110f !important;
	background-color: #ffffff !important;
	border-color: #14110f !important;
}

.cky-consent-container .cky-btn-customize:hover,
.cky-preference-center .cky-btn-preferences:hover {
	color: #14110f !important;
	background-color: #f4f4f0 !important;
	border-color: #14110f !important;
}

/* ---------- Detail nastavení ---------- */

.cky-preference-center {
	border: 1px solid #14110f !important;
	border-radius: 0 !important;
	box-shadow: 0 24px 70px rgba(20, 17, 15, 0.24) !important;
}

.cky-preference-header {
	border-bottom: 1px solid #dedfdc !important;
}

.cky-preference-title {
	font-weight: 700 !important;
}

.cky-prefrence-btn-wrapper {
	border-top: 1px solid #dedfdc !important;
	gap: 8px !important;
}

.cky-preference-center .cky-show-desc-btn {
	color: #3f8a22 !important;
}

/* ---------- Okrúhle tlačidlo „Nastavenia cookies“ ---------- */

.cky-btn-revisit-wrapper .cky-btn-revisit {
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	min-height: 42px !important;
	background-color: #58ad30 !important;
	border: 1px solid #3f8a22 !important;
	box-shadow: 0 8px 20px rgba(20, 17, 15, 0.18) !important;
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	.cky-consent-container.cky-box-bottom-left,
	.cky-consent-container.cky-box-bottom-right {
		width: auto !important;
		max-width: none !important;
		left: 12px !important;
		right: 12px !important;
		bottom: 12px !important;
		top: auto !important;
	}

	.cky-consent-container.cky-box-top-left,
	.cky-consent-container.cky-box-top-right {
		width: auto !important;
		max-width: none !important;
		left: 12px !important;
		right: 12px !important;
		top: 12px !important;
		bottom: auto !important;
	}

	.cky-consent-container .cky-consent-bar {
		padding: 13px 15px !important;
	}

	.cky-consent-container .cky-title,
	.cky-consent-container .cky-notice-des,
	.cky-consent-container .cky-notice-btn-wrapper {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.cky-consent-container .cky-title {
		margin-bottom: 6px !important;
		font-size: 15px !important;
		line-height: 1.3 !important;
	}

	.cky-consent-container .cky-notice-des {
		font-size: 12px !important;
		line-height: 1.45 !important;
	}

	.cky-consent-container .cky-notice-des p {
		margin-bottom: 6px !important;
	}

	.cky-consent-container .cky-notice-btn-wrapper {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: 6px !important;
		margin-top: 10px !important;
		padding-bottom: 0 !important;
	}

	.cky-consent-container .cky-btn {
		width: auto !important;
		flex: 1 1 auto !important;
		padding: 7px 9px !important;
		font-size: 12px !important;
	}

	.cky-consent-container .cky-btn-customize {
		order: 1 !important;
	}

	.cky-consent-container .cky-btn-reject {
		order: 2 !important;
	}

	.cky-consent-container .cky-btn-accept {
		order: 3 !important;
	}

	.cky-modal.cky-modal-open {
		width: calc(100vw - 24px) !important;
		max-width: 460px !important;
		left: 50% !important;
		right: auto !important;
		margin: 0 !important;
		border-radius: 0 !important;
	}

	.cky-preference-center {
		width: 100% !important;
		max-width: none !important;
		max-height: calc(100vh - 24px) !important;
		border-radius: 0 !important;
	}

	.cky-preference-header {
		padding: 14px 16px !important;
	}

	.cky-preference-title {
		font-size: 15px !important;
		line-height: 1.3 !important;
	}

	.cky-preference-body-wrapper {
		padding: 0 16px !important;
	}

	.cky-preference-content-wrapper {
		font-size: 12px !important;
		line-height: 1.5 !important;
	}

	.cky-preference-content-wrapper p {
		margin: 0 0 8px !important;
	}

	.cky-accordion-header {
		padding: 10px 0 !important;
	}

	.cky-accordion-btn {
		font-size: 13px !important;
	}

	.cky-prefrence-btn-wrapper {
		flex-wrap: wrap !important;
		gap: 6px !important;
		padding: 12px !important;
	}

	.cky-prefrence-btn-wrapper .cky-btn {
		flex: 1 1 auto !important;
		margin: 0 !important;
		padding: 8px 9px !important;
		font-size: 12px !important;
	}

	.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
		left: 12px !important;
		bottom: 12px !important;
	}

	.cky-btn-revisit-wrapper.cky-revisit-bottom-right {
		right: 12px !important;
		bottom: 12px !important;
	}
}
