/*! GL Cookie Consent v1.2.0 */
.glcc {
	--glcc-bg: #ffffff;
	--glcc-fg: #232323;
	--glcc-muted: #54595f;
	--glcc-line: #e4e4e4;
	--glcc-soft: #f4f4f2;
	--glcc-on-accent: #1a1a1a;
	--glcc-radius: 14px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	color: var(--glcc-fg);
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.glcc *, .glcc *::before, .glcc *::after { box-sizing: border-box; }
.glcc[hidden], .glcc [hidden] { display: none !important; }

/* Banner */
.glcc-banner {
	position: fixed;
	z-index: 2147483000;
	bottom: 20px;
	width: min(440px, calc(100vw - 32px));
	background: var(--glcc-bg);
	border: 1px solid var(--glcc-line);
	border-radius: var(--glcc-radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
	padding: 22px 22px 18px;
	animation: glcc-in .35s ease-out both;
}
.glcc-banner.glcc-pos-left { left: 20px; }
.glcc-banner.glcc-pos-right { right: 20px; }
.glcc-banner.glcc-pos-center {
	left: 50%;
	transform: translateX(-50%);
	width: min(880px, calc(100vw - 32px));
	animation-name: glcc-in-center;
}
.glcc-banner.glcc-pos-center .glcc-actions { justify-content: flex-end; }

@keyframes glcc-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes glcc-in-center { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .glcc-banner { animation: none; } }

.glcc-title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--glcc-fg);
}
.glcc-text {
	margin: 0 0 16px;
	color: var(--glcc-muted);
	font-size: 14px;
}
.glcc-link {
	color: var(--glcc-fg) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	white-space: nowrap;
}

/* Buttons */
.glcc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.glcc .glcc-btn {
	appearance: none;
	flex: 1 1 auto;
	min-height: 44px;
	padding: 10px 16px;
	margin: 0;
	border-radius: 10px;
	border: 1.5px solid var(--glcc-fg);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.glcc .glcc-btn-primary {
	background: var(--glcc-accent, #EA9216);
	border-color: var(--glcc-accent, #EA9216);
	color: var(--glcc-on-accent);
}
.glcc .glcc-btn-primary:hover { filter: brightness(.94); }
.glcc .glcc-btn-secondary {
	background: var(--glcc-fg);
	color: #fff;
}
.glcc .glcc-btn-secondary:hover { background: #000; border-color: #000; }
.glcc .glcc-btn-ghost {
	flex-basis: 100%;
	background: transparent;
	border-color: transparent;
	color: var(--glcc-fg);
	text-decoration: underline;
	text-underline-offset: 3px;
	min-height: 36px;
	padding: 6px;
}
.glcc .glcc-btn-ghost:hover { background: var(--glcc-soft); }
.glcc-banner.glcc-pos-center .glcc-btn-ghost { flex-basis: auto; flex-grow: 0; }
.glcc .glcc-btn:focus-visible,
.glcc-close:focus-visible,
.glcc-floating:focus-visible,
.glcc-switch input:focus-visible + span,
.glcc-link:focus-visible {
	outline: 3px solid var(--glcc-accent, #EA9216);
	outline-offset: 2px;
}

/* Preferences modal */
html.glcc-lock { overflow: hidden; }
.glcc-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	background: rgba(20, 20, 20, .55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.glcc-modal {
	width: min(560px, 100%);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	display: flex;
	flex-direction: column;
	background: var(--glcc-bg);
	border-radius: var(--glcc-radius);
	box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
	outline: none;
}
.glcc-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px 10px;
}
.glcc-modal-head .glcc-title { margin: 0; font-size: 19px; }
.glcc .glcc-close {
	appearance: none;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--glcc-soft);
	color: var(--glcc-fg);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.glcc-modal-body {
	padding: 4px 22px 8px;
	overflow-y: auto;
}
.glcc-modal-foot {
	padding: 14px 22px 20px;
	border-top: 1px solid var(--glcc-line);
}
.glcc-cat {
	border: 1px solid var(--glcc-line);
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 10px;
}
.glcc-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.glcc-cat-name {
	font-weight: 700;
	font-size: 15px;
	color: var(--glcc-fg);
	cursor: pointer;
	margin: 0;
}
.glcc-cat-desc {
	margin: 6px 0 0;
	font-size: 13.5px;
	color: var(--glcc-muted);
}
.glcc-always {
	font-size: 12.5px;
	font-weight: 600;
	color: #2d6a3e;
	background: #e6f3ea;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.glcc-id {
	margin: 12px 0 4px;
	font-size: 12.5px;
	color: var(--glcc-muted);
	word-break: break-all;
}
.glcc-id code {
	font-size: 12px;
	background: var(--glcc-soft);
	padding: 2px 6px;
	border-radius: 4px;
}

/* Switch */
.glcc-switch { position: relative; display: inline-flex; flex: none; }
.glcc-switch input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}
.glcc-switch span {
	display: block;
	width: 46px;
	height: 26px;
	border-radius: 999px;
	background: #c9c9c9;
	position: relative;
	transition: background-color .2s;
}
.glcc-switch span::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .2s;
}
.glcc-switch input:checked + span { background: var(--glcc-fg); }
.glcc-switch input:checked + span::after { transform: translateX(20px); }

/* Floating button */
.glcc-floating {
	position: fixed;
	z-index: 2147482999;
	bottom: 16px;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--glcc-line);
	background: var(--glcc-bg);
	color: var(--glcc-fg);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: .85;
	transition: opacity .15s, transform .15s;
}
.glcc-floating:hover { opacity: 1; transform: scale(1.05); }
.glcc-floating.glcc-pos-left { left: 16px; }
.glcc-floating.glcc-pos-right { right: 16px; }

/* Mobile */
@media (max-width: 600px) {
	.glcc-banner,
	.glcc-banner.glcc-pos-left,
	.glcc-banner.glcc-pos-right,
	.glcc-banner.glcc-pos-center {
		left: 8px;
		right: 8px;
		bottom: 8px;
		width: auto;
		transform: none;
		padding: 18px 16px 14px;
		animation-name: glcc-in;
	}
	.glcc .glcc-btn { flex-basis: calc(50% - 4px); }
	.glcc .glcc-btn-ghost { flex-basis: 100%; }
	.glcc-modal-foot .glcc-btn { flex-basis: 100%; }
	.glcc-overlay { padding: 8px; align-items: flex-end; }
}

/* Theme resets (Hello Elementor & co. style every <button>) */
button.glcc.glcc-floating,
button.glcc.glcc-floating:hover,
button.glcc.glcc-floating:focus {
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	border: 1px solid var(--glcc-line);
	border-radius: 50%;
	background: var(--glcc-bg);
	color: var(--glcc-fg);
	line-height: 1;
	text-transform: none;
}
.glcc button.glcc-btn-primary:hover,
.glcc button.glcc-btn-primary:focus {
	background: var(--glcc-accent, #EA9216);
	border-color: var(--glcc-accent, #EA9216);
	color: var(--glcc-on-accent);
}
.glcc button.glcc-btn-secondary:hover,
.glcc button.glcc-btn-secondary:focus {
	background: #000;
	border-color: #000;
	color: #fff;
}
.glcc button.glcc-btn-ghost:hover,
.glcc button.glcc-btn-ghost:focus {
	background: var(--glcc-soft);
	border-color: transparent;
	color: var(--glcc-fg);
}
.glcc button.glcc-close:hover,
.glcc button.glcc-close:focus {
	background: var(--glcc-line);
	color: var(--glcc-fg);
}
button.glcc.glcc-floating.glcc-floating-off {
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
}
