.hc-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.18);
  color: #17202a;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.hc-consent__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hc-consent__text {
  margin: 0 0 16px;
  color: #354052;
  font-size: 0.92rem;
}

.hc-consent__text a {
  color: #175cd3;
  text-underline-offset: 0.18em;
}

.hc-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hc-consent__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #17202a;
  border-radius: 10px;
  background: #fff;
  color: #17202a;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.hc-consent__button--accept {
  border-color: #b42318;
  background: #b42318;
  color: #fff;
}

.hc-consent__button:hover {
  filter: brightness(0.96);
}

.hc-consent__button:focus-visible {
  outline: 3px solid #175cd3;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .hc-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .hc-consent__actions {
    flex-direction: column;
  }

  .hc-consent__button {
    width: 100%;
  }
}

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