@layer components {
  .consent-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10000;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    background: rgba(10, 10, 11, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: var(--font-body, Manrope, sans-serif);
    transform: translateY(100%);
    transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
  }

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

  .consent-banner--visible {
    transform: translateY(0);
  }

  .consent-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
  }

  .consent-banner__title {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
  }

  .consent-banner__body {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.75);
  }

  .consent-banner__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }

  .consent-banner__btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
    font-family: inherit;
  }

  .consent-banner__btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
  }

  .consent-banner__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .consent-banner__btn--primary {
    background: var(--color-accent, #00a572);
    color: #000;
  }

  .consent-banner__btn--primary:hover {
    background: #00c084;
  }

  @media (min-width: 640px) {
    .consent-banner__inner {
      flex-direction: row;
      align-items: center;
      gap: 24px;
    }

    .consent-banner__text {
      flex: 1;
    }
  }
}
