.hb-consent-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 9999;
  padding: 1rem;
  border-top: 4px solid #ea580c;
  background: #fff;
  color: #374151;
  box-shadow: 0 -8px 30px rgb(15 23 42 / 18%);
  font-family: Inter, system-ui, sans-serif;
}

.hb-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100%, 72rem);
  margin: 0 auto;
}

.hb-consent-copy {
  max-width: 48rem;
}

.hb-consent-copy h2 {
  margin: 0 0 .35rem;
  color: #111827;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.35;
}

.hb-consent-copy p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.55;
}

.hb-consent-copy a {
  color: #c2410c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hb-consent-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: .5rem;
}

.hb-consent-button,
.hb-consent-settings {
  min-height: 44px;
  border-radius: .5rem;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.hb-consent-button {
  padding: .65rem 1rem;
}

.hb-consent-button-primary {
  border: 2px solid #c2410c;
  background: #c2410c;
  color: #fff;
}

.hb-consent-button-secondary {
  border: 2px solid #374151;
  background: #fff;
  color: #1f2937;
}

.hb-consent-button-link {
  border: 2px solid transparent;
  background: transparent;
  color: #4b5563;
  text-decoration: underline;
}

.hb-consent-button:focus-visible,
.hb-consent-settings:focus-visible,
.hb-consent-copy a:focus-visible {
  outline: 3px solid #0ea5e9;
  outline-offset: 3px;
}

.hb-consent-settings {
  position: fixed;
  z-index: 9998;
  right: 1rem;
  bottom: 1rem;
  padding: .55rem .8rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  box-shadow: 0 4px 14px rgb(15 23 42 / 15%);
}

@media (max-width: 767px) {
  .hb-consent-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hb-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .hb-consent-button-link {
    grid-column: 1 / -1;
  }

  .hb-consent-settings {
    right: .5rem;
    bottom: .5rem;
    min-height: 40px;
    font-size: .75rem;
  }
}

@media (max-width: 359px) {
  .hb-consent-banner {
    padding: .75rem;
  }

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

  .hb-consent-button-link {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-consent-banner,
  .hb-consent-settings {
    scroll-behavior: auto;
  }
}
