/* Cookie consent banner — bottom-left so it never sits on top of the floating buttons */

.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 150;
  width: min(460px, calc(100vw - 40px));
  background: var(--color-navy-deep); color: #fff; border-radius: 10px; border-top: 4px solid #FFC20E;
  padding: 20px 22px; box-shadow: 0 18px 48px rgba(0, 0, 0, .4);
  display: flex; flex-direction: column; gap: 16px;
}
.cookie-banner__title { display: block; font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.6; color: #C9D6FF; }
.cookie-banner a { color: #FFC20E; font-weight: 700; }
.cookie-banner__actions { display: flex; gap: 10px; }
/* Same size and weight for both choices (no nudging towards "Aceptar") */
.cookie-btn {
  flex: 1; border: 2px solid #FFC20E; background: transparent; color: #FFC20E; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: 14px; padding: 12px 16px; border-radius: 6px;
  transition: background .2s, color .2s;
}
.cookie-btn:hover { background: #FFC20E; color: var(--color-navy-deep); }
.cookie-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* "Cambiar mi elección" links/buttons in footer and policy page */
.cookie-settings-link {
  background: none; border: none; padding: 0; cursor: pointer; font: inherit; color: inherit; text-decoration: underline;
}

/* While the banner is open the floating buttons move up on small screens */
@media (max-width: 600px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 16px 16px 14px; }
  body.cookie-open .fab { bottom: 246px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-btn { transition: none; } }
