/* P6 — Ön yüz düzeltmeleri (1113 Faz 2, 13.11.2026, İşçi-B). Bulgu numaraları: 1113-SiteInceleme/rapor/ipek-tasarim-ux.md
   Bu dosya wp_enqueue_scripts 999'da (ipek-tasarim-2026 css'inden ÖNCE) basılır → eşit özgüllükte kaybeder; bu yüzden `html body` önekiyle yazıldı.
   Belirteçler: ipek-tasarim-2026.css §1 (--ipk-*, --r-*, --s-*). Yeni renk/yazı tipi/gölge yok. */

/* ===== #1 / #33 / #20 Yazı tipi köprüsü (Kit'ten sonra kalan kaçaklar) ===== */
html body :is(.ipek-hesap-container,.dnf-fixed-wrapper,.ipek-ozet,.ipk-odeme,.ipk-ozet-bar,.cky-consent-container,.cky-modal,.ipk-404){ font-family:var(--ipk-font); }
html body .ipek-hesap-container :is(button,input,select,textarea){ font-family:inherit; } /* IBAN sayfası: sayfa içi <style> «Helvetica Neue» veriyor */

/* ===== #2 ElementsKit başlığı: Kit H1/H2 ağırlığını almıyor (500). Renk Elementor'dan gelir: koyu zeminde beyaz başlıklar var. ===== */
html body h1.ekit-heading--title{ font-weight:800 !important; }  /* Elementor öğe başına tipografi (0,4,0) ezmek için !important */
html body :is(h2,h3).ekit-heading--title{ font-weight:700 !important; }

/* ===== #19 Düğme ağırlık/boy (Kit'ten sonra kalanlar; hizaya dokunulmaz) ===== */
html body :is(.elementskit-btn,a.elementor-button,button.elementor-button){ font-weight:700 !important; }
html body .elementskit-btn{ min-height:48px; padding:12px 22px; }
html body :is(.elementor-22961,.elementor-22030) :is(.elementskit-btn,a.elementor-button){ min-height:44px; font-size:14px; }

/* ===== #27 «Biz Kimiz?» sekmeleri: etkin sekme beyaz zemin + lacivert 700 + 2 px altın alt çizgi ===== */
html body .elementkit-tab-nav .elementkit-nav-link.active,
html body .elementkit-tab-nav .elementkit-nav-link.active:hover,
html body .elementkit-tab-nav .elementkit-nav-link.active:focus{
  background:#fff !important; background-color:#fff !important; color:var(--ipk-navy) !important; font-weight:700 !important; box-shadow:none !important;
  border:0 !important; border-bottom:2px solid var(--ipk-gold) !important; border-radius:var(--r-control) var(--r-control) 0 0 !important;
}
html body .elementkit-tab-nav .elementkit-nav-link.active :is(.elementskit-tab-title,i,svg){ color:inherit; fill:currentColor; }

/* ===== #18 Dokunma hedefleri + rozet ===== */
html body .elementor-post-info__terms-list-item a{ display:inline-block; padding:4px 2px; line-height:1.3; min-height:24px; }
html body .elementor-menu-cart__toggle_button .elementor-button-icon-qty{ font-size:11px !important; font-weight:700 !important; background:#B3261E !important; color:#fff !important; }

/* Alt bilgi sosyal simgeler ≥ 44×44 (her genişlikte; ipek-tasarim-2026.css §12.2 yalnız ≤1024) */
html body [data-elementor-type="footer"] .elementor-inline-items:not(.ipk-cky-list) .elementor-icon-list-item > a{ display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }

/* ===== #31 Hızlı Bağış çubuğu: bağış sayfası, sepet ve ödeme adımlarında gizli (kendi ödeme eylemi var) ===== */
html body:is(.woocommerce-shop,.woocommerce-cart,.woocommerce-checkout,.tax-product_cat) #dnf-fixed-wrapper{ display:none !important; }

/* ===== #22 Blog yazısı: okuma genişliği 72ch (benzer yazılar tam genişlik kalır; çağrı kutusu kendi 72ch'sinde) ===== */
html body.single-post .elementor-widget-theme-post-content .elementor-widget-container > :not(.ipk-benzer):not(.ipk-post-cta),
html body.single-post .elementor-widget-theme-post-content > :not(.elementor-widget-container):not(.ipk-benzer):not(.ipk-post-cta){ max-width:min(680px,100%); margin-inline:auto; } /* TD: Inter'de 72ch ≈ 95 karakter çıkıyordu; 680 px ≈ 70 karakter */

/* ===== #6 geri alındı (14.11, kullanıcı isteği: 13.11 canlı hâli esas): «Hesap numaraları» altın düğme p4-blog-altbilgi-gonullu.css'ten gelir; K5 istisnası ===== */

/* ===== #28 Benzer yazı kartı 12→14, görsel 8→10 ===== */
html body .ipk-benzer__kart{ border-radius:var(--r-card); }
html body .ipk-benzer__gorsel{ border-radius:var(--r-control); }

/* ===== #20 Ödeme sayfası: özet sütunu masaüstünde yapışkan; satır taşması ===== */
@media (min-width:961px){
  html body.ipk-odeme-sayfasi .ipk-odeme > .ipk-ozet{ position:sticky; top:24px; align-self:start; } /* üst bilgi sabit değil → 24 px; yönetici çubuğu varsa altında */
  html body.admin-bar.ipk-odeme-sayfasi .ipk-odeme > .ipk-ozet{ top:56px; }
}
html body.ipk-odeme-sayfasi :is(.ipk-ozet__kalem,.ipk-ozet__ust,.ipk-ozet__kontrol,.ipk-ozet__ad,.ipk-ozet__tutar){ min-width:0; }
html body.ipk-odeme-sayfasi .ipk-ozet__tutar{ overflow-wrap:anywhere; }
/* Güven satırı: simge + metin birlikte sarılır (yeni ifade daha uzun) */
html body .ipk-pay__trust-line{ flex-wrap:wrap; justify-content:center; text-align:center; row-gap:2px; }

/* ===== #17 Bağış Özeti: boş sepette «Ödemeye Geç» pasif; panelde tek birincil, «Ekle» ikincil (bagis-akisi.css §B3) ===== */
html body .ipek-ozet .ipek-ozet-checkout[aria-disabled="true"]{
  background:var(--ipk-surface) !important; border:var(--bw) solid var(--ipk-line) !important; color:var(--ipk-muted) !important;
  cursor:not-allowed; pointer-events:none;
}

/* ===== #4 Mobil Bağış Özeti çubuğu (≤1024): sepet doluyken alt yapışkan «Toplam ₺X · Ödemeye Geç». JS: p6-bagis-ozet.js ===== */
.ipk-ozet-bar{ display:none; }
@media (max-width:1024px){
  .ipk-ozet-bar.is-gorunur{
    display:flex; align-items:center; justify-content:space-between; gap:var(--s-3);
    position:fixed; left:0; right:0; bottom:0; z-index:9998; box-sizing:border-box; min-height:64px;
    padding:var(--s-2) var(--s-4) calc(var(--s-2) + env(safe-area-inset-bottom,0px));
    background:#fff; border-top:var(--bw) solid var(--ipk-line);
  }
  .ipk-ozet-bar__toplam{ display:flex; flex-direction:column; min-width:0; line-height:1.2; }
  .ipk-ozet-bar__etiket{ font-size:12px; font-weight:600; color:var(--ipk-muted); }
  .ipk-ozet-bar__tutar{ font-size:20px; font-weight:800; color:var(--ipk-navy); font-variant-numeric:tabular-nums; white-space:nowrap; }
  html body .ipk-ozet-bar a.ipk-ozet-bar__dugme{
    display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-height:48px; padding:12px 22px;
    background:var(--ipk-navy); color:#fff !important; border:var(--bw) solid var(--ipk-navy); border-radius:var(--r-control);
    font-size:16px; font-weight:700; text-decoration:none;
    transition:background-color .18s var(--ease);
  }
  html body .ipk-ozet-bar a.ipk-ozet-bar__dugme:hover{ background:var(--ipk-navy-900); border-color:var(--ipk-navy-900); }
  body.ipk-ozet-bar-acik{ padding-bottom:calc(64px + env(safe-area-inset-bottom,0px)); }
  /* WhatsApp çubuğun üstünde; menü açıkken çubuk menünün altında kalır */
  body.ipk-ozet-bar-acik .ipk-wa{ display:none; } /* TD: çubuk açıkken tek sabit öğe; WhatsApp kartları örtüyordu */
  body.ipk-mmenu-acik .ipk-ozet-bar{ visibility:hidden; }
  /* Çerez bandı açıkken çubuk bandın hemen üstünde durur (altında kalıp görünmez olmasın) */
  body.ipk-cky-acik .ipk-ozet-bar{ bottom:var(--ipk-cky-h,0px); }
  body.ipk-cky-acik.ipk-ozet-bar-acik{ padding-bottom:calc(var(--ipk-cky-h,0px) + 64px); }
  body.ipk-cky-acik.ipk-ozet-bar-acik .ipk-wa{ bottom:calc(var(--ipk-cky-h,0px) + 76px); }
}

/* ===== K5 mobil menü kuralı geri alındı (14.11, kullanıcı isteği: 13.11 canlı hâli esas): «Hızlı Bağış» altın, «Bağış Sayfası» lacivert — p1-mobil-menu.css + snippet 25; K5 istisnası ===== */

/* ===== #5 Çerez bandı ===== */
/* (a) mobil menü açıkken gizli (sınıfı p1-mobil-menu.js ekler) */
html body.ipk-mmenu-acik .cky-consent-container{ display:none !important; }
/* Masaüstü: sol alt kutu 440→416 px ve köşeye yakın (404'ün ortalı birincil düğmesi 1440'ta açıkta kalır) */
@media (min-width:768px){
  html body .cky-consent-container.cky-box-bottom-left{ width:416px; max-width:calc(100vw - 24px); left:12px; bottom:12px; }
}
@media (max-width:767px){
  /* (c) ≤ 230 px: başlık + 4 satır + tek satırda «Özelleştir» (metin bağlantısı) · «Reddet» · «Kabul» */
  html body .cky-consent-container{ max-height:38vh; overflow:auto; }
  html body .cky-consent-container .cky-consent-bar{ padding:12px 0; }
  html body .cky-consent-container .cky-title{ font-size:16px; line-height:1.3; margin:0 0 4px; padding:0 40px 0 16px; }
  html body .cky-consent-container .cky-notice-des{ padding:0 16px; }
  html body .cky-consent-container .cky-notice-des p{ font-size:14px; line-height:1.45; margin:0; }
  html body .cky-consent-container .cky-notice-btn-wrapper{ flex-direction:row; flex-wrap:nowrap; align-items:center; gap:8px; padding:12px 16px 0; margin:0; }
  html body .cky-consent-container .cky-notice-btn-wrapper .cky-btn{ flex:1 1 auto; width:auto; min-width:0; min-height:44px; padding:8px 10px; font-size:14px; font-weight:700; white-space:nowrap; }
  html body .cky-consent-container .cky-btn.cky-btn-customize{
    flex:0 0 auto; background:transparent !important; border:0 !important; color:var(--ipk-navy) !important;
    padding:8px 4px; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px;
  }
  /* Bant görünürken içerik altında kalmasın (p6-onyuz.js --ipk-cky-h yazar) */
  html body.ipk-cky-acik{ padding-bottom:var(--ipk-cky-h,0px); }
}

/* ===== #12 Mobil sabit kabuk: üst sosyal şerit kalkar, sepet ana barın sağına geçer (≤767; masaüstüne dokunulmaz) =====
   Şerit = ElementsKit şablonu 21693 ilk kapsayıcısı (7679ee2): sosyal simgeler (3236e45) + sepet (abe9f2a). Sosyal bağlantılar alt bilgide,
   Hesabım mobil menüde kalır; sepet kaybolmasın diye şerit ana barın yanında dar bir sütuna dönüşür. */
@media (max-width:767px){
  html body .elementor-21693 .elementor-element-731c106e{ flex-direction:row; flex-wrap:nowrap; align-items:stretch; }
  html body .elementor-21693 .elementor-element-3b0fffb9{ order:1; flex:1 1 0; min-width:0; width:auto; }
  html body .elementor-21693 .elementor-element-7679ee2{
    order:2; flex:0 0 56px; width:56px !important; min-width:0; padding:0 12px 0 0; background:#fff !important; background-color:#fff !important; align-items:center; justify-content:center; border:0;
  }
  html body .elementor-21693 .elementor-element-7679ee2 > .e-con-inner{ width:44px; max-width:44px; padding:0; }
  html body .elementor-21693 .elementor-element-7679ee2 .elementor-element-3236e45{ display:none; }
  html body .elementor-21693 .elementor-element-7679ee2 .elementor-menu-cart__toggle_button{ color:var(--ipk-navy); background:transparent; }
  html body .elementor-21693 .elementor-element-7679ee2 .elementor-menu-cart__toggle_button :is(svg,i){ color:var(--ipk-navy); fill:var(--ipk-navy); }
}

/* ===== #13 Mobil alt bilgi (footer 22657): tanıtım paragrafı ve bülten formu gizli; yasal metin 14/1.5; alt bağlantılar ortalı; dikey ritim sıkı ===== */
@media (max-width:767px){
  html body .elementor-22657 :is(.elementor-element-5935f33,.elementor-element-af04b78){ display:none !important; }
  html body .elementor-22657 :is(.elementor-element-b176077,.elementor-element-57b398c,.elementor-element-1282cd0){ gap:var(--s-2) !important; }
  html body .elementor-22657 .elementor-element-abca26b{ padding:var(--s-4) 0 var(--s-2) !important; row-gap:var(--s-4) !important; }
  html body .elementor-22657 .elementor-element-2300fa6{ display:none !important; } /* «Önemli Linkler» ile «Sosyal» arası boş yer tutucu */
  /* «Önemli Linkler»: 7 bağlantı iki sütunda (308 → ~200 px) */
  html body .elementor-22657 .elementor-element-8724343 .elementor-icon-list-items{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:var(--s-4); }
  html body .elementor-22657 .elementor-element-8724343 .elementor-icon-list-item > a{ font-size:14px; line-height:1.3; }
  html body .elementor-22657 .elementor-element-a3bfc0c :is(p,a){ font-size:14px !important; line-height:1.5 !important; }
  html body .elementor-22657 .elementor-element-a3bfc0c p{ margin:0 0 var(--s-2) !important; }
  html body .elementor-22657 .elementor-element-faed4f5 .elementor-icon-list-items{ justify-content:center; gap:var(--s-2) var(--s-4) !important; }
  /* #15 son satır (KVKK) WhatsApp'ın altında kalmasın */
  html body .elementor-22657 .elementor-element-faed4f5{ padding-bottom:72px !important; }
}

/* ===== #15 WhatsApp (≤767): 48×48, sağ 12, Hızlı Bağış çubuğunun üstünde ===== */
@media (max-width:767px){
  html body .ipk-wa{ width:48px; height:48px; right:12px; bottom:60px; }
  html body .ipk-wa svg{ width:26px; height:26px; }
}

/* ===== TD (finish review): Hızlı Bağış çubuğundaki «▲» metin karakteri (Mavera) → çizilmiş ok ===== */
html body #dnf-fixed-wrapper .dnf-bar-arrow{ font-size:0; width:12px; height:12px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 8l4-4 4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 8l4-4 4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ===== D1 (G4): sepete ekleme sonrası açılır pencere (Mavera #dnf-cart-popup): parlak mavi degrade / gri düğme / yeşil simge → site dili ===== */
html body #dnf-cart-popup .dnf-popup-content{ border-radius:var(--r-card); font-family:var(--ipk-font); }
html body #dnf-cart-popup .dnf-popup-icon{ background:var(--ipk-navy); background-image:none; color:#fff; }
html body #dnf-cart-popup .dnf-popup-title{ color:var(--ipk-ink); font-weight:700; }
html body #dnf-cart-popup #dnf-popup-product-name{ color:var(--ipk-navy); }
html body #dnf-cart-popup .dnf-popup-subtitle{ color:var(--ipk-muted); }
html body #dnf-cart-popup .dnf-popup-btn{ min-height:48px; display:inline-flex; align-items:center; justify-content:center; border-radius:var(--r-control); font-weight:700; font-size:16px; transform:none; box-shadow:none; transition:background-color .18s var(--ease, ease), color .18s var(--ease, ease); }
html body #dnf-cart-popup .dnf-popup-btn-checkout{ background:var(--ipk-navy); background-image:none; color:#fff; border:var(--bw, 1px) solid var(--ipk-navy); }
html body #dnf-cart-popup .dnf-popup-btn-checkout:hover{ background:var(--ipk-navy-900); background-image:none; color:#fff; transform:none; box-shadow:none; }
html body #dnf-cart-popup .dnf-popup-btn-cart{ background:#fff; color:var(--ipk-navy); border:var(--bw, 1px) solid var(--ipk-navy); }
html body #dnf-cart-popup .dnf-popup-btn-cart:hover{ background:var(--ipk-navy); color:#fff; }
html body #dnf-cart-popup .dnf-popup-btn:focus-visible{ outline:2px solid var(--ipk-navy); outline-offset:2px; }
html body #dnf-cart-popup .dnf-popup-close{ width:44px; height:44px; background:var(--ipk-surface); color:var(--ipk-navy); }
@media (max-width:480px){ html body #dnf-cart-popup .dnf-popup-buttons{ flex-direction:column; } }

/* ===== Sabit header (kullanıcı kararı 14.11): yalnız CSS, `position:sticky` — gövde dolgusu/JS yok → CLS ve titreme yok =====
   Başlık = ElementsKit şablonu 21693 (body'nin doğrudan çocuğu .ekit-template-content-header): üst şerit 7679ee2 (60 px) + ana bar 3b0fffb9 (80 px).
   Masaüstü/tablet: şerit kaydırınca yukarı çıkar (top −60 px), logo + menü + «Bağış» kalır. Telefon (≤767): şerit zaten ana barın yanında dar sepet sütunu;
   tek ince çubuk (logo · Bağış · hamburger · sepet) 60 px. Yönetici çubuğu: WP'nin --wp-admin--admin-bar--height değişkeni (≤600 px'te çubuk sabit değil → 0). */
html body > .ekit-template-content-header{ position:sticky; top:calc(var(--wp-admin--admin-bar--height, 0px) - 60px); z-index:990; }
html body > .ekit-template-content-header .elementor-21693 .elementor-element-3b0fffb9{ background:#fff; border-bottom:var(--bw, 1px) solid var(--ipk-line); }
html{ scroll-padding-top:calc(var(--wp-admin--admin-bar--height, 0px) + 96px); } /* çapa hedefi ana barın altında kalmasın */
@media (max-width:767px){
  html body > .ekit-template-content-header{ top:var(--wp-admin--admin-bar--height, 0px); }
  html body .elementor-21693 .elementor-element-731c106e{ border-bottom:var(--bw, 1px) solid var(--ipk-line); background:#fff; }
  html body > .ekit-template-content-header .elementor-21693 .elementor-element-3b0fffb9{ border-bottom:0; --padding-top:0px; --padding-bottom:0px; padding-top:0; padding-bottom:0; }
  html body > .ekit-template-content-header .elementor-21693 .elementor-element-3b0fffb9 > .e-con-inner{ padding-top:6px; padding-bottom:6px; } /* logo 49 px + 12 = ~61 px çubuk */
  html{ scroll-padding-top:calc(var(--wp-admin--admin-bar--height, 0px) + 72px); }
}
@media (max-width:600px){
  html body > .ekit-template-content-header{ top:0; }
  html{ scroll-padding-top:72px; }
}
/* Sabit header ile çakışmasın: yapışkan yan paneller ana barın (80 px) altında dursun (Hesabım menüsü, Bağış Özeti, ödeme özeti). Telefonda bu paneller yapışkan değil. */
@media (min-width:768px){
  html body .woocommerce-MyAccount-navigation,
  html body .ipek-ozet,
  html body #ipk-ozet.ipk-ozet{ top:calc(var(--wp-admin--admin-bar--height, 0px) + 96px) !important; }
}
