.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 1000;
  width: min(920px, calc(100% - 2rem));
  padding: 1.25rem;
  border: 1px solid #e7e0d6;
  border-radius: 12px;
  background: #fff;
  color: #2a2522;
  box-shadow: 0 18px 55px rgba(42, 37, 34, .22);
  transform: translate(-50%, calc(100% + 2rem));
  opacity: 0;
  visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
}
.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.cookie-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
}
.cookie-banner h2 {
  margin: 0 0 .25rem;
  font-size: 1.15rem;
  font-family: Georgia, "Times New Roman", serif;
}
.cookie-banner p { margin: 0; line-height: 1.5; font-size: .92rem; }
.cookie-banner a { color: #74592f; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.cookie-choice {
  min-height: 42px;
  padding: .6rem 1rem;
  border: 1px solid #8b6f3f;
  border-radius: 999px;
  background: #8b6f3f;
  color: #fff;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.cookie-choice:hover { background: #74592f; border-color: #74592f; }
.cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cookie-settings:hover { color: #2a2522; }

@media (max-width: 680px) {
  .cookie-banner { bottom: .5rem; width: calc(100% - 1rem); }
  .cookie-banner__content { grid-template-columns: 1fr; }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-choice { width: 100%; }
}

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