/* P6 — Ödeme sayfası: iletişim izni kutusu ödeme düğmesinin ÜSTÜNDE (SAYFA-İpek, 14.11 koordinatör).
   ipek-odeme-sayfasi/odeme.css formu ızgara yapıp çocuklara sıra veriyor: ödeme yöntemi 20, koşullar 30, düğme 40, geri kalan 50.
   BP1'in «Bana … haber gönderebilirsiniz» kutusu Blocks «Ek sipariş bilgisi» adımında (#order-fields) → 50 = düğmenin altındaydı.
   Yalnız sıra ve görünüm; alan, kanca, form gönderimi, Albaraka değişmez. */
body.ipk-odeme-sayfasi .wc-block-checkout__form > #order-fields{ order:25; margin:var(--s-4, 16px) 0 0 !important; }
/* «Ek sipariş bilgisi» başlığı bağış formunda anlamsız ve iri; kutunun etiketi kendini anlatıyor. Ekran okuyucuya açık kalır. */
body.ipk-odeme-sayfasi #order-fields .wc-block-components-checkout-step__heading-container{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
body.ipk-odeme-sayfasi #order-fields .wc-block-components-checkout-step__content{ margin:0 !important; padding:0 !important; }
/* Koşullar metnindeki bağlantılar: sitenin metin içi bağlantı rengi (gök mürekkebi, altı çizili, 3 px ofset; DESIGN «Metin» düğmesi) */
body.ipk-odeme-sayfasi .wc-block-checkout__terms a{ color:var(--ipk-sky-ink, #17708C) !important; text-decoration:underline; text-underline-offset:3px; }
body.ipk-odeme-sayfasi .wc-block-checkout__terms a:hover{ color:var(--ipk-navy, #263572) !important; }

/* Sepet satır ayraçları (yönetici, son denetim): geniş düzende «Toplam» hücresi display:flex olduğundan tablo hücresi gibi uzamıyor,
   kendi kısa alt çizgisini çiziyordu (soldaki satır çizgisiyle aynı hizada değil). Hücre yeniden tablo hücresi. */
html body :is(.is-large, .is-medium) .wc-block-cart-items .wc-block-cart-items__row > td.wc-block-cart-item__total{ display:table-cell !important; vertical-align:top; text-align:right; }
html body :is(.is-large, .is-medium) .wc-block-cart-items .wc-block-cart-items__row:last-child > td{ border-bottom:0 !important; }
/* Dar düzende satır bir ızgara: hücre çizgileri satırın ortasında ikinci/üçüncü çizgi çiziyordu → yalnız satırın alt çizgisi */
html body :is(.is-small, .is-mobile) .wc-block-cart-items .wc-block-cart-items__row > td{ border-top:0 !important; border-bottom:0 !important; }
html body :is(.is-small, .is-mobile) .wc-block-cart-items .wc-block-cart-items__row:last-child{ border-bottom:0 !important; }

/* Bağış alındı (havale): «Teşekkürler» kartı en üstte, ardından havale açıklaması ve banka bilgileri
   (Woo'nun bacs çıktısı karttan önce geliyordu; sayfa başlıksız bir uyarı cümlesiyle başlıyordu). Yalnız görsel sıra. */
/* Sıra: teşekkür kartı → havale açıklaması → banka bilgileri → özet, bilgiler, düğmeler (Snippet 16 kartı display:contents ile açılır) */
body.woocommerce-order-received .woocommerce-order{ display:flex; flex-direction:column; align-items:center; }
body.woocommerce-order-received .woocommerce-order > .ipek-ba{ display:contents; }
body.woocommerce-order-received .woocommerce-order > :is(.ipek-ba, p:not([class])) , body.woocommerce-order-received .ipek-ba > *{ width:min(100%, 960px); box-sizing:border-box; }
body.woocommerce-order-received .ipek-ba > .ipek-ba-hero{ order:-3; }
body.woocommerce-order-received .woocommerce-order > p:not([class]){ order:-2; margin:var(--s-2, 8px) 0 0; text-align:center; }
body.woocommerce-order-received .woocommerce-order > .woocommerce-bacs-bank-details{ order:-1; margin:0 0 var(--s-6, 32px) !important; }
/* Özet kutusunda «₺» ile tutar ayrı satıra düşüyordu; e-posta etiketi 390'da «E-/posta» bölünüyordu */
body.woocommerce-order-received .ipek-ba-ozet-item :is(strong, .amount, .woocommerce-Price-currencySymbol){ display:inline !important; white-space:nowrap; }
body.woocommerce-order-received .ipek-ba li > span:first-child{ white-space:nowrap; flex-shrink:0; }
body.woocommerce-order-received .woocommerce-order{ padding-top:var(--s-6, 32px); } /* kart üst bilgiye yapışıyordu */

/* Denetim A-5: IBAN 390'da «… 0000 / 47» diye 2 rakamlık yetim satıra düşüyordu → tek satır, dar ekranda yazı küçülür */
.woocommerce-bacs-bank-details li.iban strong{ white-space:nowrap; font-size:clamp(14px, 4vw, 16px); font-variant-numeric:tabular-nums; letter-spacing:0; }
/* Denetim A-2: parola sıfırlandı / hesap bilgileri kaydedildi gibi BAŞARI bildirimleri Hesabım'da görünsün
   (Snippet'in «yalnız başarı mesajlarını gizle» kuralı sepete ekleme bildirimi içindi; Hesabım'da bağışçı sonucu görmüyordu) */
html body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message:not(.woocommerce-error):not(.woocommerce-info),
html body.woocommerce-account .woocommerce > .woocommerce-message:not(.woocommerce-error):not(.woocommerce-info){ display:flex !important; } /* gizleyen kuralın özgüllüğü 0,4,0 */
/* Denetim A-20: programla odaklanan bildirim 2 px halka çiziyordu (ekran okuyucu için odak kalır, görsel halka yok; tabindex=-1 öğe) */
html body .woocommerce-notices-wrapper [tabindex="-1"]:focus:not(:focus-visible){ outline:none; }
/* Denetim A-19: parola göster/gizle simgesi siyah → lacivert */
html body .woocommerce form .show-password-input, html body .woocommerce form .show-password-input::after{ color:#263572 !important; }
/* Denetim A-16: ödeme sayfasında iki onay kutusu etiketi aynı ölçüde (hesap oluştur başlığı 16/600; iletişim izni 14/400 idi) */
body.ipk-odeme-sayfasi #order-fields .wc-block-components-checkbox__label{ font-size:16px; font-weight:600; color:var(--ipk-ink, #1f2433); line-height:1.45; }
html body :is(.woocommerce-notices-wrapper, .woocommerce) > :is(.woocommerce-message,.woocommerce-error,.woocommerce-info):focus{ outline:none !important; } /* yalnız programla odak (tabindex=-1, Tab ile gelinmez) */ /* WC bildirimi programla odaklıyor; görsel halka gereksiz */

/* Karar 11 (14.11): boş sepet başlığındaki WooCommerce «üzgün yüz» simgesi → sitenin simge dili: lacivert daire içinde kalp çizgisi
   (üst bilgideki sepet simgesi de kalp). Boyut ve yer aynı (5em, ortalı); yalnız simge değişti. */
html body .wc-block-cart__empty-cart__title.with-empty-cart-icon::before{
  -webkit-mask-image:none !important; mask-image:none !important; background-color:transparent !important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='24' fill='%23263572'/%3E%3Cpath d='M32.84 16.61a5.5 5.5 0 0 0-7.78 0L24 17.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L24 33.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
