.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(17, 19, 24, 0.18);
  border-radius: 8px;
  padding: 18px;
  color: #111318;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 58px rgba(17, 19, 24, 0.22);
}

.consent-copy {
  display: grid;
  gap: 5px;
}

.consent-copy strong {
  font-size: 1rem;
}

.consent-copy p {
  max-width: 760px;
  margin: 0;
  color: #555c68;
  font-size: 0.92rem;
  line-height: 1.45;
}

.consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(118px, 1fr));
  gap: 10px;
}

.consent-button {
  min-height: 48px;
  border: 1px solid #111318;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.consent-reject {
  color: #111318;
  background: #ffffff;
}

.consent-accept {
  color: #ffffff;
  background: #111318;
}

.consent-button:focus-visible,
.consent-manage:focus-visible {
  outline: 3px solid rgba(207, 46, 134, 0.28);
  outline-offset: 2px;
}

.consent-manage {
  min-height: 36px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

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

@media (max-width: 380px) {
  .consent-actions {
    grid-template-columns: 1fr;
  }
}
