/* ==========================================================================
   Cookie consent banner — Kilimanjaro Safari Experience
   Shown only when Google Analytics is configured (partials/kse-consent).
   Decline and Accept are deliberately the same size and weight.
   z-index 95 sits above the WhatsApp (90) and chat (91/92) buttons, which
   reappear as soon as a choice is made.
   ========================================================================== */

.kse-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: 0 16px 16px; pointer-events: none;
  font-family: var(--ff-body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
}
.kse-consent[hidden] { display: none; }
.kse-consent__inner {
  pointer-events: auto;
  max-width: 980px; margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; gap: 20px;
  background: var(--forest-deep, #0E2A1F); color: #fff;
  border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  box-shadow: 0 18px 50px -12px rgba(14,42,31,.6), 0 4px 14px rgba(14,42,31,.25);
  animation: kse-consent-in .25s ease-out;
}
@keyframes kse-consent-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.kse-consent__text { flex: 1; margin: 0; font-size: .92rem; line-height: 1.55; color: rgba(255,255,255,.88); }
.kse-consent__text strong { display: block; margin-bottom: 2px; font-size: 1rem; color: #fff; font-family: var(--ff-display, Georgia, serif); font-weight: 500; }
.kse-consent__text a { color: var(--gold, #E0A43B); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.kse-consent__actions { flex: none; display: flex; gap: 10px; }
.kse-consent__btn {
  min-width: 112px; min-height: 46px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1;
  border: 2px solid var(--gold, #E0A43B); transition: background-color .2s ease, color .2s ease;
}
.kse-consent__btn--solid { background: var(--gold, #E0A43B); color: var(--forest-deep, #0E2A1F); }
.kse-consent__btn--solid:hover { background: var(--gold-deep, #C6862A); border-color: var(--gold-deep, #C6862A); color: #fff; }
.kse-consent__btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.kse-consent__btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.kse-consent__btn:focus-visible, .kse-consent__text a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* "Cookie settings" link the script adds to the footer's bottom bar */
.kse-consent-manage {
  margin-left: 14px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; opacity: .85;
}
.kse-consent-manage:hover { opacity: 1; }

@media (max-width: 640px) {
  .kse-consent { padding: 0 10px 10px; }
  .kse-consent__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .kse-consent__actions { width: 100%; }
  .kse-consent__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .kse-consent__inner { animation: none; } }
