/* ── Capnodis Consent Banner ───────────────────────────────── */
#consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid #e8e0d0;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(30, 44, 24, 0.18);
  font-family: Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: #172116;
  line-height: 1.45;
  animation: consent-slide-up 0.25s ease-out;
  max-width: 720px;
  margin: 0 auto;
}

#consent-banner.consent-hide {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes consent-slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.consent-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.consent-text {
  flex: 1 1 auto;
  min-width: 0;
}

.consent-text p {
  margin: 0;
  color: #3a4a35;
  font-size: 13px;
}

.consent-text a {
  color: #1d3522;
  font-weight: 600;
  text-decoration: underline;
}

.consent-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.consent-btn {
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}

.consent-btn-primary {
  background: #1d3522;
  color: #ffffff;
}

.consent-btn-primary:hover {
  background: #14281a;
}

.consent-btn-secondary {
  background: transparent;
  color: #1d3522;
  border-color: #c8c0b0;
}

.consent-btn-secondary:hover {
  background: #f7f3ea;
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  #consent-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 13px;
  }

  .consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .consent-text p {
    font-size: 12.5px;
    text-align: left;
  }

  .consent-actions {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .consent-btn {
    flex: 1 1 50%;
    padding: 9px 8px;
    font-size: 13px;
    text-align: center;
  }
}