/* Üst bant (A–D) ve ana sayfa kategori gösterimi (grup / kart / liste) seçenekleri — yönetim › Şablonlar (2026-11-13).
   "mevcut" ve "yuvarlak" seçenekleri pazaryeri.css'teki eski görünümü değiştirmeden kullanır. */

/* ═════════ ÜST BANT ═════════ */
.pz-hnav { display: none; }
.pz-act--wa, .pz-act--teklif { display: none; }
.pz-top__badge { display: inline-block; background: rgba(255,255,255,.18); border-radius: 999px; padding: 1px 9px; font-size: 11px; font-weight: 800; letter-spacing: .05em; margin-right: 8px; }

/* ── A · Temiz Mağaza ── */
.pz-top.pz-hs--a { background: #f8fafc; }
.pz-top.pz-hs--a .pz-top__msgs span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #16a34a; margin-right: 7px; vertical-align: 1px; }
.pz-top.pz-hs--a .pz-top__tel { color: var(--pz-ink); font-weight: 700; }
.pz-sticky.pz-hs--a .pz-search { border-radius: 999px; background: var(--pz-surface); border-color: var(--pz-line); }
.pz-sticky.pz-hs--a .pz-search:focus-within { border-color: var(--pz-hot); }
.pz-sticky.pz-hs--a .pz-search__cat { border-radius: 999px 0 0 999px; }
.pz-sticky.pz-hs--a .pz-search__btn { border-radius: 999px; margin: 3px; }
.pz-sticky.pz-hs--a .pz-act--cart { background: var(--pz-ink); border-color: var(--pz-ink); color: #fff; border-radius: 999px; }
.pz-sticky.pz-hs--a .pz-act--cart:hover { background: #1e293b; border-color: #1e293b; }
.pz-sticky.pz-hs--a .pz-act--cart .pz-act__txt small { color: rgba(255,255,255,.7); }
.pz-sticky.pz-hs--a .pz-act--cart .pz-badge { box-shadow: 0 0 0 2px var(--pz-ink); }
.pz-sticky.pz-hs--a .pz-cats__all { background: #eff6ff; color: #1d4ed8; border-color: transparent; border-radius: 10px; }

/* ── B · Kompakt Tek Satır ── */
.pz-top.pz-hs--b { background: #0f172a; color: #cbd5e1; border-bottom: 0; }
.pz-top.pz-hs--b a { color: #cbd5e1; }
.pz-top.pz-hs--b a:hover { color: #fff; }
.pz-top.pz-hs--b .pz-top__msgs span:first-child { color: #fff; font-weight: 600; }
.pz-sticky.pz-hs--b .pz-head { background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.pz-sticky.pz-hs--b .pz-search { border-radius: 14px; }
.pz-sticky.pz-hs--b .pz-search__btn { border-radius: 11px; }
.pz-sticky.pz-hs--b .pz-act--cart { background: var(--pz-hot); border-color: var(--pz-hot); color: #fff; border-radius: 14px; }
.pz-sticky.pz-hs--b .pz-act--cart:hover { background: var(--pz-hot-ink, #c2410c); border-color: var(--pz-hot-ink, #c2410c); }
.pz-sticky.pz-hs--b .pz-act--cart .pz-act__txt small { color: rgba(255,255,255,.8); }
.pz-sticky.pz-hs--b .pz-act--cart .pz-badge { background: #0f172a; box-shadow: 0 0 0 2px #fff; }
.pz-sticky.pz-hs--b .pz-cats__all { background: var(--pz-ink); color: #fff; border-color: var(--pz-ink); border-radius: 999px; }
.pz-sticky.pz-hs--b .pz-cats__list a { border: 1px solid var(--pz-line); border-radius: 999px; }
.pz-sticky.pz-hs--b .pz-cats__list a svg { display: none; }
.pz-sticky.pz-hs--b .pz-cats__list a.is-active { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
@media (min-width: 901px) {
  .pz-top.pz-hs--b .pz-top__msgs { position: relative; flex: 1; min-height: 18px; }
  .pz-top.pz-hs--b .pz-top__msgs span { position: absolute; left: 0; right: 0; opacity: 0; animation: pz-rot 12s infinite; white-space: nowrap; }
  .pz-top.pz-hs--b .pz-top__msgs span:nth-child(2) { animation-delay: 4s; }
  .pz-top.pz-hs--b .pz-top__msgs span:nth-child(3) { animation-delay: 8s; }
  .pz-sticky.pz-hs--b .pz-search__cat { display: none; }
  .pz-sticky.pz-hs--b .pz-act--acct, .pz-sticky.pz-hs--b .pz-act--fav { width: 46px; padding: 0; justify-content: center; border: 1px solid var(--pz-line); border-radius: 14px; }
  .pz-sticky.pz-hs--b .pz-act--acct .pz-act__txt, .pz-sticky.pz-hs--b .pz-act--fav .pz-act__txt { display: none; }
}
@media (min-width: 1081px) {
  .pz-sticky.pz-hs--b .pz-act--wa { display: inline-flex; background: #dcfce7; color: #166534; border-radius: 14px; padding: 0 14px; font-weight: 700; font-size: 14px; gap: 7px; }
  .pz-sticky.pz-hs--b .pz-act--wa:hover { background: #bbf7d0; }
}
@keyframes pz-rot { 0% { opacity: 0; transform: translateY(5px); } 3%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .pz-top.pz-hs--b .pz-top__msgs span { animation: none; } .pz-top.pz-hs--b .pz-top__msgs span:first-child { opacity: 1; } }

/* ── C · Endüstriyel Koyu ── */
.pz-sticky.pz-hs--c { --pz-surface: #0b1220; --pz-bg: #111a2e; --pz-ink: #f1f5f9; --pz-muted: #94a3b8; --pz-line: #22304d; --pz-hot-soft: rgba(249,115,22,.16); }
.pz-top.pz-hs--c { background: #05070c; border-bottom: 1px solid #1e293b; color: #94a3b8; }
.pz-top.pz-hs--c a { color: #94a3b8; }
.pz-top.pz-hs--c a:hover, .pz-top.pz-hs--c .pz-top__tel { color: #fff; }
.pz-top.pz-hs--c .pz-top__msgs span { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .05em; color: #ff4d3d; }
.pz-top.pz-hs--c .pz-top__msgs span::before { content: "● "; }
.pz-sticky.pz-hs--c .pz-logo__img { background: #fff; border-radius: 9px; padding: 3px 8px; }
.pz-sticky.pz-hs--c .pz-search input, .pz-sticky.pz-hs--c .pz-search select { color: #f1f5f9; background: transparent; }
.pz-sticky.pz-hs--c .pz-search select option { color: #0f172a; }
.pz-sticky.pz-hs--c .pz-search input::placeholder { color: #7c8aa5; }
.pz-sticky.pz-hs--c .pz-search { border-color: var(--pz-line); }
.pz-sticky.pz-hs--c .pz-cats { background: #111a2e; border-bottom: 2px solid var(--pz-hot); }
.pz-sticky.pz-hs--c .pz-cats__all { background: var(--pz-hot); color: #fff; border-color: var(--pz-hot); }
.pz-sticky.pz-hs--c .pz-act--cart .pz-act__txt strong { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.pz-sticky.pz-hs--c .pz-iconbtn { color: #f1f5f9; }

/* ── D · Teklif Odaklı (B2B) ── */
.pz-top.pz-hs--d { background: #1d4ed8; color: #fff; border-bottom: 0; }
.pz-top.pz-hs--d a { color: #dbeafe; }
.pz-top.pz-hs--d a:hover, .pz-top.pz-hs--d .pz-top__tel { color: #fff; }
.pz-sticky.pz-hs--d .pz-act--teklif { display: inline-flex; order: 9; gap: 8px; height: 46px; padding: 0 18px; margin-left: 8px; border-radius: 12px; background: var(--pz-hot); color: #fff; font-weight: 700; font-size: 14.5px; align-items: center; }
.pz-sticky.pz-hs--d .pz-act--teklif:hover { background: var(--pz-hot-ink, #c2410c); color: #fff; }
.pz-sticky.pz-hs--d .pz-cats__list a { border: 1px solid var(--pz-line); border-radius: 12px; }
.pz-sticky.pz-hs--d .pz-cats__list a svg { color: #1d4ed8; }
.pz-sticky.pz-hs--d .pz-cats__all { border-radius: 12px; }
@media (min-width: 901px) {
  .pz-sticky.pz-hs--d .pz-head__in { display: flex; gap: 16px; }
  .pz-sticky.pz-hs--d .pz-hnav { display: flex; gap: 2px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
  .pz-sticky.pz-hs--d .pz-hnav a { padding: 10px 11px; border-radius: 10px; color: var(--pz-ink); }
  .pz-sticky.pz-hs--d .pz-hnav a:hover, .pz-sticky.pz-hs--d .pz-hnav a.is-active { background: var(--pz-bg); }
  .pz-sticky.pz-hs--d .pz-search { flex: 1 1 260px; max-width: 340px; margin-left: auto; }
  .pz-sticky.pz-hs--d .pz-search__cat { display: none; }
  .pz-sticky.pz-hs--d .pz-act--acct .pz-act__txt, .pz-sticky.pz-hs--d .pz-act--fav .pz-act__txt, .pz-sticky.pz-hs--d .pz-act--cart .pz-act__txt { display: none; }
  .pz-sticky.pz-hs--d .pz-act--cart { border: 0; margin-left: 0; padding: 0 10px; }
}
@media (max-width: 1240px) { .pz-sticky.pz-hs--d .pz-hnav a:nth-child(n+4) { display: none; } }
@media (max-width: 900px) {
  .pz-top.pz-hs--d .pz-top__badge { display: none; }
  .pz-sticky.pz-hs--d .pz-act--teklif { height: 38px; padding: 0 12px; font-size: 13px; margin-left: 2px; }
  .pz-sticky.pz-hs--d .pz-act--teklif svg { display: none; }
}

/* ═════════ ANA SAYFA KATEGORİ GÖSTERİMİ ═════════ */
/* grup: büyük kategori kartı + alt kategori kareleri */
.pzc-rail { position: relative; }
.pzc-groups { list-style: none; margin: 0; padding: 2px 2px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pzc-groups::-webkit-scrollbar { display: none; }
.pzc-group { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--pz-surface); border: 1px solid var(--pz-line); border-radius: 16px; padding: 18px 16px 14px; }
.pzc-group__head h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--pz-ink); letter-spacing: -.01em; line-height: 1.25; }
.pzc-group__head a { color: inherit; }
.pzc-group__head a:hover h3 { color: var(--pz-hot-ink, #c2410c); }
.pzc-group__head small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--pz-muted); }
.pzc-group__tiles { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pzc-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--pz-ink); }
.pzc-tile__img { width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--pz-bg); border: 1px solid var(--pz-line); border-radius: 12px; transition: border-color .15s, transform .15s; }
.pzc-tile__img img { width: 84%; height: 84%; object-fit: contain; }
.pzc-tile:hover .pzc-tile__img { border-color: var(--pz-hot); transform: translateY(-2px); }
.pzc-tile__name { font-size: 12px; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pzc-group__all { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--pz-hot-ink, #c2410c); }
.pzc-rail__nav { position: absolute; top: 46%; z-index: 2; box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .45); }
.pzc-rail__nav--prev { left: -16px; }
.pzc-rail__nav--next { right: -16px; }
@media (max-width: 1080px) { .pzc-groups { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 900px) { .pzc-groups { grid-auto-columns: 82%; } .pzc-rail__nav { display: none; } }

/* kart: büyük görselli kategori kartları */
.pzc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pzc-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--pz-surface); border: 1px solid var(--pz-line); border-radius: 16px; color: var(--pz-ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.pzc-card:hover { border-color: var(--pz-hot); box-shadow: 0 10px 24px -16px rgba(15, 23, 42, .45); transform: translateY(-2px); }
.pzc-card__img { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--pz-bg); }
.pzc-card__img img { width: 86%; height: 86%; object-fit: contain; }
.pzc-card__txt { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.pzc-card__txt strong { font-size: 14px; font-weight: 700; line-height: 1.3; }
.pzc-card__txt small { font-size: 12.5px; font-weight: 600; color: var(--pz-hot-ink, #c2410c); }
@media (max-width: 1080px) { .pzc-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pzc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* liste: küçük görselli kompakt kategori satırları */
.pzc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pzc-li { display: flex; align-items: center; gap: 12px; height: 100%; box-sizing: border-box; padding: 10px 12px; background: var(--pz-surface); border: 1px solid var(--pz-line); border-radius: 14px; color: var(--pz-ink); transition: border-color .15s; }
.pzc-li:hover { border-color: var(--pz-hot); }
.pzc-li__img { flex: 0 0 56px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--pz-bg); border-radius: 10px; overflow: hidden; }
.pzc-li__img img { width: 86%; height: 86%; object-fit: contain; }
.pzc-li__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pzc-li__txt strong { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pzc-li__txt small { font-size: 12.5px; color: var(--pz-muted); }
.pzc-li > svg { flex: 0 0 auto; color: var(--pz-muted); }
@media (max-width: 1080px) { .pzc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pzc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pzc-list { grid-template-columns: minmax(0, 1fr); } }
/* ── Düzeltmeler (2026-11-13): kategori çubuğu tek satır + şerit renkleri ── */
@media (min-width: 901px) {
  .pz-sticky:is(.pz-hs--a, .pz-hs--b, .pz-hs--c, .pz-hs--d) .pz-cats__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent); }
  .pz-sticky:is(.pz-hs--a, .pz-hs--b, .pz-hs--c, .pz-hs--d) .pz-cats__list::-webkit-scrollbar { display: none; }
  .pz-sticky:is(.pz-hs--a, .pz-hs--b, .pz-hs--c, .pz-hs--d) .pz-cats__list > li { flex: 0 0 auto; }
  .pz-sticky:is(.pz-hs--a, .pz-hs--b, .pz-hs--c, .pz-hs--d) .pz-cats__list a { white-space: nowrap; }
}
.pz-top.pz-hs--d .pz-top__msgs span, .pz-top.pz-hs--d .pz-top__msgs b { color: #fff; }
.pz-top.pz-hs--b .pz-top__msgs span { color: #e2e8f0; }
.pz-top.pz-hs--c .pz-top__msgs { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
/* görsel kutuları: görsel kutuyu taşırmasın */
.pzc-card__img, .pzc-tile__img, .pzc-li__img { position: relative; }
.pzc-card__img img, .pzc-tile__img img, .pzc-li__img img { position: absolute; inset: 0; margin: auto; max-width: 86%; max-height: 86%; width: auto; height: auto; object-fit: contain; }
.pzc-card__img { height: auto; }
/* D: kayınca daralan başlıkta taşmasın */
.pz-sticky.pz-hs--d .pz-act--teklif { white-space: nowrap; flex-shrink: 0; }
.pz-sticky.pz-hs--d.is-compact .pz-hnav a:nth-child(n+3) { display: none; }