.cookie-notice {
  position: fixed;
  right: 20px;
  bottom: 82px;
  left: 20px;
  z-index: 1200;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(680px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 16px 18px;
  color: #0d294c;
  background: #fff;
  border: 1px solid rgba(13, 41, 76, 0.18);
  box-shadow: 0 12px 32px rgba(13, 41, 76, 0.2);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.42;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-notice.__visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-notice-text {
  margin: 0;
}

.cookie-notice-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-notice-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 15px;
  color: #fff;
  background: #0d294c;
  border: 1px solid #0d294c;
  border-radius: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-notice-button:hover,
.cookie-notice-button:focus-visible {
  color: #0d294c;
  background: #fff;
  outline: 2px solid #0d294c;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-notice {
    right: 12px;
    bottom: 92px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: auto;
    padding: 14px;
    font-size: 13px;
  }

  .cookie-notice-button {
    width: 100%;
  }
}
