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

.kb-cookie-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 22, .58);
  box-sizing: border-box;
}

.kb-cookie-card {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 40px 32px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
  box-sizing: border-box;
  font: 400 15px/1.6 Arial, Helvetica, sans-serif;
  color: #333333;
}

.kb-cookie-logo {
  display: block;
  height: 34px;
  width: auto;
  margin: 0 auto 26px;
}

.kb-cookie-card p { margin: 0 0 16px; }
.kb-cookie-card p:last-of-type { margin-bottom: 0; }
.kb-cookie-card a { color: var(--volki-blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.kb-cookie-strong { font-weight: 600; color: #1c2a29; }

.kb-cookie-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #ece6e0;
}

.kb-cookie-more {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.kb-cookie-buttons {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.kb-cookie-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: 600 14px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.kb-cookie-reject {
  background: #eeece9;
  color: #333333;
}
.kb-cookie-reject:hover { background: #e3e0db; }

.kb-cookie-accept {
  background: var(--cb-cyan);
  color: #0f2321;
}
.kb-cookie-accept:hover { filter: brightness(.96); }

.kb-cookie-card button:focus-visible,
.kb-cookie-card a:focus-visible {
  outline: 2px solid var(--volki-blue-dark);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .kb-cookie-card { padding: 28px 22px 24px; border-radius: 16px; }
  .kb-cookie-actions { flex-direction: column; align-items: stretch; }
  .kb-cookie-more { text-align: center; order: 2; }
  .kb-cookie-buttons { order: 1; width: 100%; margin-left: 0; }
  .kb-cookie-buttons button { flex: 1; }
}

@media print {
  .kb-cookie-backdrop { display: none !important; }
}
