/* Cookie notice (assets/analytics.js). Bottom-left on larger screens, a full-width card above the
   call bar on phones. Colours and type come from the site's own variables. */
.site-consent {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 61;
  display: none;
  max-width: 26rem;
  padding: 1.1rem 1.25rem 1.2rem;
  background: #fff;
  color: var(--brand-dark, #1d2433);
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow, 0 10px 30px rgb(0 0 0 / .18)), 0 0 0 1px rgb(0 0 0 / .06);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: .95rem;
  line-height: 1.5;
}
.site-consent.is-open { display: block; }
.site-consent__title {
  margin: 0 0 .3rem;
  font-family: var(--font-head, inherit);
  font-size: 1.05rem;
  font-weight: 700;
}
.site-consent__text { margin: 0 0 .9rem; }
.site-consent__text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-consent__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.site-consent__btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 2px solid var(--brand-primary, #333);
  border-radius: var(--radius-sm, 8px);
  font: inherit;
  font-family: var(--font-head, inherit);
  font-weight: 700;
  cursor: pointer;
}
.site-consent__btn--accept { background: var(--brand-primary, #333); color: #fff; }
.site-consent__btn--reject { background: #fff; color: var(--brand-primary, #333); }
.site-consent__btn:hover { filter: brightness(1.08); }
.site-consent__btn:focus-visible { outline: 3px solid var(--brand-accent, #000); outline-offset: 2px; }
@media (max-width: 699.98px) {
  .site-consent { left: .75rem; right: .75rem; bottom: calc(4.5rem + .75rem); max-width: none; }
  html.site-consent-open .whatsapp-fab { visibility: hidden; }
}
@media (prefers-reduced-motion: no-preference) {
  .site-consent.is-open { animation: site-consent-in .25s ease-out; }
  @keyframes site-consent-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
