.cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(720px, calc(100% - 32px));
  margin-inline: auto;
  padding: 16px;
  color: #1f1f1f;
  background: #fff;
  border: 1px solid #d9ddd6;
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(16, 34, 26, .2);
  font-family: "Work Sans", Arial, sans-serif;
  line-height: 1.4;
}

.cookie-banner__copy {
  min-width: 0;
}

.cookie-banner__copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: .98rem;
}

.cookie-banner__copy p {
  margin: 0;
  color: #464a46;
  font-size: .88rem;
}

.cookie-banner__copy a {
  display: inline-block;
  margin-top: 4px;
  color: #365747;
  font-size: .82rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 0 0 230px;
  gap: 8px;
}

.cookie-banner__actions button {
  min-height: 42px;
  padding: 9px 15px;
  color: #10221a;
  background: #f8f7f3;
  border: 1px solid #5e7a68;
  border-radius: 999px;
  font: 700 .86rem "Work Sans", Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.cookie-banner__actions button:hover,
.cookie-banner__actions button:focus-visible {
  color: #fff;
  background: #10221a;
  outline: none;
  transform: translateY(-1px);
}

.cookie-settings-button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .cookie-banner--with-mobile-bar {
    bottom: 86px;
  }

  .cookie-banner__actions {
    flex-basis: auto;
    width: 100%;
  }
}

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