/* Cookiemelding (partials/consent.njk, werking in js/ads.js). Alleen geladen als site.metaPixel is ingevuld.
   Kleuren via de variabelen uit site.css, dus groen op de gîtes-site. */
.consent {
  position: fixed; left: 0; right: 0; bottom: 20px; z-index: 1000;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.consent[hidden] { display: none; }
.consent__box {
  pointer-events: auto; max-width: 560px; width: 100%;
  padding: 22px 26px; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 10px 40px rgba(var(--deep-rgb), .22);
  font-size: 14px; line-height: 1.6; color: var(--text);
  animation: consent-in .5s var(--ease);
}
.consent__title { margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.consent__text { margin: 0 0 16px; }
.consent__text a { color: var(--blue); text-decoration: underline; }
.consent__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.consent__btn { flex: 1 1 140px; justify-content: center; padding-block: 12px; }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) { .consent__box { animation: none; } }
@media (max-width: 767px) { .consent { bottom: 12px; } .consent__box { padding: 18px 20px; } }

.site-footer__cookies {
  padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer;
}
