.bf-cookie {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  padding: 12px 16px 16px;
  pointer-events: none;
}

.bf-cookie[hidden] {
  display: none !important;
}

.bf-cookie__panel {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid var(--bf-border-soft, #c8d4cb);
  border-radius: 12px;
  background: var(--bf-surface, #fff);
  color: var(--bf-text, #1a211c);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.bf-cookie__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.bf-cookie__text {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--bf-muted, #4a5a50);
}

.bf-cookie__text a {
  color: var(--bf-accent, #2f6b3a);
}

.bf-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bf-cookie__actions button {
  cursor: pointer;
  border: 1px solid var(--bf-border-soft, #c8d4cb);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-family: inherit;
  background: var(--bf-surface-2, #f4f7f5);
  color: var(--bf-text, #1a211c);
}

.bf-cookie__actions button[data-bf-cookie="ok"] {
  background: var(--bf-accent, #2f6b3a);
  border-color: var(--bf-accent, #2f6b3a);
  color: #fff;
}

.bf-cookie__actions button:hover {
  filter: brightness(0.97);
}

.bf-cookie-open {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
}
