/* Cookies LRDS — Frontend */
.lrds-ck,
.lrds-ck *,
.lrds-ck-reopen {
	box-sizing: border-box;
	font-family: "Poppins", sans-serif !important;
}

.lrds-ck {
	--lrds-ck-link: #78BE21;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.lrds-ck[hidden] {
	display: none !important;
}

.lrds-ck.lrds-ck--open {
	display: flex !important;
}

.lrds-ck__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(51, 51, 51, 0.55);
}

.lrds-ck__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	background: #fff;
	border-radius: 16px;
	padding: 28px 28px 22px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
	color: #333333 !important;
}

.lrds-ck__title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #333333 !important;
}

.lrds-ck__intro,
.lrds-ck__policy {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #333333 !important;
}

.lrds-ck__policy a,
.lrds-ck a,
.lrds-ck-reopen {
	color: var(--lrds-ck-link, #78BE21) !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lrds-ck__policy a:hover,
.lrds-ck a:hover,
.lrds-ck-reopen:hover {
	filter: brightness(0.92);
}

.lrds-ck__list {
	list-style: none;
	margin: 16px 0 20px;
	padding: 0;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
}

.lrds-ck__item {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0 !important;
	padding: 14px 16px;
	border-bottom: 1px solid #e5e5e5;
	list-style: none;
}

.lrds-ck__item:last-child {
	border-bottom: 0;
}

.lrds-ck__item-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 auto;
	min-width: 0;
}

.lrds-ck__item-text strong {
	font-size: 14px;
	font-weight: 700;
	color: #333333 !important;
}

.lrds-ck__item-text span {
	font-size: 13px;
	line-height: 1.4;
	color: #333333 !important;
}

.lrds-ck-switch {
	position: relative;
	display: block;
	flex: 0 0 48px;
	width: 48px;
	min-width: 48px;
	height: 28px;
	margin: 0 0 0 auto !important;
	padding: 0;
	overflow: hidden;
}

.lrds-ck-switch input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.lrds-ck-switch__ui {
	display: block;
	width: 48px;
	height: 28px;
	border-radius: 999px;
	background: #cfcfcf;
	cursor: pointer;
	transition: background 0.2s ease;
}

.lrds-ck-switch__ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.lrds-ck-switch input:checked + .lrds-ck-switch__ui {
	background: var(--lrds-ck-link, #78BE21);
}

.lrds-ck-switch input:checked + .lrds-ck-switch__ui::after {
	transform: translateX(20px);
}

.lrds-ck-switch--locked .lrds-ck-switch__ui {
	background: var(--lrds-ck-link, #78BE21);
	opacity: 0.7;
	cursor: not-allowed;
}

.lrds-ck-switch--locked input:checked + .lrds-ck-switch__ui::after {
	transform: translateX(20px);
}

.lrds-ck__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.lrds-ck-btn {
	appearance: none;
	border: 0;
	border-radius: 8px;
	padding: 10px 16px;
	font-family: "Poppins", sans-serif !important;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.2;
}

.lrds-ck-btn--primary {
	background: #7ac143;
	color: #fff;
}

.lrds-ck-btn--secondary {
	background: #333333;
	color: #fff;
}

.lrds-ck-btn--ghost {
	background: #fff;
	color: #333333 !important;
	border: 1px solid #cfcfcf;
}

.lrds-ck-reopen {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	font-family: "Poppins", sans-serif !important;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 600px) {
	.lrds-ck__dialog {
		padding: 22px 18px 18px;
	}
	.lrds-ck__actions {
		flex-direction: column;
	}
	.lrds-ck-btn {
		width: 100%;
	}
}
