/* =========================================================
   TEZGÂH — pazaryeri düzeni. marka.css'in ÜSTÜNE biner.
   Masaüstünde kategori çubuğu ve etiketli üst menü, telefonda alt menü,
   yüzen düğmelerin yeri, /kategoriler sayfası, ürün kartı etiketleri,
   hızlı süzgeç çipleri, ürün satın alma kutusu, ödeme özeti.
   ========================================================= */

/* ── Sayfanın ilk bölümü: başlığın altında büyük boşluk kalmasın ─────────────── */
main > .bolum:first-child { padding-top: 40px; }
@media (max-width: 720px) { main > .bolum:first-child { padding-top: 22px; } }
main > .bolum.ls-bolum { padding-top: 22px; }

/* ── Üst menü: masaüstünde etiketli araçlar ───────────────────────────────── */
.ust-sepet-yazi { display: none; }
@media (min-width: 1081px) {
  .ust-ic { gap: 16px; }
  .ust-ara { flex: 1 1 auto; max-width: none; margin: 0 6px; }
  .ust-ara input { height: 46px; border-radius: 14px; background: #fff; }
  /* Kategori çubuğu varken gezinme bağlantıları oraya taşınır; başlıkta araçlar kalır. */
  body.katbar-var .menu > li:not(.menu-araclar):not(.menu-cta) { display: none; }
  body.katbar-var .menu-araclar { border-left: 0; padding-left: 0; }
  .menu-araclar { gap: 2px; }
  .menu-araclar .menu-fav, .menu-araclar .menu-hesap {
    display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; border-radius: 12px;
    font-size: .88rem; font-weight: 700; color: var(--ink); white-space: nowrap;
  }
  .menu-araclar .menu-fav:hover, .menu-araclar .menu-hesap:hover { background: var(--parchment); color: var(--ink); }
  .menu-araclar .menu-ikon-yazi { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
  .menu-araclar svg { width: 21px; height: 21px; }
  .menu-fav .fav-rozet { position: absolute; top: 3px; left: 25px; border: 2px solid var(--cream); min-width: 19px; height: 19px; font-size: 10px; background: var(--amber); }
  .menu-dil { margin-left: 4px; }
  .ust-sepet {
    width: auto; height: 46px; padding: 0 16px 0 14px; gap: 9px; display: inline-flex; align-items: center;
    background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 14px;
  }
  .ust-sepet:hover { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
  .ust-sepet-yazi { display: inline; font-weight: 700; font-size: .9rem; }
  .ust-sepet-sayac { position: static; min-width: 22px; height: 22px; border: 0; }
}

/* ── Kategori çubuğu (yalnız masaüstü) ───────────────────────────────────── */
.tz-katbar { display: none; }
@media (min-width: 1081px) {
  .tz-katbar { display: block; position: relative; z-index: 45; background: #fff; border-bottom: 1px solid var(--line); }
  .tz-katbar-ic { display: flex; align-items: center; gap: 8px; height: 48px; }
  .tz-katbar-tum { position: relative; flex: none; height: 100%; display: flex; align-items: center; }
  .tz-katbar-dugme {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 11px; border-radius: 11px; border: 0;
    background: var(--parchment); color: var(--ink); font: inherit; font-weight: 800; font-size: .86rem; cursor: pointer;
  }
  .tz-katbar-dugme svg { width: 18px; height: 18px; }
  .tz-katbar-tum:hover .tz-katbar-dugme, .tz-katbar-tum.acik .tz-katbar-dugme { background: var(--ink); color: #fff; }
  .tz-katbar-liste { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; height: 48px; overflow: hidden; list-style: none; margin: 0; padding: 0; min-width: 0; flex: 1; }
  .tz-katbar-liste li { height: 48px; display: flex; align-items: center; }
  .tz-katbar-liste a { display: block; padding: 7px 11px; border-radius: 10px; font-size: .86rem; font-weight: 600; color: var(--text); white-space: nowrap; }
  .tz-katbar-liste a:hover { background: var(--parchment); color: var(--ink); }
  .tz-katbar-liste a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--amber); border-radius: 10px 10px 4px 4px; }
  .tz-katbar-liste .tz-katbar-firsat { color: var(--brass); font-weight: 800; }
  .tz-katbar-liste .tz-katbar-yemek { color: var(--ok); font-weight: 800; }
  .tz-katbar-liste .tz-katbar-ayrac { width: 1px; height: 20px; margin: 14px 6px; background: var(--line); }
  .tz-mega {
    display: none; position: absolute; top: 100%; left: 0; width: min(780px, calc(100vw - 48px));
    background: #fff; border: 1px solid var(--line); border-radius: 0 18px 18px 18px; box-shadow: var(--shadow); padding: 16px; z-index: 60;
  }
  .tz-katbar-tum:hover .tz-mega, .tz-katbar-tum.acik .tz-mega, .tz-katbar-tum:focus-within .tz-mega { display: block; }
  .tz-mega-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 6px; }
  .tz-mega-liste a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .9rem; }
  .tz-mega-liste a:hover, .tz-mega-liste a[aria-current] { background: var(--parchment); color: var(--ink); }
  .tz-mega-ik { width: 34px; height: 34px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.05rem; flex: none; }
  .tz-mega-ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tz-mega-liste small { color: var(--muted); font-weight: 700; font-size: .76rem; font-variant-numeric: tabular-nums; }
  .tz-mega-alt { display: flex; gap: 20px; margin-top: 12px; padding: 12px 10px 2px; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 800; }
  .tz-mega-alt a { color: var(--ink); }
  .tz-mega-alt a:hover { color: var(--brass); }
}

/* ── Telefonda alt menü ───────────────────────────────────────────────────── */
.tz-altnav { display: none; }
@media (max-width: 860px) {
  body.altnav-var { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tz-altnav {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--line); padding: 4px 6px calc(4px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 26px -18px rgba(21, 24, 60, .45);
  }
  .tz-altnav-oge {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: 56px; padding: 0 2px; border: 0; border-radius: 14px; background: none; cursor: pointer;
    color: var(--muted); font: inherit; font-size: .68rem; font-weight: 700; line-height: 1.1; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .tz-altnav-oge span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tz-altnav-oge svg { width: 24px; height: 24px; transition: transform .15s ease; }
  .tz-altnav-oge:active svg { transform: scale(.9); }
  .tz-altnav-oge[aria-current] { color: var(--ink); }
  .tz-altnav-oge[aria-current] svg { color: var(--amber); }
  .tz-altnav-oge[aria-current]::before { content: ""; position: absolute; top: -5px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--amber); }
  .tz-altnav-rozet {
    position: absolute; top: 3px; left: calc(50% + 5px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    background: var(--amber); color: #fff; font-size: .64rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff;
  }
  .tz-altnav-rozet[hidden] { display: none; }
  /* Alt menü varken başlıkta sepet tekrar edilmez; yüzen düğmeler menünün üstüne çıkar. */
  body.altnav-var .ust-sepet { display: none; }
  body.altnav-var .menu-buton { margin-left: auto; }
  body.altnav-var .sepet-yuzen { display: none !important; }
  body.altnav-var .destek-widget { bottom: calc(74px + env(safe-area-inset-bottom)); right: 12px; }
  body.altnav-var .destek-ac { width: 46px; height: 46px; }
  body.altnav-var .destek-ac svg { width: 22px; height: 22px; }
  body.altnav-var .destek-panel { height: calc(100vh - 230px); }
  body.altnav-var .yukari-cik { bottom: calc(76px + env(safe-area-inset-bottom)); left: 12px; }
  body.altnav-var .cerez-bar { bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.altnav-var .ym-bar { bottom: calc(74px + env(safe-area-inset-bottom)); }
  body.altnav-var .ym-toast { bottom: calc(140px + env(safe-area-inset-bottom)); }
  body.altnav-var.bolum-yemek:has(#ymBar:not([hidden])) .destek-widget { bottom: calc(140px + env(safe-area-inset-bottom)); }
  body.altnav-var.bolum-yemek:has(#ymBar:not([hidden])) .yukari-cik { bottom: calc(140px + env(safe-area-inset-bottom)); }
  html.ls-acik .tz-altnav { display: none; }
}
/* Ürün sayfası: sabit "Sepete ekle" çubuğu varken sohbet düğmesi çubuğun üstünde durur. */
@media (max-width: 768px) {
  body.sticky-cta-var .destek-widget { bottom: calc(84px + env(safe-area-inset-bottom)); right: 12px; }
  body.sticky-cta-var .destek-ac { width: 50px; height: 50px; }
  body.sticky-cta-var .destek-ac svg { width: 24px; height: 24px; }
  body.sticky-cta-var .sepet-yuzen { bottom: calc(144px + env(safe-area-inset-bottom)); right: 12px; width: 50px; height: 50px; }
  body.sticky-cta-var .yukari-cik { bottom: calc(86px + env(safe-area-inset-bottom)); }
}

/* ── /kategoriler ─────────────────────────────────────────────────────────── */
main > .bolum.kt { padding-top: 22px; }
.kt-baslik { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 18px; }
.kt-kisalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.kt-kisa { display: flex; align-items: center; gap: 12px; padding: 13px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; color: var(--ink); }
.kt-kisa:hover { border-color: var(--ink); color: var(--ink); }
.kt-kisa-ik { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--parchment); color: var(--ink); font-weight: 800; font-size: 1.15rem; flex: none; }
.kt-kisa-ik svg { width: 20px; height: 20px; }
.kt-kisa b { display: block; font-size: .95rem; line-height: 1.25; }
.kt-kisa small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; margin-top: 2px; }
.kt-kisa--firsat .kt-kisa-ik { background: var(--amber); color: #fff; }
.kt-kisa--hizli .kt-kisa-ik { background: var(--gunes); }
.kt-kisa--yemek .kt-kisa-ik { background: #DDF6EF; }
.kt-bolum { margin-top: 30px; }
.kt-alt-baslik { font-size: 1.25rem; margin: 0 0 12px; }
.kt-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.kt-liste a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; color: var(--ink); }
.kt-liste a:hover { border-color: var(--ink); color: var(--ink); }
.kt-ik { width: 44px; height: 44px; border-radius: 12px; background: var(--parchment); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.kt-ad { flex: 1; min-width: 0; }
.kt-ad b { display: block; font-size: .95rem; line-height: 1.3; }
.kt-ad small { color: var(--muted); font-size: .8rem; }
.kt-liste svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.kt-magazalar { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.kt-magaza { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; color: var(--ink); font-size: .8rem; font-weight: 700; }
.kt-magaza:hover { border-color: var(--ink); color: var(--ink); }
.kt-magaza img, .kt-magaza i { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.kt-magaza i { display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; font-size: 1.3rem; }
.kt-magaza span { line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 560px) {
  main > .bolum.kt { padding-top: 12px; }
  .kt-kisalar { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kt-kisa { padding: 11px; gap: 10px; border-radius: 14px; }
  .kt-kisa-ik { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; }
  .kt-kisa b { font-size: .88rem; }
  .kt-liste { grid-template-columns: 1fr; gap: 0; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
  .kt-liste li + li a { border-top: 1px solid var(--line); }
  .kt-liste a { border: 0; border-radius: 0; padding: 10px 14px; }
  .kt-ik { width: 40px; height: 40px; }
  .kt-magazalar { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}

/* ── Ana sayfa (telefon): ürünler ilk ekranda görünsün diye afişler sıkı ──── */
@media (max-width: 560px) {
  .vt-hero { padding-top: 12px; }
  .vt-hero-ic { gap: 10px; }
  .vt-afis--ana { flex-direction: row; align-items: center; padding-block: 18px; padding-inline: 18px 0; gap: 0; min-height: 0; }
  .vt-afis--ana .vt-afis-metin { flex: 1 1 56%; gap: 7px; }
  .vt-afis--ana .vt-etiket { display: none; }
  .vt-afis--ana h2 { font-size: 1.62rem; }
  .vt-afis--ana p { font-size: .82rem; line-height: 1.35; }
  .vt-afis--ana .btn { padding: 9px 14px; font-size: .84rem; border-radius: 12px; margin-top: 2px; }
  .vt-afis-urunler { flex: 0 0 44%; height: 150px; margin: 0; align-self: center; }
  .vt-afis-urun { width: 62%; border-width: 3px; border-radius: 15px; }
  .vt-afis-urun.u1 { left: 4%; top: 2px; }
  .vt-afis-urun.u2 { display: none; }
  .vt-afis-urun.u3 { left: 32%; top: 50px; width: 60%; }
  .vt-afis-urun b { font-size: .7rem; padding: 2px 7px; left: 5px; top: 5px; }
  .vt-afis-yanlar { gap: 8px; }
  .vt-afis--hizli, .vt-afis--magaza, .vt-afis--yan { padding: 11px 14px; gap: 12px; border-radius: 18px; }
  .vt-afis--hizli .vt-afis-simge, .vt-afis--magaza .vt-afis-simge { width: 38px; height: 38px; border-radius: 12px; }
  .vt-afis--hizli .vt-afis-simge svg, .vt-afis--magaza .vt-afis-simge svg { width: 20px; height: 20px; }
  .vt-afis b { font-size: .96rem; }
  .vt-afis small { font-size: .76rem; margin-top: 2px; }
  .vt-afis--yan img { width: 50px; height: 50px; border-radius: 12px; }
  .vt-kat-ic { padding: 10px 0 8px; }
  .vt-kat-oge { width: 78px; font-size: .72rem; gap: 5px; }
  .vt-kat-oge span { width: 52px; height: 52px; border-radius: 17px; font-size: 1.4rem; }
}

/* ── Ürün kartı: kargo etiketi ───────────────────────────────────────────── */
.kart-etiketler { display: flex; flex-wrap: wrap; gap: 4px; margin: -6px 0 10px; }
.kart-kargo {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 7px;
  background: #E3F6EF; color: #0E6B52; font-size: .72rem; font-weight: 800; line-height: 18px; white-space: nowrap;
}
.kart-kargo svg { width: 13px; height: 13px; flex: none; }

/* ── Ürün listesi: hızlı süzgeç çipleri ──────────────────────────────────── */
.ls-hcipler { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 14px; }
.ls-hcip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-size: .84rem; font-weight: 700; white-space: nowrap;
}
.ls-hcip:hover { border-color: var(--ink); color: var(--ink); }
.ls-hcip.secili { background: #FFF1EC; border-color: var(--amber); color: var(--brass); }
.ls-hcip svg { color: #C98A00; }
.ls-hcip .ls-yildiz { font-size: .9rem; }
.ls-arac { margin-bottom: 12px; }
@media (max-width: 900px) {
  .ls-hcipler { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: -2px -22px 12px; padding: 0 22px 2px; scroll-padding: 0 22px; }
  .ls-hcipler::-webkit-scrollbar { display: none; }
  .ls-hcip { padding: 7px 12px; font-size: .8rem; }
}

/* ── Ürün sayfası: fiyat ve satın alma üstte, teslimat bilgisi düğmenin altında ── */
main > .bolum.detay-sayfa { padding-top: 26px; }
.detay-sayfa .crumbs { margin-bottom: 18px; }
.detay-bilgi h1 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.12; margin: 4px 0 8px; }
.detay-aksiyon { max-width: 470px; gap: 12px; margin-top: 14px; }
.detay-satinal { display: flex; gap: 10px; align-items: stretch; }
.detay-satinal .detay-sepete { flex: 1; min-height: 56px; font-size: 1.04rem; border-radius: 16px; }
.detay-satinal .fav-btn.detay-fav {
  position: static; flex: none; width: 56px; height: 56px; border-radius: 16px; border: 2px solid var(--line);
  box-shadow: none; background: #fff; color: var(--ink);
}
.detay-satinal .fav-btn.detay-fav svg { width: 25px; height: 25px; }
.detay-satinal .fav-btn.detay-fav:hover { transform: none; border-color: #e8b4ad; color: #c0392b; }
.detay-teslim { border: 1.5px solid var(--line); border-radius: 18px; background: #fff; padding: 4px 16px; }
.dt-satir { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; font-size: .88rem; color: var(--text); line-height: 1.45; }
.dt-satir + .dt-satir { border-top: 1px dashed var(--line); }
.dt-satir > svg { width: 22px; height: 22px; flex: none; color: var(--ink); margin-top: 1px; }
.dt-satir > div { min-width: 0; }
.dt-satir b { color: var(--ink); }
.dt-satir > div > b { display: block; font-size: .95rem; }
.dt-satir small { display: block; color: var(--muted); font-size: .8rem; margin-top: 1px; }
.dt-satir .dt-bedava { color: #0E6B52; }
.dt-satir a { color: inherit; text-decoration: none; }
.dt-satir a:hover { color: var(--brass); }
.detay-aksiyon .tz-mkutu { margin: 2px 0 0; }
.detay-aksiyon .fiyat-alarm, .detay-bilgi > .fiyat-alarm { margin-top: 12px; }
.detay-bilgiler { margin-top: 44px; padding: 26px 28px; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; }
.detay-bilgiler-baslik { font-size: 1.4rem; margin: 0 0 16px; }
.detay-bilgiler-ic { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.detay-bilgiler-ic.tek { grid-template-columns: minmax(0, 1fr); }
.detay-bilgiler .detay-aciklama { margin: 0; color: var(--text); max-width: 72ch; line-height: 1.75; }
.detay-bilgiler .urun-ozellik { margin: 0; }
@media (max-width: 860px) {
  main > .bolum.detay-sayfa { padding-top: 14px; }
  .detay-sayfa .crumbs { margin-bottom: 12px; font-size: .8rem; }
  .detay-aksiyon { max-width: none; }
  .detay-bilgiler { margin-top: 28px; padding: 18px; border-radius: 20px; }
  .detay-bilgiler-ic { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

/* ── Yazı tipi: eski görünümden kalan "Fraunces" artık yüklenmiyor; tarayıcı tırnaklı
      yedek yazı tipine düşüyordu (sepet toplamı, sabit fiyat çubuğu, yasal başlıklar…). ── */
.ozet-toplam strong, .sepet-toplam strong, .urun-sticky-cta .usc-fiyat, .siparis-tutar, .rapor-kart-deger,
.yasal-metin h2, .yon-logo-yazi, .yon-can-yazi b, .gp-puan, .paket-ad, .paket-fiyat strong, .tkf-no, .tkf-buyuk strong,
.ceo-kart .isim, .detay-fiyat, .pazar-isim, .sayi-blok .rakam, .metrik-deger, .destek-avatar {
  font-family: var(--font-baslik);
}
.ozet-toplam strong, .sepet-toplam strong, .urun-sticky-cta .usc-fiyat { font-weight: 800; letter-spacing: -.02em; color: var(--ink); }

/* ── Ödeme ───────────────────────────────────────────────────────────────── */
.odeme-ozet [hidden], .odeme-form [hidden] { display: none !important; }
.ozet-kalem { align-items: flex-start; }
.ozet-kalem-ad { align-items: flex-start; gap: 10px; flex: 1; }
.ozet-kalem-resim { width: 44px; height: 44px; border-radius: 10px; }
.ozet-kalem-yazi { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.ozet-kalem-baslik { font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ozet-kalem-alt { color: var(--muted); font-size: .78rem; }
.ozet-kalem > b { white-space: nowrap; flex: none; color: var(--ink); }
.ozet-kargo-not { margin: 0 0 8px; padding: 9px 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; font-size: .82rem; display: grid; gap: 2px; }
.okn-satir { display: flex; justify-content: space-between; gap: 10px; color: var(--text); }
.okn-satir b { white-space: nowrap; }
.okn-ipucu { color: var(--brass); font-weight: 700; font-size: .78rem; margin: 0 0 4px; }
.ozet-ara b, .ozet-indirim b { white-space: nowrap; }
.odeme-magaza-not { margin: 0; padding: 12px 14px; border-radius: 14px; background: #EEF8F4; color: #0E5A46; font-size: .9rem; line-height: 1.5; }
body:has(#odemeForm) .sepet-yuzen { display: none !important; }
.odeme-mobil-bar { display: none; }
@media (max-width: 860px) {
  .odeme-mobil-bar {
    display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 26px -18px rgba(21, 24, 60, .45);
  }
  .omb-toplam { flex: 1; display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
  .omb-toplam small { color: var(--muted); font-size: .74rem; font-weight: 700; }
  .omb-toplam b { font-family: var(--font-baslik); font-size: 1.3rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
  .odeme-mobil-bar .btn { padding: 13px 20px; border-radius: 14px; }
  body:has(.odeme-mobil-bar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.odeme-mobil-bar) .destek-widget { bottom: calc(88px + env(safe-area-inset-bottom)); right: 12px; }
  body:has(.odeme-mobil-bar) .destek-ac { width: 46px; height: 46px; }
  body:has(.odeme-mobil-bar) .destek-ac svg { width: 22px; height: 22px; }
  body:has(.odeme-mobil-bar) .yukari-cik { display: none !important; }
}

/* ── Sepet çekmecesi: mağazaya göre kümeler ─────────────────────────────── */
.sepet-grup-bas { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 2px; padding: 8px 10px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); font-size: .8rem; }
.sepet-liste > .sepet-grup-bas:first-child { margin-top: 0; }
.sepet-grup-bas span { color: var(--muted); font-weight: 600; }
.sepet-grup-bas b { color: var(--ink); }

/* ── Odak sayfaları (ödeme, grup ödemesi): sade başlık, bülten yok ───────── */
@media (min-width: 1081px) {
  body.odak .menu > li:not(.menu-araclar):not(.menu-cta) { display: none; }
  body.odak .menu-araclar { border-left: 0; padding-left: 0; }
  .ust-ara { min-width: 240px; }
  .menu-dil select { min-width: 64px; }
}
body.odak .bulten { display: none; }
main > .bolum.odeme-sayfa { padding-top: 28px; }
@media (max-width: 860px) { main > .bolum.odeme-sayfa { padding-top: 14px; } }

/* WhatsApp'tan sor: ana düğmeyle yarışmasın diye ürün sayfasında ikincil görünüm. */
.detay-aksiyon .btn-wa.tz-wa { background: #fff; color: #11804A; border: 2px solid #BFE8D2; box-shadow: none; }
.detay-aksiyon .btn-wa.tz-wa:hover { background: #F0FAF4; color: #0B6B3C; border-color: #8FD6AF; }

/* ── Mağaza sayfası (telefon): eylem düğmeleri iki sütun, bilgiler sıkı ──── */
@media (max-width: 560px) {
  .tz-meylem { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; justify-content: stretch; padding-bottom: 0; }
  .tz-meylem > * { min-width: 0; }
  .tz-meylem form { display: flex; }
  .tz-meylem .btn { width: 100%; justify-content: center; padding: 11px 10px; font-size: .86rem; border-radius: 13px; }
  .tz-meylem .tz-wa { grid-column: 1 / -1; }
  .tz-mbilgiler { grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0 22px; }
  .tz-mbilgi { padding: 11px 12px; gap: 9px; border-radius: 15px; align-items: flex-start; }
  .tz-mbilgi i { font-size: 1.15rem; }
  .tz-mbilgi small { font-size: .66rem; }
  .tz-mbilgi b { font-size: .82rem; white-space: normal; }
}

/* Sepet çekmecesi ya da hızlı bakış açıkken sohbet düğmesi üstüne binmesin (Siparişi tamamla'yı örtüyordu). */
body:has(#sepetPanel:not([hidden])) .destek-widget,
body:has(#hbModal:not([hidden])) .destek-widget,
body:has(#sepetPanel:not([hidden])) .yukari-cik { display: none !important; }

/* Kampanya şeridi (telefon): tek satırlık başlık + sağda ok; dört satır yerine iki. */
@media (max-width: 560px) {
  .tz-kmp-serit { padding-top: 10px; }
  .tz-kmp { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ad git" "alt git"; row-gap: 2px; column-gap: 10px; padding: 12px 16px; border-radius: 18px; }
  .tz-kmp-etiket { display: none; }
  .tz-kmp b { font-size: 1.02rem; }
  .tz-kmp-alt { font-size: .76rem; }
  .tz-kmp-git { font-size: .84rem; }
}

/* Telefonda sohbet düğmesi ürün kartlarının üstüne binmesin: alt menülü gezinme sayfalarında gizli,
   menüdeki "Canlı destek" açar. Yardım sayfalarında, okunmamış yanıt varken ve panel açıkken görünür. */
.menu-destek { display: none; }
@media (max-width: 720px) {
  .menu-destek { display: block; }
  body.altnav-var:not(.destek-oncelik) .destek-ac { display: none; }
  body.altnav-var:not(.destek-oncelik) .destek-widget:has(.destek-ac-rozet:not([hidden])) .destek-ac,
  body.altnav-var.destek-acik .destek-ac { display: flex; }
}

/* ── Hesabım: kısayollar ─────────────────────────────────────────────────── */
.hesap-kisa { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 6px 0 26px; }
.hesap-kisa a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 8px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; color: var(--ink); font-size: .84rem; font-weight: 700; text-align: center; line-height: 1.25;
}
.hesap-kisa a:hover { border-color: var(--ink); color: var(--ink); }
.hesap-kisa svg { width: 24px; height: 24px; color: var(--amber); }
#siparislerim, #adreslerim { scroll-margin-top: 150px; }
@media (max-width: 900px) { .hesap-kisa { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .hesap-kisa { gap: 8px; } .hesap-kisa a { min-height: 80px; font-size: .78rem; padding: 10px 6px; } }

/* ── Mağazalar (telefon): arama tam satır, şehir ve sıralama yan yana, türler yana kayar ── */
@media (max-width: 560px) {
  .tz-dizin-ara { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .tz-dizin-ara input[type=search] { grid-column: 1 / -1; padding: 12px 14px; }
  .tz-dizin-ara select { width: 100%; padding: 11px 12px; font-size: .9rem; }
  .tz-dizin-ara .btn { display: none; }
  .tz-dizin-ara + .filtre { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 12px -22px 18px !important; padding: 0 22px 2px; }
  .tz-dizin-ara + .filtre::-webkit-scrollbar { display: none; }
  .tz-dizin-ara + .filtre .cip { flex: none; }
}
