.dg-cookie-consent {
  position: fixed;
  z-index: 10000;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 40px));
  color: #25292c;
}

.dg-cookie-consent[hidden] {
  display: none;
}

.dg-cookie-consent__panel {
  padding: 16px 18px 16px;
  border: 1px solid #bec4bf;
  border-radius: 16px;
  background: #eceeea;
  box-shadow: 0 16px 36px rgba(37, 41, 44, 0.18);
}

.dg-cookie-consent__eyebrow,
.dg-cookie-consent h2,
.dg-cookie-consent__copy {
  margin: 0;
}

.dg-cookie-consent__eyebrow {
  color: #8d0a17;
  font: 700 11px/1.2 "Involve", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dg-cookie-consent h2 {
  margin-top: 4px;
  font: 300 24px/1 "Haval", "Involve", Arial, sans-serif;
  letter-spacing: -0.03em;
}

.dg-cookie-consent__copy {
  max-width: 380px;
  margin-top: 9px;
  color: #667075;
  font: 400 14px/1.4 "Involve", Arial, sans-serif;
}

.dg-cookie-consent__copy a,
.dg-cookie-consent-settings {
  color: #8d0a17;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.dg-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.dg-cookie-consent__actions button {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 999px;
  font: 600 14px/1.1 "Involve", Arial, sans-serif;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.dg-cookie-consent__actions button:hover,
.dg-cookie-consent__actions button:focus-visible {
  transform: translateY(-1px);
}

.dg-cookie-consent__actions button:focus-visible,
.dg-cookie-consent-settings:focus-visible {
  outline: 2px solid #8d0a17;
  outline-offset: 3px;
}

.dg-cookie-consent__necessary {
  border: 1px solid #8b9391;
  background: transparent;
  color: #25292c;
}

.dg-cookie-consent__necessary:hover,
.dg-cookie-consent__necessary:focus-visible {
  border-color: #25292c;
  background: #e2e5e1;
}

.dg-cookie-consent__allow {
  border: 1px solid #8d0a17;
  background: #8d0a17;
  color: #fffdf9;
}

.dg-cookie-consent__allow:hover,
.dg-cookie-consent__allow:focus-visible {
  border-color: #6e0712;
  background: #6e0712;
}

.dg-cookie-consent-settings {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 560px) {
  .dg-cookie-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .dg-cookie-consent__panel {
    padding: 14px 15px 14px;
    border-radius: 14px;
  }

  .dg-cookie-consent h2 {
    font-size: 23px;
  }

  .dg-cookie-consent__actions button {
    flex: 1 1 calc(50% - 5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dg-cookie-consent__actions button {
    transition: none;
  }
}
