/* Dream Fulfilled Cookie Consent */
.dfcc-root {
  --dfcc-bg: #1B1715;
  --dfcc-panel: #2A211D;
  --dfcc-surface: #332925;
  --dfcc-border: #4A403A;
  --dfcc-text: #E9DFCF;
  --dfcc-soft: #C8B9A7;
  --dfcc-muted: #A89A8D;
  --dfcc-gold: #A7854A;
  --dfcc-green: #5F6B50;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: var(--dfcc-text);
}

.dfcc-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  background: linear-gradient(135deg, rgba(42, 33, 29, .98), rgba(27, 23, 21, .98));
  border: 1px solid var(--dfcc-border);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .42);
}

.dfcc-title {
  margin: 0 0 8px;
  font-family: 'Marcellus', Georgia, serif;
  font-size: 21px;
  line-height: 1.25;
  color: var(--dfcc-text);
  font-weight: 400;
}

.dfcc-text,
.dfcc-note,
.dfcc-category p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dfcc-soft);
}

.dfcc-note {
  color: var(--dfcc-muted);
  font-size: 14px;
}

.dfcc-link {
  display: inline-block;
  color: var(--dfcc-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dfcc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.dfcc-btn,
.dfcc-manage,
.dfcc-close {
  cursor: pointer;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

.dfcc-btn {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--dfcc-border);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.dfcc-btn:hover,
.dfcc-btn:focus {
  transform: translateY(-1px);
}

.dfcc-btn--primary {
  background: var(--dfcc-gold);
  border-color: var(--dfcc-gold);
  color: #161210;
}

.dfcc-btn--primary:hover,
.dfcc-btn--primary:focus {
  background: #b89759;
  border-color: #b89759;
}

.dfcc-btn--outline,
.dfcc-btn--soft {
  background: transparent;
  color: var(--dfcc-text);
}

.dfcc-btn--outline:hover,
.dfcc-btn--outline:focus,
.dfcc-btn--soft:hover,
.dfcc-btn--soft:focus {
  background: var(--dfcc-green);
  border-color: var(--dfcc-green);
  color: var(--dfcc-text);
}

.dfcc-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, .62);
}

.dfcc-modal__panel {
  width: min(720px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  padding: 24px;
  background: var(--dfcc-panel);
  border: 1px solid var(--dfcc-border);
  border-radius: 20px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .55);
}

.dfcc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dfcc-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--dfcc-border);
  background: var(--dfcc-surface);
  color: var(--dfcc-text);
  font-size: 24px;
  line-height: 1;
}

.dfcc-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 14px 0;
  padding: 16px;
  background: var(--dfcc-surface);
  border: 1px solid var(--dfcc-border);
  border-radius: 16px;
}

.dfcc-category strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dfcc-text);
  font-size: 16px;
}

.dfcc-switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 30px;
}

.dfcc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dfcc-switch span {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #4A403A;
  border-radius: 999px;
  transition: .2s;
}

.dfcc-switch span:before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 4px;
  top: 4px;
  background: #E9DFCF;
  border-radius: 50%;
  transition: .2s;
}

.dfcc-switch input:checked + span {
  background: var(--dfcc-gold);
}

.dfcc-switch input:checked + span:before {
  transform: translateX(24px);
}

.dfcc-switch input:disabled + span {
  cursor: not-allowed;
  opacity: .78;
}

.dfcc-actions--modal {
  margin-top: 18px;
}

.dfcc-manage {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99998;
  padding: 9px 13px;
  background: #161210;
  color: var(--dfcc-soft);
  border: 1px solid var(--dfcc-border);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  font-size: 13px;
}

.dfcc-manage:hover,
.dfcc-manage:focus {
  color: var(--dfcc-text);
  border-color: var(--dfcc-gold);
}

@media (max-width: 767px) {
  .dfcc-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .dfcc-actions {
    justify-content: stretch;
  }

  .dfcc-btn {
    flex: 1 1 100%;
  }

  .dfcc-modal__panel {
    padding: 18px;
  }

  .dfcc-category {
    grid-template-columns: 1fr;
  }
}
