/* ═══════════════════════════════════════════════════════
   PRIME MOMENTS — cookie.css
   Cookie-banner stijlen — passend in de Prime Moments huisstijl.
═══════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 40px));
  z-index: 8000;
  width: calc(100% - 48px);
  max-width: 780px;

  background: rgba(23, 19, 17, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(196, 137, 122, 0.28);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);

  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;

  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease;

  /* Verborgen totdat JS hem activeert */
  pointer-events: none;
}

.cookie-banner.cookie-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner.cookie-hiding {
  transform: translateX(-50%) translateY(calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
}

/* Tekst-gedeelte */
.cookie-text {
  flex: 1;
  min-width: 220px;
}

.cookie-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.cookie-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.cookie-desc a {
  color: var(--rose);
  text-decoration: underline;
  text-decoration-color: rgba(196, 137, 122, 0.4);
  transition: text-decoration-color 0.2s;
}

.cookie-desc a:hover {
  text-decoration-color: var(--rose);
}

/* Knoppenrij */
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--bronze));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 137, 122, 0.3);
}

.cookie-btn-decline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  min-height: 44px;
}

.cookie-btn-decline:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.36);
}

/* Mobile */
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 80px; /* boven de floating mobile CTA balk */
    left: 16px;
    right: 16px;
    width: auto;
    transform: translateX(0) translateY(calc(100% + 100px));
    padding: 20px 18px;
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner.cookie-visible {
    transform: translateX(0) translateY(0);
  }

  .cookie-banner.cookie-hiding {
    transform: translateX(0) translateY(calc(100% + 100px));
  }

  .cookie-actions {
    flex-direction: row;
    gap: 10px;
  }

  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    padding: 13px 16px;
    font-size: 11px;
  }
}
