.sp-consent[hidden],
.sp-consent-trigger[hidden],
.sp-consent-dialog[hidden] {
	display: none !important;
}

.sp-consent {
	position: fixed;
	z-index: 999990;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	left: max(18px, env(safe-area-inset-left));
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 28px;
	align-items: center;
	max-width: 1120px;
	margin-inline: auto;
	padding: 24px 26px;
	color: #f7faf7;
	background: #0b3c2f;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 20px;
	box-shadow: 0 22px 60px rgba(5, 30, 23, .28);
	font-family: inherit;
}

.sp-consent__copy > * { margin-top: 0; }
.sp-consent__copy > *:last-child { margin-bottom: 0; }
.sp-consent__eyebrow {
	margin-bottom: 5px;
	color: #b8d86a;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.sp-consent__title,
.sp-consent-dialog h2 {
	margin-bottom: 8px;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	line-height: 1.15;
}
.sp-consent__copy p:not(.sp-consent__eyebrow) {
	max-width: 760px;
	margin-bottom: 8px;
	color: rgba(255, 255, 255, .82);
	font-size: .94rem;
	line-height: 1.55;
}
.sp-consent__copy a { color: #d4ec9a; text-underline-offset: 3px; }
.sp-consent__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	min-width: min(390px, 36vw);
}
.sp-consent__button,
.sp-consent__settings,
.sp-consent-trigger,
.sp-consent-dialog__close {
	appearance: none;
	font: inherit;
	cursor: pointer;
}
.sp-consent__button {
	min-height: 48px;
	padding: 11px 17px;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 10px;
	font-size: .9rem;
	font-weight: 750;
}
.sp-consent__button:hover { background: rgba(255, 255, 255, .09); }
.sp-consent__button--primary {
	color: #12392d;
	background: #b8d86a;
	border-color: #b8d86a;
}
.sp-consent__button--primary:hover { background: #c9e783; }
.sp-consent__settings {
	grid-column: 1 / -1;
	justify-self: center;
	padding: 4px 10px;
	color: #d4ec9a;
	background: transparent;
	border: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sp-consent button:focus-visible,
.sp-consent a:focus-visible,
.sp-consent-trigger:focus-visible,
.sp-consent-dialog button:focus-visible,
.sp-consent-dialog input:focus-visible {
	outline: 3px solid #ffcf4a;
	outline-offset: 3px;
}

.sp-consent-trigger {
	position: fixed;
	z-index: 999980;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	display: inline-flex;
	gap: 8px;
	align-items: center;
	min-height: 44px;
	padding: 9px 14px;
	color: #fff;
	background: #0b3c2f;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(5, 30, 23, .2);
	font-size: .82rem;
	font-weight: 700;
}

.sp-consent-open { overflow: hidden; }
.sp-consent-dialog {
	position: fixed;
	z-index: 1000000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
}
.sp-consent-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 24, 18, .66);
	backdrop-filter: blur(4px);
}
.sp-consent-dialog__panel {
	position: relative;
	width: min(620px, 100%);
	max-height: min(760px, calc(100vh - 40px));
	overflow-y: auto;
	padding: clamp(24px, 4vw, 38px);
	color: #17352c;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}
.sp-consent-dialog__panel > p:not(.sp-consent__eyebrow) {
	margin: 0 0 22px;
	color: #52635d;
	line-height: 1.55;
}
.sp-consent-dialog__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	color: #17352c;
	background: #eff3ef;
	border: 0;
	border-radius: 50%;
	font-size: 1.7rem;
	line-height: 1;
}
.sp-consent-option {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
	padding: 18px;
	background: #f5f7f4;
	border: 1px solid #dce3dc;
	border-radius: 14px;
}
.sp-consent-option h3,
.sp-consent-option strong { display: block; margin: 0 0 4px; font-size: 1rem; }
.sp-consent-option p,
.sp-consent-option small { display: block; margin: 0; color: #5e6c67; font-size: .86rem; line-height: 1.45; }
.sp-consent-option__required { flex: 0 0 auto; color: #24664f; font-size: .78rem; font-weight: 800; }
.sp-consent-switch { position: relative; flex: 0 0 auto; width: 50px; height: 30px; }
.sp-consent-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sp-consent-switch span {
	display: block;
	width: 50px;
	height: 30px;
	background: #7b8782;
	border-radius: 99px;
	transition: background .2s ease;
}
.sp-consent-switch span::after {
	content: '';
	position: absolute;
	top: 4px;
	left: 4px;
	width: 22px;
	height: 22px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
	transition: transform .2s ease;
}
.sp-consent-switch input:checked + span { background: #24664f; }
.sp-consent-switch input:checked + span::after { transform: translateX(20px); }
.sp-consent-switch input:focus-visible + span { outline: 3px solid #b17a00; outline-offset: 3px; }
.sp-consent-dialog__actions { display: flex; gap: 10px; margin-top: 22px; }
.sp-consent-dialog__actions .sp-consent__button { color: #17352c; border-color: #24664f; }
.sp-consent-dialog__actions .sp-consent__button--primary { color: #12392d; border-color: #b8d86a; }

@media (max-width: 760px) {
	.sp-consent {
		grid-template-columns: 1fr;
		gap: 17px;
		padding: 20px;
		border-radius: 16px;
	}
	.sp-consent__actions { min-width: 0; }
	.sp-consent__button { padding-inline: 10px; font-size: .82rem; }
	.sp-consent-trigger span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.sp-consent-trigger { width: 46px; min-height: 46px; justify-content: center; padding: 0; }
	.sp-consent-dialog { padding: 10px; align-items: end; }
	.sp-consent-dialog__panel { max-height: calc(100dvh - 20px); border-radius: 20px 20px 12px 12px; }
	.sp-consent-dialog__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.sp-consent-switch span,
	.sp-consent-switch span::after { transition: none; }
}
