.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#nca-cookiesaccept-line,
#nca-cookiesaccept,
#nca-cookies,
[id^="nca-cookie"],
.nca-cookiesaccept-line,
.cookie.js-cookie {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.cookie-policy,
app-cookie-policy {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.cookies-popup-open {
	overflow: hidden !important;
	touch-action: none;
}

html.cookies-has-consent .cookies,
html.cookies-has-consent .cookies-popup {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: none !important;
}

.cookies {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2147483000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.cookies.cookies--visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.cookies__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	box-shadow: 0 10px 32px rgba(67, 71, 74, 0.12);
}

.cookies__text {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-family: Ekibastuz, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #000000;
	text-align: center;
}

.cookies__link {
	color: #cc3e1e;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookies__link:hover {
	color: #942e17;
}

.cookies__actions {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.cookies__btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 10px 16px;
	font-family: Ekibastuz, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookies__btn--primary {
	background: #0054a4;
	color: #fff;
}

.cookies__btn--primary:hover {
	background: #004587;
}

.cookies__btn--secondary {
	background: #fff;
	color: #0054a4;
	border-color: #0054a4;
}

.cookies__btn--secondary:hover {
	background: #0054a4;
	color: #fff;
	border-color: #0054a4;
}

.cookies__btn--ghost {
	background: #fff;
	color: #0054a4;
	border-color: #0054a4;
}

.cookies__btn--ghost:hover {
	background: #0054a4;
	color: #fff;
	border-color: #0054a4;
}

.cookies-popup {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	box-sizing: border-box;
}

.cookies-popup *,
.cookies-popup *::before,
.cookies-popup *::after {
	box-sizing: border-box;
}

.cookies-popup.cookies-popup--visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.cookies-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(67, 71, 74, 0.45);
}

.cookies-popup__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 520px;
	max-height: min(100vh - 32px, 100dvh - 32px);
	overflow: hidden;
	padding: 28px 28px 24px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 16px 48px rgba(67, 71, 74, 0.2);
	min-height: 0;
}

.cookies-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #757575;
	cursor: pointer;
}

.cookies-popup__close:hover {
	color: #000000;
}

.cookies-popup__title {
	margin: 0 40px 20px 0;
	flex-shrink: 0;
	font-family: Ekibastuz, Arial, sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: #000000;
}

.cookies-popup__sections {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
}

.cookies-popup-section {
	padding: 18px 0;
	border-top: 1px solid #e8e8e8;
}

.cookies-popup-section:first-child {
	border-top: 0;
	padding-top: 0;
}

.cookies-popup-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}

.cookies-popup-section__title {
	margin: 0;
	font-family: Ekibastuz, Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #000000;
}

.cookies-popup-section__badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 10px;
	border-radius: 999px;
	background: #0054a4;
	color: #fff;
	font-family: Ekibastuz, Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.cookies-popup-section__desc {
	margin: 0;
	font-family: Ekibastuz, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #757575;
}

.cookies-popup-section__services {
	margin: 8px 0 0;
	font-family: Ekibastuz, Arial, sans-serif;
	font-size: 12px;
	font-style: italic;
	line-height: 1.4;
	color: #888;
}

.cookies-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	flex-shrink: 0;
}

.cookies-switch__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.cookies-switch__ui {
	display: block;
	width: 44px;
	height: 26px;
	border-radius: 999px;
	background: #d0d0d0;
	position: relative;
	transition: background 0.2s ease;
}

.cookies-switch__ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.cookies-switch__input:checked + .cookies-switch__ui {
	background: #0054a4;
}

.cookies-switch__input:checked + .cookies-switch__ui::after {
	transform: translateX(18px);
}

.cookies-switch__input:focus-visible + .cookies-switch__ui {
	outline: 2px solid #0054a4;
	outline-offset: 2px;
}

.cookies-popup__save {
	display: block;
	width: 100%;
	margin-top: 20px;
	flex-shrink: 0;
	flex-grow: 0;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-align: center;
}

@media (min-width: 769px) {
	.cookies-popup__save {
		font-size: 16px;
		height: 50px;
		padding-top: 0;
		padding-bottom: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.cookies {
		left: 8px;
		right: 8px;
		bottom: 8px;
	}

	.cookies__inner {
		padding: 16px;
		gap: 12px;
	}

	.cookies__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cookies__btn {
		width: 100%;
		text-align: center;
	}

	.cookies-popup {
		padding: 8px;
		align-items: center;
	}

	.cookies-popup__dialog {
		padding: 24px 18px 18px;
		max-height: min(100vh - 16px, 100dvh - 16px);
		height: auto;
		margin: 0 auto;
	}

	.cookies-popup__sections {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.cookies-popup__save {
		margin-top: 16px;
	}
}
