.privacy-consent[hidden],
.privacy-choices-button[hidden] {
  display: none !important;
}

.privacy-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 10000;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px;
  color: #303030;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.privacy-consent__content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.privacy-consent__copy {
  flex: 1;
}

.privacy-consent__copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.privacy-consent__copy p {
  margin: 0 0 5px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.privacy-consent__copy a {
  color: #1d4ed8;
  font-size: 0.88rem;
  font-weight: 700;
}

.privacy-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.privacy-consent__button,
.privacy-choices-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid #2563eb;
  border-radius: 12px;
  cursor: pointer;
  font: 800 0.88rem/1.2 Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.privacy-consent__button--primary {
  color: #fff;
  background: #2563eb;
}

.privacy-consent__button--secondary {
  color: #1d4ed8;
  background: #fff;
}

.privacy-consent__button:focus-visible,
.privacy-choices-button:focus-visible {
  outline: 3px solid #ffc800;
  outline-offset: 3px;
}

.privacy-choices-button {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  min-height: 36px;
  padding: 7px 11px;
  color: #4b4b4b;
  background: #fff;
  border-color: #d4d4d4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  font-size: 0.75rem;
}

body .sticky ~ .privacy-choices-button {
  bottom: 86px;
}

@media (max-width: 700px) {
  .privacy-consent {
    inset: auto 10px 10px;
    padding: 16px;
  }

  .privacy-consent__content,
  .privacy-consent__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .privacy-consent__content {
    gap: 14px;
  }

  .privacy-consent__actions {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-consent *,
  .privacy-choices-button {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
