.cookie-consent {
  box-sizing: border-box;
  position: fixed;
  inset-inline: 0;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px 24px;
  width: min(60rem, calc(100% - 24px));
  max-height: 75vh;
  overflow: auto;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid #cecfc2;
  border-radius: 16px;
  background: #fffcf8;
  color: #253c33;
  box-shadow: 0 4px 20px rgb(37 60 51 / 14%);
  font: 0.9375rem/1.5 system-ui, sans-serif;
}

.cookie-consent p { margin: 0; }
.cookie-consent a { color: #294d3f; text-decoration: underline; text-underline-offset: 0.15em; }
.cookie-consent button {
  flex: none;
  min-height: 44px;
  padding: 8px 22px;
  border: 0;
  border-radius: 32px;
  background: #294d3f;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cookie-consent button:hover { background: #203d32; }
.cookie-consent :focus-visible { outline: 2px solid #995438; outline-offset: 3px; }

@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }
}

@media print {
  .cookie-consent { display: none; }
}
