/* ==========================================================================
   MVK Makina — Dijital katalog tasarım sistemi
   Kurumsal kimlik: Koyu Gece Mavisi #123A5A, Kehribar Turuncusu #EF8A0C, Beyaz.
   Yazı tipleri: Poppins (metin), Jost (başlık; Futura PT'nin web karşılığı).
   Açık, sade, kurumsal: beyaz zemin, ince çizgiler, turuncu eylem butonları.
   ========================================================================== */

:root {
  --navy: #123A5A;
  --navy-2: #1d4f78;
  --orange: #EF8A0C;
  --orange-2: #d87a05;

  --paper: #ffffff;
  --paper-2: #f7f5f1;          /* kimlik sunumundaki krem zemin, bir ton açığı */
  --card: #ffffff;
  --ink: var(--navy);          /* başlıklar */
  --text: #26323f;             /* gövde metni */
  --ink-2: #4a5563;
  --muted: #6b7480;
  --line: #e6e8eb;
  --line-strong: #cfd5dc;
  --accent: var(--orange);
  --accent-ink: #ffffff;
  --accent-soft: rgba(239, 138, 12, .12);
  --danger: #d23b2c;
  --ok: #1f9d55;
  --stage: #f3f3f3;            /* ürün görseli zemini: ürün fotoğraflarının zeminiyle aynı */
  --shadow-sm: 0 1px 2px rgba(18, 58, 90, .06);
  --shadow: 0 1px 2px rgba(18, 58, 90, .05), 0 10px 28px -12px rgba(18, 58, 90, .18);
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 80px;
  --font-display: "Jost", "Futura PT", Futura, "Poppins", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-mono: "Poppins", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 15px/1.65 var(--font-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; font-variant-numeric: tabular-nums;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(860px, 100% - 32px); margin-inline: auto; }

/* ---------- Tipografi ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
  font: 600 .72rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: .6em;
}
.lead { font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--ink-2); max-width: 60ch; }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.index-num { display: none; }
.stripe { height: 4px; background: var(--accent); }
.prose { color: var(--ink-2); max-width: 72ch; }
.prose p { margin: 0 0 1em; }
.prose h3 { font-size: 1.05rem; margin: 1.6em 0 .6em; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: 0 0 .4em; }
.prose li::marker { color: var(--accent); }
.prose .note { margin-top: 1.4em; padding: 12px 16px; background: var(--paper-2); border-left: 3px solid var(--accent); border-radius: 4px; font-size: .92em; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* ---------- Butonlar ---------- */
.btn {
  --bg: var(--accent); --fg: #fff; --bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 1.4em; border-radius: var(--radius-sm);
  background: var(--bg); color: var(--fg); font: 500 .92rem/1 var(--font-body);
  border: 1.5px solid var(--bd); transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { --bg: var(--orange-2); --bd: var(--orange-2); box-shadow: 0 6px 16px -8px rgba(239,138,12,.6); }
.btn-accent { --bg: var(--accent); --fg: #fff; --bd: var(--accent); }
.btn-navy { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn-navy:hover { --bg: var(--navy-2); --bd: var(--navy-2); box-shadow: none; }
.btn-ghost { --bg: #fff; --fg: var(--navy); --bd: var(--line-strong); }
.btn-ghost:hover { --bg: #fff; --fg: var(--navy); --bd: var(--navy); box-shadow: none; }
.btn-sm { min-height: 36px; padding: 0 1em; font-size: .84rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--radius-sm);
  border: 1px solid transparent; color: var(--navy); transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn.is-active { background: var(--accent); color: #fff; }
.ico { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge-dot {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: #fff; font: 600 .66rem/18px var(--font-body); text-align: center;
}
.badge-dot:empty, .badge-dot[data-count="0"] { display: none; }
.kbd { font: 500 .7rem/1 ui-monospace, Consolas, monospace; border: 1px solid var(--line-strong); padding: 3px 6px; border-radius: 4px; color: var(--muted); background: #fff; }

/* ---------- Üst bilgi şeridi + header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .8rem; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.topbar .ico { width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; color: var(--accent); }
.topbar .right { margin-left: auto; display: flex; gap: 18px; }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a, .nav button {
  height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px;
  font: 500 .92rem/1 var(--font-body); color: var(--navy); position: relative; transition: color .2s;
}
.nav a::after, .nav button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform .2s var(--ease);
}
.nav a:hover::after, .nav button:hover::after, .nav [aria-current="page"]::after, .nav button[aria-expanded="true"]::after { transform: scaleX(1); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.search-trigger {
  display: flex; align-items: center; gap: 10px; height: 42px; min-width: 230px; padding: 0 10px 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); font-size: .86rem; margin-right: 6px; background: #fff;
}
.search-trigger:hover { border-color: var(--navy); color: var(--navy); }
.search-trigger .kbd { margin-left: auto; }
.lang-switch { font: 600 .78rem/1 var(--font-body); letter-spacing: .04em; }
.menu-toggle { display: none; }

/* Mega menü */
.mega {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(18,58,90,.25);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease);
  max-height: calc(100vh - var(--header-h)); overflow: auto;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 28px 0 32px; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.mega-list > li { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.mega-list > li > a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 6px;
  font: 600 1.02rem/1.2 var(--font-display); color: var(--navy); transition: color .2s;
}
.mega-list > li > a .num { display: none; }
.mega-list > li > a .count { font: 500 .74rem/1 var(--font-body); color: var(--muted); background: var(--paper-2); padding: 4px 8px; border-radius: 20px; }
.mega-list > li > a:hover, .mega-list > li > a.is-hot { color: var(--accent); }
.mega-sub { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 0 0 4px; }
.mega-sub a { font-size: .84rem; color: var(--muted); }
.mega-sub a:hover { color: var(--navy); }
.mega-preview { position: relative; background: var(--stage); border-radius: var(--radius); overflow: hidden; min-height: 280px; display: grid; place-items: center; }
.mega-preview img { width: 80%; transition: opacity .3s; }
.mega-preview .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; font-size: .86rem; color: var(--ink-2); background: rgba(255,255,255,.92); }
.mega-preview .caption:empty { display: none; }

/* Mobil menü */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(18,58,90,.35); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(400px, 90vw); background: #fff; padding: 18px 20px;
  transform: translateX(100%); transition: transform .3s var(--ease); overflow: auto; display: flex; flex-direction: column; gap: 16px;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-panel .brand img { height: 46px; }
.drawer-panel nav a { display: flex; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--line); font: 500 1rem/1.2 var(--font-body); color: var(--navy); }
.drawer-panel nav a .num { display: none; }

/* ---------- Arama paleti ---------- */
.palette { position: fixed; inset: 0; z-index: 90; display: none; }
.palette.is-open { display: block; }
.palette-backdrop { position: absolute; inset: 0; background: rgba(18,58,90,.35); animation: fade .2s; }
.palette-box {
  position: relative; width: min(660px, 100% - 24px); margin: 10vh auto 0; background: #fff; border-radius: 10px;
  box-shadow: 0 30px 70px -20px rgba(18,58,90,.45); overflow: hidden; animation: pop .2s var(--ease);
}
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--navy); }
.palette-input input { flex: 1; height: 60px; border: 0; background: none; outline: none; font-size: 1.05rem; }
.palette-results { max-height: min(60vh, 520px); overflow: auto; padding: 8px; }
.palette-group { font: 600 .68rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding: 12px 10px 6px; }
.palette-item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 6px; }
.palette-item img { width: 56px; height: 42px; object-fit: contain; background: var(--stage); border-radius: 4px; }
.palette-item .t { font-weight: 500; line-height: 1.25; color: var(--navy); }
.palette-item .s { font-size: .76rem; line-height: 1.3; color: var(--muted); }
.palette-item.is-active, .palette-item:hover { background: var(--paper-2); }
.palette-item.is-active::after { content: "↵"; color: var(--muted); }
.palette-empty { padding: 36px 16px; text-align: center; color: var(--muted); }
.palette-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); background: var(--paper-2); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 span { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-stats { display: flex; gap: 0; margin-top: 8px; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.hero-stats > div { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line-strong); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats b { display: block; font: 600 2.2rem/1 var(--font-display); color: var(--navy); }
.hero-stats span { font-size: .8rem; color: var(--muted); }
.hero-stage {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; overflow: hidden;
}
.hero-machine { position: absolute; inset: 6% 6% 20% 6%; display: grid; place-items: center; }
.hero-machine img { width: 100%; height: 100%; object-fit: contain; }
.hero-tag {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  border-top: 1px solid var(--line); background: #fff; color: var(--text);
}
.hero-tag .code { font: 600 1.05rem/1 var(--font-display); color: #fff; background: var(--navy); padding: 7px 10px; border-radius: 4px; }
.hero-tag .name { font-size: .9rem; font-weight: 500; color: var(--navy); }
.hero-tag::after { content: "→"; margin-left: auto; color: var(--accent); font-weight: 600; }
.hero-dots { position: absolute; right: 16px; top: 16px; display: flex; gap: 6px; z-index: 3; }
.hero-dots button { width: 22px; height: 4px; border-radius: 2px; background: var(--line-strong); }
.hero-dots button.is-active { background: var(--accent); }

/* ---------- Bölümler ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin-top: 10px; }

/* ---------- Kategori kartları ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.cat-card-media { aspect-ratio: 16 / 10; background: var(--stage); display: grid; place-items: center; overflow: hidden; border-bottom: 3px solid var(--accent); }
.cat-card-media img { width: 78%; height: 84%; object-fit: contain; transition: transform .4s var(--ease); }
.cat-card:hover .cat-card-media img { transform: scale(1.03); }
.cat-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cat-card-body .count { font-size: .8rem; color: var(--muted); }
.cat-card-body .desc { margin: 0; font-size: .88rem; color: var(--ink-2); }
.cat-card-body .subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; position: relative; z-index: 2; }
.cat-card-body .more { font-size: .86rem; font-weight: 500; color: var(--accent); margin-top: 4px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px;
  border: 1px solid var(--line-strong); font-size: .82rem; color: var(--ink-2); background: #fff; transition: .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip .n { font-size: .72rem; opacity: .65; }

/* Eski yatay bölüm bileşeni (kullanılmıyorsa etkisiz) */
.chapters-track { display: grid; gap: 20px; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chapter-copy { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.chapter-stage { background: var(--stage); display: grid; place-items: center; }
.chapter-stage img { width: 80%; }

/* ---------- Ürün kartları ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.p-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.p-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.p-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--stage); display: grid; place-items: center; overflow: hidden; }
.p-card-media img { width: 84%; height: 84%; object-fit: contain; transition: transform .4s var(--ease); }
.p-card:hover .p-card-media img { transform: scale(1.03); }
.p-card-code { position: absolute; left: 12px; top: 12px; font: 600 .7rem/1 var(--font-body); background: #fff; color: var(--navy); padding: 6px 8px; border-radius: 4px; letter-spacing: .03em; box-shadow: var(--shadow-sm); }
.p-card-actions { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.p-card-actions .icon-btn { width: 34px; height: 34px; background: #fff; border-color: var(--line); }
.p-card-actions .icon-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.p-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card-cat { font: 600 .68rem/1 var(--font-body); color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.p-card-title { font: 600 1.06rem/1.3 var(--font-display); color: var(--navy); }
.p-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card-title a:hover { color: var(--accent); }
.p-card-specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: auto; padding-top: 12px; gap: 8px; }
.p-card-specs div { min-width: 0; }
.p-card-specs b { display: block; font: 600 .95rem/1.2 var(--font-body); color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-card-specs b small { font-size: .7rem; font-weight: 500; color: var(--muted); margin-left: 2px; }
.p-card-specs span { font-size: .7rem; color: var(--muted); line-height: 1.25; display: block; }
.p-card-price { font: 600 1.05rem/1 var(--font-body); color: var(--accent); }
.grid-products.is-list { grid-template-columns: 1fr; }
.grid-products.is-list .p-card { flex-direction: row; }
.grid-products.is-list .p-card-media { width: 260px; flex: none; aspect-ratio: auto; min-height: 180px; }
.grid-products.is-list .p-card-specs { grid-template-columns: repeat(3, minmax(0, 160px)); }

/* ---------- Anasayfa: katalog tarayıcısı ---------- */
.catalog-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 28px 0 72px; align-items: start; }
.cat-side { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
.cat-side-title { font: 600 .72rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 6px 0 12px; }
.cat-tree { display: flex; flex-direction: column; gap: 2px; }
.cat-tree-group { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-top: 1px solid var(--line); }
.cat-tree-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left;
  padding: 8px 12px; border-radius: var(--radius-sm); font-size: .88rem; color: var(--ink-2); transition: background .15s, color .15s;
}
.cat-tree-item .n { font-size: .74rem; color: var(--muted); background: var(--paper-2); border-radius: 10px; padding: 2px 8px; flex: none; }
.cat-tree-item:hover { background: var(--paper-2); color: var(--navy); }
.cat-tree-item.is-root { font-weight: 600; color: var(--navy); }
.cat-tree-item.is-child { padding-left: 24px; font-size: .84rem; }
.cat-tree-item.is-active { background: var(--navy); color: #fff; }
.cat-tree-item.is-active .n { background: rgba(255,255,255,.18); color: #fff; }
.cat-main-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.cat-main-head h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cat-main-head .result-meta { margin: 6px 0 0; }
.cat-main-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-main-tools .field-icon .field { width: 280px; }
.catalog-shell .grid-products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- Sayfa başlığı / kategori kapağı ---------- */
.page-head { padding: 40px 0 32px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: 10px; }
.cat-cover { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.cat-cover .stripe { display: none; }
.cat-cover-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 32px 0; }
.cat-cover-copy { display: flex; flex-direction: column; gap: 16px; }
.cat-cover-stage { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 16 / 10; }
.cat-cover-stage img { position: absolute; inset: 8% 10%; width: 80%; height: 84%; object-fit: contain; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { opacity: .5; }
.toolbar {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
.toolbar .wrap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar .chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 360px; }
.toolbar .chips::-webkit-scrollbar { display: none; }
.field {
  height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
  padding: 0 12px; outline: none; min-width: 0; font-size: .9rem;
}
.field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-icon { position: relative; }
.field-icon .ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; }
.field-icon .field { padding-left: 34px; width: 220px; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.seg button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); }
.seg button.is-active { background: var(--navy); color: #fff; }
.result-meta { font-size: .82rem; color: var(--muted); margin: 22px 0 14px; }
.empty-state { padding: 56px 20px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); background: #fff; }
.empty-state h3 { margin-bottom: 8px; }

/* ---------- Ürün detayı ---------- */
.pd-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding: 28px 0 40px; width: min(1240px, 100% - 32px); margin-inline: auto; }
.pd-stage { position: relative; background: var(--stage); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-self: start; }
.pd-stage .stripe { display: none; }
.pd-stage-main { position: relative; flex: 1; display: grid; place-items: center; padding: 24px 0; }
.pd-stage-main .img-wrap { position: relative; width: min(92%, 720px); aspect-ratio: 4 / 3; }
.pd-stage-main .img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.pd-thumbs { display: flex; gap: 8px; padding: 12px 16px; background: #fff; border-top: 1px solid var(--line); }
.pd-thumbs button { width: 72px; height: 54px; border: 1px solid var(--line); border-radius: 4px; background: var(--stage); padding: 4px; }
.pd-thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.stage-tools { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; z-index: 5; }
.stage-tools .icon-btn { background: #fff; border-color: var(--line); }
.stage-tools .icon-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.hotspot {
  position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; z-index: 3;
  background: var(--accent); color: #fff; font: 600 .76rem/28px var(--font-body); text-align: center;
  box-shadow: 0 0 0 4px rgba(239,138,12,.25), 0 2px 6px rgba(0,0,0,.2); transition: transform .2s var(--ease), background .2s;
}
.hotspot:hover, .hotspot.is-active { transform: scale(1.12); }
.hotspot.is-active { background: var(--navy); box-shadow: 0 0 0 4px rgba(18,58,90,.25); }
.hotspots-off .hotspot { opacity: 0; pointer-events: none; }
.hotspot-pop {
  position: absolute; z-index: 6; width: 250px; background: #fff; border-radius: var(--radius-sm); padding: 14px 16px;
  box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 3px solid var(--accent); font-size: .86rem; pointer-events: none;
  opacity: 0; transform: translateY(6px); transition: .2s var(--ease);
}
.hotspot-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.hotspot-pop b { display: block; font: 600 1rem/1.2 var(--font-display); color: var(--navy); margin-bottom: 4px; }
.hotspot-pop p { margin: 0; color: var(--ink-2); }

.pd-info { display: flex; flex-direction: column; gap: 18px; }
.pd-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pd-code { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag { font: 500 .74rem/1 var(--font-body); padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--ink-2); background: #fff; }
a.tag:hover { border-color: var(--navy); color: var(--navy); }
.tag-accent { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; letter-spacing: .02em; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.kpis div { padding: 14px 16px 12px; border-right: 1px solid var(--line); }
.kpis div:last-child { border-right: 0; }
.kpis b { display: block; font: 600 1.6rem/1.1 var(--font-display); color: var(--navy); }
.kpis b small { font: 500 .76rem var(--font-body); color: var(--muted); margin-left: 3px; }
.kpis span { font-size: .76rem; color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-actions .btn { flex: 1 1 auto; }
.pd-price { display: flex; align-items: baseline; gap: 10px; }
.pd-price b { font: 600 1.8rem/1 var(--font-display); color: var(--accent); }
.pd-pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; font-size: .86rem; }
.pd-pager a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); max-width: 45%; }
.pd-pager a:hover { color: var(--accent); }
.pd-pager .pos { font-size: .8rem; color: var(--muted); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); position: sticky; top: var(--header-h); background: #fff; z-index: 15; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 16px 14px 14px; font: 500 .92rem/1 var(--font-body); color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.is-active, .tabs a:hover { color: var(--navy); border-bottom-color: var(--accent); }
.pd-section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.pd-section:nth-of-type(even) { background: var(--paper-2); }
.pd-section-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.pd-section-grid > header { position: sticky; top: calc(var(--header-h) + 72px); align-self: start; display: flex; flex-direction: column; gap: 12px; }
.pd-section-grid > header .eyebrow { display: none; }

.spec-group { margin-bottom: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-group h4 { font: 600 .82rem/1 var(--font-body); color: var(--navy); margin: 0; padding: 12px 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .9rem; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--ink-2); width: 55%; }
.spec-table td:last-child { font-weight: 600; color: var(--navy); text-align: right; }
.spec-table td small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.spec-table tr.is-hidden { display: none; }
.spec-table tr mark { background: var(--accent-soft); color: inherit; border-radius: 2px; }
.equipment { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.equipment li { display: flex; gap: 10px; align-items: start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; }
.equipment li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--navy); }
.doc:hover { border-color: var(--accent); }
.doc .ext { font: 600 .66rem/1 var(--font-body); background: var(--danger); color: #fff; padding: 6px 5px; border-radius: 3px; }
.hotspot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hotspot-list button { width: 100%; text-align: left; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.hotspot-list button:hover, .hotspot-list button.is-active { border-color: var(--accent); }
.hotspot-list .n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 .76rem/1 var(--font-body); }
.hotspot-list b { display: block; font-weight: 600; color: var(--navy); }
.hotspot-list span { font-size: .86rem; color: var(--muted); }

/* ---------- Karşılaştırma ---------- */
.compare-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translate(-50%, 140%);
  width: min(760px, 100% - 24px); background: #fff; color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; box-shadow: 0 20px 50px -14px rgba(18,58,90,.35);
  transition: transform .3s var(--ease);
}
.compare-bar.is-visible { transform: translate(-50%, 0); }
.compare-bar .label { font: 600 .92rem/1 var(--font-body); color: var(--navy); white-space: nowrap; }
.compare-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--accent); color: #fff; font-size: .74rem; margin-left: 4px; }
.compare-slots { display: flex; gap: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; padding-top: 6px; }
.compare-slot { position: relative; width: 60px; height: 44px; flex: none; border-radius: 4px; background: var(--stage); border: 1px solid var(--line); display: grid; place-items: center; }
.compare-slot img { width: 90%; height: 90%; object-fit: contain; }
.compare-slot button { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; line-height: 18px; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .9rem; }
.compare-table thead th { position: sticky; top: 0; background: #fff; vertical-align: bottom; color: var(--navy); }
.compare-table tbody th { width: 220px; color: var(--ink-2); font-weight: 400; position: sticky; left: 0; background: #fff; }
.compare-table td { font-weight: 600; color: var(--navy); }
.compare-table .grp th { background: var(--paper-2); font: 600 .74rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.compare-table tr.is-diff td { background: var(--accent-soft); }
.compare-table.diff-only tr.is-same { display: none; }
.compare-head img { width: 100%; max-width: 200px; aspect-ratio: 4/3; object-fit: contain; background: var(--stage); border-radius: 4px; margin-bottom: 10px; }

/* ---------- Formlar / modal ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: none; }
.modal.is-open { display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,58,90,.4); animation: fade .2s; }
.modal-box { position: relative; width: min(520px, 100% - 24px); background: #fff; border-radius: 10px; padding: 28px; border-top: 4px solid var(--accent); animation: pop .2s var(--ease); max-height: 92vh; overflow: auto; }
.modal-box .close { position: absolute; right: 12px; top: 12px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 500; color: var(--navy); }
.form .field, .form textarea { width: 100%; }
.form textarea { min-height: 120px; padding: 10px 12px; height: auto; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: start; font-weight: 400; color: var(--ink-2); }
.form .check input { margin-top: 4px; accent-color: var(--accent); }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); border-left: 3px solid var(--danger); background: rgba(210,59,44,.07); font-size: .9rem; }
.alert-ok { border-left-color: var(--ok); background: rgba(31,157,85,.08); }

/* ---------- Duyurular / içerik ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--accent); transition: box-shadow .2s; }
.news-card:hover { box-shadow: var(--shadow); }
.news-card time { font-size: .78rem; color: var(--muted); }
.news-card h3 { font-size: 1.15rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font: 600 .72rem/1.7 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.info-list dd { margin: 0; color: var(--navy); }

/* ---------- İletişim çağrısı ---------- */
.cta-band { background: var(--paper-2); border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 44px 0; }
.cta-band h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-band p { margin: 6px 0 0; color: var(--ink-2); max-width: 56ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); font-size: .9rem; }
.site-footer .stripe { height: 4px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0 36px; }
.footer-grid h4 { font: 600 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand img { height: 72px; width: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: rgba(255,255,255,.6); flex-wrap: wrap; }
.footer-mega { display: none; }

/* ---------- Toast ---------- */
.toasts { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 100; display: grid; gap: 8px; }
.toast { background: #fff; color: var(--navy); padding: 12px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid var(--line); border-left: 4px solid var(--accent); font-size: .9rem; animation: pop .25s var(--ease); max-width: 340px; }
.toast.is-error { border-left-color: var(--danger); }

/* ---------- Bayi: sepet ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.cart-table th, .cart-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table th { font: 600 .7rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); background: var(--paper-2); }
.cart-table img { width: 64px; height: 48px; object-fit: contain; background: var(--stage); border-radius: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.qty button { width: 32px; height: 32px; color: var(--navy); }
.qty span { min-width: 32px; text-align: center; }
.totals { margin-left: auto; width: min(380px, 100%); display: grid; gap: 8px; margin-top: 20px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.15rem; font-weight: 600; color: var(--navy); border-top: 1px solid var(--line-strong); padding-top: 10px; }

/* ---------- Animasyonlar (sade) ----------
   İçerik JS'e bağlı olarak gizlenmez; yalnızca açılır pencereler hafifçe belirir. */
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .nav, .search-trigger .label, .search-trigger .kbd { display: none; }
  .search-trigger { min-width: 0; width: 42px; padding: 0; justify-content: center; border-color: transparent; color: var(--navy); }
  .menu-toggle { display: inline-grid; }
  .hero-grid, .cat-cover-grid, .pd-top, .split { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .catalog-shell { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .cat-side { position: sticky; top: var(--header-h); z-index: 20; max-height: none; overflow: visible; margin: 0 -16px; padding: 10px 16px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
  .cat-side-title { display: none; }
  .cat-tree { flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .cat-tree::-webkit-scrollbar { display: none; }
  .cat-tree-group { flex-direction: row; gap: 6px; padding: 0; border: 0; }
  .cat-tree-item, .cat-tree-item.is-child { width: auto; white-space: nowrap; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 18px; font-size: .82rem; }
  .cat-tree-item.is-active { border-color: var(--navy); }
  .cat-main-head { padding-top: 20px; }
  .cat-main-tools { width: 100%; }
  .cat-main-tools .field-icon { flex: 1; }
  .cat-main-tools .field-icon .field { width: 100%; }
  .hero-stage { width: 100%; max-width: 620px; }
  .cat-cover-grid { gap: 20px; }
  .cat-cover-stage { aspect-ratio: auto; height: 220px; }
  .pd-stage-main .img-wrap { width: min(86%, 560px); }
  .pd-top { gap: 24px; }
  .pd-section-grid { grid-template-columns: 1fr; gap: 20px; }
  .pd-section-grid > header { position: static; }
  .chapter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-preview { display: none; }
  .topbar .hide-md { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand img { height: 46px; }
  .hide-sm { display: none !important; }
  .topbar { display: none; }
  .hero-stats > div { padding-right: 20px; margin-right: 20px; }
  .kpis b { font-size: 1.3rem; }
  .mega-list { grid-template-columns: 1fr; }
  .grid-products, .catalog-shell .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .p-card-body { padding: 12px; }
  .p-card-title { font-size: .95rem; }
  .p-card-specs { grid-template-columns: 1fr 1fr; }
  .p-card-specs div:nth-child(3) { display: none; }
  .grid-products.is-list .p-card { flex-direction: column; }
  .grid-products.is-list .p-card-media { width: auto; }
  .field-icon .field { width: 100%; }
  .field-icon { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-list div { grid-template-columns: 1fr; gap: 2px; }
  .cart-table .hide-sm { display: none; }
}

/* ---------- Yazdırma: teknik föy ---------- */
@media print {
  .topbar, .site-header, .site-footer, .compare-bar, .tabs, .pd-actions, .stage-tools, .pd-thumbs, .pd-pager, .toasts, .hotspot, .no-print, #related, .cta-band { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .pd-top { grid-template-columns: 1fr 1fr; }
  .pd-stage { background: #f4f4f4; }
  .pd-section { padding: 16px 0; break-inside: avoid; background: #fff !important; }
  .pd-section-grid { grid-template-columns: 170px 1fr; }
  .wrap { width: 100%; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .print-only { display: block !important; }
}
.print-only { display: none; }
