.pv-cookie,
.pv-cookie-modal {
	box-sizing: border-box;
	font-family: inherit;
}

.pv-cookie[hidden],
.pv-cookie-modal[hidden] {
	display: none !important;
}

.pv-cookie {
	position: fixed;
	right: 18px;
	bottom: 18px;
	left: auto;
	z-index: 99998;
	display: flex;
	justify-content: flex-end;
	pointer-events: none;
}

.pv-cookie__panel {
	width: min(390px, calc(100vw - 36px));
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	align-items: start;
	padding: 16px;
	border: 1px solid rgba(32,32,32, .10);
	border-radius: 16px;
	background: rgba(255, 255, 255, .82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 16px 48px rgba(32,32,32, .12);
	color: #202020;
	pointer-events: auto;
}

.pv-cookie__copy strong,
.pv-cookie-modal__head strong {
	display: block;
	font-size: 16px;
	line-height: 1.25;
	color: #123c2b;
}

.pv-cookie__copy p,
.pv-cookie-modal__head p {
	margin: 6px 0 0;
	color: #667085;
	font-size: 13px;
	line-height: 1.45;
}

.pv-cookie__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 9px;
}

.pv-cookie__links a,
.pv-cookie-link {
	color: #202020;
	font-weight: 700;
	text-decoration: none;
}

.pv-cookie-link {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.pv-cookie__actions,
.pv-cookie-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.pv-cookie__btn {
	min-height: 38px;
	padding: 0 13px;
	border-radius: 999px;
	border: 1px solid #E8E3DC;
	background: rgba(255, 255, 255, .78);
	color: #202020;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}

.pv-cookie__btn--primary {
	border-color: #202020;
	background: #202020;
	color: #fff;
}

.pv-cookie__btn--ghost:hover,
.pv-cookie__btn--ghost:focus-visible {
	border-color: #202020;
	color: #202020;
}

.pv-cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 18px;
}

.pv-cookie-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(32,32,32, .52);
}

.pv-cookie-modal__panel {
	position: relative;
	width: min(640px, 100%);
	max-height: min(760px, calc(100vh - 36px));
	overflow: auto;
	padding: 22px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 28px 90px rgba(0, 0, 0, .24);
}

.pv-cookie-modal__head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #edf1ea;
}

.pv-cookie-modal__close {
	width: 38px;
	height: 38px;
	border: 1px solid #E8E3DC;
	border-radius: 50%;
	background: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.pv-cookie-modal__list {
	display: grid;
	gap: 12px;
	margin: 18px 0;
}

.pv-cookie-choice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 15px;
	border: 1px solid #e5eadf;
	border-radius: 14px;
	background: #fbfcfa;
	cursor: pointer;
}

.pv-cookie-choice strong {
	display: block;
	color: #202020;
	font-size: 15px;
}

.pv-cookie-choice small {
	display: block;
	margin-top: 4px;
	color: #667085;
	font-size: 13px;
	line-height: 1.45;
}

.pv-cookie-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pv-cookie-choice i {
	position: relative;
	width: 48px;
	height: 28px;
	border-radius: 999px;
	background: #d9dfd5;
	transition: background .18s ease;
}

.pv-cookie-choice i::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	transition: transform .18s ease;
}

.pv-cookie-choice input:checked + i {
	background: #202020;
}

.pv-cookie-choice input:checked + i::after {
	transform: translateX(20px);
}

.pv-cookie-choice input:disabled + i {
	opacity: .75;
}

.pv-cookie-fab {
	position: fixed;
	left: 14px;
	bottom: 14px;
	z-index: 9990;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(32,32,32, .24);
	border-radius: 999px;
	background: rgba(255, 255, 255, .76);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #202020;
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 10px 30px rgba(32,32,32, .12);
	cursor: pointer;
}

@media (max-width: 720px) {
	.pv-cookie {
		right: 10px;
		bottom: 10px;
		left: 10px;
	}

	.pv-cookie__panel {
		width: 100%;
		grid-template-columns: 1fr;
		padding: 14px;
		border-radius: 15px;
	}

	.pv-cookie__actions {
		display: flex;
		justify-content: stretch;
	}

	.pv-cookie__actions .pv-cookie__btn {
		flex: 1 1 auto;
		min-width: 0;
		padding-inline: 10px;
		font-size: 12px;
	}

	.pv-cookie-modal__actions {
		display: grid;
		grid-template-columns: 1fr;
	}
}
