.cookie-banner {
  position: fixed;
  z-index: 10;
  inset-inline: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: max-content;
  max-width: 44rem;
  max-width: min(44rem, calc(100% - 2rem));
  margin-inline: auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: .7rem .85rem .7rem 1rem;
  border: 1px solid #ae8b61;
  border-radius: 10px;
  background: #f8f4ec;
  color: #292927;
  box-shadow: 0 4px 16px #29292726;
  font: .8125rem/1.45 Arial, sans-serif;
}

.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: inherit; text-underline-offset: .15em; }
.cookie-banner button {
  flex: none;
  min-height: 2.75rem;
  border: 0;
  padding: .5rem .9rem;
  border-radius: 10px;
  background: #82613e;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.cookie-banner button:hover { background: #59432e; }
.cookie-banner button:focus-visible {
  outline: 2px solid #59432e;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body:has(.mobile-contact) .cookie-banner {
    bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }
}
