/* Informational notice. Analytics loading is independent of dismissal. */
:root { --cookie-notice-height: 0px; }
.cookie-notice[hidden] { display: none !important; }
.cookie-notice {
  position: fixed;
  z-index: 30;
  inset: auto 0 0;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
  color: #303039;
  background: #fff;
  border-top: 1px solid #e5e0f4;
  box-shadow: 0 -6px 28px rgba(37, 28, 78, .12);
  font-size: 16px;
  line-height: 1.4;
}
.cookie-notice__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.cookie-notice__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: #4430a0;
}
.cookie-notice__text { flex: 1; margin: 0; }
.cookie-notice__text a { color: #4430a0; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice__button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 26px;
  border: 1px solid #4430a0;
  border-radius: 12px;
  color: #fff;
  background: #4430a0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cookie-notice__button:hover { background: #362483; }
.cookie-notice__button:focus-visible,
.cookie-notice-trigger:focus-visible,
.cookie-notice a:focus-visible { outline: 3px solid #9281d8; outline-offset: 4px; }
.cookie-notice-trigger {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
body:has(.cookie-notice:not([hidden])) { padding-bottom: var(--cookie-notice-height); }
@media (max-width: 750px) {
  .mobile-contact-bar { bottom: calc(12px + env(safe-area-inset-bottom, 0px) + var(--cookie-notice-height, 0px)) !important; }
  body:has(.cookie-notice:not([hidden])) { padding-bottom: calc(var(--cookie-notice-height) + 88px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  .cookie-notice { padding: 13px 16px calc(13px + env(safe-area-inset-bottom, 0px)); font-size: 14px; line-height: 1.35; }
  .cookie-notice__inner { gap: 12px; align-items: flex-start; flex-wrap: wrap; }
  .cookie-notice__icon { flex-basis: 24px; width: 24px; height: 24px; margin-top: 2px; }
  .cookie-notice__text { flex-basis: calc(100% - 36px); }
  .cookie-notice__button { min-height: 44px; margin-left: 36px; padding: 10px 24px; }
}
