/* Upchávky.sk – lišta súhlasu s cookies (farby a tvary podľa style.css) */

.cc-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	background: #ffffff;
	border-top: 4px solid transparent;
	border-image: linear-gradient(to right, #ab2f52 0%, #ffaf53 100%) 1;
	-webkit-box-shadow: 0 -5px 35px 0 rgba(0, 0, 0, 0.15);
	box-shadow: 0 -5px 35px 0 rgba(0, 0, 0, 0.15);
	font-family: "Poppins", sans-serif;
	transform: translateY(100%);
	transition: transform 0.4s ease-in-out;
}
.cc-banner.cc-visible {
	transform: translateY(0);
}
.cc-banner-inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 22px 15px;
	display: flex;
	align-items: center;
	gap: 22px;
}
.cc-banner-icon {
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #fff8f0;
	color: #ffaf53;
	font-size: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cc-banner-text {
	flex: 1 1 auto;
}
.cc-title {
	color: #ab2f52;
	font-family: "Open Sans", sans-serif;
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 6px;
	text-transform: uppercase;
}
.cc-banner-text p,
.cc-dialog-body p {
	color: #555555;
	font-size: 13px;
	line-height: 22px;
	margin: 0;
}
.cc-banner a,
.cc-modal a {
	color: #ab2f52 !important;
	text-decoration: underline;
}
.cc-banner a:hover,
.cc-modal a:hover {
	color: #ffaf53 !important;
}
.cc-actions {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	max-width: 330px;
}

/* tlačidlá – rovnaký tvar ako .bttn / .banner-btn */
.cc-btn {
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 30px;
	padding: 9px 22px;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	transition: all 0.3s ease-in-out;
	white-space: nowrap;
}
.cc-btn:focus-visible,
.cc-close:focus-visible,
.cc-switch input:focus-visible + span {
	outline: 3px solid rgba(255, 175, 83, 0.6);
	outline-offset: 2px;
}
.cc-btn-accept {
	background: #ab2f52;
	border-color: #ab2f52;
	color: #ffffff;
}
.cc-btn-accept:hover {
	background: #ffaf53;
	border-color: #ffaf53;
}
.cc-btn-reject {
	background: #242424;
	border-color: #242424;
	color: #ffffff;
}
.cc-btn-reject:hover {
	background: #ffaf53;
	border-color: #ffaf53;
}
.cc-actions .cc-btn-accept,
.cc-actions .cc-btn-reject {
	flex: 1 1 140px;
}
.cc-btn-outline {
	background: #ffffff;
	border-color: #ab2f52;
	color: #ab2f52;
}
.cc-btn-outline:hover {
	background: #ab2f52;
	color: #ffffff;
}
.cc-btn-link {
	flex: 1 1 100%;
	background: none;
	color: #555555;
	padding: 2px 10px;
	text-decoration: underline;
}
.cc-btn-link:hover {
	color: #ab2f52;
}

/* dialóg nastavení */
.cc-lock,
.cc-lock body {
	overflow: hidden;
}
.cc-modal {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
	font-family: "Poppins", sans-serif;
}
.cc-modal[hidden],
.cc-banner[hidden] {
	display: none;
}
.cc-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}
.cc-dialog {
	position: relative;
	width: 100%;
	max-width: 640px;
	max-height: calc(100vh - 30px);
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 4px;
	border-top: 4px solid #ab2f52;
	-webkit-box-shadow: 0 5px 35px 0 rgba(0, 0, 0, 0.3);
	box-shadow: 0 5px 35px 0 rgba(0, 0, 0, 0.3);
	outline: none;
}
.cc-dialog-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 26px 14px;
	border-bottom: 1px solid #eeeeee;
}
.cc-dialog-head .cc-title {
	font-size: 20px;
	font-weight: 300;
	margin: 0;
}
.cc-close {
	background: none;
	border: none;
	color: #888888;
	cursor: pointer;
	font-size: 20px;
	padding: 4px 8px;
}
.cc-close:hover {
	color: #ab2f52;
}
.cc-dialog-body {
	padding: 18px 26px;
	overflow-y: auto;
}
.cc-category {
	background: #fafafa;
	border-radius: 4px;
	border-left: 4px solid #ffaf53;
	margin-top: 16px;
	padding: 16px 18px;
}
.cc-category-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}
.cc-category-head h3 {
	color: #151515;
	display: inline-block;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 600;
	margin: 0 8px 0 0;
}
.cc-badge {
	background: #ab2f52;
	border-radius: 30px;
	color: #ffffff;
	font-size: 11px;
	padding: 2px 10px;
	vertical-align: middle;
}
.cc-category details {
	margin-top: 8px;
}
.cc-category summary {
	color: #ab2f52;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
}
.cc-table {
	border-collapse: collapse;
	font-size: 12px;
	margin-top: 8px;
	width: 100%;
}
.cc-table th {
	background: #ab2f52;
	color: #ffffff;
	font-weight: 500;
	padding: 6px 8px;
	text-align: left;
}
.cc-table td {
	border-bottom: 1px solid #eeeeee;
	color: #555555;
	padding: 6px 8px;
	vertical-align: top;
}
.cc-table td:first-child {
	color: #151515;
	font-weight: 600;
	word-break: break-all;
}
.cc-dialog-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 26px 22px;
	border-top: 1px solid #eeeeee;
}

/* prepínač */
.cc-switch {
	position: relative;
	flex: 0 0 auto;
	width: 48px;
	height: 26px;
	margin: 0;
}
.cc-switch input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
	z-index: 1;
}
.cc-switch input:disabled {
	cursor: not-allowed;
}
.cc-switch span {
	position: absolute;
	inset: 0;
	background: #cccccc;
	border-radius: 30px;
	transition: background 0.3s ease-in-out;
}
.cc-switch span:after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.3s ease-in-out;
}
.cc-switch input:checked + span {
	background: #ab2f52;
}
.cc-switch input:disabled:checked + span {
	background: #d59aab;
}
.cc-switch input:checked + span:after {
	transform: translateX(22px);
}

/* súhlas v kontaktnom formulári */
.contact-form .gdpr-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #555555;
	font-size: 13px;
	line-height: 21px;
	margin: 0 0 6px;
	cursor: pointer;
}
.contact-form .gdpr-check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	padding: 0;
	accent-color: #ab2f52;
	cursor: pointer;
}
.contact-form .gdpr-check a,
.contact-form .gdpr-note a {
	color: #ab2f52;
	text-decoration: underline;
}
.contact-form .gdpr-note {
	color: #888888;
	font-size: 12px;
	line-height: 19px;
	margin: 6px 0 0;
}

@media all and (max-width: 991px) {
	.cc-banner-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}
	.cc-banner-icon {
		display: none;
	}
	.cc-actions {
		max-width: none;
	}
}
/* tabuľka cookies na stránke Ochrana osobných údajov – popisky pre mobilné zobrazenie */
@media all and (max-width: 768px) {
	.terms-table.cookie-table td:nth-child(1):before {
		content: "Názov";
	}
	.terms-table.cookie-table td:nth-child(2):before {
		content: "Poskytovateľ a účel";
	}
	.terms-table.cookie-table td:nth-child(3):before {
		content: "Platnosť";
	}
}
@media all and (max-width: 575px) {
	.cc-banner-inner {
		padding: 18px 16px;
	}
	.cc-dialog-head,
	.cc-dialog-body,
	.cc-dialog-foot {
		padding-left: 18px;
		padding-right: 18px;
	}
	.cc-dialog-foot .cc-btn {
		flex: 1 1 100%;
	}
	.cc-table th:nth-child(2),
	.cc-table td:nth-child(2) {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cc-banner,
	.cc-btn,
	.cc-switch span,
	.cc-switch span:after {
		transition: none;
	}
}

/* plávajúce tlačidlo nastavení cookies – vľavo dole */
.cc-fab {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 9990;
	display: flex;
	align-items: center;
	height: 56px;
	padding: 0;
	background: #ffffff;
	border: none;
	border-radius: 30px;
	-webkit-box-shadow: 0 5px 20px 0 rgba(171, 47, 82, 0.3);
	box-shadow: 0 5px 20px 0 rgba(171, 47, 82, 0.3);
	cursor: pointer;
	font-family: "Poppins", sans-serif;
	animation: cc-fab-in 0.4s ease-out;
	transition: box-shadow 0.3s ease-in-out;
}
.cc-fab[hidden] {
	display: none;
}
.cc-fab img {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin: 6px;
	transition: transform 0.4s ease-in-out;
}
.cc-fab-label {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #ab2f52;
	font-size: 14px;
	font-weight: 500;
	opacity: 0;
	transition: max-width 0.35s ease-in-out, opacity 0.25s ease-in-out, padding 0.35s ease-in-out;
}
.cc-fab:hover,
.cc-fab:focus-visible {
	-webkit-box-shadow: 0 5px 25px 0 rgba(255, 175, 83, 0.55);
	box-shadow: 0 5px 25px 0 rgba(255, 175, 83, 0.55);
}
.cc-fab:hover img,
.cc-fab:focus-visible img {
	transform: rotate(-15deg) scale(1.06);
}
.cc-fab:hover .cc-fab-label,
.cc-fab:focus-visible .cc-fab-label {
	max-width: 180px;
	opacity: 1;
	padding-right: 20px;
}
.cc-fab:focus-visible {
	outline: 3px solid rgba(255, 175, 83, 0.6);
	outline-offset: 2px;
}
@keyframes cc-fab-in {
	from { opacity: 0; transform: translateY(20px) scale(0.8); }
	to { opacity: 1; transform: none; }
}
@media all and (max-width: 575px) {
	.cc-fab {
		left: 14px;
		bottom: 14px;
		height: 48px;
	}
	.cc-fab img {
		width: 38px;
		height: 38px;
		margin: 5px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cc-fab,
	.cc-fab img,
	.cc-fab-label {
		animation: none;
		transition: none;
	}
}
@media all and (max-width: 767px) {
	.footer-copy {
		padding-bottom: 72px;
	}
}
