.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: none;
  align-items: flex-end;
  justify-content: center;

  padding: 2rem;

  background: rgba(0, 0, 0, 0.45);
}

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

.cookie-banner__box {
  width: min(760px, 100%);
  padding: 2rem;

  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.cookie-banner__box h2 {
  margin: 0 0 1rem;
}

.cookie-banner__box p {
  margin: 0 0 1.5rem;
  color: #555;
}

.cookie-options {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.cookie-option {
  display: flex;
  gap: .8rem;
  align-items: flex-start;

  padding: 1rem;
  border-radius: 14px;
  background: #f5f7fb;
  cursor: pointer;
}

.cookie-option input {
  margin-top: .25rem;
}

.cookie-option strong {
  display: block;
}

.cookie-option small {
  display: block;
  color: #666;
  margin-top: .15rem;
}

.cookie-option.is-disabled {
  opacity: .75;
  cursor: not-allowed;
}

.cookie-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-links a {
  color: #333;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.cookie-actions button {
  border: 0;
  border-radius: 999px;
  padding: .8rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
}

#cookieAcceptAll {
  background: #f57d00;
  color: #fff;
}

#cookieSave {
  background: #e9edf3;
  color: #f57d00;
}

#cookieReject {
  background: transparent;
  color: #333;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem;
  }

  .cookie-banner__box {
    padding: 1.5rem;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions button {
    width: 100%;
  }
}