/* Aviso de cookies · solventaia.com */
.solventa-cookies {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 100000;
	display: flex;
	justify-content: center;
	pointer-events: none;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease;
}

.solventa-cookies[hidden] {
	display: none;
}

.solventa-cookies.is-visible {
	opacity: 1;
	transform: none;
}

.solventa-cookies__caja {
	pointer-events: auto;
	width: 100%;
	max-width: 760px;
	background: #ffffff;
	color: #38454a;
	border: 1px solid #e2e4e6;
	border-top: 4px solid #f2c054;
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(10, 24, 33, .18);
	padding: 1.25rem 1.5rem;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .35rem 1.5rem;
	align-items: center;
	font-size: 14.5px;
	line-height: 1.55;
}

.solventa-cookies__titulo {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #0a1821;
}

.solventa-cookies__texto {
	margin: 0;
}

.solventa-cookies__texto a {
	color: #27607c;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.solventa-cookies__botones {
	display: flex;
	gap: .6rem;
}

/* Mismo estilo para ambos botones: aceptar y rechazar con igual prominencia. */
.solventa-cookies__boton {
	appearance: none;
	min-width: 112px;
	padding: .7rem 1.2rem;
	border: 2px solid #27607c;
	border-radius: 8px;
	background: #27607c;
	color: #ffffff;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.solventa-cookies__boton:hover,
.solventa-cookies__boton:focus-visible {
	background: #1c485c;
	border-color: #1c485c;
	color: #ffffff;
}

.solventa-cookies__boton:focus-visible {
	outline: 3px solid #f2c054;
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.solventa-cookies__caja {
		grid-template-columns: 1fr;
		padding: 1.1rem 1.1rem 1.2rem;
	}

	.solventa-cookies__botones > * {
		flex: 1 1 0;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.solventa-cookies {
		transition: none;
	}
}
