/* uyguno gezinme — includes/gezinme.php ile eşli (06.10.2026 Sunai). Tailwind'e bağlı değil.
   Alt menü: ana sayfa v2'nin alt menüsünden türedi; artık ana sayfa, iç sayfalar ve 404 aynı bileşeni kullanır. */
.uy-ik { width: 24px; height: 24px; flex: none; fill: currentColor; }

/* ---------- Mobil alt menü ---------- */
.uy-alt {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgb(255 255 255 / .96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 1px solid #e2e8f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.uy-alt-o {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 48px; text-decoration: none; color: #475569; font-size: .75rem; line-height: 1; font-weight: 600;
  position: relative; -webkit-tap-highlight-color: transparent;
}
.uy-alt-o:hover { color: #0f172a; }
.uy-alt-o[aria-current="page"] { color: #c2410c; }
.uy-alt-o[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px;
  background: #ea580c;
}
.uy-alt-o:focus-visible { outline: 3px solid #c2410c; outline-offset: -3px; border-radius: 10px; }
/* UYG-1103: "Ara" = kimlik büyüteci (includes/ikon_buyutec.php); 20 px kutu + taşan sap ≈ yandaki 24 px Phosphor ikonlarıyla aynı görsel ağırlık (çizgisi kalın, kutusu küçük) */
.uy-alt-o .uy-buyutec { display: block; width: 20px; height: 20px; margin-block: 2px; overflow: visible; flex: none; }

/* Barkod FAB: 58px turuncu, yükseltilmiş */
.uy-alt-barkod {
  display: flex; align-items: center; justify-content: center; position: relative;
  border: 0; background: none; padding: 0; margin: 0; cursor: pointer; color: #fff; font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.uy-alt-fab {
  display: grid; place-items: center; width: 58px; height: 58px; margin-top: -28px; border-radius: 999px;
  background: linear-gradient(145deg, #fb923c 0%, #f97316 40%, #ea580c 100%);
  box-shadow: 0 0 0 4px #fff, 0 4px 0 #b45309, 0 6px 20px rgb(249 115 22 / .45), inset 0 2px 4px rgb(255 255 255 / .3);
  transition: transform 100ms ease, box-shadow 100ms ease;
}
.uy-alt-fab .uy-ik { width: 30px; height: 30px; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .2)); }
.uy-alt-barkod:active .uy-alt-fab {
  transform: translate3d(0, 3px, 0);
  box-shadow: 0 0 0 4px #fff, 0 1px 0 #b45309, 0 3px 10px rgb(249 115 22 / .4), inset 0 2px 4px rgb(255 255 255 / .3);
}
.uy-alt-barkod:focus-visible { outline: none; }
.uy-alt-barkod:focus-visible .uy-alt-fab { outline: 3px solid #c2410c; outline-offset: 5px; }

/* ---------- Header: Hesap düğmesi ---------- */
.uy-hesap {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; color: #334155; text-decoration: none;
}
.uy-hesap:hover { background: #f1f5f9; color: #0f172a; }
.uy-hesap:focus-visible { outline: 3px solid #c2410c; outline-offset: 2px; }

/* ≥1024: alt çubuk gizli, barkod düğmesi altta ortada yüzer (ana sayfa v2 kararı, artık her sayfada) */
@media (min-width: 1024px) {
  .uy-alt {
    left: 50%; right: auto; bottom: 20px; width: 66px; height: 66px; padding: 0; display: block;
    transform: translateX(-50%); background: none; border: 0;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .uy-alt > .uy-alt-o { display: none; }
  .uy-alt-barkod { width: 66px; height: 66px; }
  .uy-alt-fab { margin-top: 0; }
  .uy-hesap--masaustu-gizli { display: none; }
  /* 76 (07.10.2026 asistan, patron): masaüstünde yüzen barkod düğmesi gizli; barkoda arama kutusundaki düğmeden ulaşılır */
  .uy-alt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .uy-alt-fab, .uy-hesap { transition: none; } }

/* ===== 73 · Başlık: Alışveriş listesi düğmesi (07.10.2026 Sunai) — includes/gezinme.php uyguno_liste_dugmesi() =====
 * Hesap düğmesinin ikizi: 44×44, 12 px köşe, ikon #334155 (beyazda 10,3:1). /liste'de turuncu #c2410c / #fff7ed (5,0:1).
 * Sayaç rozeti #c2410c + beyaz 11 px kalın (5,18:1), 2 px beyaz halka; mutlak konum → gösterilip gizlenmesi CLS üretmez.
 * Patron 07.10: TÜM sayfalarda görünür — ana sayfa ≥1024'te de (üst menüdeki metinli bağlantı da kalır; ikisi birlikte). */
.uy-liste {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; color: #334155; text-decoration: none;
}
.uy-liste:hover { background: #f1f5f9; color: #0f172a; }
.uy-liste:focus-visible { outline: 3px solid #c2410c; outline-offset: 2px; }
.uy-liste[aria-current="page"] { background: #fff7ed; color: #c2410c; }
.uy-liste-sayi {
  position: absolute; top: 2px; right: 0; box-sizing: border-box; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: #c2410c; color: #fff; box-shadow: 0 0 0 2px #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.uy-liste-sayi[hidden] { display: none; }
.ust-ic > .uy-hesap + .uy-liste { margin-left: -8px; }   /* ana sayfa .ust-ic gap 16 → ikonlar arası 8 */
.ust-ic > .uy-liste + .ust-menu { margin-left: -8px; }  /* .ust-menu -12 → liste ile menü arası 8 (dokunma aralığı) */
.ust404 > .uy-liste { margin-inline: 8px; color: var(--fg, #334155); }

/* ===== h1 · Başlık: Marketler + Markalar ikonları ve ikon ipuçları (07.10.2026 Sunai) — includes/gezinme.php uyguno_kesif_dugmeleri() =====
 * Patron: "Markalar ve marketleri ikon olarak header'a ekle, tüm sayfalarda gözüksün" + "masaüstünde". <1024 yok (alt menüde Marketler var).
 * Hesap/liste ikizi: 44×44, 12 px köşe, #334155 (beyazda 10,3:1); kendi sayfasında #c2410c / #fff7ed (5,0:1).
 * Gruplama çizgiyle değil boşlukla: keşif ikonları kendi aralarında 8 px, kişisel ikonlardan (hesap · liste) 16 px.
 * İpucu: ikon adı (data-ipucu) ikonun altında mürekkep etiket — fare üstünde 250 ms bekleyip (geçerken yanıp sönmesin),
 * klavye odağında hemen. Yalnız ≥1024 + gerçek fare; dokunmatikte yok. Ad aria-label'da kalır (::after ad hesabına girmez).
 * Düzen kutusu değişmez (mutlak konum, opacity/transform) → CLS 0. */
.uy-kesif { display: none; }
.uy-kesif-o {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; color: #334155; text-decoration: none;
}
.uy-kesif-o:hover { background: #f1f5f9; color: #0f172a; }
.uy-kesif-o:focus-visible { outline: 3px solid #c2410c; outline-offset: 2px; }
.uy-kesif-o[aria-current="page"] { background: #fff7ed; color: #c2410c; }
@media (min-width: 1024px) {
  .uy-kesif { display: flex; align-items: center; gap: 8px; flex: none; }
  #site-header .uy-kesif { margin-right: 8px; }                   /* sağ küme gap 8 → hesaba 16 */
  .ust404 .uy-kesif { margin-left: auto; margin-right: 16px; }    /* 404: gap yok; sağa yaslayan auto artık kümenin başında, hesaba 16 */
  .ust404 .uy-kesif + .uy-hesap { margin-left: 0; }
  .ust404 .uy-kesif-o { color: var(--fg, #334155); }
  .uy-kesif-o, .uy-hesap[data-ipucu] { position: relative; }
}
@media (min-width: 1024px) and (hover: hover) {
  [data-ipucu]::after {
    content: attr(data-ipucu); position: absolute; top: calc(100% + 6px); left: 50%; z-index: 2;
    padding: 6px 10px; border-radius: 8px; background: #0f172a; color: #fff; box-shadow: 0 6px 16px -8px rgb(15 23 42 / .5);
    font: 600 12px/1.2 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0; white-space: nowrap;
    pointer-events: none; opacity: 0; visibility: hidden; transform: translate3d(-50%, -4px, 0);
    transition: opacity 150ms ease, transform 150ms ease, visibility 0s linear 150ms;
  }
  [data-ipucu]:hover::after {
    opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0);
    transition: opacity 150ms ease 250ms, transform 150ms ease 250ms, visibility 0s linear 250ms;
  }
  [data-ipucu]:focus-visible::after { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition: opacity 150ms ease, transform 150ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  .uy-kesif-o { transition: none; }
  [data-ipucu]::after, [data-ipucu]:hover::after, [data-ipucu]:focus-visible::after { transform: translate3d(-50%, 0, 0); transition: none !important; }
}

/* ===== 118 · Başlık: Fiyatı Düşenler ikonu (08.10.2026 Sunai) — includes/gezinme.php uyguno_kesif_dugmeleri(), .uy-indirim =====
 * Patron: "/fiyati-dusenler için header'a bir indirim ikonuyla link verelim; tüm sayfalarda gözüksün."
 * Başlıktaki tek renkli ikon: Phosphor SealPercent #c2410c (beyazda 5,2:1), üstünde #fff7ed; kendi sayfasında #ffedd5 + #9a3412 (7,1:1).
 * Mobil: ≥360 px'te başlıkta (ölçüldü 08.10, 9 şablon sayfası: 360/375/414'te 44 px daha hiçbir öğeyi daraltmadan sığıyor; 320–359'da
 * her şablonda yatay taşma) → <360 başlıkta yok, menü çekmecesinde. Küme mobilde yalnız bu ikonu gösterir (Marketler/Markalar ≥1024).
 * Aralık: header.php gap 8 (dokunulmadı) · ana sayfa .ust-ic gap 16 → küme sağa yaslanır, hesapla 8 · 404 → sağa yaslanır, hesapla 8. */
.uy-kesif-o.uy-indirim { color: #c2410c; }
.uy-kesif-o.uy-indirim:hover { background: #fff7ed; color: #9a3412; }
.uy-kesif-o.uy-indirim[aria-current="page"] { background: #ffedd5; color: #9a3412; }
@media (min-width: 360px) and (max-width: 1023.98px) {
  .uy-kesif { display: flex; align-items: center; flex: none; }
  .uy-kesif > .uy-kesif-o:not(.uy-indirim) { display: none; }
  .ust-ic > .uy-kesif { margin-left: auto; }
  .ust-ic > .uy-kesif + .uy-hesap { margin-left: -8px; }
  .ust404 .uy-kesif { margin-left: auto; margin-right: 8px; }
  .ust404 .uy-kesif + .uy-hesap { margin-left: 0; }
}

/* ===== h1 · Başlık KATEGORİ MENÜSÜ (07.10.2026 Sunai) — includes/kategori_menu.php · js/kategori-menu.js =====
 * Patron: "akakçe'deki kategori görünümü ve üzerine gelince açılan alt kategoriler, aynısı olsun; tüm sayfalarda".
 * İskelet akakçe (ölçüldü 07.10): logonun yanında dolu "Kategoriler" düğmesi → solda dikey kök listesi, sağda etkin kökün alt
 * kategorileri. Dil uyguno: düğme #c2410c + beyaz (5,2:1); etkin kök beyaz zeminde #c2410c + soldan 3 px turuncu raf çizgisi
 * (ana sayfadaki raf etiketi imzasının kenarı); alt kategoriler 3 sütun. 24 kök × 36 px > panel → kök sütunu kendi içinde kayar.
 * Yalnız ≥1024. Panel mutlak konumlu + `hidden` → ilk boyamada yok, açılınca hiçbir şey itilmez (CLS 0).
 * Hedefler: fare için kök 36 px, alt bağlantı ≥32 px (WCAG 2.5.8 ≥24); dokunmatik masaüstünde (pointer: coarse) 44 px.
 * 115 (08.10 Sunai): kök adının solunda kategori ikonu (.km-kik, 20 px, /kategoriler ile aynı Phosphor çizimi). Sakin: boşta slate-500
 * (#64748b, #f8fafc üzerinde 4,6:1 — ikon için ≥3:1), üstünde slate-700, etkin kökte metinle aynı #c2410c. Kök sütunu 264 → 288 px
 * (en uzun ad "Hırdavat & Yapı Market" ikonla tek satır); alt panel 288'den başlar. İkonsuz eski HTML ile de doğru dizilir (span esner). */
.km { display: none; }
@media (min-width: 1024px) {
  .km { display: block; position: relative; flex: none; }
  .km, .km *, [data-ust-bant] .km, [data-ust-bant] .km * { pointer-events: auto; }   /* üst bant kapları tıklamayı geçirir; menü geçirmez */
  .km-dugme {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px;
    background: #c2410c; color: #fff; text-decoration: none; white-space: nowrap;
    font: 600 15px/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    transition: background-color 150ms ease;
  }
  .km-dugme:hover, .km--acik .km-dugme { background: #9a3412; color: #fff; }
  .km-dugme:focus-visible { outline: 3px solid #0f172a; outline-offset: 2px; }
  .km-ik { width: 20px; height: 20px; flex: none; fill: currentColor; }
  .km-ok { width: 14px; height: 14px; flex: none; fill: currentColor; transition: transform 150ms ease; }
  .km--acik .km-ok { transform: rotate(180deg); }
  .km-panel {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; display: flex;
    width: min(880px, calc(100vw - 32px)); height: min(560px, calc(100vh - 96px));
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 24px 48px -20px rgb(15 23 42 / .35);
    overflow: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  }
  .km-panel[hidden] { display: none; }
  .km-kokler {
    list-style: none; margin: 0; padding: 8px; width: 288px; flex: none; overflow-y: auto; overscroll-behavior: contain;
    background: #f8fafc; border-right: 1px solid #e2e8f0;
  }
  .km-kok-a {
    display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px 0 12px;
    border-radius: 10px; color: #334155; font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none;
  }
  .km-kok-a:hover { color: #0f172a; }
  .km-kok-a > span { flex: 1 1 auto; min-width: 0; }
  .km-kik { width: 20px; height: 20px; flex: none; fill: currentColor; color: #64748b; }
  .km-kok-a:hover .km-kik { color: #334155; }
  .km-kok--etkin .km-kik { color: #c2410c; }
  .km-kok-a::after { content: ""; width: 7px; height: 7px; flex: none; margin-right: 4px; border: solid #94a3b8; border-width: 2px 2px 0 0; transform: rotate(45deg); }
  .km-kok--etkin > .km-kok-a { background: #fff; color: #c2410c; font-weight: 600; box-shadow: inset 3px 0 0 #ea580c, 0 1px 2px rgb(15 23 42 / .06); }
  .km-kok--etkin > .km-kok-a::after { border-color: #c2410c; }
  .km-kok-a:focus-visible, .km-alt a:focus-visible { outline: 3px solid #c2410c; outline-offset: -3px; }
  .km-alt { position: absolute; top: 0; right: 0; bottom: 0; left: 288px; padding: 20px 24px 24px; overflow-y: auto; overscroll-behavior: contain; }
  .km-alt[hidden] { display: none; }
  .km-alt-bas { display: inline-flex; align-items: baseline; gap: 10px; margin-bottom: 12px; color: #0f172a; font-size: 18px; font-weight: 700; line-height: 1.3; text-decoration: none; }
  .km-alt-bas span { color: #c2410c; font-size: 14px; font-weight: 600; }
  .km-alt-bas:hover span { text-decoration: underline; text-underline-offset: 3px; }
  .km-alt-l { list-style: none; margin: 0; padding: 0; columns: 3 160px; column-gap: 24px; }
  .km-alt-l li { break-inside: avoid; }
  .km-alt-l a { display: flex; align-items: center; min-height: 32px; padding: 4px 8px; margin-left: -8px; border-radius: 8px; color: #334155; font-size: 15px; line-height: 1.35; text-decoration: none; }
  .km-alt-l a:hover { background: #fff7ed; color: #9a3412; }
  #site-header .km { margin-left: 4px; }
  .ust404 .km { margin-left: 16px; }
}
@media (min-width: 1024px) and (pointer: coarse) { .km-kok-a, .km-alt-l a { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .km-ok, .km-dugme { transition: none; } }

/* ===== 118 · "Kategoriler" düğmesi → düz turuncu yazı (08.10.2026 Sunai, patron kararı) — dosyanın SONUNDA: h1 .km-dugme'yi ezer =====
 * Patron: arama kutusu daralmasın diye "Kategoriler"in soldaki ikonu ve dolu turuncu buton görünümü kalksın; düz turuncu yazı olsun.
 * Ölçüm (08.10, /markalar, 1024–1440, arama kutusu = çerçeveli kap): bugün 347 px · yalnız Fiyatı Düşenler eklenince 295 · bu blokla 349.
 * Aşağı ok (chevron) DENENDİ, tutulmadı: 12 px ok + 6 px boşlukla kutu 331, 14 px okla 325, en dar hâliyle 337 → hepsi 347'nin altında.
 * Açılır olduğu aria-expanded + üstüne gelince açılmasıyla belli; açıkken düğme #fff7ed zeminde kalır (menünün kime ait olduğu görünür).
 * Renk: #c2410c beyazda 5,2:1 · üstünde/açıkken #9a3412 / #fff7ed 7,0:1 · odak halkası diğer başlık ikonlarıyla aynı 3 px #c2410c.
 * Düğme 100×44 (dokunma ≥44). İkon HTML'de kalır (aria-hidden), yalnız görünmez — 115'in kategori_menu.php'sine dokunulmadı. */
@media (min-width: 1024px) {
  .km-dugme { gap: 0; padding: 0 10px; background: transparent; color: #c2410c; transition: background-color 150ms ease, color 150ms ease; }
  .km-dugme:hover, .km--acik .km-dugme { background: #fff7ed; color: #9a3412; }
  .km-dugme:focus-visible { outline: 3px solid #c2410c; outline-offset: 2px; }
  .km-ik, .km-ok { display: none; }
}

/* ===== 139 · TEK KAP + TEK BAŞLIK (09.10.2026 Sunai) — includes/baslik.php uyguno_baslik() =====
 * Patron 09.10: "Ana sayfadaki site genişliği tüm sitede aynı olsun ve tüm sitedeki header da aynı olsun" + "Header'da sürekli arama olsun".
 * KAP: ana sayfanınki — en çok 1200 px, yan boşluk 16 (<768) / 24 px. Tek değişken --kap. İç sayfaların <main>'i (Tailwind max-w-3xl…7xl
 * + px-4), alt bilgi ve kendi kabı olan sayfalar (fiyatı düşenler .fd-kap, liste .ls-kap) buna bağlanır → logo, kırıntı, içerik ve alt
 * bilgi aynı sol çizgide. Okuma sayfaları (yasal metinler, liste) kabın soluna yaslı, satır uzunluğu 52rem'de kalır (≈90 karakter).
 * BAŞLIK: her sayfada aynı öğeler, yapışkan, Tailwind'siz. ≥1024 tek satır 68 px; <1024 üst satır 60 px + tam genişlik arama satırı 52 px.
 * Arama genişliği: 1024–1279 kalan alanın tamamı (her sayfada aynı öğeler → aynı genişlik); ≥1280 sabit 420 px (sayfa adı yalnız
 * burada görünür, en çok 110 px — aramayı daraltmaz; Aktüel ikonu eklenince 448 → 420). 118'in ≥347 px kuralı: 1024'te ölçülen en dar değer bile üstünde (kapı ölçer).
 * Renkler: arama düğmesi #c2410c beyaz ikon 5,2:1 · yer tutucu #64748b 4,8:1 · çerçeve #94a3b8 (bileşen sınırı 3:1 üstü).
 * CLS 0: başlık sunucuda basılır, yüksekliği sabit (min-height + sabit kutu boyları); JS yalnız sınıf/durum değiştirir. */
:root { --kap: 1200px; --kap-pay: 16px; --uy-ust-h: 113px; }
@media (min-width: 768px) { :root { --kap-pay: 24px; } }
@media (min-width: 1024px) { :root { --uy-ust-h: 69px; } }
html { scroll-padding-top: calc(var(--uy-ust-h) + 12px); }
body.av3 main *, body.av3 .alt * { scroll-margin-top: calc(var(--uy-ust-h) + 12px); }

.uy-kap { box-sizing: border-box; width: 100%; max-width: var(--kap); margin-inline: auto; padding-inline: var(--kap-pay); }
main.mx-auto[class*="max-w-"]:not(.max-w-lg), body > footer > .mx-auto[class*="max-w-"], main.fd > .fd-kap, main.ls > .ls-kap {
  box-sizing: border-box; max-width: var(--kap); margin-left: auto; margin-right: auto; padding-left: var(--kap-pay); padding-right: var(--kap-pay);
}
/* Okuma sayfaları: kap aynı (sol çizgi ortak), metin sütunu 52rem — ürün sayfası (main içinde .urun-sekmeler) HARİÇ, o tam kap */
main.mx-auto.max-w-3xl:not(:has(.urun-sekmeler)) > *, main.ls > .ls-kap > * { max-width: 52rem; }

.uy-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.uy-atla { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: #0f172a; color: #fff; font-weight: 700; text-decoration: none; }
.uy-atla:focus { top: 12px; outline: 3px solid #c2410c; outline-offset: 2px; }
.uy-atla-hedef { display: block; height: 0; outline: none; }

.uy-ust {
  position: sticky; top: 0; z-index: 50; box-sizing: border-box;
  background: rgb(255 255 255 / .97); border-bottom: 1px solid #e2e8f0;
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #0f172a;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .uy-ust { background: #fff; } }
.uy-ust-ic { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 8px; min-height: 112px; padding-block: 8px; box-sizing: border-box; }
.uy-ust .uy-logo { flex: none; margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; }
.uy-ust-sayfa { display: none; }
.uy-ust-sag { display: flex; align-items: center; gap: 4px; flex: none; }
.uy-ust-menu {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; margin: 0;
  border: 0; border-radius: 12px; background: transparent; color: #334155; cursor: pointer;
}
.uy-ust-menu:hover { background: #f1f5f9; color: #0f172a; }
.uy-ust-menu:focus-visible { outline: 3px solid #c2410c; outline-offset: 2px; }
.uy-ust .uy-ik { width: 24px; height: 24px; flex: none; fill: currentColor; }

/* Arama: tek form; dar ekranda ikinci satır (order + flex-basis), geniş ekranda satır içi */
.uy-ara {
  order: 3; flex: 1 0 100%; min-width: 0; position: relative; display: flex; align-items: stretch; box-sizing: border-box;
  height: 44px; margin: 0; background: #fff; border: 1px solid #94a3b8; border-radius: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.uy-ara:focus-within { border-color: #c2410c; box-shadow: 0 0 0 3px rgb(234 88 12 / .22); }
.uy-ara-kutu { position: relative; flex: 1 1 auto; display: flex; align-items: center; min-width: 0; }
.uy-ara input {
  flex: 1 1 auto; width: 0; min-width: 0; height: 100%; box-sizing: border-box; margin: 0; padding: 0 6px 0 14px;   /* width 0: girdinin doğal ~200 px'i dar ekranda formu taşırmasın */
  border: 0; outline: 0; background: transparent; color: #0f172a; border-radius: 11px 0 0 11px;
  font: 500 16px/1.2 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;   /* 16 px: iOS odakta büyütmesin */
  -webkit-appearance: none; appearance: none;
}
.uy-ara input::placeholder { color: #64748b; opacity: 1; }
.uy-ara input::-webkit-search-cancel-button { -webkit-appearance: none; }
.uy-ara-ek {
  display: inline-grid; place-items: center; width: 40px; height: 42px; flex: none; padding: 0; margin: 0;
  border: 0; border-radius: 8px; background: transparent; color: #475569; cursor: pointer;
}
.uy-ara-ek.hidden { display: none; }
.uy-ara-ek:hover { color: #9a3412; }
.uy-ara-ek:focus-visible, .uy-ara-git:focus-visible { outline: 3px solid #0f172a; outline-offset: -3px; }
.uy-ara-ek .uy-ik { width: 20px; height: 20px; }
.uy-ara-git {
  display: grid; place-items: center; width: 52px; flex: none; padding: 0; margin: 0;
  border: 0; border-radius: 0 11px 11px 0; background: #c2410c; color: #fff; cursor: pointer; transition: background-color 150ms ease;
}
.uy-ara-git:hover { background: #9a3412; }
.uy-ara-git .uy-ik { width: 20px; height: 20px; }
.uy-ara-ipucu { position: absolute; left: 0; top: calc(100% + 6px); margin: 0; z-index: 2; font-size: 14px; }
.uy-ara-ipucu:empty { display: none; }
.uy-ara .oneriler { top: calc(100% + 6px); z-index: 70; }

@media (min-width: 1024px) {
  .uy-ust-ic { flex-wrap: nowrap; min-height: 68px; padding-block: 12px; column-gap: 12px; }
  .uy-ust .uy-logo { margin-right: 0; }
  .uy-ara { order: 0; flex: 1 1 auto; min-width: 0; }
  .uy-ust-sag { margin-left: auto; gap: 8px; }
  .uy-ust-sag .uy-kesif { margin-right: 8px; }
  .uy-ust-ic .km { margin-left: 0; }
}
@media (min-width: 1280px) {
  /* 139b (09.10.2026 Sunai): inline-block + ::before "/" → uzun ad (ör. "Alışveriş listesi") üç noktayla kırpılır; inline-flex'te kırpılmıyordu */
  .uy-ust-sayfa { display: inline-block; flex: none; max-width: 120px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 600; color: #475569; }
  .uy-ust-sayfa::before { content: "/"; margin-right: 8px; color: #94a3b8; }
  .uy-ara { flex: 0 1 420px; }
}
@media (prefers-reduced-motion: reduce) { .uy-ara, .uy-ara-git { transition: none; } }

/* 139 · ANA SAYFA (patron 09.10: "büyük vitrin kutusu kalsın"): başlıktaki küçük arama hero araması görünürken gizli,
   geçince görünür (.uy-ust--ara, js/gezinme.js). Masaüstünde satırdaki yuva ayrılı kalır (visibility); mobilde başlığın altına binen
   mutlak şerit → başlık 61 px tek satır, yüksekliği hiç değişmez (CLS 0). Hareket yalnız opaklık, 150 ms; azaltılmış harekette yok. */
.uy-ust--ev .uy-ara { visibility: hidden; opacity: 0; transition: opacity 150ms ease, visibility 0s linear 150ms; }
.uy-ust--ev.uy-ust--ara .uy-ara { visibility: visible; opacity: 1; transition: opacity 150ms ease; }
@media (max-width: 1023.98px) {
  html:has(header[data-ara-gizli]) { --uy-ust-h: 61px; }
  .uy-ust--ev .uy-ust-ic { min-height: 60px; }
  .uy-ust--ev .uy-ara { position: absolute; z-index: 1; left: var(--kap-pay); right: var(--kap-pay); top: calc(100% + 8px); }
  /* şeridin zemini: başlıkla aynı beyaz bant (içerik arkadan görünmesin); yalnız arama görünürken */
  .uy-ust--ev::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 60px; background: rgb(255 255 255 / .97);
    border-bottom: 1px solid #e2e8f0; box-shadow: 0 8px 18px -14px rgb(15 23 42 / .35); visibility: hidden; opacity: 0; transition: opacity 150ms ease, visibility 0s linear 150ms; }
  .uy-ust--ev.uy-ust--ara::after { visibility: visible; opacity: 1; transition: opacity 150ms ease; }
}
@media (prefers-reduced-motion: reduce) { .uy-ust--ev .uy-ara, .uy-ust--ev.uy-ust--ara .uy-ara, .uy-ust--ev::after { transition: none !important; } }
/* 139 · Aktüel ikonu (Phosphor Megaphone): ≥1024 keşif grubunda; dar ekranda başlığın üst satırına sığdığı genişlikten itibaren
   (ölçüldü: 380 px), daha darında yalnız çekmecede. İki ikon arası 4 px. */
@media (min-width: 380px) and (max-width: 1023.98px) {
  .uy-kesif { gap: 4px; }
  .uy-kesif > .uy-kesif-o.uy-aktuel { display: inline-grid; }
}

/* ===== 149 · ALT BİLGİ (footer), TEK KAYNAK (11.10.2026 Sunai; 149b kurumsal-kompakt) — includes/altbilgi.php uyguno_altbilgi() =====
 * Patron 11.10 (149b): "Cimri, Akakçe ve dünya örnekleri gibi kurumsal, çok yer kaplamayan, SEO uyumlu bir footer; mobil menüyü bozma;
 * masaüstünün mobil versiyonu; yazılar büyük olmasın." Araştırma (gerçek tarayıcı ölçümü, _staging/sunai_149_footer/arastirma.md):
 * 5 ölçülebilen siteden 4'ü TEK KOYU ZEMİN (cimri #28323F, akakçe #34383B, idealo #0A3761, pricerunner #0B051D; pricespy beyaz),
 * bağlantı yazısı 12–14 px (cimri 12, akakçe 12,6), başlık + düz liste sütunları, yasal bağlantılar en altta küçük; logo kartı YOK
 * (cimri marketleri/broşürleri METİN bağlantı verir). Mobil: 3'ü düz liste (çok uzun: 1.400–4.000 px), idealo akordeon → biz kompakt
 * çok kolonlu düz liste (patron tercihi; kapalı akordeon içeriği hiç görülmüyordu).
 * Renk (#1E293B zemin): başlık #F8FAFC 14,0:1 · bağlantı #CBD5E1 9,9:1 · ikincil #94A3B8 5,7:1 · "Tüm …" #FDBA74 8,7:1 · logo #EA580C 4,1:1 (grafik ≥3) ·
 *   Saim App işareti #00BFFE 6,9:1 (KALICI renk; tek koyu zemin sayesinde ayrı şerit gerekmedi).
 * Dokunma: bağlantı satırı 28 px (WCAG 2.2 AA 2.5.8 ≥24 px; 44 px tercihi kompaktlık için bilinçli bırakıldı — sektörde 24–28 px),
 *   imza 44×44. Alt menü (gezinme.css .uy-alt, DOKUNULMADI) <1024'te 64 px + güvenli alan kadar alt boşlukla açıkta; sağda başa dön
 *   düğmesi için alt satır sağdan 56 px geri çekilir. */
.ab {
  margin-top: 48px; background: #1e293b; color: #cbd5e1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px; line-height: 1.45; text-align: left;
}
.ab h2, .ab p, .ab ul, .ab li { margin: 0; padding: 0; }
.ab ul { list-style: none; }
.ab a { color: #cbd5e1; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.ab a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ab a:focus-visible { outline: 2px solid #fdba74; outline-offset: 2px; border-radius: 4px; }
.ab-ik { width: 14px; height: 14px; flex: none; fill: currentColor; }
.ab-ic { padding-top: 28px; }
.ab-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.ab-marka, .ab-kol--market, .ab-kol--temel, .ab-kol--marka, .ab-kol--yigin { grid-column: 1 / -1; }

/* marka bloğu */
.ab-logo { margin-left: -2px; min-height: 32px !important; }   /* logo.php satır içi min-height:44px — yalnız !important ezer */
.ab-logo:focus-visible { outline: 2px solid #fdba74; outline-offset: 3px; border-radius: 6px; }
.ab .ab-ne { margin-top: 6px; color: #cbd5e1; max-width: 42ch; }
.ab .ab-canli { margin-top: 6px; color: #94a3b8; font-size: 12px; font-variant-numeric: tabular-nums; }
.ab-son { white-space: nowrap; }

/* sütunlar */
.ab .ab-baslik { font-size: 13px; font-weight: 600; line-height: 1.3; color: #f8fafc; margin-bottom: 4px; }
.ab-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.ab-kol--market .ab-liste, .ab-kol--marka .ab-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-liste a { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; max-width: 100%; overflow-wrap: anywhere; }
.ab .ab-tumu { color: #fdba74; font-weight: 600; white-space: nowrap; }
.ab-kol--market li:has(> .ab-tumu), .ab-kol--marka li:has(> .ab-tumu) { grid-column: span 2; }
.ab-kol--yigin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ab-kol--yigin .ab-liste { grid-template-columns: 1fr; }

/* alt satır: yasal + © + imza */
.ab-alt {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px;
  margin-top: 24px; padding-top: 12px; border-top: 1px solid rgb(148 163 184 / .2);
  padding-bottom: calc(10px + 64px + env(safe-area-inset-bottom, 0px));   /* sabit alt menü (gezinme.css .uy-alt) */
  padding-right: 64px;                                                    /* "başa dön" düğmesi (sağ 20 + 44 px + 8 aralık) */
  font-size: 12px; color: #94a3b8;
}
.ab-yasal { grid-column: 1 / -1; }
.ab-yasal ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
.ab-yasal a { display: inline-flex; align-items: center; min-height: 28px; color: #94a3b8; }
.ab-telif { grid-column: 1; }
.ab-imza {
  grid-column: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 10px;
  opacity: .9; transition: opacity 160ms ease;
}
.ab .ab-imza:hover { opacity: 1; text-decoration: none; }
.ab-imza svg { display: block; width: 24px; height: 24px; }
/* Sayfa sonunu alt bilgi taşır: ana sayfanın alt menü boşluğu (anasayfa-v3.css body.av3) çift olmasın */
body.av3:has(footer.ab) { padding-bottom: 0; }

@media (min-width: 640px) {
  .ab-kol--temel .ab-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-kol--marka .ab-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ab-kol--market .ab-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ab-kol--yigin { grid-template-columns: repeat(2, minmax(0, 220px)); }
}
@media (min-width: 1024px) {
  .ab-ic { padding-top: 36px; }
  .ab-izgara { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1.6fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; }
  .ab-marka, .ab-kol--market, .ab-kol--temel, .ab-kol--marka, .ab-kol--yigin { grid-column: auto; }
  .ab-kol--market .ab-liste { grid-template-columns: 1fr; }
  .ab-kol--market li:has(> .ab-tumu) { grid-column: auto; }   /* mobildeki span 2 tek kolonda örtük 2. kolon açıyordu → "CarrefourSA" kırılıyordu */
  .ab-kol--temel .ab-liste, .ab-kol--marka .ab-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-kol--yigin { grid-template-columns: 1fr; gap: 14px; align-content: start; }
  .ab-liste a { min-height: 26px; white-space: nowrap; }   /* 149b düzeltme (patron): masaüstünde ad 2 satıra kırılmaz ("CarrefourSA") */
  .ab-alt {
    grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 24px; margin-top: 28px; padding: 6px 0;
  }
  .ab-telif { grid-column: 1; grid-row: 1; }
  .ab-yasal { grid-column: 2; grid-row: 1; justify-self: end; }
  .ab-imza { grid-column: 3; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) { .ab-imza { transition: none; } }
