:root {
	--voblue: #3a4b54;
	--river:  #0e2431;
	--honey:  #d9a441;
	--paper:  #f3eee2;
	--ink:    #1a1a1a;
	--ink-soft: rgba(26,26,26,0.62);
}

#cookie-consent {
	position:fixed;
	left:0; right:0; bottom:0;
	z-index:9999;
	display:flex;
	justify-content:center;
	padding:0 20px 20px;
	transform:translateY(130%);
	transition:transform .6s cubic-bezier(.16,1,.3,1);
	pointer-events:none;
}

#cookie-consent.is-visible {
	transform:translateY(0);
	pointer-events:auto;
}

.cc-card {
	position:relative;
	width:100%;
	max-width:640px;
	background:var(--voblue);
	color:var(--paper);
	box-shadow:0 24px 60px -18px rgba(0,0,0,0.45);
	overflow:hidden;
}

.cc-river {
	display:block;
	width:100%;
	height:14px;
	margin-top: 5px;
}
.cc-river path{
	fill:none;
	stroke:var(--honey);
	stroke-width:2.4;
	stroke-linecap:round;
	stroke-dasharray:6 10;
	animation:cc-flow 6s linear infinite;
}

@keyframes cc-flow {
	to{ stroke-dashoffset:-160; }
}

.cc-body {
	padding:22px 26px 24px;
}

.cc-eyebrow {
	display:flex;
	align-items:center;
	gap:8px;
	font-size:11px;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:var(--honey);
	margin-bottom:10px;
}
.cc-eyebrow svg { width:14px; height:14px; flex-shrink:0; }

.cc-title {
	font-family:'Roboto', serif;
	font-weight:500;
	font-size:20px;
	line-height:1.3;
	margin:0 0 8px;
	color:#fff;
}

.cc-text {
	font-size:14px;
	line-height:1.6;
	color:rgba(243,238,226,0.82);
	margin:0 0 18px;
}
.cc-text a {
	color:var(--honey);
	text-decoration:underline;
	text-underline-offset:2px;
}

.cc-actions{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
}

.cc-btn {
	font-family: 'Roboto', sans-serif;
	font-size: 13.5px;
	font-weight: 500;
	padding: 10px 18px;
	border-radius: 0;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.cc-btn:active { transform: scale(.97); }

.cc-btn--accept {
	background:var(--honey);
	color:var(--voblue);
}
.cc-btn--accept:hover { background:#e6b558; }

.cc-btn--reject, .cc-btn--save {
	background: transparent;
	color: var(--paper);
	border-color: rgba(243,238,226,0.35);
}
.cc-btn--reject:hover, .cc-btn--save:hover { border-color:rgba(243,238,226,0.7); }

.cc-btn--customize {
	background:transparent;
	color:rgba(243,238,226,0.75);
	padding:10px 6px;
	text-decoration:underline;
	text-underline-offset:3px;
}
.cc-btn--customize:hover { color:#fff; }

.cc-panel {
	max-height:0;
	overflow:hidden;
	transition:max-height .45s ease;
	border-top:1px solid rgba(243,238,226,0);
}
.cc-panel.is-open{
	max-height:340px;
	border-top-color:rgba(243,238,226,0.15);
}

.cc-panel-inner{
	padding:18px 26px 22px;
	display:flex;
	flex-direction:column;
	gap:14px;
}

.cc-option{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:16px;
}
.cc-option-copy strong{
	display:block;
	font-size:13.5px;
	color:#fff;
	margin-bottom:2px;
}
.cc-option-copy span{
	display:block;
	font-size:12.5px;
	line-height:1.5;
	color:rgba(243,238,226,0.65);
}

.cc-switch{
	position:relative;
	width:40px;
	height:23px;
	flex-shrink:0;
	margin-top:2px;
}
.cc-switch input{
	opacity:0;
	width:100%;
	height:100%;
	margin:0;
	position:absolute;
	cursor:pointer;
}
.cc-switch .cc-track{
	position:absolute;
	inset:0;
	background:rgba(243,238,226,0.22);
	border-radius:100px;
	transition:background .2s ease;
}
.cc-switch .cc-thumb{
	position:absolute;
	top:3px; left:3px;
	width:17px; height:17px;
	border-radius:50%;
	background:var(--paper);
	transition:transform .2s ease;
}
.cc-switch input:checked + .cc-track{ background:var(--river); }
.cc-switch input:checked + .cc-track .cc-thumb{ transform:translateX(17px); }
.cc-switch input:disabled{ cursor:not-allowed; }
.cc-switch input:disabled + .cc-track{ background:var(--honey); opacity:.55; }
.cc-switch input:focus-visible + .cc-track{ outline:2px solid var(--honey); outline-offset:2px; }

.cc-save-row{
	display:flex;
	justify-content:flex-end;
	padding-top:2px;
}

@media (max-width:480px){
	#cookie-consent{ padding:0 12px 12px; }
	.cc-body{ padding:20px 20px 20px; }
	.cc-actions{ flex-direction:column; align-items:stretch; }
	.cc-btn{ text-align:center; }
	.cc-btn--customize{ text-align:left; }
}

@media (prefers-reduced-motion: reduce){
	#cookie-consent{ transition:none; }
	.cc-river path{ animation:none; }
	.cc-panel{ transition:none; }
}
