.cookie-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 520px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
  font-family: "Montserrat", Arial, sans-serif;
}

.cookie-notice[hidden] {
  display: none;
}

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

.cookie-notice__button {
  flex: 0 0 auto;
  min-width: 68px;
  min-height: 42px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: #0039A6;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus-visible {
  background: #08246F;
  box-shadow: 0 8px 18px rgba(0, 57, 166, 0.22);
  outline: none;
}

.cookie-notice__button:active {
  transform: translateY(1px);
}

@media (max-width: 767px) {
  .cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
  }

  .cookie-notice__text {
    font-size: 13px;
  }

  .cookie-notice__button {
    width: 100%;
  }
}
