/* =====================================================================
   Cookie consent banner — Daytime Design Co.
   Loaded on every page alongside cookies.js. Styles ONLY the banner.
   Palette comes from styles.css tokens. Do not fork this into legal.css.
   ===================================================================== */

.ckbar {
  position: fixed;
  z-index: 90;
  left: 24px; right: 24px; bottom: 24px;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  background: var(--c-green);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(4,45,34,0.32);
  transform: translateY(140%);
  transition: transform .42s cubic-bezier(0.22, 1, 0.36, 1);
}
.ckbar.is-in { transform: translateY(0); }
.ckbar__copy { flex: 1 1 auto; }
.ckbar__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(249,245,235,0.92);
}
.ckbar__copy a {
  color: var(--c-acid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ckbar__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ckbar__btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.ckbar__btn:hover { transform: translateY(-2px); }
.ckbar__btn--yes { background: var(--c-acid); color: var(--c-ink); }
.ckbar__btn--yes:hover { background: #f2f83f; }
.ckbar__btn--no {
  background: transparent;
  color: rgba(249,245,235,0.88);
  border: 1px solid rgba(249,245,235,0.34);
}
.ckbar__btn--no:hover { color: var(--c-cream); border-color: rgba(249,245,235,0.7); }

@media (prefers-reduced-motion: reduce) {
  .ckbar { transition: none; }
}


@media (max-width: 720px) {
  .ckbar {
    left: 14px; right: 14px; bottom: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .ckbar__actions { justify-content: stretch; }
  .ckbar__btn { flex: 1 1 auto; }
}
