.wf-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}
.wf-consent-box {
  pointer-events: auto;
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--wf-paper, #F4EBD9);
  border: 1px solid var(--wf-paper-line, #D8C6A0);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(36, 28, 23, 0.25);
  padding: 1.6rem 1.8rem 1.4rem;
  font-family: var(--wf-font-body, Georgia, serif);
  color: var(--wf-ink, #241C17);
}
.wf-consent-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--wf-ink-soft, #4A3F34);
}
.wf-consent-text { margin: 0 2rem 1rem 0; font-size: 0.95rem; }
.wf-consent-text a { color: var(--wf-wine, #6B2530); }

.wf-consent [hidden] { display: none !important; }

.wf-consent-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--wf-paper-line, #D8C6A0);
}
.wf-consent-toggle {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: 0.92rem;
}
.wf-consent-toggle span { color: var(--wf-ink-soft, #4A3F34); font-size: 0.85rem; }

.wf-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.wf-consent-actions--save { justify-content: flex-end; }
.wf-consent .wf-btn {
  font-family: var(--wf-font-body, Georgia, serif);
  font-size: 0.92rem;
  padding: 0.65em 1.3em;
  border-radius: 999px;
  border: 1px solid var(--wf-forest, #2B3324);
  background: transparent;
  color: var(--wf-forest-deep, #1B2216);
  cursor: pointer;
}
.wf-consent .wf-btn--solid {
  background: var(--wf-forest, #2B3324);
  color: var(--wf-paper, #F4EBD9);
}

@media (max-width: 560px) {
  .wf-consent-box { padding: 1.3rem 1.3rem 1.2rem; }
  .wf-consent-actions { flex-direction: column; }
  .wf-consent .wf-btn { width: 100%; justify-content: center; }
}
