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

.dw-consent {
  position: fixed;
  z-index: 10000;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 920px;
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #c8975c;
  border-radius: 16px;
  background: #161616;
  color: #f0ece4;
  box-shadow: 0 8px 48px #0009;
  font-family: Outfit, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.dw-consent h2 {
  margin: 0 0 8px;
  color: #f0ece4;
  font: 600 21px/1.3 Outfit, Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

.dw-consent p { margin: 0 0 10px; font-size: inherit; line-height: inherit; color: #f0ece4; }
.dw-consent details { margin-top: 8px; }
.dw-consent summary { cursor: pointer; width: fit-content; color: #ddb87a; }
.dw-consent details p { margin: 10px 0 0; }
.dw-consent a { color: #ddb87a; text-decoration: underline; }
.dw-consent code { color: inherit; font-size: .9em; overflow-wrap: anywhere; }

.dw-consent__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.dw-consent .dw-consent__button {
  appearance: none;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 18px;
  margin: 0;
  border: 1px solid #c8975c;
  border-radius: 8px;
  background: #24201b;
  color: #f0ece4;
  font: 600 15px/1.4 Outfit, Arial, sans-serif;
  letter-spacing: normal;
  cursor: pointer;
  text-align: center;
  text-transform: none;
  transition: background .15s;
}

.dw-consent .dw-consent__button:hover { background: #473523; }
.dw-consent :focus-visible, .dw-privacy-bar button:focus-visible { outline: 2px solid #ddb87a; outline-offset: 4px; }

.dw-privacy-bar {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
  padding: 14px 24px 88px;
  border-top: 1px solid #c8975c26;
  background: #0e0e0e;
  color: #a8a29e;
  font: 400 13px/1.5 Outfit, Arial, sans-serif;
  text-align: center;
}

.dw-privacy-bar button {
  appearance: none;
  min-height: 44px;
  padding: 8px 4px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ddb87a;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .dw-consent { bottom: 12px; width: calc(100% - 24px); padding: 18px; font-size: 14px; }
  .dw-consent h2 { font-size: 19px; }
  .dw-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .dw-consent .dw-consent__button { padding: 10px 8px; font-size: 14px; }
}
