/* ==========================================================================
   Mega Cıvata & Hırdavat — public katalog
   "Tezgâh ışığı": makine gövdesi koyu (chrome), çalışma yüzeyi açık.
   ========================================================================== */

:root {
  /* Chrome: işlenmiş çelik, nötr değil hafif soğuk kromalı */
  --steel-950: oklch(0.19 0.010 240);
  --steel-900: oklch(0.24 0.010 240);
  --steel-850: oklch(0.28 0.010 240);
  --steel-800: oklch(0.31 0.010 240);
  --steel-600: oklch(0.52 0.008 240);
  --steel-400: oklch(0.70 0.006 240);

  /* Çalışma yüzeyi */
  --surface: oklch(0.985 0.002 240);
  --panel: oklch(1 0 0);
  --line: oklch(0.90 0.004 240);
  --line-soft: oklch(0.945 0.004 240);

  --ink: oklch(0.22 0.008 240);
  --ink-soft: oklch(0.44 0.008 240);
  --ink-mute: oklch(0.56 0.008 240);

  --brand: oklch(0.63 0.166 52);
  --brand-hi: oklch(0.58 0.160 50);
  --brand-ink: oklch(0.47 0.140 48);
  --brand-bg: oklch(0.96 0.028 62);
  --ok: oklch(0.55 0.130 155);
  --ok-bg: oklch(0.96 0.030 155);

  --r: 3px;
  --r-sm: 2px;
  --r-lg: 6px;

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-backdrop: 300;
  --z-drawer: 400;
  --z-toast: 500;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 180ms var(--ease);

  --wrap: 1320px;
  --pad: 20px;

  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.hidden { display: none !important; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; }
.muted { color: var(--ink-mute); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Chrome: üst bar ---------- */
.util {
  background: var(--steel-950);
  color: var(--steel-400);
  font-size: 12px;
  border-bottom: 1px solid var(--steel-850);
}
.util .wrap { display: flex; align-items: center; gap: 18px; height: 34px; }
.util .sep { margin-left: auto; }
.util a { color: var(--steel-400); }
.util a:hover { color: #fff; }
.util b { color: #fff; font-weight: 600; }

.head {
  background: var(--steel-900);
  position: sticky; top: 0; z-index: var(--z-sticky);
  border-bottom: 1px solid var(--steel-800);
}
.head .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }

.brandmark { display: flex; align-items: center; gap: 10px; flex: none; }
.brandmark img { height: 38px; width: auto; }
.brandmark .t { line-height: 1.02; }
.brandmark .t b { display: block; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 1.4px; }
.brandmark .t span {
  display: block; font-family: var(--mono); font-size: 8.5px; font-weight: 500;
  color: var(--steel-400); letter-spacing: 1.15px; margin-top: 2px; white-space: nowrap;
}

/* ---------- Arama (header) ---------- */
.searchwrap { flex: 1; position: relative; max-width: 620px; }
.searchbar {
  display: flex; align-items: center; gap: 8px;
  background: var(--steel-950);
  border: 1px solid var(--steel-800);
  border-radius: var(--r);
  padding: 0 10px 0 12px;
  height: 40px;
  transition: border-color var(--t);
}
.searchbar:focus-within { border-color: var(--brand); }
.searchbar .ic { color: var(--steel-600); font-size: 14px; flex: none; }
.searchbar input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: 14px; min-width: 0;
}
.searchbar input::placeholder { color: var(--steel-600); }
.searchbar kbd {
  font-family: var(--mono); font-size: 10px; color: var(--steel-400);
  border: 1px solid var(--steel-800); border-radius: var(--r-sm);
  padding: 2px 5px; flex: none;
}
.searchbar .clear {
  background: none; border: none; color: var(--steel-400); cursor: pointer;
  font-size: 15px; padding: 2px 4px; line-height: 1;
}
.searchbar .clear:hover { color: #fff; }

.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 18px 44px rgba(10, 14, 22, 0.28);
  z-index: var(--z-dropdown); overflow: hidden; max-height: 460px; overflow-y: auto;
}
.suggest .grp {
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px; color: var(--ink-mute);
  padding: 10px 14px 6px; text-transform: uppercase;
}
.suggest a {
  display: flex; align-items: center; gap: 11px; padding: 8px 14px;
  border-top: 1px solid var(--line-soft);
}
.suggest a:first-of-type { border-top: none; }
.suggest a:hover, .suggest a.on { background: var(--brand-bg); }
.suggest .th {
  width: 34px; height: 34px; flex: none; border: 1px solid var(--line);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  padding: 2px; background: #fff;
}
.suggest .th img { max-height: 100%; object-fit: contain; }
.suggest .nm { flex: 1; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest .cd { font-family: var(--mono); font-size: 11px; color: var(--brand-ink); flex: none; }
.suggest .cnt { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); flex: none; }

/* ---------- Header eylemleri ---------- */
.head-act { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-link {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  color: var(--steel-400); border: 1px solid var(--steel-800); border-radius: var(--r);
  font-size: 13px; font-weight: 600; background: none; cursor: pointer;
  transition: color var(--t), border-color var(--t);
}
.icon-link:hover { color: #fff; border-color: var(--steel-600); }
.cart-open {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.cart-open:hover { background: var(--brand-hi); border-color: var(--brand-hi); color: #fff; }
.cart-n {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  background: rgba(255, 255, 255, 0.22); border-radius: 20px; padding: 1px 7px;
}
.burger { display: none; }

/* ---------- Kategori şeridi ---------- */
.catbar { background: var(--steel-850); border-bottom: 1px solid var(--steel-800); }
.catbar .wrap {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.catbar .wrap::-webkit-scrollbar { display: none; }
.catbar a {
  padding: 11px 13px; font-size: 12.5px; font-weight: 600; color: var(--steel-400);
  white-space: nowrap; border-bottom: 2px solid transparent; transition: color var(--t);
}
.catbar a:hover { color: #fff; }
.catbar a.on { color: #fff; border-bottom-color: var(--brand); }
.mega-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: var(--brand); border: none; color: #fff; cursor: pointer;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; flex: none;
}
.mega-btn:hover { background: var(--brand-hi); }
.catbar { position: relative; }
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--panel); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(10, 14, 22, 0.22); z-index: var(--z-dropdown);
  max-height: 70vh; overflow-y: auto;
}
.mega-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px 26px; padding: 22px 20px 26px;
}
.mega-h {
  display: flex; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink);
  padding-bottom: 6px; margin-bottom: 5px; border-bottom: 2px solid var(--brand);
}
.mega-h span { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); font-weight: 500; }
.mega-h:hover { color: var(--brand-ink); }
.mega-i {
  display: flex; gap: 8px; font-size: 12.5px; color: var(--ink-soft); padding: 3px 0;
}
.mega-i span { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); }
.mega-i:hover { color: var(--brand-ink); }
.mega-m { display: block; font-size: 11.5px; font-weight: 700; color: var(--brand-ink); padding-top: 4px; }

/* ---------- Hızlı sipariş bloğu ---------- */
.qpad {
  background: var(--steel-900); border: 1px solid var(--steel-800);
  border-radius: var(--r); padding: 16px;
}
.qpad h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #fff; }
.qpad p { margin: 0 0 11px; font-size: 12.5px; color: var(--steel-400); }
.qpad textarea {
  width: 100%; height: 104px; resize: vertical; padding: 10px 12px;
  background: var(--steel-950); border: 1px solid var(--steel-800); border-radius: var(--r);
  color: #fff; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; outline: none;
}
.qpad textarea:focus { border-color: var(--brand); }
.qpad textarea::placeholder { color: var(--steel-600); }
.qpad-act { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.qpad-msg { font-size: 12px; color: var(--steel-400); flex: 1; min-width: 130px; }
.qpad-msg b { color: #fff; font-family: var(--mono); }
.qpad-msg .bad { color: oklch(0.72 0.14 40); }
.qpad-res { margin-top: 10px; max-height: 168px; overflow-y: auto; }
.qpad-res div {
  display: flex; gap: 9px; align-items: center; padding: 6px 0;
  border-top: 1px solid var(--steel-850); font-size: 12px; color: var(--steel-400);
}
.qpad-res .c { font-family: var(--mono); color: var(--brand); flex: none; }
.qpad-res .n { flex: 1; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qpad-res .q { font-family: var(--mono); flex: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r);
  font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--brand-hi); }
.btn-dark { background: var(--steel-900); color: #fff; }
.btn-dark:hover:not(:disabled) { background: var(--steel-950); }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: var(--ink-mute); }
.btn-wa { background: #1faa54; color: #fff; }
.btn-wa:hover:not(:disabled) { background: #179246; }
.btn-block { width: 100%; }
.btn-lg { height: 44px; padding: 0 22px; font-size: 14.5px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Ana sayfa ---------- */
/* ==================== ANA SAYFA ==================== */

/* HERO: koyu çelik zemin, sağda ürün duvarı */
.hero2 {
  background:
    radial-gradient(900px 420px at 78% 42%, oklch(0.30 0.038 52), transparent 70%),
    var(--steel-950);
  color: #fff; border-bottom: 1px solid var(--steel-850);
  padding: 52px 0 56px; position: relative; overflow: hidden;
}
.hero2::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(oklch(1 0 0 / 0.045) 1px, transparent 1px),
                    linear-gradient(90deg, oklch(1 0 0 / 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(105deg, #000 22%, transparent 62%);
}
.hero2-in {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 44px; align-items: center;
}
.hero2-badge {
  display: inline-block; background: oklch(0.63 0.166 52 / 0.16); color: oklch(0.80 0.13 62);
  border: 1px solid oklch(0.63 0.166 52 / 0.35); border-radius: 20px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.4px; padding: 5px 13px; margin-bottom: 16px;
}
.hero2 h1 {
  margin: 0 0 14px; font-size: 44px; font-weight: 800; line-height: 1.06;
  letter-spacing: -0.03em; text-wrap: balance;
}
.hero2 h1 em { font-style: normal; color: var(--brand); }
.hero2 p { margin: 0 0 24px; font-size: 16px; color: var(--steel-400); }
.hero2 p b { color: #fff; font-family: var(--mono); font-weight: 600; }
.hero2-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.hero2-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.hero2-list li {
  position: relative; padding-left: 22px; font-size: 13.5px; color: var(--steel-400);
}
.hero2-list li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  color: var(--brand); font-weight: 800; font-size: 13px;
}

/* Ürün duvarı: beyaz zemini alınmış ürünler, koyu yüzeye oturur */
.hero2-wall {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 14px; height: 330px;
}
.hw {
  display: grid; place-items: center; position: relative; padding: 10px;
  min-height: 0; min-width: 0;   /* 1fr satırların taşmaması için */
}
/* her ürünün arkasında yumuşak ışık: koyu parçalar da okunur kalsın */
.hw::before {
  content: ''; position: absolute; inset: 8%;
  background: radial-gradient(circle, oklch(0.72 0.05 62 / 0.30), transparent 66%);
  filter: blur(6px);
}
/* yüzde max-height grid hücresinde çözülmüyor; kutuyu inset ile sabitle */
.hw img {
  position: absolute; inset: 9% 7%; width: 86%; height: 82%; object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}
.hw1 { transform: translateY(-8px); }
.hw4 { transform: translateY(8px); }

/* Kategori şeridi */
.sec { padding: 44px 0; }
.sec-tight { padding: 34px 0 0; }
.sec-tight + .sec-tight { padding-top: 18px; }
.ctiles { margin-bottom: 22px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.sec-head a { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--brand-ink); }
.sec-head a:hover { text-decoration: underline; }

.ctiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 10px; }
.ctile {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 10px 11px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 5px; transition: border-color var(--t), transform var(--t);
  min-height: 148px; justify-content: flex-start;
}
.ctile:hover { border-color: var(--brand); transform: translateY(-2px); }
.ctile-ph {
  width: 66px; height: 66px; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; padding: 9px; overflow: hidden;
}
.ctile-ph img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ctile-t {
  font-size: 12px; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 30px;
}
.ctile-n { font-size: 10.5px; color: var(--ink-mute); }

/* İki banner */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.banner {
  border-radius: var(--r); padding: 20px 22px; display: flex; align-items: center; gap: 16px;
  min-height: 118px; transition: transform var(--t);
}
.banner:hover { transform: translateY(-2px); }
.banner > div:first-child { flex: 1; }
.banner b { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.banner span { display: block; font-size: 13px; line-height: 1.5; }
.banner-go { margin-top: 9px; font-weight: 700; font-size: 13px !important; }
.banner-a { background: var(--steel-900); color: #fff; }
.banner-a span { color: var(--steel-400); }
.banner-a .banner-go { color: var(--brand); }
.banner-pills {
  display: flex; flex-direction: column; gap: 5px; font-size: 12px; flex: none;
}
.banner-pills span {
  border: 1px solid var(--steel-800); border-radius: var(--r-sm);
  padding: 3px 9px; color: var(--steel-400); font-size: 12px !important;
}
.banner-b { background: linear-gradient(120deg, var(--brand), var(--brand-hi)); color: #fff; }
.banner-b span { color: oklch(1 0 0 / 0.86); }
.banner-b .banner-go { color: #fff; }
.banner-ic { font-size: 40px; opacity: 0.5; }

/* Ürün blokları */
.prow { margin-bottom: 34px; }
.prow:last-child { margin-bottom: 0; }

/* Güven şeridi */
.trust { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px; background: var(--line); border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.trust div { background: var(--panel); padding: 16px 18px; }
.trust b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.trust span { font-size: 12px; color: var(--ink-mute); }

/* ---------- Katalog düzeni ---------- */
.cat-layout {
  display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 22px;
  align-items: start; padding: 20px 0 60px;
}
.rail {
  position: sticky; top: 82px; max-height: calc(100vh - 100px); overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
}
.rail::-webkit-scrollbar { width: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.facet { border-bottom: 1px solid var(--line-soft); }
.facet:last-child { border-bottom: none; }
.facet > h3 {
  margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.7px;
  text-transform: uppercase; color: var(--ink-mute); padding: 13px 14px 9px;
}
.facet-body { padding: 0 14px 13px; }
.facet-body.scroll { max-height: 208px; overflow-y: auto; }

.opt {
  display: flex; align-items: center; gap: 9px; padding: 5px 0;
  font-size: 13px; cursor: pointer; color: var(--ink-soft);
}
.opt:hover { color: var(--ink); }
.opt input { width: 15px; height: 15px; accent-color: var(--brand); flex: none; margin: 0; }
.opt .lbl { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt .n { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); flex: none; }
.opt input:checked + .lbl { color: var(--ink); font-weight: 700; }

/* çap / boy: pill ızgarası (onay kutusundan hızlı) */
.pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  padding: 5px 9px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--panel); color: var(--ink-soft); cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.pill:hover { border-color: var(--ink-mute); color: var(--ink); }
.pill.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.tree-grp > button {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 0;
  background: none; border: none; text-align: left; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.tree-grp > button:hover { color: var(--brand-ink); }
.tree-grp > button .n { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }
.tree-grp > button .ar { color: var(--ink-mute); font-size: 10px; transition: transform var(--t); }
.tree-grp.open > button { color: var(--brand-ink); }
.tree-grp.open > button .ar { transform: rotate(90deg); }
.tree-grp ul { list-style: none; margin: 0 0 6px; padding: 0 0 0 6px; display: none; }
.tree-grp.open ul { display: block; }
.tree-grp li a {
  display: flex; gap: 8px; padding: 5px 8px; font-size: 12.5px; color: var(--ink-soft);
  border-radius: var(--r-sm);
}
.tree-grp li a:hover { background: var(--surface); color: var(--ink); }
.tree-grp li a.on { background: var(--brand-bg); color: var(--brand-ink); font-weight: 700; }
.tree-grp li a .n { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

/* ---------- Katalog üst çubuğu ---------- */
.cat-top { margin-bottom: 14px; }
.cat-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cat-title h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.cat-title .n { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); }
.crumbs { font-size: 12px; color: var(--ink-mute); margin-bottom: 8px; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }

.toolbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 12px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r);
}
.toolbar select {
  height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--panel); font-size: 13px; cursor: pointer;
}
.toolbar .spacer { flex: 1; }
.viewtog { display: flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.viewtog button {
  width: 34px; height: 34px; background: var(--panel); border: none; cursor: pointer;
  color: var(--ink-mute); display: grid; place-items: center;
}
.viewtog button.on { background: var(--steel-900); color: #fff; }
.filter-open { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 6px 0 10px;
  background: var(--brand-bg); color: var(--brand-ink); border: 1px solid oklch(0.88 0.055 62);
  border-radius: var(--r-sm); font-size: 12px; font-weight: 700;
}
.chip button { background: none; border: none; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; }
.chip button:hover { color: var(--ink); }
.chip-clear { font-size: 12px; font-weight: 700; color: var(--ink-mute); background: none; border: none; cursor: pointer; text-decoration: underline; }
.chip-clear:hover { color: var(--ink); }

/* ---------- Ürün ızgarası ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(206px, 1fr)); gap: 12px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.card:hover { border-color: var(--ink-mute); box-shadow: 0 4px 14px rgba(10, 14, 22, 0.07); }
.card .ph {
  aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 12px;
  background: #fff; border-bottom: 1px solid var(--line-soft); position: relative;
}
.card .ph img { max-height: 100%; max-width: 100%; object-fit: contain; }
.card .ph .no { font-size: 11px; color: oklch(0.82 0.004 240); font-family: var(--mono); }
.card .body { padding: 10px 11px 11px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card .code { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--brand-ink); }
.card .nm {
  font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .spec {
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  display: flex; gap: 6px; flex-wrap: wrap;
}
.card .spec i { font-style: normal; }
.card .foot {
  margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.card .price { font-family: var(--mono); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.card .price small { display: block; font-family: 'Montserrat', sans-serif; font-size: 9.5px; font-weight: 600; color: var(--ink-mute); letter-spacing: 0; }
.card .ask { font-size: 11.5px; font-weight: 700; color: var(--ink-mute); line-height: 1.3; }
.add {
  flex: none; width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--brand-bg); color: var(--brand-ink); border: 1px solid transparent;
  font-size: 17px; font-weight: 600; cursor: pointer; display: grid; place-items: center;
  transition: background var(--t), color var(--t);
}
.add:hover { background: var(--brand); color: #fff; }
.add.done { background: var(--ok); color: #fff; }

/* Liste görünümü: profesyonel için yoğun satır */
.grid.list { display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.grid.list .card {
  flex-direction: row; align-items: center; gap: 12px; border: none;
  border-bottom: 1px solid var(--line-soft); border-radius: 0; padding: 8px 12px;
}
.grid.list .card:last-child { border-bottom: none; }
.grid.list .card:hover { box-shadow: none; background: var(--surface); }
.grid.list .ph {
  width: 54px; height: 54px; aspect-ratio: auto; flex: none; padding: 3px;
  border: 1px solid var(--line-soft); border-radius: var(--r-sm);
}
.grid.list .body { flex-direction: row; align-items: center; gap: 14px; padding: 0; flex: 1; min-width: 0; }
.grid.list .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.grid.list .nm { -webkit-line-clamp: 1; font-size: 13px; }
.grid.list .foot { margin: 0; padding: 0; border: none; flex: none; gap: 12px; align-items: center; }
.grid.list .price { font-size: 15px; text-align: right; min-width: 92px; }
.grid.list .spec { min-width: 132px; flex: none; }

/* İskelet */
.sk { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sk .a { aspect-ratio: 4/3; background: var(--line-soft); }
.sk .b { padding: 11px; display: flex; flex-direction: column; gap: 7px; }
.sk .l { height: 9px; background: var(--line-soft); border-radius: 2px; }
.sk .l.s { width: 45%; }
.sk .l.m { width: 80%; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.sk .a, .sk .l { animation: pulse 1.5s ease-in-out infinite; }

/* Durum blokları */
.state { padding: 56px 24px; text-align: center; color: var(--ink-mute); font-size: 14px; }
.state b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.state .hint { font-size: 13px; margin-top: 14px; }
.state code {
  font-family: var(--mono); background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 2px 6px; font-size: 12px; color: var(--ink);
}

/* Sayfalama */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; }
.pager button {
  height: 36px; min-width: 36px; padding: 0 13px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.pager button:hover:not(:disabled) { border-color: var(--ink-mute); }
.pager button:disabled { opacity: 0.4; cursor: not-allowed; }
.pager .info { font-family: var(--mono); font-size: 12.5px; color: var(--ink-mute); padding: 0 6px; }

/* ---------- Ürün detay ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; padding: 18px 0 20px; }
.gal {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  display: grid; place-items: center; padding: 26px; min-height: 340px;
}
.gal img { max-height: 380px; object-fit: contain; }
.gal .no { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.d-code { font-family: var(--mono); font-size: 13px; color: var(--brand-ink); font-weight: 500; }
.detail h1 { margin: 6px 0 14px; font-size: 25px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.specs th, .specs td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.specs th { color: var(--ink-mute); font-weight: 600; width: 38%; }
.specs td { font-family: var(--mono); font-weight: 500; }
.pricebox {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.pricebox .v { font-family: var(--mono); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.pricebox .l { font-size: 12px; color: var(--ink-mute); }
.pricebox .stock {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: var(--r-sm);
}
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qty button { width: 38px; height: 44px; background: var(--panel); border: none; cursor: pointer; font-size: 17px; color: var(--ink-soft); }
.qty button:hover { background: var(--surface); color: var(--ink); }
.qty input {
  width: 62px; height: 44px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-family: var(--mono); font-size: 15px; font-weight: 600; outline: none;
}
.d-act { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.d-act .btn { flex: 1; min-width: 160px; }

/* ---------- Teklif çekmecesi ---------- */
.backdrop {
  position: fixed; inset: 0; background: oklch(0.19 0.010 240 / 0.55);
  z-index: var(--z-backdrop); opacity: 0; pointer-events: none; transition: opacity var(--t);
}
.backdrop.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  background: var(--surface); z-index: var(--z-drawer); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--t);
  box-shadow: -14px 0 40px rgba(10, 14, 22, 0.2);
}
.drawer.on { transform: none; }
.drawer header {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: var(--steel-900); color: #fff; flex: none;
}
.drawer header h2 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer header .n { font-family: var(--mono); font-size: 12px; color: var(--steel-400); }
.drawer header button { margin-left: auto; background: none; border: none; color: var(--steel-400); font-size: 20px; cursor: pointer; line-height: 1; }
.drawer header button:hover { color: #fff; }
.drawer .body { flex: 1; overflow-y: auto; padding: 4px 0; }
.drawer footer { flex: none; border-top: 1px solid var(--line); background: var(--panel); padding: 14px 18px 18px; }

.qline { display: flex; gap: 11px; padding: 11px 18px; border-bottom: 1px solid var(--line-soft); align-items: center; }
.qline .th { width: 48px; height: 48px; flex: none; border: 1px solid var(--line); border-radius: var(--r-sm); display: grid; place-items: center; padding: 3px; background: #fff; }
.qline .th img { max-height: 100%; object-fit: contain; }
.qline .info { flex: 1; min-width: 0; }
.qline .info b { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.qline .info small { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }
.qline .r { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.qty-mini { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.qty-mini button { width: 26px; height: 26px; background: none; border: none; cursor: pointer; color: var(--ink-soft); font-size: 14px; line-height: 1; }
.qty-mini button:hover { background: var(--surface); color: var(--ink); }
.qty-mini input { width: 42px; height: 26px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-family: var(--mono); font-size: 12px; font-weight: 600; outline: none; }
.qline .lt { font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.qline .rm { background: none; border: none; color: var(--ink-mute); cursor: pointer; font-size: 15px; padding: 2px; }
.qline .rm:hover { color: oklch(0.55 0.19 25); }

.sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-size: 13px; }
.sum .v { font-family: var(--mono); font-size: 20px; font-weight: 600; }
.note { font-size: 11.5px; color: var(--ink-mute); line-height: 1.55; }

/* ---------- Formlar ---------- */
.field { margin-bottom: 11px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--panel); font-size: 14px; outline: none;
  transition: border-color var(--t);
}
.field textarea { height: auto; padding: 10px 12px; resize: vertical; font-family: inherit; }
.field input:focus, .field textarea:focus { border-color: var(--brand); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.alert { border-radius: var(--r); padding: 11px 14px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.alert-err { background: oklch(0.96 0.035 25); color: oklch(0.48 0.17 25); }

/* ---------- Alt bilgi ---------- */
.site-foot { background: var(--steel-950); color: var(--steel-400); padding: 40px 0 20px; font-size: 13px; margin-top: 40px; }
.site-foot .cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 30px; }
.site-foot h4 { color: #fff; font-size: 13px; margin: 0 0 12px; letter-spacing: 0.3px; }
.site-foot a { display: block; padding: 4px 0; color: var(--steel-400); }
.site-foot a:hover { color: #fff; }
.site-foot .bot {
  border-top: 1px solid var(--steel-850); margin-top: 30px; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px;
}

/* ---------- Yüzen eylem + toast ---------- */
.floats { position: fixed; right: 16px; bottom: 16px; z-index: var(--z-sticky); display: flex; flex-direction: column; gap: 9px; }
.floats a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 19px; box-shadow: 0 6px 20px rgba(10, 14, 22, 0.28);
}
.fl-wa { background: #1faa54; }
.fl-tel { background: var(--steel-900); }
.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  background: var(--steel-950); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 11px 20px; border-radius: var(--r); z-index: var(--z-toast);
  box-shadow: 0 10px 30px rgba(10, 14, 22, 0.34);
}

/* ---------- Uyarlama ---------- */
@media (max-width: 1080px) {
  .cat-layout { grid-template-columns: 1fr; }
  .rail {
    position: fixed; inset: auto 0 0 0; max-height: 76vh; z-index: var(--z-drawer);
    border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%);
    transition: transform var(--t); box-shadow: 0 -14px 40px rgba(10, 14, 22, 0.24);
  }
  .rail.on { transform: none; }
  .filter-open { display: inline-flex; }
  .hero2-in { grid-template-columns: 1fr; gap: 28px; }
  .hero2-wall { height: 260px; }
  .banners { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .head .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .searchwrap { order: 3; flex-basis: 100%; max-width: none; }
  .head-act .lbl { display: none; }
  .icon-link { padding: 0 11px; }
  .util .hide-s { display: none; }
  .hero2 { padding: 32px 0 34px; }
  .hero2 h1 { font-size: 30px; }
  .hero2-wall { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; height: 96px; gap: 8px; }
  .hw1, .hw4 { transform: none; }
  .ctiles { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); }
  .ctile-ph { width: 54px; height: 54px; }
  .detail { grid-template-columns: 1fr; gap: 20px; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .grid.list .spec { display: none; }
  .grid.list .price { min-width: 74px; }
}
@media (max-width: 520px) {
  .site-foot .cols { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.rep {
  position: absolute; left: 7px; bottom: 7px; font-style: normal;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--ink-mute); background: oklch(1 0 0 / 0.86);
  border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 1px 5px;
}
.grid.list .rep { display: none; }

/* ---------- Parça silueti (son çare) ---------- */
.art {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 42%, oklch(0.965 0.004 240), oklch(0.985 0.002 240) 68%);
}
.art .part { width: 74%; height: 74%; max-height: 118px; }
.art .part .fl { fill: oklch(0.855 0.006 240); }
.art .part .hole { fill: oklch(0.985 0.002 240); }
.art .part .ln { stroke: oklch(0.985 0.002 240); stroke-width: 3; fill: none; stroke-linecap: round; }
.art-t {
  position: absolute; bottom: 7px; right: 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; font-style: normal;
  color: var(--ink-mute); background: oklch(1 0 0 / 0.8);
  padding: 1px 5px; border-radius: var(--r-sm);
}
.card:hover .art .part .fl { fill: oklch(0.80 0.020 62); }
.grid.list .art .part { width: 84%; height: 84%; }
.grid.list .art-t { display: none; }

/* ---------- Katalog seçimi ---------- */