/* ============================================================
   Banner de cookies — Apartamentos Manzano
   ------------------------------------------------------------
   AEPD/RGPD: aceptar y rechazar deben ser igual de visibles.
   Solo gestionamos cookies tecnicas/funcionales (Stripe checkout
   + reCAPTCHA Enterprise + cookie de la propia eleccion); no hay
   analiticas ni marketing, asi que "rechazar opcionales" guarda
   la eleccion pero no cambia que se carguen las funcionales.
   ============================================================ */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.35);
  padding: 20px 22px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Geist', 'Montserrat', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-banner.is-visible {
  display: block;
  animation: cookie-banner-in 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #0f172a;
}

.cookie-banner__text {
  margin: 0 0 14px;
  color: #475569;
}

.cookie-banner__text a {
  color: #337A1A;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}

.cookie-banner__btn--primary {
  background: #337A1A;
  color: #ffffff;
}
.cookie-banner__btn--primary:hover {
  background: #2a6515;
}

.cookie-banner__btn--ghost {
  background: #ffffff;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.16);
}
.cookie-banner__btn--ghost:hover {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.24);
}

@media (max-width: 540px) {
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 16px 18px;
  }
  .cookie-banner__actions {
    flex-direction: column;
  }
  .cookie-banner__btn {
    width: 100%;
  }
}
