.cookie-notice {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 14px 16px;
  border: 1px solid rgba(154, 135, 118, .48);
  background: #f6f2eb;
  color: #4a4540;
  box-shadow: 0 10px 30px rgba(74, 69, 64, .07);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms cubic-bezier(.22, .61, .36, 1);
}

.cookie-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-notice.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}

.cookie-notice p {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.cookie-notice a {
  color: #9a8776;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookie-notice button {
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid rgba(74, 69, 64, .5);
  background: transparent;
  color: inherit;
  font: 600 10px/1.2 Manrope, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-notice button:hover {
  border-bottom-color: #4a4540;
}

.cookie-notice a:focus-visible,
.cookie-notice button:focus-visible {
  outline: 1px solid #4a4540;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .cookie-notice {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}

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