.rk-cookie {
	--rk-brown: #433228;
	--rk-cream: #fcf1eb;
	--rk-orange: #faa61a;
	--rk-red: #ba1b1e;
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 2147483647;
	width: min(400px, calc(100vw - 40px));
	font-family: 'Montserrat', Arial, sans-serif !important;
	color: var(--rk-brown);
	opacity: 0;
	pointer-events: none;
	transform: translateY(14px) scale(.98);
	transition: opacity .26s ease, transform .26s ease;
	will-change: opacity, transform;
}

.rk-cookie.rk-cookie_is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.rk-cookie,
.rk-cookie *,
.rk-cookie *::before,
.rk-cookie *::after {
	box-sizing: border-box;
}

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

.rk-cookie__card {
	display: grid;
	padding: 20px;
	border: 1px solid rgba(67, 50, 40, 0.12);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(67, 50, 40, 0.18);
}

.rk-cookie [data-cookie-summary],
.rk-cookie [data-cookie-settings] {
	grid-area: 1 / 1;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	visibility: hidden;
	transition: max-height .26s ease, opacity .2s ease, transform .26s ease, visibility 0s linear .26s;
}

.rk-cookie [data-cookie-summary].rk-cookie__panel_is-active,
.rk-cookie [data-cookie-settings].rk-cookie__panel_is-active {
	max-height: 680px;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
	transition-delay: 0s;
}

.rk-cookie [data-cookie-settings].rk-cookie__panel_is-active {
	overflow: visible;
}

.rk-cookie__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.rk-cookie__description {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.5;
}

.rk-cookie__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 16px;
}

.rk-cookie button {
	font-family: inherit !important;
}

.rk-cookie__button,
.rk-cookie__settings-link,
.rk-cookie__close {
	border: 0;
	cursor: pointer;
}

.rk-cookie__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 14px;
	border: 2px solid transparent;
	border-radius: 100px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
	transition: background-color .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out;
}

.rk-cookie__button_primary {
	background: var(--rk-orange);
	color: #433227;
}

.rk-cookie__button_primary:hover {
	background: var(--rk-red);
	color: var(--rk-cream);
}

.rk-cookie__button svg {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
}

.rk-cookie__button_primary svg path {
	fill: currentColor;
}

.rk-cookie__button_secondary {
	border-color: var(--rk-brown);
	background: transparent;
	color: var(--rk-brown);
}

.rk-cookie__button_secondary:hover {
	border-color: var(--rk-brown);
	background: var(--rk-brown);
	color: #fff;
}

.rk-cookie__button:focus-visible,
.rk-cookie__settings-link:focus-visible,
.rk-cookie__close:focus-visible,
.rk-cookie__category input:focus-visible {
	outline: 2px solid var(--rk-brown);
	outline-offset: 3px;
}

.rk-cookie__settings-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 6px;
	padding: 8px 0;
	background: transparent;
	color: var(--rk-brown);
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rk-cookie__settings-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.rk-cookie__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	min-width: 22px;
	min-height: 22px;
	margin: 0;
	background: transparent;
	padding: 0;
}

.rk-cookie__close svg {
	display: block;
	width: 22px;
	height: 22px;
}

.rk-cookie__close svg circle {
	transition: fill .2s ease;
}

.rk-cookie__close:hover svg circle {
	fill: var(--rk-red);
}

.rk-cookie__categories {
	display: grid;
	gap: 0;
	margin-top: 12px;
	border-top: 1px solid rgba(67, 50, 40, 0.14);
}

.rk-cookie__category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(67, 50, 40, 0.14);
	cursor: pointer;
}

.rk-cookie__category span {
	display: grid;
	gap: 2px;
}

.rk-cookie__category strong {
	font-size: 13px;
	line-height: 1.25;
}

.rk-cookie__category small {
	font-size: 11px;
	line-height: 1.35;
	opacity: .72;
}

.rk-cookie__category input {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--rk-orange);
	flex: 0 0 auto;
}

.rk-cookie__category input:disabled {
	opacity: .6;
}

.rk-cookie__save {
	width: 100%;
	margin-top: 16px;
}

.rk-cookie-reopen-wrap {
	padding: 0 20px 18px;
	background: #433228;
	text-align: center;
}

.rk-cookie-reopen {
	min-height: 44px;
	padding: 8px 12px;
	border: 0;
	background: transparent;
	color: #fcf1eb;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.rk-cookie-reopen:focus-visible {
	outline: 3px solid rgba(250, 166, 26, .6);
	outline-offset: 2px;
}

html.rk-cookie-is-open #jivo_chat_widget,
html.rk-cookie-is-open .jivo_chat_widget,
html.rk-cookie-is-open [id^="jivo-"],
html.rk-cookie-is-open jdiv[class*="__jivo"],
html.rk-cookie-is-open iframe[src*="jivosite"] {
	visibility: hidden !important;
	pointer-events: none !important;
}

.rk-map-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 385px;
	padding: 20px;
	background: #eee9e5;
}

.rk-map-placeholder__button {
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--rk-orange, #faa61a);
	color: #433228;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 640px) {
	.rk-cookie {
		left: 12px !important;
		right: 12px !important;
		bottom: 12px !important;
		width: auto !important;
	}

	.rk-cookie__card {
		max-height: calc(100vh - 24px);
		overflow-y: auto;
		padding: 16px;
		border-radius: 16px;
	}

	.rk-cookie [data-cookie-summary].rk-cookie__panel_is-active,
	.rk-cookie [data-cookie-settings].rk-cookie__panel_is-active {
		max-height: calc(100vh - 56px);
	}

	.rk-cookie__title {
		font-size: 18px;
	}

	.rk-cookie__description {
		font-size: 12px;
	}

	.rk-cookie__button,
	.rk-cookie__settings-link {
		min-height: 44px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rk-cookie,
	.rk-cookie [data-cookie-summary],
	.rk-cookie [data-cookie-settings] {
		transition-duration: .01ms;
	}
}

@media (max-width: 350px) {
	.rk-cookie__actions {
		grid-template-columns: 1fr;
	}
}
