/* Çerez onayı (inc/cerez.php). Renk ve yazı tipi sitenin tasarımına uyarlanır:
   aşağıdaki değişkenler projenin kendi renk değişkenlerine bağlanır (örn. --cerez-vurgu: var(--brand)). */
:root {
  --cerez-zemin: #ffffff;
  --cerez-yazi: #0b0210;
  --cerez-soluk: #746d79;
  --cerez-cizgi: #eadff4;
  --cerez-kutu: #f4eef9;
  --cerez-vurgu: #3d1152;
  --cerez-vurgu-koyu: #23092f;
  --cerez-vurgu-yazi: #ffffff;
  --cerez-radius: 0;
  --cerez-buton-radius: 0;
}

.cerez {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9990;
  max-width: 420px;
  padding: 22px;
  background: var(--cerez-zemin);
  color: var(--cerez-yazi);
  border: 1px solid var(--cerez-cizgi);
  border-radius: var(--cerez-radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}
.cerez[hidden] { display: none; }
.cerez__metin { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--cerez-soluk); }
.cerez__metin a { color: var(--cerez-yazi); text-decoration: underline; text-underline-offset: 3px; }
.cerez__butonlar { display: flex; gap: 10px; }
.cerez__butonlar .cerez__buton { flex: 1; }

.cerez__buton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cerez-yazi);
  background: transparent;
  border: 1px solid var(--cerez-cizgi);
  border-radius: var(--cerez-buton-radius);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.cerez__buton:hover { border-color: var(--cerez-yazi); }
.cerez__buton--kabul { background: var(--cerez-vurgu); border-color: var(--cerez-vurgu); color: var(--cerez-vurgu-yazi); }
.cerez__buton--kabul:hover { background: var(--cerez-vurgu-koyu); border-color: var(--cerez-vurgu-koyu); }

/* Dış içerik (harita, video, 3D) ve izin verilene kadar yerinde duran kutu */
.cerez-cerceve { position: relative; width: 100%; height: 100%; }
.cerez-cerceve > iframe { display: block; width: 100%; height: 100%; border: 0; }
.cerez-yer {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: var(--cerez-kutu);
  color: var(--cerez-soluk);
  font-size: 14px;
  line-height: 1.5;
}
.cerez-yer p { margin: 0; max-width: 340px; }

@media (max-width: 600px) {
  .cerez { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 18px; }
}
