/* Vellmari · Cookies */
.vck-banner,
.vck-overlay {
	--vck-yellow: #ffce00;
	--vck-black: #0d0d0d;
	--vck-ink: #ffffff;
	--vck-muted: rgba(255, 255, 255, .78);
	--vck-line: rgba(255, 255, 255, .18);
	font-family: inherit;
	line-height: 1.5;
	box-sizing: border-box;
}
.vck-banner *,
.vck-overlay * { box-sizing: border-box; }

/* ---------- banner ---------- */
.vck-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2147483000;
	max-width: 1100px;
	margin: 0 auto;
	background: var(--vck-black);
	color: var(--vck-ink);
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
	animation: vck-up .35s ease-out;
}
.vck-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 20px 24px;
}
.vck-copy { flex: 1 1 auto; min-width: 0; }
.vck-title {
	margin: 0 0 4px !important;
	padding: 0 !important;
	font-size: 17px !important;
	font-weight: 700;
	color: var(--vck-ink) !important;
	line-height: 1.3 !important;
}
.vck-text {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: var(--vck-muted) !important;
}
.vck-text a {
	color: var(--vck-yellow) !important;
	text-decoration: underline !important;
	white-space: nowrap;
}

.vck-actions {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
	flex-wrap: wrap;
}
.vck-btn {
	appearance: none;
	min-width: 118px;
	min-height: 44px;
	margin: 0;
	padding: 10px 18px;
	border: 2px solid var(--vck-yellow);
	border-radius: 4px;
	background: transparent;
	color: var(--vck-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.vck-btn:hover { background: rgba(255, 206, 0, .12); }
.vck-btn--primary {
	background: var(--vck-yellow);
	color: var(--vck-black);
}
.vck-btn--primary:hover { background: #ffd933; }
.vck-btn:focus-visible,
.vck-close:focus-visible,
.vck-text a:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 2px;
}

/* ---------- panel ---------- */
.vck-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .6);
}
.vck-overlay[hidden] { display: none; }
html.vck-lock { overflow: hidden; }

.vck-panel {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px 24px 24px;
	background: var(--vck-black);
	color: var(--vck-ink);
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.vck-panel .vck-title { font-size: 20px !important; padding-right: 36px !important; }
.vck-panel > .vck-text { margin-bottom: 16px !important; }
.vck-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--vck-ink);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}
.vck-close:hover { background: rgba(255, 255, 255, .1); }

.vck-cat {
	padding: 14px 0;
	border-top: 1px solid var(--vck-line);
}
.vck-cat p {
	margin: 6px 0 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: var(--vck-muted) !important;
}
.vck-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.vck-cat-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--vck-ink);
	cursor: pointer;
}
.vck-always {
	font-size: 12px;
	font-weight: 700;
	color: var(--vck-yellow);
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* interruptor */
.vck-switch {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 46px;
	height: 26px;
}
.vck-switch input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}
.vck-switch span {
	position: absolute;
	inset: 0;
	border-radius: 26px;
	background: #555;
	transition: background .15s;
}
.vck-switch span::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: transform .15s;
}
.vck-switch input:checked + span { background: var(--vck-yellow); }
.vck-switch input:checked + span::after { transform: translateX(20px); background: var(--vck-black); }
.vck-switch input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }

.vck-panel .vck-actions {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--vck-line);
}
.vck-panel .vck-btn { flex: 1 1 140px; }

/* ---------- móvil ---------- */
@media (max-width: 820px) {
	.vck-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 16px 16px; }
	.vck-actions .vck-btn { flex: 1 1 0; min-width: 0; padding: 10px 8px; }
}
@media (max-width: 340px) {
	.vck-banner .vck-actions { flex-direction: column; }
}

@keyframes vck-up {
	from { transform: translateY(20px); opacity: 0; }
	to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.vck-banner { animation: none; }
	.vck-btn, .vck-switch span, .vck-switch span::after { transition: none; }
}

/* ---------- enlaces legales del pie [vellmari_legal_links] ---------- */
.vck-legal {
	margin: 18px 0 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	line-height: 1.8 !important;
	opacity: .85;
}
.vck-legal a {
	color: inherit !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.vck-legal a:hover { opacity: .7; }
