/* Çerez bildirimi: alt şerit, mobilde tam genişlik. Düğmeler aynı belirginlikte (KVKK: Reddet = Kabul). */
.cerez-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000; padding: 12px;
    display: flex; justify-content: center; pointer-events: none; font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.cerez-panel[hidden] { display: none; }
.cerez-govde { pointer-events: auto; width: min(720px, 100%); box-sizing: border-box; padding: 14px 16px;
    background: #fff9ee; color: #2b241c; border: 1px solid #d6c0a1; border-radius: 12px;
    box-shadow: 0 8px 28px rgba(43, 36, 28, .25); max-height: 85vh; overflow-y: auto; }
.cerez-baslik { display: block; margin-bottom: 4px; font-size: 15px; }
.cerez-metin { margin: 0 0 10px; }
.cerez-metin a { color: inherit; text-decoration: underline; }
.cerez-detay { margin: 0 0 10px; display: grid; gap: 8px; }
.cerez-detay[hidden] { display: none; }
.cerez-dugme[hidden], .cerez-metin[hidden] { display: none; }
.cerez-satir { display: flex; align-items: flex-start; gap: 8px; }
.cerez-satir input { margin-top: 3px; flex: none; }
.cerez-dugmeler { display: flex; flex-wrap: wrap; gap: 8px; }
.cerez-dugme { flex: 1 1 0; min-width: 96px; min-height: 44px; padding: 8px 14px; cursor: pointer;
    font: inherit; font-weight: 600; color: #2b241c; background: #f5b400; border: 2px solid #c98d00; border-radius: 8px; }
.cerez-dugme:hover { background: #ffc61f; }
.cerez-dugme:focus-visible { outline: 3px solid #2b241c; outline-offset: 2px; }
.cerez-dugme.cerez-ikincil { background: #fff9ee; border-color: #d6c0a1; }
.cerez-detay .cerez-dugme { flex: none; justify-self: start; }
/* Telefonda (<=480px) TÜM sayfalarda aynı küçük alt şerit (Samed 20.10: "çerez kutusunu daha küçük yapamıyor muyuz";
   29.10.2026 /ucretsiz-deneme'deki şerit tasarımı genelleştirildi): ekran kenarına yapışık, başlık yok, metin 12px,
   üç düğme tek satırda, aynı genişlik ve boyda, 44px dokunma hedefi (Reddet = Kabul eşitliği korunur). İçerik/sıra aynı.
   Tercihler açılınca şerit büyür; 85vh üstünü aşarsa kendi içinde kayar (kesilme yok). Tema (body.tema-acik)
   karşılığı yeni-tarz.css sonunda. */
@media (max-width: 480px) {
    .cerez-panel { padding: 0; font-size: 12px; line-height: 1.25; }
    .cerez-govde { width: 100%; padding: 3px 8px calc(4px + env(safe-area-inset-bottom, 0px)); border-width: 2px 0 0;
        border-radius: 12px 12px 0 0; box-shadow: 0 -3px 12px rgba(43, 36, 28, .2); max-height: 85vh; }
    .cerez-baslik { display: none; }
    /* letter-spacing -.02em: 12px Nunito'da metin 375px genişlikte 5. satıra taşıyordu (+15px); 11.5px'lik eski şeritle aynı satır sayısı. */
    .cerez-metin { margin: 0 0 4px; font-size: 12px; line-height: 1.25; letter-spacing: -.02em; }
    .cerez-detay { margin: 0 0 6px; gap: 6px; font-size: 12px; line-height: 1.25; }
    /* Izgara: üç sütun kesin eşit genişlikte (flex'te kenarlık farkı Tercihler'i 4px genişletiyordu). */
    .cerez-dugmeler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .cerez-dugme { min-width: 0; min-height: 36px; box-sizing: border-box; padding: 2px 4px; font-size: 13px; line-height: 1.15; }
    .cerez-detay .cerez-dugme { padding: 2px 14px; }
    /* G7 (14.11.2026): formlarda şerit ekranın ~%20'sini kaplıyordu. Normal durumda 2 kısa satır (özet) + 36px düğme;
       tam metin Tercihler açılınca görünür (cerez-genis). Düğme 36px (WCAG 2.2 en az 24px). */
    .cerez-panel:not(.cerez-genis) .cerez-metin { display: none; }
    .cerez-ozet { display: block; margin: 0 0 4px; font-size: 12px; line-height: 1.25; letter-spacing: -.02em; }
    .cerez-ozet a { color: inherit; text-decoration: underline; }
}
/* Masaüstü/tablet: özet yok, tam metin görünür. */
@media (min-width: 481px) { .cerez-ozet { display: none; } }
.cerez-panel .cerez-ozet[hidden] { display: none; }
/* Şerit görünürken sayfa altına şerit yüksekliği kadar boşluk (JS --cerez-yuk yazar) ve odak/kaydırma payı: form şeridin altında kalmaz. */
html.cerez-acik { padding-bottom: var(--cerez-yuk, 0px); scroll-padding-bottom: calc(var(--cerez-yuk, 0px) + 12px); }
a[data-cerez-ac] { cursor: pointer; }
