.cookies{
	position: fixed;
	z-index: 1030;
	bottom: 0;
	left:0;
	background-color: white;
	width: 100%;
	max-width: 100vw;
	box-sizing: border-box;
	padding: 2rem;
	overflow-x: hidden;
}
.cookies h2{
	color:black;
	font-size: 1.5rem;
}
.cookies p{
	color:black;
	font-size: 1rem;
}
.cookies a{
	color:black;
	font-size: 1rem;
	text-decoration: underline;
}

.cookies img{
	max-width: 100%;
	height: auto;
}
.btn-cookies{
	background-color: black;
	color:white;
	font-size: 1rem; 
}

/* Evita desbordes en móvil (Bootstrap .btn-group no hace wrap por defecto) */
.cookies .btn-group{
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cookies .btn-group > .btn{
	white-space: normal;
}

/* Offcanvas: permite que el switch baje de línea si falta ancho */
#PoliticaCookies .list-group-item.d-flex{
	flex-wrap: wrap;
	gap: 0.5rem;
}

#PoliticaCookies .ms-2.me-auto{
	min-width: 0;
}

#PoliticaCookies p,
.cookies p{
	overflow-wrap: anywhere;
}.cookie-settings-access{
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 1045;
}
.cookie-settings-access .btn{
	background-color: rgba(255,255,255,.95);
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}
.cookie-settings-access .btn svg{
	width: 1rem;
	height: 1rem;
	fill: currentColor;
	flex: 0 0 auto;
}
.chat-cookie-activator{
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 1045;
}
.chat-cookie-launcher{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border: 0;
	border-radius: 50%;
	background-color: #212529;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.2);
	padding: 0;
	color: white;
}
.chat-cookie-launcher svg{
	width: 1.75rem;
	height: 1.75rem;
	fill: currentColor;
}
.chat-cookie-card{
	position: absolute;
	right: 0;
	bottom: calc(100% + .75rem);
	width: min(22rem, calc(100vw - 2rem));
	background-color: white;
	border: 1px solid #212529;
	border-radius: .5rem;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
	padding: 1rem;
	padding-top: 2.25rem;
	color: black;
}
.chat-cookie-card p{
	margin-bottom: .75rem;
}
.chat-cookie-close{
	position: absolute;
	top: .5rem;
	right: .5rem;
	border: 0;
	background: transparent;
	color: #212529;
	font-size: 1.5rem;
	line-height: 1;
	padding: 0;
}
.chat-cookie-activator.is-open .chat-cookie-launcher{
	background-color: #343a40;
}
@media (max-width: 767.98px){
	.cookies{
		padding: 1rem;
	}
	.chat-cookie-activator{
		right: 1rem;
		bottom: 1rem;
	}
	.chat-cookie-card{
		width: min(20rem, calc(100vw - 2rem));
	}
	.cookie-settings-access{
		left: 1rem;
		bottom: 1rem;
	}
}
