/* Компактный блок cookie справа снизу — ПК и мобилка */
.bp-cookie-banner {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: auto;
	z-index: 2147483640;
	width: auto;
	max-width: 300px;
	transform: translateY(12px);
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
	pointer-events: none;
	box-sizing: border-box;
}

.bp-cookie-banner.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.bp-cookie-banner__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	padding: 12px 14px 14px;
	background: #fff;
	border: 1px solid #d7e0e6;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(21, 69, 91, 0.12);
	box-sizing: border-box;
}

.bp-cookie-banner__text {
	margin: 0;
	font: 400 12px/1.4 'Roboto', Arial, sans-serif;
	color: #4a5963;
}

.bp-cookie-banner__text a {
	color: #15455B;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bp-cookie-banner__text a:hover {
	color: #FF7D01;
}

.bp-cookie-banner__btn {
	width: 100%;
	border: none;
	border-radius: 999px;
	padding: 9px 16px;
	font: 600 13px/1.2 'Roboto', Arial, sans-serif;
	cursor: pointer;
	background: #FF7D01;
	color: #fff;
	transition: background 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.bp-cookie-banner__btn:hover {
	background: #e87100;
}

@media (max-width: 767px) {
	.bp-cookie-banner {
		right: 8px;
		left: auto;
		width: auto;
		max-width: min(252px, calc(100vw - 16px));
		bottom: calc(58px + 8px + env(safe-area-inset-bottom, 0px));
	}

	.bp-cookie-banner__inner {
		padding: 10px 11px 11px;
		gap: 8px;
		border-radius: 10px;
	}

	.bp-cookie-banner__text {
		font-size: 11px;
		line-height: 1.35;
	}

	.bp-cookie-banner__btn {
		padding: 8px 12px;
		font-size: 12px;
	}
}

@media (min-width: 768px) {
	.bp-cookie-banner__text {
		font-size: 13px;
	}

	.bp-cookie-banner__btn {
		padding: 10px 18px;
		font-size: 14px;
	}
}
