/* ══════════════════════════════════════════
   ÇEREZ ONAYI (Prefix: .ckc) — sitenin dili: antrasit kart, sarı çizgili etiket,
   köşesiz düğmeler. Reddetme ve kabul etme düğmeleri eşit ağırlıkta.
══════════════════════════════════════════ */
.ckc {
  position: fixed;
  left: clamp(.75rem, 2vw, 1.5rem);
  bottom: clamp(.75rem, 2vw, 1.5rem);
  z-index: 1500;
  width: min(440px, calc(100vw - 1.5rem));
  padding: 1.4rem 1.5rem 1.3rem;
  background: #1d1d1b;
  color: #fff;
  box-shadow: 0 30px 60px -25px rgba(14, 14, 13, .7);
  border-top: 3px solid var(--nk-orange);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.ckc.is-in { opacity: 1; transform: none; }
.ckc[hidden], .ckc-modal[hidden] { display: none; }
.ckc__eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 .7rem; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ffd200; }
.ckc__eyebrow i { width: 26px; height: 2px; background: currentColor; }
.ckc__text { margin: 0 0 1.1rem; font-size: .86rem; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.ckc__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ckc__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ckc__btn {
  flex: 1 1 auto;
  padding: .75rem 1rem;
  border: 1px solid transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.ckc .ckc__btn--solid { background: #fff; color: #1d1d1b; }
.ckc .ckc__btn--solid:hover { background: var(--nk-orange); color: var(--nk-on-accent); }
.ckc__btn--text { flex-basis: 100%; padding: .4rem 0 0; background: none; color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.ckc__btn--text:hover { color: #fff; }

/* Tercih ekranı */
.ckc-modal { position: fixed; inset: 0; z-index: 1600; display: grid; place-items: center; padding: 1rem; opacity: 0; transition: opacity .25s ease; }
.ckc-modal.is-in { opacity: 1; }
.ckc-modal__scrim { position: absolute; inset: 0; background: rgba(14, 14, 13, .6); }
.ckc-modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: #fff;
  color: #1d1d1b;
  border-top: 3px solid var(--nk-orange);
}
.ckc-modal .ckc__eyebrow { color: var(--nk-accent-ink); }
.ckc-modal__close { position: absolute; top: .6rem; right: .6rem; width: 40px; height: 40px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: rgba(29, 29, 27, .6); cursor: pointer; }
.ckc-modal__close:hover { color: var(--nk-accent-ink); }
.ckc-modal__title { margin: 0 0 .6rem; font-size: 1.4rem; font-weight: 500; color: #1d1d1b; }
.ckc-modal__text { margin: 0 0 1.2rem; font-size: .88rem; line-height: 1.6; color: rgba(29, 29, 27, .7); }
.ckc-modal__text a { color: var(--nk-accent-ink); }
.ckc-cats { margin: 0 0 1.4rem; padding: 0; list-style: none; border-top: 1px solid rgba(29, 29, 27, .12); }
.ckc-cats li { padding: 1rem 0; border-bottom: 1px solid rgba(29, 29, 27, .12); }
.ckc-cats__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; cursor: pointer; }
.ckc-cats__head b { font-size: .95rem; font-weight: 700; }
.ckc-cats p { margin: 0; font-size: .84rem; line-height: 1.6; color: rgba(29, 29, 27, .68); }
.ckc-cats__always { font-size: .76rem; font-weight: 700; color: #1f8a4c; }
.ckc-switch { position: relative; flex: none; width: 44px; height: 24px; }
.ckc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ckc-switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(29, 29, 27, .2); transition: background .2s; pointer-events: none; }
.ckc-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ckc-switch input:checked + i { background: #1d1d1b; }
.ckc-switch input:checked + i::after { transform: translateX(20px); }
.ckc-switch input:focus-visible + i { outline: 2px solid var(--nk-orange); outline-offset: 2px; }
.ckc-modal .ckc__btn--solid { background: #1d1d1b; color: #fff; }
.ckc-modal .ckc__btn--solid:hover { background: var(--nk-orange); }
.ckc__btn--ghost { background: transparent; border-color: rgba(29, 29, 27, .25); color: #1d1d1b; }
.ckc__btn--ghost:hover { background: #1d1d1b; color: #fff; }

/* Onay verilmemiş harici içerik yerine bilgi kutusu */
.ckc-blocked {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 1.5rem;
  background: #eef0f7;
  text-align: center;
}
.ckc-blocked p { max-width: 42ch; margin: 0; font-size: .86rem; line-height: 1.6; color: rgba(29, 29, 27, .75); }
.ckc-blocked button { padding: .75rem 1.2rem; border: 0; background: #1d1d1b; color: #fff; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.ckc-blocked button:hover { background: var(--nk-orange); }

@media (prefers-reduced-motion: reduce) { .ckc, .ckc-modal { transition: none; } }
.ctc-map__card { z-index: 2; }

/* Mobil: çerez bildirimi ekranın altında ince bir şerit */
@media (max-width: 600px) {
  .ckc { left: 0; right: 0; bottom: 0; width: 100%; padding: .9rem 1rem calc(.8rem + env(safe-area-inset-bottom)); }
  .ckc__eyebrow { display: none; }
  .ckc__text { margin-bottom: .7rem; font-size: .8rem; line-height: 1.5; }
  .ckc__actions { flex-wrap: nowrap; align-items: center; }
  .ckc__btn { padding: .6rem .9rem; font-size: .8rem; }
  .ckc__btn--text { flex: 0 0 auto; flex-basis: auto; padding: .6rem 0 .6rem .4rem; }
}
