/* cookie-consent â€” Ñ„Ð¸Ñ€Ð¼ÐµÐ½Ð½Ñ‹Ð¹ Ð±Ð°Ð½Ð½ÐµÑ€ ÑÐ¾Ð³Ð»Ð°ÑÐ¸Ñ Venstermarkt.
   ÐŸÐ¾ÐºÐ°Ð·Ñ‹Ð²Ð°ÐµÑ‚ÑÑ Ð¾Ð´Ð¸Ð½ Ñ€Ð°Ð·: Ð²Ñ‹Ð±Ð¾Ñ€ Ñ…Ñ€Ð°Ð½Ð¸Ñ‚ÑÑ Ð² cookie mk_cookie_consent (12 Ð¼ÐµÑ). */

.mk-cc { position: fixed; inset: 0; z-index: 200; display: none; }
.mk-cc.is-open { display: block; }
.mk-cc-overlay { position: absolute; inset: 0; background: rgba(26, 26, 26, .55); }

.mk-cc-dialog {
  position: relative;
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 16px;
  border-top: 5px solid var(--mk-orange);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  overflow: auto;
  animation: mk-cc-in .22s ease-out;
}
@keyframes mk-cc-in { from { opacity: 0; transform: translateY(-46%); } to { opacity: 1; transform: translateY(-50%); } }

.mk-cc-head { display: flex; align-items: center; gap: 14px; padding: 22px 26px 6px; }
.mk-cc-badge {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px;
  background: var(--mk-orange); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.mk-cc-title { font-size: 22px; font-weight: 800; line-height: 1.2; margin: 0; }
.mk-cc-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; min-height: 36px;
  border: none; background: transparent; color: var(--mk-muted); font-size: 18px;
  border-radius: 999px; cursor: pointer;
}
.mk-cc-close:hover { background: var(--mk-surface); color: var(--mk-text); }

.mk-cc-body {
  display: grid; grid-template-columns: 1.05fr 1fr 300px; gap: 26px;
  padding: 14px 26px 20px;
}
.mk-cc-body p { font-size: 13.5px; line-height: 1.65; color: #3a3a3a; margin: 0 0 12px; }
.mk-cc-body p:last-child { margin-bottom: 0; }
.mk-cc-body a { color: var(--mk-blue); text-decoration: none; }
.mk-cc-sub { font-size: 13.5px; font-weight: 700; margin: 0 0 10px; }
.mk-cc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mk-cc-list li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.5; color: #3a3a3a; }
.mk-cc-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px; border-radius: 999px; background: var(--mk-orange);
}

.mk-cc-actions { display: flex; flex-direction: column; gap: 10px; align-self: start; }
.mk-cc-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 700; cursor: pointer; border: 2px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.mk-cc-btn-accept { background: var(--mk-orange); border-color: var(--mk-orange); color: #fff; }
.mk-cc-btn-accept:hover { background: #d25a08; border-color: #d25a08; }
.mk-cc-btn-deny { background: #fff; border-color: var(--mk-text); color: var(--mk-text); }
.mk-cc-btn-deny:hover { background: var(--mk-surface); }
.mk-cc-btn-link {
  background: transparent; border: none; color: var(--mk-text); font-weight: 700;
  font-size: 14px; text-decoration: none; cursor: pointer; padding: 4px 0; height: auto; min-height: 0;
}
.mk-cc-btn-link:hover { color: var(--mk-orange); }

/* ---- Ð¿Ð°Ð½ÐµÐ»ÑŒ Â«AanpassenÂ» ---- */
.mk-cc-prefs { display: none; grid-column: 1 / -1; border-top: 1px solid var(--mk-line); padding-top: 18px; }
.mk-cc.is-prefs .mk-cc-prefs { display: block; }
.mk-cc-pref {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--mk-line);
}
.mk-cc-pref:last-child { border-bottom: none; }
.mk-cc-pref-txt { flex: 1 1 auto; }
.mk-cc-pref-name { font-size: 14px; font-weight: 700; margin: 0 0 3px; }
.mk-cc-pref-desc { font-size: 13px; color: var(--mk-muted); line-height: 1.5; margin: 0; }
.mk-cc-switch { position: relative; flex: 0 0 48px; width: 48px; height: 26px; margin-top: 3px; }
.mk-cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.mk-cc-switch span {
  position: absolute; inset: 0; border-radius: 999px; background: #c9c9c9; transition: background .15s ease;
  pointer-events: none;
}
.mk-cc-switch span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 999px; background: #fff; transition: transform .15s ease;
}
.mk-cc-switch input:checked + span { background: var(--mk-orange); }
.mk-cc-switch input:checked + span::after { transform: translateX(22px); }
.mk-cc-switch input:disabled + span { background: #9a9a9a; }
.mk-cc-switch input:disabled { cursor: not-allowed; }
/* knop is display:flex en krimpt anders tot de tekst: vaste pilvorm afdwingen */
.mk-cc-prefs-save { margin-top: 16px; width: 100%; max-width: 320px; }

.mk-cc-foot {
  display: flex; flex-wrap: wrap; gap: 22px; align-items: center;
  border-top: 1px solid var(--mk-line); padding: 14px 26px; background: var(--mk-surface);
  border-radius: 0 0 16px 16px;
}
.mk-cc-foot a { font-size: 13px; font-weight: 700; color: var(--mk-text); text-decoration: none; }
.mk-cc-foot a:hover { color: var(--mk-orange); text-decoration: none; }

@media (max-width: 1023px) {
  .mk-cc-body { grid-template-columns: 1fr; gap: 18px; padding: 12px 20px 18px; }
  .mk-cc-head { padding: 18px 20px 4px; }
  .mk-cc-title { font-size: 19px; }
  .mk-cc-foot { padding: 12px 20px; gap: 16px; }
  .mk-cc-dialog { top: auto; transform: none; margin: 16px auto; max-height: calc(100vh - 32px); }
  @keyframes mk-cc-in { from { opacity: 0; } to { opacity: 1; } }
}
