.bev-cookie-banner[hidden] { display: none !important; }

.bev-cookie-banner {
  position: fixed;
  z-index: 99994;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
  width: min(378px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid #b8c9c8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(13 43 47 / 20%);
  color: #103236;
  font: 400 13px/1.45 'DM Sans', Arial, sans-serif;
}

.bev-cookie-banner h2 { margin: 0 0 6px; color: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; }
.bev-cookie-banner p { margin: 0 0 12px; }
.bev-cookie-banner a { color: inherit; text-decoration: underline; }
.bev-cookie-banner > div { display: flex; flex-wrap: wrap; gap: 7px; }
.bev-cookie-banner button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 11px;
  border: 1px solid #103236;
  border-radius: 8px;
  background: #103236;
  color: #fff;
  font: 700 12px/1.2 'DM Sans', Arial, sans-serif;
  cursor: pointer;
}
.bev-cookie-banner button:focus-visible { outline: 2px solid #af4d37; outline-offset: 2px; }
.site-footer .bev-cookie-settings {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.site-footer .bev-cookie-settings:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 1024px), (max-width: 1366px) and (pointer: coarse) {
  body.home:has(.bev-mobile-actions) .bev-cookie-banner { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
