.cookie-consent {
  position: fixed;
  z-index: 1000;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(620px, calc(100vw - 2rem));
  padding: 1.25rem;
  border: 1px solid var(--border, #dfe7e3);
  border-radius: var(--radius-xl, 1.5rem);
  background: var(--surface, #fff);
  color: var(--text, #172420);
  box-shadow: var(--shadow-lg, 0 18px 44px rgba(15, 60, 45, .18));
  font-family: 'Geologica', 'Helvetica Neue', sans-serif;
  display: none;
}
.cookie-consent.is-open { display: block; }
.cookie-consent__title {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
}
.cookie-consent__text {
  margin: 0;
  color: var(--text-muted, #5d6b65);
  font-size: .875rem;
  line-height: 1.55;
}
.cookie-consent__text a {
  color: var(--primary, #148f6e);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1rem;
}
.cookie-consent__button {
  min-width: 132px;
  padding: .72rem 1.15rem;
  border: 1.5px solid var(--border, #dfe7e3);
  border-radius: 9999px;
  background: var(--surface, #fff);
  color: var(--text, #172420);
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  border-color: var(--primary, #148f6e);
  color: var(--primary, #148f6e);
}
.cookie-consent__button--accept {
  border-color: transparent;
  background: linear-gradient(135deg, #1aa57f, #0f7558);
  color: #fff;
}
.cookie-consent__button--accept:hover,
.cookie-consent__button--accept:focus-visible {
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 60, 45, .16);
}
.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-settings-link:hover,
.cookie-settings-link:focus-visible { color: var(--primary, #148f6e); }
@media (max-width: 560px) {
  .cookie-consent {
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg, 1.125rem);
  }
  .cookie-consent__actions { flex-direction: column-reverse; }
  .cookie-consent__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent, .cookie-consent * { transition: none !important; }
}
