/* Banner de cookies con el lenguaje visual del sitio */
.consent {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 900;
  width: min(560px, calc(100vw - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .4s;
}
.consent[data-open="true"] { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.consent__text { flex: 1 1 260px; margin: 0; font-size: .9rem; line-height: 1.5; color: #424245; }
.consent__actions { display: flex; gap: 8px; flex: none; }
.consent__btn {
  font: inherit; font-size: .86rem; font-weight: 500;
  border: none; border-radius: 980px; padding: 10px 18px; cursor: pointer;
  background: #f5f5f7; color: #1d1d1f; transition: background .3s;
}
.consent__btn:hover { background: #e8e8ed; }
.consent__btn--primary { background: #0071e3; color: #fff; }
.consent__btn--primary:hover { background: #0077ed; }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }
