/* Colibri Consent – styled to match Colibri Travel */
.cc-banner,
.cc-overlay,
.cc-reopen {
	--cc-paper: var(--paper, #FBF7F2);
	--cc-sand: var(--sand, #FFEAD4);
	--cc-ice: var(--ice, #74B8E4);
	--cc-moss: var(--moss, #70892C);
	--cc-fjord: var(--fjord, #193B35);
	--cc-ink: var(--ink, #1F2A2E);
	--cc-muted: var(--muted, #5D6A6A);
	--cc-line: var(--line, rgba(25, 59, 53, .16));
	--cc-on-dark: var(--on-dark, #F6EFE6);
	--cc-on-dark-muted: var(--on-dark-muted, rgba(246, 239, 230, .72));
	--cc-display: var(--display, "Playfair Display"), Georgia, serif;
	--cc-body: var(--body, "Montserrat"), Arial, sans-serif;
	font-family: var(--cc-body);
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.cc-banner *, .cc-overlay *, .cc-reopen * { box-sizing: border-box; }

/* ---------- Banner (dark card, bottom-left) ---------- */
.cc-banner {
	position: fixed;
	left: clamp(16px, 3vw, 32px);
	bottom: clamp(16px, 3vw, 32px);
	z-index: 99998;
	width: min(600px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: clamp(26px, 3vw, 36px);
	background: var(--cc-fjord);
	color: var(--cc-on-dark);
	box-shadow: 0 24px 60px rgba(17, 23, 32, .28);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .35s ease, transform .35s ease;
}
.cc-banner.is-visible { opacity: 1; transform: none; }

.cc-eyebrow {
	margin: 0 0 14px;
	font-family: var(--cc-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .32em;
	line-height: 1.6;
	text-transform: uppercase;
	color: var(--cc-moss);
}
.cc-banner .cc-eyebrow { color: var(--cc-ice); }

.cc-title {
	margin: 0 0 14px;
	font-family: var(--cc-display);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
}

.cc-text {
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.75;
	color: var(--cc-muted);
}
.cc-banner .cc-text { color: var(--cc-on-dark-muted); }

.cc-link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.cc-banner .cc-link { color: var(--cc-on-dark); }
.cc-link:hover { opacity: .8; }

/* ---------- Buttons ---------- */
.cc-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin-top: 26px;
}
.cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 15px 24px;
	border: 1px solid transparent;
	border-radius: 0;
	font-family: var(--cc-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .22em;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
	box-shadow: none;
}
.cc-btn--solid { background: var(--cc-fjord); border-color: var(--cc-fjord); color: var(--cc-on-dark); }
.cc-btn--solid:hover { background: var(--cc-ink); border-color: var(--cc-ink); color: var(--cc-on-dark); }
.cc-btn--outline { background: transparent; border-color: rgba(25, 59, 53, .35); color: var(--cc-fjord); }
.cc-btn--outline:hover { background: var(--cc-fjord); border-color: var(--cc-fjord); color: var(--cc-on-dark); }

.cc-banner .cc-btn--solid { background: var(--cc-sand); border-color: var(--cc-sand); color: var(--cc-fjord); }
.cc-banner .cc-btn--solid:hover { background: var(--cc-on-dark); border-color: var(--cc-on-dark); }
.cc-banner .cc-btn--outline { border-color: rgba(246, 239, 230, .4); color: var(--cc-on-dark); }
.cc-banner .cc-btn--outline:hover { background: var(--cc-on-dark); border-color: var(--cc-on-dark); color: var(--cc-fjord); }

.cc-arrow {
	position: relative;
	display: inline-block;
	width: 18px;
	height: 1px;
	background: currentColor;
}
.cc-arrow::after {
	content: "";
	position: absolute;
	right: 0;
	top: -3px;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}

.cc-textlink {
	margin: 0 0 0 4px;
	padding: 0 0 4px;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: none;
	font-family: var(--cc-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .22em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--cc-fjord);
	cursor: pointer;
	box-shadow: none;
}
.cc-banner .cc-textlink { color: var(--cc-on-dark); }
.cc-textlink:hover { opacity: .75; background: none; }

.cc-btn:focus-visible,
.cc-textlink:focus-visible,
.cc-link:focus-visible,
.cc-close:focus-visible,
.cc-reopen:focus-visible,
.cc-switch-input:focus-visible + .cc-switch-track {
	outline: 2px solid var(--cc-ice);
	outline-offset: 3px;
}

/* ---------- Preferences dialog ---------- */
.cc-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 23, 32, .55);
	opacity: 0;
	transition: opacity .3s ease;
}
.cc-overlay.is-visible { opacity: 1; }
html.cc-lock { overflow: hidden; }

.cc-dialog {
	position: relative;
	width: min(620px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: clamp(28px, 4vw, 48px);
	background: var(--cc-paper);
	color: var(--cc-fjord);
	box-shadow: 0 30px 80px rgba(17, 23, 32, .3);
	transform: translateY(14px);
	transition: transform .3s ease;
	outline: none;
}
.cc-overlay.is-visible .cc-dialog { transform: none; }
.cc-dialog .cc-title { font-size: clamp(28px, 3vw, 38px); }

.cc-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--cc-line);
	border-radius: 0;
	background: transparent;
	cursor: pointer;
	box-shadow: none;
}
.cc-close::before,
.cc-close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 1px;
	background: var(--cc-fjord);
}
.cc-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.cc-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.cc-close:hover { background: var(--cc-sand); }

.cc-cats {
	margin-top: 28px;
	border-top: 1px solid var(--cc-line);
}
.cc-cat {
	padding: 18px 0;
	border-bottom: 1px solid var(--cc-line);
}
.cc-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.cc-cat-label {
	margin: 0;
	font-family: var(--cc-display);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--cc-fjord);
	cursor: pointer;
}
.cc-cat-desc {
	margin: 8px 0 0;
	max-width: 46ch;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--cc-muted);
}
.cc-always {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--cc-moss);
	white-space: nowrap;
}
.cc-cat > .cc-switch-input { display: none; }

/* Switch */
.cc-switch { position: relative; display: inline-flex; flex: 0 0 auto; }
.cc-switch-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}
.cc-switch-track {
	position: relative;
	display: block;
	width: 46px;
	height: 26px;
	border: 1px solid rgba(25, 59, 53, .35);
	background: transparent;
	transition: background-color .25s ease, border-color .25s ease;
}
.cc-switch-track::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 16px;
	height: 16px;
	background: var(--cc-fjord);
	transition: transform .25s ease, background-color .25s ease;
}
.cc-switch-input:checked + .cc-switch-track { background: var(--cc-fjord); border-color: var(--cc-fjord); }
.cc-switch-input:checked + .cc-switch-track::after { transform: translateX(20px); background: var(--cc-sand); }

/* ---------- Reopen pill ---------- */
.cc-reopen {
	position: fixed;
	left: clamp(12px, 2vw, 24px);
	bottom: clamp(12px, 2vw, 24px);
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 9px 14px;
	border: 1px solid var(--cc-line);
	border-radius: 0;
	background: var(--cc-paper);
	color: var(--cc-fjord);
	font-family: var(--cc-body);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .22em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(17, 23, 32, .12);
	opacity: .85;
	transition: opacity .2s ease, background-color .2s ease;
}
.cc-reopen:hover { opacity: 1; background: var(--cc-sand); color: var(--cc-fjord); }
.cc-reopen-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cc-moss);
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
	.cc-banner {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-height: 85vh;
		padding: 26px 20px calc(22px + env(safe-area-inset-bottom));
	}
	.cc-actions { flex-direction: column; align-items: stretch; }
	.cc-btn { width: 100%; }
	.cc-textlink { align-self: center; margin: 6px 0 0; }
	.cc-overlay { align-items: flex-end; padding: 0; }
	.cc-dialog { max-height: 92vh; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
	.cc-close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.cc-banner, .cc-overlay, .cc-dialog, .cc-switch-track, .cc-switch-track::after { transition: none; }
}

/* ---------- Theme-proofing ----------
 * Themes (e.g. Hello Elementor) style every <button>, [type=button] and <a>,
 * including :hover/:focus. These higher-specificity rules keep the banner on-brand.
 */
button.cc-btn.cc-btn,
button.cc-textlink.cc-textlink,
button.cc-close.cc-close,
button.cc-reopen.cc-reopen {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
	font-family: var(--cc-body);
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: normal;
	width: auto;
	min-height: 0;
	outline-offset: 3px;
}
button.cc-btn.cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 15px 24px;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	border-width: 1px;
	border-style: solid;
}

/* Dialog (light) */
button.cc-btn.cc-btn--solid.cc-btn--solid,
button.cc-btn.cc-btn--solid.cc-btn--solid:focus { background: var(--cc-fjord); border-color: var(--cc-fjord); color: var(--cc-on-dark); }
button.cc-btn.cc-btn--solid.cc-btn--solid:hover,
button.cc-btn.cc-btn--solid.cc-btn--solid:active { background: var(--cc-ink); border-color: var(--cc-ink); color: var(--cc-on-dark); }
button.cc-btn.cc-btn--outline.cc-btn--outline,
button.cc-btn.cc-btn--outline.cc-btn--outline:focus { background: transparent; border-color: rgba(25, 59, 53, .35); color: var(--cc-fjord); }
button.cc-btn.cc-btn--outline.cc-btn--outline:hover,
button.cc-btn.cc-btn--outline.cc-btn--outline:active { background: var(--cc-fjord); border-color: var(--cc-fjord); color: var(--cc-on-dark); }

/* Banner (dark) */
.cc-banner button.cc-btn.cc-btn--solid.cc-btn--solid,
.cc-banner button.cc-btn.cc-btn--solid.cc-btn--solid:focus { background: var(--cc-sand); border-color: var(--cc-sand); color: var(--cc-fjord); }
.cc-banner button.cc-btn.cc-btn--solid.cc-btn--solid:hover,
.cc-banner button.cc-btn.cc-btn--solid.cc-btn--solid:active { background: var(--cc-on-dark); border-color: var(--cc-on-dark); color: var(--cc-fjord); }
.cc-banner button.cc-btn.cc-btn--outline.cc-btn--outline,
.cc-banner button.cc-btn.cc-btn--outline.cc-btn--outline:focus { background: transparent; border-color: rgba(246, 239, 230, .4); color: var(--cc-on-dark); }
.cc-banner button.cc-btn.cc-btn--outline.cc-btn--outline:hover,
.cc-banner button.cc-btn.cc-btn--outline.cc-btn--outline:active { background: var(--cc-on-dark); border-color: var(--cc-on-dark); color: var(--cc-fjord); }

/* Text link buttons */
button.cc-textlink.cc-textlink,
button.cc-textlink.cc-textlink:hover,
button.cc-textlink.cc-textlink:focus,
button.cc-textlink.cc-textlink:active {
	background: transparent;
	border: 0;
	border-bottom: 1px solid currentColor;
	padding: 0 0 4px;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--cc-fjord);
}
.cc-banner button.cc-textlink.cc-textlink,
.cc-banner button.cc-textlink.cc-textlink:hover,
.cc-banner button.cc-textlink.cc-textlink:focus,
.cc-banner button.cc-textlink.cc-textlink:active { color: var(--cc-on-dark); }
button.cc-textlink.cc-textlink:hover { opacity: .75; }

/* Close */
button.cc-close.cc-close,
button.cc-close.cc-close:focus { width: 40px; height: 40px; padding: 0; background: transparent; border: 1px solid var(--cc-line); color: var(--cc-fjord); }
button.cc-close.cc-close:hover,
button.cc-close.cc-close:active { background: var(--cc-sand); border-color: var(--cc-line); }

/* Reopen pill */
button.cc-reopen.cc-reopen,
button.cc-reopen.cc-reopen:focus { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; background: var(--cc-paper); border: 1px solid var(--cc-line); color: var(--cc-fjord); }
button.cc-reopen.cc-reopen:hover,
button.cc-reopen.cc-reopen:active { background: var(--cc-sand); color: var(--cc-fjord); opacity: 1; }

/* Links inside banner/dialog */
.cc-banner a.cc-link, .cc-banner a.cc-link:hover, .cc-banner a.cc-link:focus { color: var(--cc-on-dark); }
.cc-dialog a.cc-link, .cc-dialog a.cc-link:hover, .cc-dialog a.cc-link:focus { color: var(--cc-fjord); }

button.cc-btn.cc-btn:focus-visible,
button.cc-textlink.cc-textlink:focus-visible,
button.cc-close.cc-close:focus-visible,
button.cc-reopen.cc-reopen:focus-visible { outline: 2px solid var(--cc-ice); outline-offset: 3px; }

@media (max-width: 600px) {
	button.cc-btn.cc-btn { width: 100%; }
}

/* ---------- Banner layout: two equal buttons, settings below ---------- */
.cc-banner .cc-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-items: stretch;
}
.cc-banner button.cc-btn.cc-btn {
	width: 100%;
	padding: 15px 14px;
	letter-spacing: .18em;
}
.cc-banner button.cc-textlink.cc-textlink {
	grid-column: 1 / -1;
	justify-self: start;
	margin: 10px 0 0;
}
@media (max-width: 600px) {
	.cc-banner .cc-actions { grid-template-columns: 1fr; }
	.cc-banner button.cc-textlink.cc-textlink { justify-self: center; }
}
