/* css/bim-aktuel.css — /aktuel/bim/ (09.10.2026 Sunai, 141 → 141b) — includes/bim_aktuel_sayfa.php + js/bim-aktuel.js ile eşli.
 * Tailwind'e bağlı değil. Dil: uyguno (Inter, turuncu eylem #c2410c 5,2:1, mürekkep #0f172a); BİM'in kendi indirimi kırmızı rozet
 * (#b91c1c / #fef2f2 6,4:1). Izgara 2 / 3 (≥640) / 4 (≥1024) / 5 (≥1280). Görsel kutusu 543×467 oranında sabit (CLS 0), contain.
 * 141b TARİH ŞERİDİ: .ba-serit 139 başlığının hemen altında position:sticky, top = --uy-ust-h (gezinme.css: 113 / ≥1024 69 px).
 *   Sabit yükseklik --ba-serit-h (CLS 0). Mobilde çipler yatay kayar. Bölüm çapası: html scroll-padding (başlık + 12, gezinme.css)
 *   + bölüm scroll-margin = şerit yüksekliği → başlık şeridin altında kalmaz (ikisi TOPLANIR; 141'de ölçüldü).
 * Rozet/çip kontrastı (hesaplandı): Satışta #166534/#dcfce7 6,49 · başlıyor #1e40af/#dbeafe 7,15 · bitti #475569/#f1f5f9 6,92 · aktif çip 17,85.
 * content-visibility BİLEREK YOK (141: çapa yanlış yere iniyordu). Dokunma ≥44 px. */
:root { --ba-serit-h: 60px; }
.ba-kirinti ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 12px; color: #64748b; }
.ba-kirinti a { color: #64748b; text-decoration: none; }
.ba-kirinti a:hover { color: #c2410c; }
.ba-kirinti [aria-current] { color: #334155; font-weight: 600; }
.ba-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 16px; }
.ba-logo { flex: none; }
.ba-h1 { margin: 0; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem); line-height: 1.2; font-weight: 800; color: #0f172a; letter-spacing: -0.01em; }
.ba-ozet { margin: 4px 0 0; font-size: 15px; color: #475569; }
.ba-ozet strong { color: #0f172a; }
.ba-kaynak-satir { margin: 4px 0 0; font-size: 13px; color: #64748b; }
.ba-bayat { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; font-size: 14px; }

/* ---- tarih şeridi ---- */
.ba-serit {
  position: sticky; top: var(--uy-ust-h, 69px); z-index: 30; height: var(--ba-serit-h); box-sizing: border-box;
  display: flex; align-items: center; margin: 0 0 20px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
}
.ba-serit-liste {
  display: flex; gap: 8px; width: 100%; min-width: 0; box-sizing: border-box; margin: 0; padding: 0 2px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ba-serit-liste::-webkit-scrollbar { display: none; }
.ba-serit-liste li { flex: none; }
.ba-cip {
  position: relative; /* .sr-only (absolute) çipin içinde kalsın; yoksa kaydırma kutusundan kaçıp sayfayı yatay taşırıyordu (ölçüldü 1519 px) */
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; box-sizing: border-box;
  border: 1px solid #cbd5e1; background: #fff; color: #334155; font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ba-cip:hover { border-color: #c2410c; color: #9a3412; }
.ba-cip--bitti { background: #f1f5f9; border-color: #e2e8f0; color: #475569; }
.ba-cip--baslar { border-style: dashed; }
.ba-cip--indirim { border-color: #fecaca; color: #b91c1c; }
.ba-cip[aria-current] { background: #0f172a; border-color: #0f172a; color: #fff; }
.ba-cip:focus-visible, .ba a:focus-visible { outline: 3px solid #c2410c; outline-offset: 2px; }

/* ---- bölüm (katalog) ---- */
.ba-bolum { margin-bottom: 40px; scroll-margin-top: var(--ba-serit-h); }
.ba-bolum-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ba-h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; font-weight: 800; color: #0f172a; }
.ba-rozet { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.ba-rozet--satista { background: #dcfce7; color: #166534; }
.ba-rozet--baslar { background: #dbeafe; color: #1e40af; }
.ba-rozet--bitti { background: #f1f5f9; color: #475569; }
.ba-grup-alt { margin: 4px 0 12px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; font-size: 13px; color: #64748b; }
.ba-bolum--bitti .ba-kart { background: #fbfcfd; }
.ba-bolum--bitti .ba-tl { color: #475569; }

/* ---- kart ---- */
.ba-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ba-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ba-izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1280px) { .ba-izgara { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ba-kart { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.ba-gorsel { aspect-ratio: 543 / 467; background: #fff; border-bottom: 1px solid #f1f5f9; }
.ba-gorsel img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ba-govde { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 10px 12px 12px; }
.ba-marka { margin: 0; font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .03em; overflow-wrap: anywhere; }
.ba-ad { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 600; color: #0f172a; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ba-gramaj { margin: 0; font-size: 13px; color: #64748b; }
.ba-fiyat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 6px 0 0; }
.ba-tl { font-size: 1.125rem; font-weight: 800; color: #0f172a; font-variant-numeric: tabular-nums; }
.ba-eski { font-size: 13px; color: #64748b; font-variant-numeric: tabular-nums; }
.ba-yuzde { padding: 1px 6px; border-radius: 6px; background: #fef2f2; color: #b91c1c; font-size: 12px; font-weight: 700; }
.ba-kaynak { margin: 0; font-size: 12px; color: #475569; }
.ba-karsilastir, .ba-bim { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.ba-karsilastir { margin-top: auto; font-weight: 700; color: #c2410c; }
.ba-karsilastir:hover { color: #9a3412; text-decoration: underline; text-underline-offset: 3px; }
.ba-bim { color: #475569; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cbd5e1; }
.ba-govde > .ba-bim:only-of-type { margin-top: auto; }
.ba-bos, .ba-not { font-size: 14px; color: #64748b; }
.ba-not { margin-top: 8px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
/* kalabalık katalog: ilk 24 + tümünü göster (?katalog=<anahtar>, sunucuda) */
.ba-tumu-kap { margin: 16px 0 0; text-align: center; }
.ba-tumu {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid #c2410c; background: #fff; color: #9a3412; font-weight: 700; font-size: 15px; text-decoration: none;
}
.ba-tumu:hover { background: #fff7ed; }
.ba-tumu, .ba-tumu-ek { white-space: nowrap; }
.ba-tumu-ek { margin-left: 8px; color: #64748b; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  html.scroll-smooth { scroll-behavior: auto; }
  .ba-cip { transition: none; }
}

/* 12.10.2026 Sunai: .ba-diger satırı kaldırıldı (patron: karşılaştırma ürün detayında) */

/* 11.10.2026 Sunai tur2: ?v= yenileme (tur1 ACL penceresinde 404 önbelleğe girmiş olabilir) */
