/* Rumcajsowka analytics consent banner */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: none;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent.is-visible {
  display: flex;
}

.cookie-consent__box {
  width: min(960px, 100%);
  background: #ffffff;
  border: 1px solid rgba(44, 98, 45, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  color: #263326;
  padding: 22px;
  pointer-events: auto;
}

.cookie-consent__title {
  color: #123f1e;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.cookie-consent__text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.cookie-consent__btn,
.cookie-settings-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.cookie-consent__btn {
  padding: 10px 18px;
}

.cookie-consent__btn--accept {
  background: #2b642b;
  color: #ffffff;
}

.cookie-consent__btn--reject {
  background: #f0ece3;
  color: #2b3a2b;
}

.cookie-consent__link {
  align-items: center;
  color: #2b642b;
  display: inline-flex;
  font-weight: 800;
  padding: 10px 4px;
}

.cookie-settings-button {
  background: transparent;
  color: inherit;
  display: inline;
  padding: 0;
}

.footer-links .cookie-settings-button {
  margin-left: 14px;
}

@media (max-width: 640px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-consent__box {
    border-radius: 14px;
    padding: 18px;
  }

  .cookie-consent__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-consent__btn,
  .cookie-consent__link {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .footer-links .cookie-settings-button {
    display: block;
    margin-left: 0;
    margin-top: 8px;
  }
}
