/* ============================================================
   28-cookie-notice.css — slim cookie/privacy notice
   Sits at the bottom-left of the viewport. Dismissible. Once
   dismissed, never shown again (localStorage). Position chosen
   so it doesn't conflict with the floating-cta SMS button on
   the right.
   ============================================================ */

.cookie-notice {
  position: fixed;
  bottom: 16px;
  left: 16px;
  max-width: 380px;
  background: var(--c-ink);
  color: var(--c-white);
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  z-index: 240;
  font-size: 0.88rem;
  line-height: 1.5;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.cookie-notice.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-notice p {
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-notice strong {
  color: var(--c-white);
  font-weight: 700;
}

.cookie-notice a {
  color: var(--c-yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cookie-notice-btn {
  background: var(--c-yellow);
  color: var(--c-ink);
  border: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cookie-notice-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.cookie-notice-btn:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .cookie-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

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