/* Decants Ficha — aviso de cookies (plugin Cookie Notice) con la estética de la web (04/11/2026).
   Tarjeta blanca flotante: abajo a la izquierda en escritorio, a lo ancho con margen en el móvil. El plugin pinta el
   fondo y los botones con estilos en línea: por eso los !important. La X se oculta porque el plugin la usa para ACEPTAR. */

#cookie-notice {
	--ck-ink: #0d0d0d;
	--ck-gris: #6b6b6b;
	--ck-suave: #f4f4f2;
	left: 12px !important;
	right: 12px !important;
	bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none;
	background: #fff !important;
	color: var(--ck-ink) !important;
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .22), 0 2px 8px rgba(0, 0, 0, .08);
	font-family: "Inter", system-ui, sans-serif !important;
	z-index: 100000 !important;
}
#cookie-notice .cookie-notice-container {
	display: grid;
	gap: 14px;
	padding: 18px 18px 16px !important;
	text-align: left !important;
	color: var(--ck-ink) !important;
}
#cookie-notice .cookie-notice-container::before {
	content: "Cookies";
	font-family: "Inter Tight", "Space Grotesk", "Inter", sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1;
	text-transform: none;
}
#cookie-notice .cookie-notice-container { text-transform: none !important; } /* el tema pone el aviso en mayúsculas */
#cookie-notice #cn-notice-text {
	display: block;
	margin: 0 !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	font-weight: 400 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #444 !important;
}
/* Rechazar y Aceptar iguales (la AEPD pide que rechazar sea tan fácil y visible como aceptar); «Más información» como enlace debajo */
#cookie-notice #cn-notice-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
#cookie-notice .cn-button {
	flex: 1 1 0;
	height: 42px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ck-suave) !important;
	color: var(--ck-ink) !important;
	font-family: "Inter Tight", "Inter", sans-serif !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	line-height: 1 !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
#cookie-notice #cn-accept-cookie,
#cookie-notice #cn-refuse-cookie { background: var(--ck-ink) !important; color: #fff !important; }
#cookie-notice #cn-accept-cookie:hover,
#cookie-notice #cn-refuse-cookie:hover { background: #2a2a2a !important; }
#cookie-notice #cn-refuse-cookie { order: 1; }
#cookie-notice #cn-accept-cookie { order: 2; }
#cookie-notice #cn-more-info {
	order: 3; flex: 1 0 100%; height: auto; padding: 4px 0 0 !important; background: none !important; color: var(--ck-gris) !important;
	font-family: "Inter", sans-serif !important; font-size: 12.5px !important; font-weight: 500 !important; text-decoration: underline !important; text-underline-offset: 3px; text-align: left;
}
#cookie-notice #cn-more-info:hover { color: var(--ck-ink) !important; background: none !important; }
#cn-notice-revoke, #cookie-notice-revoke, .cn-revoke-cookie.cn-button { display: none; } /* sin botón flotante: se cambia desde el pie */
#cookie-notice .cn-button:focus-visible { outline: 2px solid var(--ck-ink); outline-offset: 2px; }
#cookie-notice .cn-close-icon { display: none !important; } /* en Cookie Notice la X acepta: mejor que no esté */

@media (min-width: 768px) {
	#cookie-notice { left: 24px !important; right: auto !important; bottom: 24px !important; max-width: 400px; }
}
