.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: min(460px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(82, 111, 134, 0.26);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 18px 45px rgba(40, 32, 26, 0.16);
  color: #13233f;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.cookie-banner h2 {
  margin: 0 0 8px;
  color: #526f86;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.cookie-banner p {
  margin: 0 0 14px;
  color: #5f5853;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: #3d8796;
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-button {
  min-height: 42px;
  padding: 10px 14px;
  border: 2px solid #3d8796;
  border-radius: 8px;
  background: #3d8796;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-button.secondary {
  background: transparent;
  color: #3d8796;
}

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

@media (max-width: 720px) {
  .cookie-banner {
    right: 14px;
    bottom: 14px;
    max-height: calc(100svh - 28px);
    overflow: auto;
  }

  .cookie-actions {
    display: grid;
  }
}
