/* B2B portalı: panel temasını kullanır, üst menü + ürün kartları eklenir */
/* Sayfa değişirken içerik bir an kısalınca kaydırma çubuğu kaybolup her şey yana kayıyordu: yeri hep ayrılı */
html { overflow-y: scroll; }
.pt-top { position: sticky; top: 0; z-index: 10; background: var(--side); color: var(--side-strong); transition: box-shadow .2s; }
.pt-top.golge { box-shadow: 0 6px 20px rgba(2,6,23,.28); }
.pt-top .bar { max-width: 1240px; margin: 0 auto; padding: 10px 16px 0; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.pt-top nav a { white-space: nowrap; }
.pt-top .logo { color: var(--side-strong); font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 0; max-width: 100%; }
/* uzun firma unvanı telefonda sayfayı yana kaydırmasın */
.pt-top .logo span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pt-top .logo i { flex-shrink: 0; }
.pt-top .logo .flogo { flex-shrink: 0; height: 32px; max-width: 120px; object-fit: contain; background: #fff; border-radius: 7px; padding: 3px; }
.pt-top .logo:hover { text-decoration: none; } .pt-top .logo i { width: 28px; height: 28px; border-radius: 7px; background: var(--brand); color: var(--on-brand); display: inline-grid; place-items: center; font-style: normal; font-size: 13px; }
.pt-top nav { order: 3; flex-basis: 100%; display: flex; gap: 2px; margin: 0 -12px; overflow-x: auto; scrollbar-width: none; } .pt-top nav::-webkit-scrollbar { display: none; }
.pt-top nav a { color: var(--side-text); padding: 9px 12px 11px; font-weight: 500; box-shadow: inset 0 -2px 0 transparent; transition: color .15s, box-shadow .15s; } .pt-top nav a:hover { color: var(--side-strong); text-decoration: none; box-shadow: inset 0 -2px 0 var(--side-line); } .pt-top nav a.active { color: var(--side-strong); box-shadow: inset 0 -2px 0 var(--side-active); }
.pt-top .ara { flex: 1 1 220px; max-width: 520px; margin-left: 8px; } .pt-top .ara input { background: var(--side-hover); border-color: var(--side-line); color: var(--side-strong); } .pt-top .ara input::placeholder { color: var(--side-text); opacity: .8; }
.pt-top .sag { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--side-text); white-space: nowrap; }
.pt-top .sepet { background: var(--sepet); color: var(--on-sepet); padding: 7px 12px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; } .pt-top .sepet .say { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--on-sepet); color: var(--sepet); font-size: 12px; display: inline-grid; place-items: center; } .pt-top .sepet:hover { text-decoration: none; filter: brightness(1.08); }
.pt-main { max-width: 1240px; margin: 0 auto; padding: 20px 16px 60px; }
.urunler { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--kart-min, 215px), 1fr)); gap: 14px; }
.urun { background: var(--panel); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.urun:not(.isk):hover { transform: translateY(-2px); border-color: var(--input-line); box-shadow: 0 2px 4px rgba(15,23,42,.06), 0 12px 28px rgba(15,23,42,.12); }
.urun .res { aspect-ratio: 1; background: #f8fafc; display: grid; place-items: center; overflow: hidden; cursor: pointer; } .urun .res img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .3s; } .urun:hover .res img { transform: scale(1.04); }
/* resmi olmayan / yüklenemeyen ürün: kutu ikonu */
.res.yok { background: linear-gradient(135deg, #f8fafc, #eef2f7); } .res.yok::after { content: ""; width: 30%; aspect-ratio: 1; opacity: .5; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.urun .gv { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.urun .ad { font-weight: 600; font-size: 13px; line-height: 1.3; min-height: 34px; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.urun .kod { font-size: 11px; color: var(--muted); }
.urun .fiyat { font-size: 17px; font-weight: 700; margin-top: auto; color: var(--brand); letter-spacing: -.01em; } .urun .fiyat.gizli { font-size: 13px; font-weight: 600; } .urun .fiyat.gizli a { color: var(--brand); } .urun .fiyat small { font-size: 11px; color: var(--muted); font-weight: 400; } .urun .eski { text-decoration: line-through; color: var(--muted); font-size: 12px; margin-right: 6px; font-weight: 400; }
.urun .alt { display: flex; gap: 6px; align-items: stretch; margin-top: 8px; } .urun .alt .btn { flex: 1; justify-content: center; }
.miktar { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--input-bg); } .miktar button { width: 26px; border: 0; background: var(--soft); color: var(--muted); font-size: 15px; cursor: pointer; padding: 0; } .miktar button:hover { background: var(--brand-soft); color: var(--brand); }
.miktar input { width: 38px; border: 0; border-radius: 0; padding: 5px 2px; text-align: center; -moz-appearance: textfield; } .miktar input::-webkit-inner-spin-button, .miktar input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } .miktar input:focus { box-shadow: none; }
.stok-stokta { color: var(--ok); } .stok-az_kaldi { color: var(--warn); } .stok-tukendi { color: var(--danger); }
.urun .stok { font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 6px; } .urun .stok:empty { display: none; } .urun .stok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.kamp { position: absolute; z-index: 1; top: 10px; left: 0; background: var(--danger); color: #fff; font-size: 11px; padding: 3px 10px 3px 8px; border-radius: 0 999px 999px 0; font-weight: 700; letter-spacing: .02em; box-shadow: 0 2px 6px rgba(185,28,28,.3); }
.kamp.one-cikan { background: #d97706; box-shadow: 0 2px 6px rgba(217,119,6,.3); }
.filtre { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; } .filtre input, .filtre select { width: auto; } .filtre #marka { width: 200px; text-overflow: ellipsis; } .filtre #kategori { width: 260px; max-width: 100%; text-overflow: ellipsis; }
.banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; gap: 12px; margin-bottom: 18px; } .banners:empty, .banners[hidden] { display: none; }
.banners a { display: block; background: var(--panel); border-radius: calc(var(--radius) + 2px); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); } .banners img { width: 100%; height: auto; max-height: 420px; object-fit: contain; display: block; } /* oran img width/height'tan: kutu görsel inmeden doğru boyda */
.detay { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; } .detay .buyuk { background: #fff; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; } .detay .buyuk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.kucukler { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; } .kucukler img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; background: #fff; }
.byk-fiyat { font-size: 28px; font-weight: 700; }
.ozet-tablo { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:4px 0; overflow:hidden; margin:14px 0 4px; }
.ozet-tablo .sat { display:flex; justify-content:space-between; align-items:center; padding:12px 18px; gap:12px; border-bottom:1px dashed var(--line); }
.ozet-tablo .sat:last-child { border-bottom:none; }
.ozet-tablo .lbl { color:var(--muted); font-size:14px; }
.ozet-tablo .lbl .de { color:var(--danger); font-weight:600; margin-right:6px; }
.ozet-tablo .lbl .vo { color:var(--warn); font-weight:600; margin-right:6px; }
.ozet-tablo .deger { font-size:15px; font-weight:600; color:var(--text); display:flex; align-items:center; gap:6px; }
.ozet-tablo .deger .b { font-size:17px; color:var(--danger); }
.ozet-tablo .deger .o { font-size:17px; color:var(--warn); } .ozet-tablo .deger .n { font-size:17px; color:var(--brand); }
.ozet-tablo .deger.varsayilan .lbl-kirmizi { color:#dc2626; }
.ozet-tablo .badge-ade { background:#ecfdf5; color:#047857; font-weight:600; padding:4px 10px; border-radius:999px; font-size:13px; }
.avntaj { margin-top:12px; padding:12px 16px; background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; border-radius:12px; font-size:14px; font-weight:500; }
.avntaj b { color:#064e3b; }
.login-b2b .box { width: min(460px, 100%); }
@media (max-width: 900px) { .detay { grid-template-columns: 1fr; } }
/* Telefon: 1. satır logo + sepet, 2. satır arama, 3. satır kaydırılabilir menü; çubuk sabit değil (ekranı yemesin) */
@media (max-width: 700px) {
  .pt-top { position: relative; } .pt-top .sag span.ad { display: none; }
  .pt-top .logo { flex: 1; } .pt-top .sag { order: 1; } .pt-top .ara { order: 2; flex-basis: 100%; max-width: none; margin-left: 0; }
  /* iki sütun kart; dar kartta miktar ve buton alt alta */
  .urunler { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .urun .gv { padding: 8px 10px 10px; } .urun .fiyat { font-size: 15px; }
  .urun .alt { flex-wrap: wrap; } .urun .alt .miktar { flex: 1 1 100%; } .urun .alt .miktar input { flex: 1; }
}
/* Favori kalbi (kart köşesi ve ürün başlığı) */
.urun { position: relative; }
.kalp { position: absolute; top: 6px; right: 6px; z-index: 1; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: #cbd5e1; font-size: 17px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.kalp:hover { color: #f43f5e; } .kalp.on { color: #e11d48; border-color: #fecdd3; background: #fff1f2; }
.kalp.ic { position: static; display: inline-grid; vertical-align: middle; margin-left: 6px; }
/* Ürün kartında ambalaj (adet / kutu / koli) seçimi */
.urun .amb-sec { width: 100%; margin-top: 6px; padding: 5px 6px; font-size: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--input-bg); }
/* Renk ailesi: kartta renk seçici, detayda renk düğmeleri */
.urun .vr-sec { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; }
.urun .vr-sec span { color: var(--muted); white-space: nowrap; }
.urun .vr-sec select { flex: 1; min-width: 0; padding: 4px 6px; font-size: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--input-bg); }
.vr-detay { margin: 4px 0 12px; }
.vr-detay .vr-baslik { font-size: 14px; margin-bottom: 8px; }
.vr-detay .vr-baslik small { color: var(--muted); }
.vr-cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.vr-cip { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 96px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); cursor: pointer; font: inherit; font-size: 11px; line-height: 1.2; color: inherit; }
.vr-cip img { width: 62px; height: 62px; object-fit: contain; background: #fff; border-radius: 6px; }
.vr-cip span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vr-cip:hover { border-color: var(--brand); }
.vr-cip.sec { border: 2px solid var(--brand); padding: 4px; font-weight: 600; }
.vr-cip.yok { opacity: .5; }
.vr-cip.yok span { text-decoration: line-through; }
/* Ürün detayı: ambalaj seçenekleri (tıklanınca sepete o ambalajla eklenir) */
.amb-kart h3 { margin-bottom: 6px; }
.amb-satir { display: grid; grid-template-columns: auto auto 1fr auto; gap: 12px; align-items: baseline; padding: 9px 8px; border-radius: 8px; cursor: pointer; }
.amb-satir + .amb-satir { border-top: 1px solid var(--line); }
.amb-satir:hover, .amb-satir.sec { background: var(--brand-soft); }
.amb-satir .adet { color: var(--muted); font-size: 13px; } .amb-satir .barkod { font-family: ui-monospace, monospace; font-size: 13px; color: var(--muted); }
.amb-satir .fiyat { font-family: ui-monospace, monospace; font-weight: 700; font-size: 16px; text-align: right; }
.urunler > .empty, .urunler > .hint, .urunler > .err-box { grid-column: 1 / -1; }
/* filtre değişirken eski liste soluk kalır (sayfa zıplamasın) */
.urunler.yukleniyor > .urun:not(.isk) { opacity: .5; pointer-events: none; transition: opacity .15s; }
.bos-fav { background: var(--panel); border: 1px dashed var(--line); border-radius: 12px; line-height: 1.6; } .bos-fav b { display: block; font-size: 28px; color: #fda4af; margin-bottom: 4px; }
/* Yüklenirken boş kart iskeleti */
.urun.isk .res, .urun.isk i, .detay.isk .buyuk, .detay.isk i { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%) 0 0 / 200% 100%; animation: isk 1.2s linear infinite; }
.urun.isk i { display: block; height: 12px; border-radius: 6px; } .urun.isk i:nth-child(2) { width: 60%; } .urun.isk i.k { height: 18px; width: 45%; margin-top: 14px; }
.detay.isk i { display: block; height: 14px; border-radius: 7px; margin: 0 0 14px; } .detay.isk i.b { height: 28px; width: 75%; } .detay.isk i.y { width: 45%; } .detay.isk i.f { height: 120px; margin-top: 24px; border-radius: 12px; } .detay.isk i.r { width: 56px; height: 56px; margin-top: 8px; border-radius: 6px; } /* küçük resim şeridinin yeri */
@keyframes isk { to { background-position: -200% 0; } }
.giris-logo { display: block; max-height: 56px; max-width: 180px; object-fit: contain; margin-bottom: 14px; }
/* Klavyeyle gezinirken odak halkası */
.pt-top a:focus-visible, .pt-top button:focus-visible, .urun button:focus-visible { outline: 2px solid var(--side-active); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .urun, .urun .res img, .pt-top { transition: none; } .urun:not(.isk):hover, .urun:hover .res img { transform: none; } .urun.isk .res, .urun.isk i, .detay.isk .buyuk, .detay.isk i { animation: none; } }
/* Sepet: telefonda kartlar, masaüstünde tablo */
.sepet-kartlar { display: none; }
.sk { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; background: var(--panel); }
.sk-ust { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; } .sk-ust b { display: block; font-size: 13px; line-height: 1.35; } .sk-ust small { display: block; margin-top: 2px; }
.sk-alt { display: flex; align-items: center; gap: 8px; margin-top: 8px; } .sk-alt .miktar input { width: 52px; } .sk-alt .miktar button { width: 34px; height: 34px; } .sk-tutar { margin-left: auto; font-size: 15px; }
@media (max-width: 700px) { #s .sepet-kartlar { display: block; } #s .tbl-wrap { display: none; } .sepet-dugmeler { justify-content: stretch !important; } .sepet-dugmeler .btn { flex: 1; justify-content: center; } }
/* Boş sayfalarda bir sonraki adım */
.bos-eylem { margin-top: 12px; } .empty small { display: inline-block; margin-top: 6px; max-width: 520px; }
/* Cari ekstre */
.ekstre-bas { margin-bottom: 10px; } table.ekstre tr.devir td, table.ekstre tfoot td { background: var(--soft); } table.ekstre tfoot td { border-top: 2px solid var(--line); }
@media (max-width: 700px) { table.ekstre .gizle-m { display: none; } }
.sadece-yazdir { display: none; }
@media print { .sadece-yazdir { display: block; margin-bottom: 8px; font-size: 15px; } .pt-top, .no-print, #toast, #modal-root { display: none !important; } body, html { background: #fff; } .pt-main { padding: 0; max-width: none; } .card { box-shadow: none; border: 0; padding: 0; } .tbl-wrap { overflow: visible; } table.ekstre .gizle-m { display: table-cell; } }
/* ---- Firma teması: ürün kartı stili (tema.js <html data-kart>) ve koyu mod ---- */
[data-kart="cerceveli"] .urun { box-shadow: none; }
[data-kart="cerceveli"] .urun:not(.isk):hover { box-shadow: none; border-color: var(--brand); }
[data-kart="duz"] .urun { box-shadow: none; border-color: transparent; background: transparent; }
[data-kart="duz"] .urun .res { border-radius: calc(var(--radius) + 2px); }
[data-kart="duz"] .urun:not(.isk):hover { box-shadow: none; border-color: transparent; }
@media screen {
  [data-mod="koyu"] .avntaj { background: var(--ok-soft); border-color: rgba(74,222,128,.3); color: var(--ok); } [data-mod="koyu"] .avntaj b { color: inherit; }
  [data-mod="koyu"] .ozet-tablo .badge-ade { background: var(--ok-soft); color: var(--ok); }
  [data-mod="koyu"] .urun.isk .res, [data-mod="koyu"] .urun.isk i, [data-mod="koyu"] .detay.isk .buyuk, [data-mod="koyu"] .detay.isk i { background-image: linear-gradient(90deg, #1f2937 25%, #273244 50%, #1f2937 75%); }
  [data-mod="koyu"] .res.yok { background: linear-gradient(135deg, #1f2937, #172033); }
  [data-mod="koyu"] .kalp { background: rgba(17,24,39,.85); }
}
/* ---- Alt bilgi (iletişim, sosyal medya) ve WhatsApp düğmesi — Ayarlar › Görünüm › İletişim ---- */
.pt-alt { background: var(--side); color: var(--side-text); margin-top: 24px; font-size: 13px; }
.pt-alt a { color: var(--side-strong); } .pt-alt a:hover { text-decoration: underline; }
.pt-alt .ic { max-width: 1240px; margin: 0 auto; padding: 28px 16px 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 40px; }
.pt-alt .kim b { color: var(--side-strong); font-size: 16px; } .pt-alt .kim p { margin: 6px 0 0; line-height: 1.55; max-width: 460px; }
.pt-alt .sosyal { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pt-alt .sosyal a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--side-line); border-radius: 50%; background: var(--side-hover); color: var(--side-strong); transition: transform .15s, border-color .15s; }
.pt-alt .sosyal a:hover { text-decoration: none; border-color: var(--side-active); transform: translateY(-2px); }
.pt-alt .ilet { display: grid; gap: 8px; align-content: start; }
.pt-alt .sat { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; } .pt-alt .sat > span:first-child { opacity: .75; } .pt-alt .sat a, .pt-alt .sat span { overflow-wrap: anywhere; }
.pt-alt .dip { border-top: 1px solid var(--side-line); max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); font-size: 12px; }
.pt-alt .dip > span { opacity: .8; } .pt-alt .dip.wa-var { padding-right: 88px; }
.pt-alt .platform { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 6px 8px 6px 6px; border: 1px solid var(--side-line); border-radius: 999px; background: var(--side-hover); color: var(--side-text); font-size: 12.5px; transition: border-color .15s, transform .15s; }
.pt-alt .platform:hover { text-decoration: none; border-color: var(--side-active); transform: translateY(-1px); }
.pt-alt .platform i { font-style: normal; font-weight: 700; font-size: 10.5px; letter-spacing: -.2px; background: #0f766e; color: #fff; border-radius: 6px; padding: 4px 5px; line-height: 1; }
.pt-alt .platform b { color: var(--side-strong); }
.pt-alt .platform em { font-style: normal; font-weight: 600; color: var(--side-strong); background: rgba(255,255,255,.14); border-radius: 999px; padding: 3px 10px; }
.wa-dugme { position: fixed; right: 18px; bottom: 18px; bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px)); z-index: 30; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s; }
.wa-dugme:hover { transform: scale(1.06); text-decoration: none; }
@media (max-width: 700px) { .pt-alt .dip, .pt-alt .dip.wa-var { justify-content: center; text-align: center; padding-right: 16px; } .pt-alt .dip.wa-var { padding-bottom: max(80px, calc(env(safe-area-inset-bottom) + 72px)); } .pt-alt .platform { justify-content: center; border-radius: 14px; } .pt-alt .ic { grid-template-columns: minmax(0, 1fr); } .pt-alt .sat { grid-template-columns: 100px minmax(0, 1fr); } .wa-dugme { width: 50px; height: 50px; right: 14px; } }
@media print { .pt-alt, .wa-dugme { display: none !important; } }
/* En az sipariş adedi notu (ürün kartı, detay, sepet) */
.min-not { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--brand); background: var(--brand-soft); border-radius: 6px; padding: 2px 7px; margin-top: 2px; }
.sk .min-not { display: table; margin: 3px 0 2px; }
/* Sepet: ödeme yöntemi kartları ve banka (IBAN) listesi */
.odeme-sec { display: grid; gap: 8px; }
.odeme-kart { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--panel); }
.odeme-kart:hover { border-color: var(--input-line); } .odeme-kart:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.odeme-kart input { margin-top: 3px; width: auto; flex-shrink: 0; } .odeme-kart .ic { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.odeme-kart .banka-liste, .odeme-kart .ic > small:last-child { display: none; } .odeme-kart:has(input:checked) .banka-liste { display: grid; } .odeme-kart:has(input:checked) .ic > small:last-child { display: block; }
.banka-liste { display: grid; gap: 6px; margin-top: 6px; }
.banka { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); }
.banka .iban { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .banka code { font-size: 13.5px; font-weight: 600; letter-spacing: .02em; overflow-wrap: anywhere; }
.odeme-bilgi { margin-top: 16px; border-color: var(--brand-soft); }
.kopya-ref { cursor: pointer; color: var(--brand); white-space: nowrap; }
/* Üst menü: Kategoriler paneli (nav yatay kaydırmalı olduğu için panel başlığın altında ayrı katman) */
.pt-top .kat-ac { background: none; border: 0; font: inherit; cursor: pointer; white-space: nowrap; color: var(--side-text); padding: 9px 12px 11px; font-weight: 500; box-shadow: inset 0 -2px 0 transparent; transition: color .15s, box-shadow .15s; }
.pt-top .kat-ac:hover, .pt-top .kat-ac[aria-expanded="true"] { color: var(--side-strong); box-shadow: inset 0 -2px 0 var(--side-active); }
.pt-top .kat-ac span { font-size: 11px; opacity: .8; }
.kat-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); color: var(--text); border-top: 1px solid var(--line); box-shadow: 0 18px 40px rgba(2,6,23,.22); }
.kat-panel .kat-ic { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.kat-sol, .kat-sag { max-height: min(70vh, 560px); }
.kat-panel a { color: var(--text); text-decoration: none; }
.kat-panel a:hover { color: var(--brand); }
.kat-panel small { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 2px; }
.kat-sol { list-style: none; margin: 0; padding: 8px 0; overflow-y: auto; border-right: 1px solid var(--line); }
.kat-sol a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 16px; font-weight: 500; }
.kat-sol a.on { background: var(--brand-soft); color: var(--brand); }
.kat-sag { padding: 14px 20px 18px; overflow-y: auto; }
.kat-tum { display: inline-block; font-weight: 700; margin-bottom: 12px; }
.kat-geri { display: none; }
.kat-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px 22px; }
.kat-izgara div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kat-izgara a { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.kat-izgara a.kat-b { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.kat-izgara a.kat-daha { color: var(--brand); }
.kat-yol { font-size: 13px; color: var(--muted); margin-bottom: 2px; } .kat-yol a { color: var(--muted); }
@media (max-width: 700px) {
  .kat-panel .kat-ic { grid-template-columns: minmax(0, 1fr); } .kat-sol, .kat-sag { max-height: 75vh; }
  .kat-sol { border-right: 0; }
  .kat-panel.alt-acik .kat-sol { display: none; }
  .kat-geri { display: block; background: none; border: 0; font: inherit; color: var(--brand); padding: 0 0 10px; cursor: pointer; }
  .kat-izgara { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .pt-top .kat-ac { transition: none; } }

/* Tedarikçi kısaltması (BK, GK, KRT): beslemeden açılan ürünün resminin sol alt köşesinde */
.ted-etiket { position: absolute; left: 6px; bottom: 6px; z-index: 2; padding: 2px 6px; border-radius: 5px; background: rgba(15, 23, 42, .78); color: #fff; font: 700 11px/1.3 system-ui, sans-serif; letter-spacing: .04em; pointer-events: none; }
.urun .res, .detay .buyuk { position: relative; }
