/*
 * The cookie notice (inc/consent.php, assets/js/consent.js). Loaded only
 * while a Meta Pixel ID is set. A calm card in the corner, not a wall: the
 * page works the same behind it, and Accept and Reject look the same.
 */
.ck {
  position: fixed; z-index: 120;
  left: clamp(0.75rem, 2.5vw, 2rem); bottom: clamp(0.75rem, 2.5vw, 2rem);
  width: min(26.5rem, calc(100vw - 1.5rem));
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.28s var(--ease-calm, ease), transform 0.4s var(--ease-out, ease);
}
.ck.is-on { opacity: 1; transform: none; }
.ck[hidden] { display: none; }

.ck__card {
  /* 1.66.2: cream, so it reads as a note laid on the page and not as part
     of the dark hero or the dark thank you card behind it. */
  background: var(--cream, #fef6e7); color: var(--forest, #0e3b2a);
  border: 1px solid var(--cream-line-2, rgba(14, 59, 42, 0.28));
  border-radius: var(--r-lg, 1.5rem);
  padding: 1.25rem 1.25rem 1.15rem;
  box-shadow: 0 28px 56px -22px rgba(4, 20, 12, 0.6), 0 2px 8px rgba(4, 20, 12, 0.18);
}
.ck__t {
  margin: 0 0 0.4rem;
  font-family: var(--font); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.005em;
}
.ck__d {
  margin: 0; font-size: var(--fs-sm, 0.875rem); line-height: 1.55;
  color: rgba(14, 59, 42, 0.84);
}
.ck__d a { color: var(--forest, #0e3b2a); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; white-space: nowrap; }
.ck__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }

/* Equal weight, on purpose: same size, same look, side by side. */
.ck__btn {
  appearance: none; cursor: pointer;
  min-height: 2.875rem; padding: 0.7rem 1rem;
  border-radius: var(--radius-pill, 999px);
  border: 1.5px solid rgba(14, 59, 42, 0.55);
  background: transparent; color: var(--forest, #0e3b2a);
  font: 600 var(--fs-sm, 0.875rem)/1 var(--font-body, sans-serif); letter-spacing: 0.01em;
  transition: background-color 0.2s var(--ease-calm, ease), color 0.2s var(--ease-calm, ease), border-color 0.2s;
}
.ck__btn:hover { background: var(--forest, #0e3b2a); color: var(--cream, #fef6e7); border-color: var(--forest, #0e3b2a); }
.ck__btn:active { transform: scale(0.98); }
.ck__btn:focus-visible { outline: 2px solid var(--forest, #0e3b2a); outline-offset: 3px; }

/* The floating sign-up/booking pill steps aside while the notice is up. */
.ck-open .booknow { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

/* "Cookie settings" sits with the footer's legal links and looks like them. */
.legal__cookie {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 500; color: rgba(254, 246, 231, 0.7);
  transition: color 0.3s var(--ease-calm, ease);
}
.legal__cookie:hover { color: var(--cream, #fef6e7); }

@media (max-width: 560px) {
  .ck { left: 0.625rem; right: 0.625rem; bottom: 0.625rem; width: auto; }
  /* 1.66.3: tighter on phones, so the hero's line and button stay in view
     above it (about a quarter of an iPhone screen, was over a third). */
  .ck__card { padding: 0.95rem 1rem 0.9rem; border-radius: var(--r-md, 1rem); }
  .ck__t { font-size: 1rem; margin-bottom: 0.25rem; }
  .ck__d { font-size: 0.8125rem; line-height: 1.45; }
  .ck__btns { margin-top: 0.75rem; gap: 0.5rem; }
  .ck__btn { min-height: 2.75rem; padding: 0.6rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ck { transition: none; transform: none; }
}
@media print { .ck { display: none !important; } }
