/* Cookie consent banner (assets/js/consent.js). Shared by index, terminos and privacidad. */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  background: #0f172a; color: #e2e8f0;
  border: 1px solid #334155; border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 12px 40px rgba(15, 23, 42, .35);
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px; line-height: 1.5;
}
.cc-banner[hidden] { display: none; }
.cc-banner .cc-text { margin: 0; flex: 1; color: #e2e8f0; font-size: 14px; line-height: 1.5; }
.cc-more { color: #b9a6ff; text-decoration: underline; white-space: nowrap; }
.cc-more:hover { color: #fff; }
.cc-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cc-btn {
  font: inherit; font-weight: 600; cursor: pointer;
  border-radius: 10px; padding: 9px 18px; min-height: 40px;
  border: 1px solid #64748b; background: transparent; color: #fff;
}
.cc-btn:hover { border-color: #fff; }
.cc-accept { background: #6740E8; border-color: #6740E8; }
.cc-accept:hover { background: #5230B8; border-color: #5230B8; }
.cc-btn:focus-visible, .cc-more:focus-visible, .cookie-settings-link:focus-visible { outline: 2px solid #9776FF; outline-offset: 2px; }

/* While the banner is open, keep the mobile sticky CTA out of the way */
.cc-open .sticky-cta { visibility: hidden; }

/* Footer trigger: a <button> styled as a link */
.cookie-settings-link {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; text-decoration: underline;
}
.footer-col .cookie-settings-link { display: block; padding: 4px 0; font-size: 14px; text-decoration: none; text-align: left; }
.cookie-settings-link:hover { color: #9776FF; }

@media (max-width: 640px) {
  .cc-banner { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .cc-actions .cc-btn { flex: 1; }
}
