.zk-cookie-consent {
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 9998;
  width: min(100% - 24px, 560px);
}

.zk-cookie-consent[hidden],
[data-zk-cookie-preferences][hidden] {
  display: none;
}

.zk-cookie-consent__panel {
  border: 1px solid var(--zk-line);
  border-top: 3px solid var(--zk-amber-600);
  border-radius: var(--zk-radius-sm);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(24, 63, 49, 0.16);
  color: var(--zk-text);
  padding: 18px;
}

.zk-cookie-consent__copy {
  display: grid;
  gap: 8px;
}

.zk-cookie-consent__eyebrow {
  margin: 0;
  color: var(--zk-green-700);
  font-family: var(--zk-font-technical);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.zk-cookie-consent h2 {
  margin: 0;
  color: var(--zk-green-900);
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: 0;
}

.zk-cookie-consent p {
  margin: 0;
  color: var(--zk-muted);
  font-size: 14px;
  line-height: 1.55;
}

.zk-cookie-consent__actions,
.zk-cookie-consent__settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.zk-cookie-consent__button,
.zk-cookie-consent__link-button {
  min-height: 40px;
  border-radius: var(--zk-radius-sm);
  font: inherit;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
}

.zk-cookie-consent__button {
  border: 1px solid var(--zk-green-700);
  background: #fff;
  color: var(--zk-green-900);
  padding: 10px 14px;
}

.zk-cookie-consent__button--primary {
  background: #fff;
  color: var(--zk-green-900);
}

.zk-cookie-consent__button--ghost {
  background: #fff;
  color: var(--zk-green-900);
}

.zk-cookie-consent__link-button {
  border: 0;
  background: transparent;
  color: var(--zk-green-700);
  padding: 8px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zk-cookie-consent__settings {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid var(--zk-line);
  padding-top: 14px;
}

.zk-cookie-consent__settings[hidden] {
  display: none;
}

.zk-cookie-consent__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(24, 63, 49, 0.12);
  border-radius: var(--zk-radius-sm);
  background: var(--zk-cream-50);
  padding: 12px;
}

.zk-cookie-consent__row strong,
.zk-cookie-consent__row span {
  display: block;
}

.zk-cookie-consent__row strong {
  color: var(--zk-green-900);
  font-size: 15px;
}

.zk-cookie-consent__row span span {
  margin-top: 4px;
  color: var(--zk-muted);
  font-size: 13px;
  line-height: 1.45;
}

.zk-cookie-consent__status {
  color: var(--zk-green-700);
  font-family: var(--zk-font-technical);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.zk-cookie-consent__row input {
  width: 22px;
  height: 22px;
  accent-color: var(--zk-green-700);
}

.zk-cookie-consent__settings-actions {
  justify-content: space-between;
}

.zk-cookie-consent__settings-actions a {
  color: var(--zk-green-700);
  font-weight: 750;
}

.zk-cookie-consent__button:focus-visible,
.zk-cookie-consent__link-button:focus-visible,
[data-zk-cookie-preferences]:focus-visible,
.zk-cookie-consent__settings-actions a:focus-visible,
.zk-cookie-consent__row input:focus-visible {
  outline: 3px solid rgba(201, 139, 44, 0.38);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .zk-cookie-consent {
    right: 12px;
    bottom: 12px;
  }

  .zk-cookie-consent__actions,
  .zk-cookie-consent__settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .zk-cookie-consent__button,
  .zk-cookie-consent__link-button {
    width: 100%;
  }

  .zk-cookie-consent__row {
    grid-template-columns: 1fr;
  }
}
