.ks-cookie-banner {
  position: fixed;
  left: 50%;
  right: auto;
  width: min(calc(100vw - 2rem), 820px);
  transform: translateX(-50%);
  bottom: 1rem;
  z-index: 9999;
  background: #ffffff;
  border: 1px solid #d8e1ef;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(12, 23, 45, 0.16);
  padding: 0.95rem 1rem;
  color: #1f2937;
}

.ks-cookie-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: #0f172a;
}

.ks-cookie-content p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
  font-size: 0.94rem;
}

.ks-cookie-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.ks-cookie-btn {
  border: 1px solid #c8d3e5;
  background: #f8fbff;
  color: #1f2a40;
  border-radius: 999px;
  padding: 0.46rem 0.9rem;
  font-size: 0.86rem;
  cursor: pointer;
  text-decoration: none;
}

.ks-cookie-btn:hover {
  background: #eef3fb;
}

.ks-cookie-btn-primary {
  background: #173f7a;
  border-color: #173f7a;
  color: #ffffff;
}

.ks-cookie-btn-primary:hover {
  background: #1f4f99;
}

.ks-cookie-settings-btn {
  display: none !important;
}

@media (max-width: 980px) {
  .ks-cookie-banner {
    left: 0.68rem;
    right: 0.68rem;
    width: auto;
    transform: none;
    bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    border-radius: 12px;
    padding: 0.86rem 0.88rem;
  }
}