#yandex-metrika-consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2147483646;
	max-width: 1000px;
	margin: 0 auto;
	padding: 18px;
	box-sizing: border-box;
	background: #fff;
	color: #222;
	border: 1px solid #d7d7d7;
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .22);
	font-size: 15px;
	line-height: 1.45;
}

#yandex-metrika-consent[hidden] {
	display: none !important;
}

#yandex-metrika-consent p {
	margin: 0;
}

#yandex-metrika-consent a {
	color: #005bbb;
	text-decoration: underline;
}

.yandex-metrika-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.yandex-metrika-consent__button {
	min-height: 42px;
	padding: 9px 16px;
	border: 2px solid #005bbb;
	border-radius: 5px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.yandex-metrika-consent__button--accept {
	background: #005bbb;
	color: #fff;
}

.yandex-metrika-consent__button--reject {
	background: #fff;
	color: #005bbb;
}

@media (max-width: 600px) {
	#yandex-metrika-consent {
		left: 8px;
		right: 8px;
		bottom: 8px;
		padding: 14px;
	}

	.yandex-metrika-consent__actions {
		flex-direction: column;
	}

	.yandex-metrika-consent__button {
		width: 100%;
	}
}
