.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem 1.25rem;
  background: var(--paper, #f7f4ee);
  border-top: 1px solid var(--line, #d9d2c6);
  box-shadow: 0 -4px 24px rgba(44, 42, 40, 0.08);
}

.cookie-banner__inner {
  width: min(var(--measure-wide, 52rem), 92vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted, #5c5854);
  max-width: 42rem;
  line-height: 1.5;
}

.cookie-banner__text a {
  white-space: nowrap;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .cookie-banner {
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__actions .btn {
    width: 100%;
    min-height: 2.75rem;
  }
}
