.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 9985;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(8, 104, 178, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 16px 40px rgba(3, 31, 56, .18);
  color: #12324a;
  font-family: 'Nunito', sans-serif;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner__text {
  margin: 0;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.45;
}

.cookie-banner__text a {
  color: #0868B2;
  font-weight: 900;
  text-decoration: underline;
}

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

.cookie-banner__btn {
  min-height: 44px;
  padding: .65rem 1.1rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.cookie-banner__btn--accept {
  background: linear-gradient(135deg, #0868B2, #0a8ad0);
  color: #fff;
  box-shadow: 0 8px 18px rgba(8, 104, 178, .28);
}

.cookie-banner__btn--accept:hover {
  filter: brightness(1.05);
}

.cookie-banner__btn--decline {
  border: 1px solid rgba(8, 104, 178, .18);
  background: #f3f9ff;
  color: #044d89;
}

@media (max-width: 760px) {
  .cookie-banner {
    right: .55rem;
    bottom: calc(.55rem + env(safe-area-inset-bottom));
    left: .55rem;
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    padding: .65rem .75rem;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(3, 31, 56, .16);
  }

  body.has-sticky-cta .cookie-banner {
    bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }

  .cookie-banner__text {
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .cookie-banner__actions {
    width: 100%;
    gap: .4rem;
  }

  .cookie-banner__btn {
    flex: 1;
    min-height: 34px;
    padding: .4rem .7rem;
    font-size: .78rem;
  }
}
