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

.consent-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  padding: 16px;
  color: #11110f;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.consent-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 28px;
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px;
  color: #11110f;
  background: #f7f6f2;
  border: 1px solid #11110f;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.consent-copy {
  max-width: 790px;
}

.consent-kicker {
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #5f5e59;
}

.consent-card h2 {
  margin: 0 0 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
  color: #11110f;
}

.consent-card h2:focus {
  outline: none;
}

.consent-card p {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #3f3e3a;
}

.consent-card a {
  color: #11110f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-status {
  margin-top: 10px !important;
  font-weight: 600;
  color: #11110f !important;
}

.consent-detail {
  margin-top: 6px !important;
  font-size: 12.5px !important;
  color: #5f5e59 !important;
}

.consent-actions {
  display: grid;
  gap: 10px;
}

.consent-button {
  min-height: 46px;
  width: 100%;
  padding: 11px 16px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid #11110f;
  border-radius: 0;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.consent-button:hover {
  transform: translateY(-1px);
}

.consent-button:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 3px solid #d99100;
  outline-offset: 3px;
}

.consent-button-decline {
  color: #11110f;
  background: #f7f6f2;
}

.consent-button-decline:hover {
  background: #e8e6df;
}

.consent-button-accept {
  color: #ffffff;
  background: #11110f;
}

.consent-button-accept:hover {
  background: #34332f;
}

.cookie-settings-link {
  appearance: none;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.78;
}

.cookie-settings-link:hover {
  opacity: 1;
}

.footer-nav .cookie-settings-link {
  font-size: 14px;
  color: #a5a5a5;
}

.foot-links .cookie-settings-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
}

@media (max-width: 760px) {
  .consent-banner {
    padding: 10px;
  }

  .consent-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
  }

  .consent-actions {
    grid-template-columns: 1fr;
  }
}

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