.site-cookie-notice {
  position: fixed;
  right: auto;
  bottom: 24px;
  left: 50%;
  z-index: 9999;
  width: min(720px, calc(100% - 32px));
  padding: 16px 20px;
  box-sizing: border-box;
  color: #151515;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, 16px, 0);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.site-cookie-notice.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
}

.site-cookie-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-cookie-notice__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.site-cookie-notice__text a {
  color: #052f6d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-cookie-notice__accept {
  flex: 0 0 auto;
  min-width: 116px;
  padding: 11px 24px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  background: #052f6d;
  border: 1px solid #052f6d;
  border-radius: 4px;
  cursor: pointer;
}

.site-cookie-notice__accept:hover {
  background: #0a438e;
  border-color: #0a438e;
}

.site-cookie-notice__accept:focus-visible,
.site-cookie-notice__text a:focus-visible {
  outline: 2px solid #052f6d;
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .site-cookie-notice {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 15px 16px;
  }

  .site-cookie-notice__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .site-cookie-notice__accept {
    width: 100%;
  }
}

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