.consent-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: min(560px, calc(100vw - 48px));
  background: rgba(15, 31, 61, 0.96);
  color: #f5f0e8;
  border: 1px solid rgba(184, 150, 62, 0.42);
  box-shadow: 0 18px 48px rgba(15, 31, 61, 0.32);
  padding: 32px;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.consent-banner[hidden],
.consent-reopen[hidden] {
  display: none;
}

.consent-banner__label {
  color: #d4b06a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.consent-banner__text {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.consent-banner__marker {
  color: #d4b06a;
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.consent-banner__text a {
  color: #d4b06a;
  text-underline-offset: 3px;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.consent-banner__button,
.consent-reopen {
  border: 1px solid #b8963e;
  cursor: pointer;
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.11em;
  min-height: 42px;
  padding: 10px 18px;
  text-transform: uppercase;
}

.consent-banner__button--accept {
  background: #b8963e;
  color: #0f1f3d;
}

.consent-banner__button--decline {
  background: transparent;
  color: #f5f0e8;
}

.consent-banner__button:focus-visible,
.consent-reopen:focus-visible {
  outline: 3px solid rgba(212, 176, 106, 0.72);
  outline-offset: 3px;
}

.consent-reopen {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  background: rgba(15, 31, 61, 0.94);
  color: #f5f0e8;
}

@media (max-width: 640px) {
  .consent-banner {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
    padding: 28px;
  }

  .consent-banner__actions {
    flex-direction: column;
  }

  .consent-banner__button {
    width: 100%;
  }
}
