#wq-cookie-notice[hidden],
#wq-cookie-notice [hidden],
.wq-cookie-settings-bar[hidden] {
  display: none !important;
}

#wq-cookie-notice {
  --wq-cookie-ink: #22211e;
  --wq-cookie-paper: #f4f1eb;
  --wq-cookie-accent: #685831;
  position: fixed;
  z-index: 9999;
  inset-inline: 12px auto;
  bottom: max(12px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(340px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 12px;
  border: 1px solid #d7cbb2;
  border-radius: 9px;
  background: var(--wq-cookie-paper);
  color: var(--wq-cookie-ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  font: 400 .875rem/1.45 Manrope, system-ui, sans-serif;
}

#wq-cookie-title {
  margin: 0 34px 4px 0;
  color: inherit;
  font: 700 1rem/1.35 Manrope, system-ui, sans-serif;
}

#wq-cookie-notice p {
  margin: 0 0 9px;
}

#wq-cookie-notice a {
  color: var(--wq-cookie-accent);
  text-decoration: underline;
  text-underline-offset: .15em;
  white-space: nowrap;
}

#wq-cookie-notice .wq-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#wq-cookie-notice .wq-cookie-actions button {
  flex: 1 1 0;
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid var(--wq-cookie-accent);
  border-radius: 5px;
  background: transparent;
  color: var(--wq-cookie-ink);
  font: 600 .875rem/1.25 Manrope, system-ui, sans-serif;
  text-transform: none;
}

#wq-cookie-notice .wq-cookie-actions button:hover {
  background: #e8dfce;
}

#wq-cookie-notice .wq-cookie-actions [data-wq-cookie-choice="allow"] {
  background: #383027;
  color: #fff;
}

#wq-cookie-notice .wq-cookie-actions [data-wq-cookie-choice="allow"]:hover {
  background: #514334;
}

#wq-cookie-notice .wq-cookie-actions [data-wq-cookie-choice="allow"]:focus-visible {
  outline-color: var(--wq-cookie-accent);
}

#wq-cookie-notice .wq-cookie-close {
  position: absolute;
  inset: 0 0 auto auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wq-cookie-ink);
  font: 400 24px/1 system-ui, sans-serif;
}

.wq-cookie-settings-bar {
  display: flex;
  justify-content: center;
  background: #000;
}

#wq-cookie-settings {
  min-height: 44px;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  color: #f4f1eb;
  font: 500 .875rem/1.4 Manrope, system-ui, sans-serif;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: .2em;
}

#wq-cookie-notice :focus-visible,
#wq-cookie-settings:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
