/* Cookie notice (inc/cookie-notice.php), 30 Nov 2026.
   Copies the old Squarespace banner: white bar fixed to the bottom, small
   text on the left, a small uppercase Accept button on the right (measured
   on holisticphysiowellness.ca: 14px 20px padding, 11.6px text, 12px
   uppercase button with 0.1em letter spacing). The button colour is the
   site's primary button. A hairline on top was added so the bar does not
   blend into a white section behind it. */

.cookie-notice {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 300;                       /* above the sticky header (100) and menus (160) */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: 0.875rem 1.25rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  color: var(--color-text);
  font-family: var(--font-body);
}
.cookie-notice[hidden] { display: none; }

.cookie-notice__text {
  margin: 0;
  max-width: none;
  font-size: 0.75rem;
  line-height: 1.75;
}

.btn.cookie-notice__accept {
  flex: none;
  min-height: 0;
  padding: 0.6875rem 0.9375rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: var(--fw-normal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Phones: text above, button below at full width (a 44px tap target). */
@media (max-width: 40rem) {
  .cookie-notice { flex-direction: column; align-items: stretch; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); }
  .btn.cookie-notice__accept { min-height: 44px; }
}
