@keyframes fdConsentIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
#fd-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(250, 247, 242, 0.72);
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
}
#fd-consent-modal {
  background: #fff9f0;
  border: 1.5px solid rgba(180, 130, 60, 0.18);
  border-radius: 22px 28px 22px 28px;
  box-shadow: 0 8px 48px rgba(44, 36, 22, 0.16), 0 2px 8px rgba(44, 36, 22, 0.08);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  animation: fdConsentIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#fd-consent-modal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b4823c 0%, #e8c97a 50%, #b4823c 100%);
  border-radius: 22px 28px 0 0;
}
#fd-consent-title {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #2c2416;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
#fd-consent-modal p {
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  font-size: 0.94rem;
  color: #6b5a3e;
  line-height: 1.68;
  margin-bottom: 0.75rem;
}
#fd-consent-modal p a {
  color: #b4823c;
  text-underline-offset: 2px;
}
#fd-consent-modal p a:hover {
  color: #8a6020;
}
.fd-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
#fd-consent-accept {
  background: #2c2416;
  color: #fff9f0;
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px 14px 10px 14px;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  letter-spacing: 0.01em;
}
#fd-consent-accept:hover {
  background: #b4823c;
  transform: translateY(-1px);
}
#fd-consent-accept:active {
  transform: translateY(0);
}
#fd-consent-accept:focus-visible {
  outline: 2px solid #b4823c;
  outline-offset: 3px;
}
#fd-consent-decline {
  background: transparent;
  color: #8a7158;
  font-family: "Playfair Display", "Georgia", serif;
  font-style: italic;
  font-size: 0.9rem;
  border: 1.5px solid rgba(180, 130, 60, 0.25);
  border-radius: 10px 14px 10px 14px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
#fd-consent-decline:hover {
  background: rgba(180, 130, 60, 0.07);
  color: #6b5a3e;
  border-color: rgba(180, 130, 60, 0.45);
}
#fd-consent-decline:focus-visible {
  outline: 2px solid #b4823c;
  outline-offset: 3px;
}
