/* Banner de consentimiento de cookies analíticas — autocontenido, sin depender de las variables de cada página */
.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  max-width: 640px;
  margin: 0 auto;
  background: #0d0d0d;
  color: #fff;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.consent-banner__text {
  flex: 1 1 260px;
  font-size: .82rem;
  line-height: 1.55;
  color: #e4e4e4;
  margin: 0;
}

.consent-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-banner__actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}

.consent-banner__btn {
  font-family: inherit;
  font-size: .8rem;
  font-weight: 500;
  padding: .5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .12s;
}

.consent-banner__btn--reject {
  background: transparent;
  color: #e4e4e4;
  border: 1px solid #4a4a4a;
}
.consent-banner__btn--reject:hover { opacity: .8; }

.consent-banner__btn--accept {
  background: #fff;
  color: #0d0d0d;
  border: 1px solid #fff;
}
.consent-banner__btn--accept:hover { opacity: .85; }

@media (max-width: 480px) {
  .consent-banner { flex-direction: column; align-items: stretch; }
  .consent-banner__actions { width: 100%; }
  .consent-banner__btn { flex: 1; text-align: center; }
}
