/* B2B portalı: panel temasını kullanır, üst menü + ürün kartları eklenir */
.pt-top { position: sticky; top: 0; z-index: 10; background: var(--side); color: #fff; }
.pt-top .bar { max-width: 1240px; margin: 0 auto; padding: 8px 16px; min-height: 60px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pt-top nav a { white-space: nowrap; }
.pt-top .logo { 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 i { width: 28px; height: 28px; border-radius: 7px; background: var(--brand); display: inline-grid; place-items: center; font-style: normal; font-size: 13px; }
.pt-top nav { display: flex; gap: 2px; margin-left: 8px; }
.pt-top nav a { color: #cbd5e1; padding: 8px 12px; border-radius: 8px; font-weight: 500; } .pt-top nav a.active, .pt-top nav a:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.pt-top .ara { flex: 1 1 220px; max-width: 420px; } .pt-top .ara input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: #fff; } .pt-top .ara input::placeholder { color: #94a3b8; }
.pt-top .sag { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #cbd5e1; white-space: nowrap; }
.pt-top .sepet { background: var(--brand); color: #fff; padding: 7px 12px; border-radius: 8px; font-weight: 600; } .pt-top .sepet:hover { text-decoration: none; background: var(--brand-2); }
.pt-main { max-width: 1240px; margin: 0 auto; padding: 20px 16px 60px; }
.urunler { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.urun { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.urun .res { aspect-ratio: 1; background: #f8fafc; display: grid; place-items: center; overflow: hidden; cursor: pointer; } .urun .res img { width: 100%; height: 100%; object-fit: contain; } .urun .res span { color: #cbd5e1; font-size: 40px; }
.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; } .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: center; margin-top: 6px; } .urun .alt input { width: 64px; padding: 6px 8px; text-align: center; }
.stok-stokta { color: var(--ok); } .stok-az_kaldi { color: var(--warn); } .stok-tukendi { color: var(--danger); }
.kamp { position: absolute; background: var(--danger); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; margin: 8px; font-weight: 600; }
.filtre { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; } .filtre input, .filtre select { width: auto; }
.hero { background: linear-gradient(135deg, #0f766e, #134e4a); color: #fff; border-radius: 14px; padding: 28px; margin-bottom: 18px; } .hero h1 { color: #fff; font-size: 24px; } .hero p { color: #ccfbf1; max-width: 640px; }
.banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-bottom: 18px; } .banners img { width: 100%; border-radius: 12px; display: block; }
.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 { max-width: 100%; max-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:#fff; 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 #e2e8f0; }
.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.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; } .pt-top nav { display: none; } .pt-top .ara { max-width: none; } }
@media (max-width: 700px) { .pt-top .sag span.ad { display: none; } }
/* 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: #fff; }
/* Ü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: #475569; }
.amb-satir .fiyat { font-family: ui-monospace, monospace; font-weight: 700; font-size: 16px; text-align: right; }
