/* ==========================================================================
   Balcı teması — hesap sayfaları (sayfaya özel; sayfa.css'ten SONRA yüklenir)
   Sayfalar: uyeol.php · sifremiunuttum.php · hesabim.php · adreslerim.php · siparislerim.php · siparissorgulama.php
   Parça:    parcalar/siparis-detay.php (.bpb-siparis*)
   Token'lar balci.css :root; ortak bileşenler (.bpb-auth, .bpb-panel, .bpb-dl, .bpb-list, .bpb-status, .bpb-table--stack)
   sayfa.css'te. Burada yalnız: auth kartı ekleri, sözleşme <dialog>, adres kartları/formu, sipariş tablosu/detayı.
   Kırılımlar: 991 · 767 · 575 · dokunma hedefi ≥ 40px · gölge yok · radius 0/3
   Bölümler: 1 auth ekleri · 2 dialog · 3 hesap sayfa kabuğu · 4 adresler · 5 siparişler · 6 kırılımlar · 7 hareket
             · 8 Auth v2 bölünmüş kart (.bpb-auth2*: uyeol + sifremiunuttum; kendi kırılım/hareket kuralları bölüm içinde)
   ========================================================================== */

/* ---------- 1. Giriş / üye ol / şifre / sorgu kartı ekleri ---------- */
.bpb-page--auth .bpb-breadcrumb { max-width: 440px; margin: 0 auto; }
.bpb-auth__head--tabs { padding: var(--bpb-s6) var(--bpb-s6) 0; margin-bottom: var(--bpb-s4); }
.bpb-auth__ikon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--bpb-s3);
  color: var(--bpb-primary); background: var(--bpb-primary-soft); border-radius: 50%;
}
.bpb-auth__ikon .bpb-ico { width: 24px; height: 24px; }
.bpb-auth__sifre { position: relative; }
.bpb-auth__sifre .bpb-input { padding-right: 48px; }
.bpb-auth__goster {
  position: absolute; top: 0; right: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: var(--bpb-text-3); border-radius: var(--bpb-radius);
  transition: color var(--bpb-dur);
}
.bpb-auth__goster:hover, .bpb-auth__goster[aria-pressed="true"] { color: var(--bpb-primary); }
.bpb-auth__goster:focus-visible { outline-offset: -2px; }
.bpb-auth__row { justify-content: flex-end; }
.bpb-auth__row + .bpb-btn { margin-top: var(--bpb-s1); }
.bpb-auth__switch { margin: 0; text-align: center; font-size: var(--bpb-fs-md); color: var(--bpb-text-2); }
.bpb-auth__switch .bpb-auth__link { display: inline-flex; align-items: center; gap: var(--bpb-s1); min-height: 40px; }
button.bpb-auth__link { font-size: inherit; font-weight: 600; color: var(--bpb-primary); text-decoration: underline; text-underline-offset: 2px; transition: color var(--bpb-dur); }
button.bpb-auth__link:hover { color: var(--bpb-primary-hover); }
.bpb-auth__onaylar { margin-bottom: var(--bpb-s4); }
.bpb-auth__onaylar .bpb-check { min-height: 0; padding: var(--bpb-s2) 0; font-size: var(--bpb-fs-sm); line-height: 1.5; color: var(--bpb-text-2); }
.bpb-auth__onaylar .bpb-check input { margin-top: 2px; }
.bpb-auth__onaylar .bpb-check span { min-width: 0; }
.bpb-auth__onaylar button.bpb-auth__link { font-size: var(--bpb-fs-sm); }
.bpb-auth__wa { width: 14px; height: 14px; vertical-align: -2px; color: var(--bpb-success); }
.bpb-auth__yontem legend { font-size: var(--bpb-fs-sm); margin-bottom: var(--bpb-s2); }
.bpb-auth__secenekler { gap: var(--bpb-s2); }
.bpb-auth__secenekler .bpb-choicecard { min-height: 40px; }
.bpb-auth__bilgi { margin-top: var(--bpb-s4); background: var(--bpb-bg); font-size: var(--bpb-fs-sm); }
.bpb-auth__bilgi p { margin: 0; }
.bpb-auth .bpb-alert--danger { border-left-color: var(--bpb-danger); }
.bpb-auth .bpb-alert p:last-child { margin: 0; }

/* ---------- 2. Sözleşme / rıza metni <dialog> ---------- */
.bpb-dialog {
  width: calc(100% - 32px); max-width: 640px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; overflow: hidden;
  display: none; flex-direction: column;
  color: var(--bpb-text-2); background: var(--bpb-surface); border: 1px solid var(--bpb-border); border-radius: 0;
}
.bpb-dialog[open] { display: flex; }
.bpb-dialog::backdrop { background: var(--bpb-overlay); }
/* showModal() desteklemeyen tarayıcı: sabit konumlu yedek + ayrı örtü */
.bpb-dialog.is-fallback { position: fixed; top: 50%; left: 50%; z-index: 1100; transform: translate(-50%, -50%); }
.bpb-dialog-ortu { position: fixed; inset: 0; z-index: 1090; background: var(--bpb-overlay); }
.bpb-dialog-ortu[hidden] { display: none; }
.bpb-no-scroll { overflow: hidden; }
.bpb-dialog__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--bpb-s3); flex: 0 0 auto;
  padding: var(--bpb-s4) var(--bpb-s5); border-bottom: 1px solid var(--bpb-border);
}
.bpb-dialog__head h2 { margin: 0; font-size: var(--bpb-fs-xl); line-height: 1.3; color: var(--bpb-text); }
.bpb-dialog__close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; margin-right: -8px; color: var(--bpb-text-3); border-radius: var(--bpb-radius); transition: color var(--bpb-dur), background var(--bpb-dur); }
.bpb-dialog__close:hover { color: var(--bpb-text); background: var(--bpb-bg); }
.bpb-dialog__body { flex: 1 1 auto; min-height: 0; padding: var(--bpb-s5); overflow-y: auto; -webkit-overflow-scrolling: touch; font-size: var(--bpb-fs-md); }
.bpb-dialog__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--bpb-s3); flex: 0 0 auto; padding: var(--bpb-s3) var(--bpb-s5); background: var(--bpb-bg); border-top: 1px solid var(--bpb-border); }

/* ---------- 3. Hesap sayfa kabuğu ---------- */
.bpb-page--hesap .bpb-page__head--row { margin-top: var(--bpb-s1); }
.bpb-page--hesap .bpb-layout__main > .bpb-alert { margin-bottom: var(--bpb-s4); }
.bpb-page--hesap .bpb-form .bpb-panel + .bpb-panel { margin-top: 0; }
.bpb-page--hesap .bpb-form fieldset.bpb-field--inline { margin-bottom: var(--bpb-s3); }
.bpb-page--hesap .bpb-form fieldset.bpb-field--inline legend { margin-bottom: var(--bpb-s1); font-size: var(--bpb-fs-sm); }
.bpb-page--hesap .bpb-form fieldset.bpb-field--inline .bpb-radio { padding-right: var(--bpb-s2); }
.bpb-page--hesap [data-bpb-kosul][hidden] { display: none; }

/* ---------- 4. Adreslerim ---------- */
.bpb-adres-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bpb-s4); margin: 0; padding: 0; list-style: none; }
.bpb-adres-grid > li { min-width: 0; display: flex; }
.bpb-adres { display: flex; flex-direction: column; width: 100%; margin: 0; transition: border-color var(--bpb-dur); }
.bpb-adres:hover { border-color: var(--bpb-primary); }
.bpb-adres .bpb-panel__head { align-items: flex-start; }
.bpb-adres .bpb-panel__title span { overflow-wrap: anywhere; }
.bpb-adres .bpb-panel__body { flex: 1 1 auto; }
.bpb-adres__dl { grid-template-columns: 88px minmax(0, 1fr); gap: var(--bpb-s1) var(--bpb-s3); font-size: var(--bpb-fs-md); }
.bpb-adres__dl dt { font-size: var(--bpb-fs-sm); color: var(--bpb-text-3); }
.bpb-adres__actions { display: flex; flex-wrap: wrap; gap: var(--bpb-s2); margin-top: var(--bpb-s4); padding-top: var(--bpb-s3); border-top: 1px solid var(--bpb-border); }
.bpb-adres__actions .bpb-btn { min-width: 96px; }
.bpb-adres__sil:hover { color: var(--bpb-danger); border-color: var(--bpb-danger); }
.bpb-adres-form { margin: 0; scroll-margin-top: var(--bpb-s5); }
.bpb-adres-form[hidden] { display: none; }
.bpb-adres-form .bpb-panel__head .bpb-btn--ghost { margin: -4px -8px -4px 0; color: var(--bpb-text-3); }
.bpb-adres-form .bpb-panel__head .bpb-btn--ghost:hover { color: var(--bpb-text); }
.bpb-adres-form__grup { min-width: 0; }
.bpb-adres-form__baslik { margin: 0 0 var(--bpb-s3); font-size: var(--bpb-fs-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bpb-text-3); }
.bpb-adres-form__grup--fatura { margin-top: var(--bpb-s2); padding-top: var(--bpb-s4); border-top: 1px solid var(--bpb-border); }
.bpb-adres-form .bpb-textarea { min-height: 88px; }
.bpb-adres-form .bpb-select.is-loading { color: var(--bpb-text-3); }

/* ---------- 5. Siparişlerim / sipariş sorgulama ---------- */
.bpb-siparis-sayac { margin: 0 0 var(--bpb-s3); font-size: var(--bpb-fs-md); color: var(--bpb-text-2); }
.bpb-siparis-sayac strong { color: var(--bpb-text); }
.bpb-siparis-tablo .bpb-status { vertical-align: middle; }
.bpb-siparis-tablo .bpb-table__actions .bpb-btn { gap: var(--bpb-s1); }

.bpb-siparis { gap: var(--bpb-s4); }
.bpb-siparis > .bpb-panel { margin: 0; }
.bpb-siparis__geri { display: inline-flex; align-items: center; gap: var(--bpb-s1); align-self: flex-start; min-height: 32px; font-size: var(--bpb-fs-md); font-weight: 600; color: var(--bpb-text-2); }
.bpb-siparis__geri:hover { color: var(--bpb-primary); }
.bpb-siparis__no { color: var(--bpb-primary); }
.bpb-siparis__ozet .bpb-panel__head { flex-wrap: wrap; }
.bpb-siparis__ozet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bpb-s3) var(--bpb-s4); margin: 0; }
.bpb-siparis__ozet-item { min-width: 0; }
.bpb-siparis__ozet-item dt { margin: 0 0 2px; font-size: var(--bpb-fs-sm); color: var(--bpb-text-3); }
.bpb-siparis__ozet-item dd { margin: 0; font-size: var(--bpb-fs-md); color: var(--bpb-text); overflow-wrap: anywhere; }
.bpb-siparis__toplam { font-size: var(--bpb-fs-xl); font-weight: 600; color: var(--bpb-primary); }
.bpb-siparis__araclar { display: flex; flex-wrap: wrap; gap: var(--bpb-s2); margin-top: var(--bpb-s4); padding-top: var(--bpb-s4); border-top: 1px solid var(--bpb-border); }

.bpb-siparis__kalemler { margin: 0; }
.bpb-siparis__kalem { align-items: flex-start; gap: var(--bpb-s4); padding: var(--bpb-s4) 0; }
.bpb-siparis__kalem:first-child { padding-top: 0; }
.bpb-siparis__kalem:last-child { padding-bottom: 0; }
.bpb-siparis__gorsel {
  display: flex; align-items: center; justify-content: center; flex: 0 0 64px; width: 64px; height: 64px;
  color: var(--bpb-text-3); background: var(--bpb-bg); border: 1px solid var(--bpb-border); overflow: hidden;
}
.bpb-siparis__gorsel img { width: 100%; height: 100%; object-fit: cover; }
.bpb-siparis__bilgi { flex: 1 1 auto; min-width: 0; }
.bpb-siparis__ad { margin: 0 0 2px; font-size: var(--bpb-fs-lg); font-weight: 600; line-height: 1.4; color: var(--bpb-text); }
.bpb-siparis__ad a:hover { color: var(--bpb-primary); }
.bpb-siparis__bilgi .bpb-list__meta { margin: 0 0 var(--bpb-s2); }
.bpb-siparis__kalem-araclar { display: flex; flex-wrap: wrap; gap: var(--bpb-s2); margin-top: var(--bpb-s2); }
.bpb-siparis__kalem-araclar:empty { display: none; }
.bpb-siparis__kalem-araclar .bpb-btn { gap: var(--bpb-s1); }
.bpb-siparis__tutar { flex: 0 0 auto; margin-left: auto; font-size: var(--bpb-fs-lg); font-weight: 600; white-space: nowrap; color: var(--bpb-text); }

.bpb-siparis__alt { gap: var(--bpb-s4); align-items: start; }
.bpb-siparis__alt > .bpb-panel { margin: 0; min-width: 0; }
.bpb-siparis__altbaslik { margin: 0 0 var(--bpb-s1); font-size: var(--bpb-fs-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bpb-text-3); }
.bpb-siparis__adres { margin: 0; font-size: var(--bpb-fs-md); line-height: 1.6; color: var(--bpb-text-2); overflow-wrap: anywhere; }
.bpb-siparis__adres strong { color: var(--bpb-text); }
.bpb-siparis__odeme { margin-bottom: var(--bpb-s5); }
.bpb-siparis__odeme dd { text-align: right; white-space: nowrap; }
.bpb-siparis__odeme .bpb-siparis__odeme-toplam { font-size: var(--bpb-fs-lg); color: var(--bpb-text); border-bottom: 0; padding-top: var(--bpb-s3); }
.bpb-siparis__odeme dd.bpb-siparis__odeme-toplam { color: var(--bpb-primary); }
.bpb-siparis__indirim { color: var(--bpb-success); }
.bpb-siparis__linkler { margin: 0; padding: 0; list-style: none; }
.bpb-siparis__linkler a { display: flex; align-items: center; gap: var(--bpb-s2); min-height: 40px; padding: var(--bpb-s1) 0; font-size: var(--bpb-fs-md); color: var(--bpb-text-2); border-bottom: 1px solid var(--bpb-border); }
.bpb-siparis__linkler li:last-child a { border-bottom: 0; }
.bpb-siparis__linkler a:hover { color: var(--bpb-primary); }
.bpb-siparis__linkler .bpb-ico { flex: 0 0 auto; color: var(--bpb-text-3); }
.bpb-siparis__linkler a:hover .bpb-ico { color: var(--bpb-primary); }

/* ---------- 6. Kırılımlar ---------- */
@media (max-width: 991px) {
  .bpb-siparis__ozet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bpb-adres-grid { grid-template-columns: minmax(0, 1fr); }
  .bpb-siparis__kalem { flex-wrap: wrap; }
  .bpb-siparis__tutar { flex-basis: 100%; margin-left: 0; padding-left: 80px; }
  .bpb-siparis-tablo td.bpb-table__actions { justify-content: flex-end; }
  .bpb-dialog__head, .bpb-dialog__body, .bpb-dialog__foot { padding-left: var(--bpb-s4); padding-right: var(--bpb-s4); }
}
@media (max-width: 575px) {
  .bpb-auth__head--tabs { padding: var(--bpb-s5) var(--bpb-s4) 0; }
  .bpb-page--auth .bpb-breadcrumb { max-width: none; }
  .bpb-adres__dl { grid-template-columns: minmax(0, 1fr); }
  .bpb-adres__dl dt { padding-top: var(--bpb-s2); }
  .bpb-adres__dl dd { padding-bottom: 0; border-bottom: 0; }
  .bpb-adres__actions .bpb-btn { flex: 1 1 auto; }
  .bpb-siparis__tutar { padding-left: 0; }
  .bpb-siparis__araclar .bpb-btn, .bpb-siparis__kalem-araclar .bpb-btn { flex: 1 1 auto; }
  .bpb-siparis__odeme dd { text-align: left; }
  .bpb-dialog { width: 100%; max-width: none; max-height: 100vh; max-height: 100dvh; border: 0; }
  .bpb-dialog__foot .bpb-btn { flex: 1 1 auto; }
}

/* ---------- 7. Hareket ---------- */
@media (prefers-reduced-motion: reduce) {
  .bpb-adres, .bpb-auth__goster, .bpb-dialog__close, button.bpb-auth__link { transition: none; }
}

/* ==========================================================================
   8. Auth (uyeol / sifremiunuttum) v2 — bölünmüş kart
   Sol: marka paneli (hero poster + kahve degrade örtü, logo, başlık, fayda satırları, güven satırı)
   Sağ: form kartı (altı çizgili sekmeler, ikonlu 48px alanlar, şifre göster/gizle, altın düğme)
   Sekme / doğrulama / şifre kancaları hesap.js'in mevcut .bpb-auth__* sınıflarını kullanır; bu bölüm
   yalnız .bpb-auth2 kapsamında üstüne yazar. sayfa.css .bpb-auth kuralları (kontrol, hesabım) DEĞİŞMEZ.
   Kırılım: 1023 (tek sütun, marka bandı kısalır) · 575 (16px kenar, kompakt bant)
   ========================================================================== */
.bpb-page--auth2 {
  --bpb-auth2-w: 1040px;
  --bpb-auth2-krem: var(--bpb-primary-soft);
  --bpb-auth2-krem-2: rgba(251, 243, 224, .8);
  --bpb-auth2-krem-cizgi: rgba(251, 243, 224, .22);
  --bpb-auth2-krem-zemin: rgba(251, 243, 224, .12);
  --bpb-auth2-ortu: rgba(60, 38, 0, .92);
  --bpb-auth2-ortu-acik: rgba(60, 38, 0, .62); /* poster parlak bölgelerinde 12px krem metin için AA (en kötü durum ≈4.6:1) */
  --bpb-auth2-fs-display: 34px;
  --bpb-auth2-alan-h: 48px;
}
.bpb-page--auth2 .bpb-breadcrumb { max-width: var(--bpb-auth2-w); }

.bpb-auth2 {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  max-width: var(--bpb-auth2-w); margin: 0 auto;
  background: var(--bpb-surface); border: 1px solid var(--bpb-border);
} /* overflow: hidden YOK — kayan ata olurdu, sol panelin sticky içeriği çalışmazdı; poster kendi paneline (isolation) kırpılır */
.bpb-auth2--tek { grid-template-columns: minmax(0, 1fr); max-width: 480px; }

/* Sol marka paneli */
.bpb-auth2__marka { position: relative; isolation: isolate; min-width: 0; color: var(--bpb-auth2-krem); background: var(--bpb-brown); }
.bpb-auth2__poster { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bpb-auth2__marka::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bpb-auth2-ortu) 0%, var(--bpb-auth2-ortu-acik) 50%, var(--bpb-auth2-ortu) 100%);
}
.bpb-auth2__marka-ic { position: sticky; top: var(--bpb-s5); display: flex; flex-direction: column; gap: var(--bpb-s7); min-height: 560px; padding: var(--bpb-s7); }
.bpb-auth2__logo { display: inline-flex; align-items: center; align-self: flex-start; max-width: 100%; min-height: 44px; padding: var(--bpb-s2) var(--bpb-s3); background: var(--bpb-auth2-krem); border-radius: var(--bpb-radius); }
.bpb-auth2__logo img { display: block; width: auto; max-width: 180px; height: 36px; object-fit: contain; }
.bpb-auth2__logo-metin { font-family: var(--bpb-font-display); font-size: var(--bpb-fs-title); font-weight: 600; line-height: 1; color: var(--bpb-brown); }
.bpb-auth2__marka-govde { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: var(--bpb-s6); min-width: 0; }
.bpb-auth2__ustbaslik { margin: 0 0 var(--bpb-s2); font-size: var(--bpb-fs-sm); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bpb-auth2-krem-2); }
.bpb-auth2__marka-baslik { margin: 0; font-family: var(--bpb-font-display); font-size: var(--bpb-auth2-fs-display); font-weight: 600; line-height: 1.15; color: #fff; text-wrap: balance; }
.bpb-auth2__marka-metin { margin: var(--bpb-s3) 0 0; font-size: var(--bpb-fs-lg); line-height: 1.6; color: var(--bpb-auth2-krem-2); }
.bpb-auth2__faydalar { display: flex; flex-direction: column; gap: var(--bpb-s4); margin: 0; padding: 0; list-style: none; }
.bpb-auth2__fayda { display: flex; align-items: flex-start; gap: var(--bpb-s3); min-width: 0; }
.bpb-auth2__fayda-ikon {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 36px; height: 36px; font-size: var(--bpb-fs-lg); font-weight: 600; line-height: 1; color: #fff;
  background: var(--bpb-auth2-krem-zemin); border: 1px solid var(--bpb-auth2-krem-cizgi); border-radius: 50%;
}
.bpb-auth2__fayda-ikon .bpb-ico { width: 18px; height: 18px; }
.bpb-auth2__fayda-metin { min-width: 0; font-size: var(--bpb-fs-sm); line-height: 1.5; color: var(--bpb-auth2-krem-2); }
.bpb-auth2__fayda-metin strong { display: block; margin-bottom: 1px; font-size: var(--bpb-fs-lg); font-weight: 600; color: #fff; }
.bpb-auth2__guven { display: flex; align-items: flex-start; gap: var(--bpb-s2); margin: 0; padding-top: var(--bpb-s4); font-size: var(--bpb-fs-sm); line-height: 1.5; color: var(--bpb-auth2-krem-2); border-top: 1px solid var(--bpb-auth2-krem-cizgi); }
.bpb-auth2__guven .bpb-ico { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; color: var(--bpb-auth2-krem); }

/* Sağ form kartı */
.bpb-auth2__kart { display: flex; flex-direction: column; min-width: 0; padding: var(--bpb-s7) var(--bpb-s8); }
.bpb-auth2 .bpb-auth__head--tabs { padding: 0; margin-bottom: var(--bpb-s5); }
.bpb-auth2 .bpb-auth__head { margin-bottom: var(--bpb-s5); }
.bpb-auth2 .bpb-auth__title { font-size: var(--bpb-fs-title); line-height: 28px; }
.bpb-auth2 .bpb-auth__text { font-size: var(--bpb-fs-lg); line-height: 1.55; }
.bpb-auth2 .bpb-auth__ikon { width: 52px; height: 52px; margin-bottom: var(--bpb-s4); }
.bpb-auth2 .bpb-auth__tabs { gap: var(--bpb-s6); margin-bottom: var(--bpb-s6); }
.bpb-auth2 .bpb-auth__tabs .bpb-tab { flex: 0 0 auto; justify-content: flex-start; height: 44px; padding: 0 var(--bpb-s1); font-size: var(--bpb-fs-lg); }
.bpb-auth2 .bpb-auth__panel { padding: 0; }
.bpb-auth2 .bpb-field { margin-bottom: var(--bpb-s5); }
.bpb-auth2 .bpb-label { margin-bottom: var(--bpb-s2); font-size: var(--bpb-fs-md); }
.bpb-auth2 .bpb-help, .bpb-auth2 .bpb-error { margin-top: var(--bpb-s2); font-size: var(--bpb-fs-sm); }
.bpb-auth2__ust { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--bpb-s1) var(--bpb-s3); margin-bottom: var(--bpb-s2); }
.bpb-auth2__ust .bpb-label { margin: 0; }
.bpb-auth2 .bpb-auth__link { font-size: var(--bpb-fs-md); }

/* İkonlu alan: input + (ikon input'tan SONRA gelir: aria-invalid rengini kardeş seçiciyle alır) + şifre düğmesi */
.bpb-auth2__alan { position: relative; }
.bpb-auth2__alan .bpb-input { height: var(--bpb-auth2-alan-h); padding-left: 44px; font-size: var(--bpb-fs-xl); } /* ≥16px: iOS odakta yaklaştırmaz */
.bpb-auth2__alan--sifre .bpb-input { padding-right: 52px; }
.bpb-auth2__alan-ikon {
  position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: var(--bpb-auth2-alan-h); color: var(--bpb-text-3); pointer-events: none; transition: color var(--bpb-dur);
}
.bpb-auth2__alan-ikon .bpb-ico { width: 18px; height: 18px; }
.bpb-auth2__alan:focus-within .bpb-auth2__alan-ikon { color: var(--bpb-primary); }
.bpb-auth2__alan .bpb-input[aria-invalid="true"] + .bpb-auth2__alan-ikon { color: var(--bpb-danger); }
.bpb-auth2__goster {
  position: absolute; top: 4px; right: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: var(--bpb-text-3); border-radius: var(--bpb-radius);
  transition: color var(--bpb-dur), background var(--bpb-dur);
}
.bpb-auth2__goster:hover { color: var(--bpb-text); background: var(--bpb-bg); }
.bpb-auth2__goster[aria-pressed="true"] { color: var(--bpb-primary); }
.bpb-auth2__goster:focus-visible { outline-offset: -2px; }
.bpb-auth2__goster .bpb-ico { width: 18px; height: 18px; }

/* Onaylar: okunur kutu */
.bpb-auth2 .bpb-auth__onaylar { margin-bottom: var(--bpb-s5); padding: var(--bpb-s2) var(--bpb-s4); background: var(--bpb-bg); border: 1px solid var(--bpb-border); border-radius: var(--bpb-radius); }
.bpb-auth2 .bpb-auth__onaylar .bpb-check { padding: var(--bpb-s3) 0; font-size: var(--bpb-fs-md); color: var(--bpb-text-2); }
.bpb-auth2 .bpb-auth__onaylar .bpb-check + .bpb-check { border-top: 1px solid var(--bpb-border); }
.bpb-auth2 .bpb-auth__onaylar .bpb-check input { width: 18px; height: 18px; margin-top: 1px; }
.bpb-auth2 .bpb-auth__onaylar button.bpb-auth__link { display: inline-block; margin-top: var(--bpb-s1); font-size: var(--bpb-fs-sm); }
.bpb-auth2 .bpb-auth__onaylar .bpb-error { margin: 0 0 var(--bpb-s2); }

/* Birincil düğme + gönderim durumu */
.bpb-auth2 .bpb-btn--lg { height: var(--bpb-auth2-alan-h); font-size: var(--bpb-fs-lg); letter-spacing: .02em; }
.bpb-btn.is-busy { opacity: .85; cursor: progress; }
.bpb-btn.is-busy::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px;
  border: 2px solid transparent; border-top-color: currentColor; border-radius: 50%; /* currentColor: her düğme renginde görünür */
  animation: bpb-btn-don .8s linear infinite;
}
@keyframes bpb-btn-don { to { transform: rotate(360deg); } }

.bpb-auth2 .bpb-divider { margin: var(--bpb-s6) 0 var(--bpb-s4); }
.bpb-auth2 .bpb-auth__switch { font-size: var(--bpb-fs-lg); }
.bpb-auth2 .bpb-auth__bilgi { margin-top: var(--bpb-s5); }
.bpb-auth2 .bpb-auth__secenekler .bpb-choicecard { min-height: var(--bpb-auth2-alan-h); align-items: center; }
.bpb-auth2 .bpb-auth__secenekler .bpb-choicecard input { width: 18px; height: 18px; margin: 0; }
.bpb-auth2 .bpb-actions { margin-top: var(--bpb-s5); }

@media (max-width: 1023px) {
  .bpb-page--auth2 { --bpb-auth2-fs-display: 24px; }
  .bpb-auth2 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .bpb-page--auth2 .bpb-breadcrumb { max-width: 560px; }
  .bpb-auth2__marka-ic { position: static; flex-direction: row; align-items: center; gap: var(--bpb-s4); min-height: 0; padding: var(--bpb-s5) var(--bpb-s6); }
  .bpb-auth2__logo { align-self: center; } /* satır düzeninde flex-start üst hizaya kayardı */
  .bpb-auth2__marka::after { background: var(--bpb-auth2-ortu); }
  .bpb-auth2__marka-govde { gap: 0; }
  .bpb-auth2__ustbaslik { margin-bottom: var(--bpb-s1); }
  .bpb-auth2__marka-metin { margin-top: var(--bpb-s1); font-size: var(--bpb-fs-md); }
  .bpb-auth2__faydalar, .bpb-auth2__guven { display: none; }
  .bpb-auth2__kart { padding: var(--bpb-s6); }
}
@media (max-width: 575px) {
  .bpb-auth2__marka-ic { gap: var(--bpb-s3); padding: var(--bpb-s4); }
  .bpb-auth2__logo { min-height: 36px; padding: var(--bpb-s1) var(--bpb-s2); }
  .bpb-auth2__logo img { height: 28px; max-width: 120px; }
  .bpb-auth2__logo-metin { font-size: var(--bpb-fs-xl); }
  .bpb-auth2__ustbaslik { display: none; }
  .bpb-auth2__kart { padding: var(--bpb-s5) var(--bpb-s4); }
  .bpb-auth2 .bpb-auth__tabs { gap: var(--bpb-s5); }
  .bpb-auth2 .bpb-auth__onaylar { padding: 0 var(--bpb-s3); }
}
@media (prefers-reduced-motion: reduce) {
  .bpb-auth2__alan-ikon, .bpb-auth2__goster { transition: none; }
  .bpb-btn.is-busy::before { animation: none; border-color: currentColor; opacity: .6; }
}

/* Dokunma hedefi: küçük düğmeler de ≥ 40px (sözleşme) */
.bpb-page--hesap .bpb-btn--sm, .bpb-siparis__kalem-araclar .bpb-btn, .bpb-account-nav .bpb-btn--sm { min-height: 40px; }
