/* ELTA360 Perakende Donanımları. Görünüş dili "Defter" (elta360/docs/tasarim.md).
   Token değerleri elta360/packages/ui/src/theme.css kopyasıdır; sabit renk yalnız bu blokta. */
:root {
  --bg: #ffffff;
  --bg-2: #dbe0e9;
  --surface-2: #f8fafc;
  --hover-bg: #f1f4f9;
  --table-head-bg: #f8fafc;
  --border: #dbe0e9;
  --row-line: #e9edf4;
  --control-border: #c1c8d3;
  --input-border: #8991a1;
  --border-strong: #8991a1;
  --heading: #1b2540;
  --text: #292f3c;
  --muted: #565e6e;
  --icon: #565e6e;
  --link: #1c46b0;
  --primary: #1b2540;
  --primary-fg: #ffffff;
  --primary-hover: #2c3a5e;
  --primary-active: #141c2f;
  --selected-bg: #c2cfe5;
  --selected-row: #e1eaf8;
  --selected-line: #a4b4d3;
  --accent: #295ed4;
  --ring: #3c79f0;
  --focus-halo: 0 0 0 3px color-mix(in srgb, var(--ring) 22%, transparent);
  --cilt: #1b2540;
  --cilt-koyu: #141c2f;
  --cilt-fg: #e1eaf8;
  --cilt-muted: #a4b4d3;
  --cilt-line: #2c3a5e;
  --success-bg: #d8f0df;
  --success-fg: #02632b;
  --success-dot: #149a49;
  --warn-bg: #f4e8cd;
  --warn-fg: #7e3d01;
  --warn-dot: #b86c00;
  --danger-bg: #ffe1e0;
  --danger-fg: #9c010e;
  --danger-dot: #c1181d;
  --tag-dot: #556795;
  --scrim: #141c2f66;
  --toast-bg: #1b2540;
  --toast-fg: #ffffff;
  --shadow-lg: 0 8px 28px #141c2f29, 0 2px 6px #141c2f14; /* yalnız yüzen katman */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --t-display: 28px; --lh-display: 36px;
  --t-title: 20px; --lh-title: 28px;
  --t-section: 15px; --lh-section: 20px;
  --t-body: 13px; --lh-body: 20px;
  --t-small: 12px; --lh-small: 16px;
  --t-micro: 11px; --lh-micro: 16px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px;
  --r-sm: 4px; --r-md: 6px; --r: 8px;
  --control-h: 32px;
  --page-pad: 24px;
  --page-max: 1200px;
  --fast: 120ms; --mid: 160ms; --enter: 200ms;
}
@media (max-width: 900px) {
  :root { --page-pad: 16px; --control-h: 44px; }
}
@media (max-width: 640px) {
  :root { --t-body: 15px; --lh-body: 22px; --t-section: 17px; --lh-section: 24px; --t-small: 13px; --lh-small: 18px; --t-micro: 12px; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--t-body); line-height: var(--lh-body); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; box-shadow: var(--focus-halo); border-radius: var(--r-sm); }
main:focus-visible { outline: none; box-shadow: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--primary-fg); padding: var(--s2) var(--s3); z-index: 100; }
.atla:focus { left: 0; }
.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--page-pad); }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.kucuk { font-size: var(--t-small); line-height: var(--lh-small); }

h1 { font-size: var(--t-title); line-height: var(--lh-title); font-weight: 600; color: var(--heading); letter-spacing: -0.01em; }
h2 { font-size: var(--t-section); line-height: var(--lh-section); font-weight: 600; color: var(--heading); }
h3 { font-size: var(--t-body); line-height: var(--lh-body); font-weight: 600; color: var(--heading); }

/* Düğme */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--control-h); padding: 0 var(--s3); border: 1px solid transparent; border-radius: var(--r-md); font-weight: 500; font-size: var(--t-body); line-height: var(--lh-body); white-space: nowrap; text-decoration: none; background: none; transition: background var(--fast), border-color var(--fast); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { background: var(--primary-active); }
.btn-secondary { background: var(--bg); border-color: var(--control-border); color: var(--heading); }
.btn-secondary:hover { background: var(--hover-bg); }
.btn-secondary:active { background: var(--row-line); }
.btn-ghost { color: var(--heading); }
.btn-ghost:hover { background: var(--hover-bg); }
.btn-buyuk { min-height: 44px; padding: 0 var(--s4); }
.btn-tam { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Alan */
.alan { height: var(--control-h); min-width: 0; padding: 0 10px; border: 1px solid var(--input-border); border-radius: var(--r-md); background: var(--bg); color: var(--text); font-size: var(--t-body); }
.alan:hover { border-color: var(--muted); }
.alan:focus-visible { outline: none; border-color: var(--ring); box-shadow: var(--focus-halo); border-radius: var(--r-md); }
.alan::placeholder { color: var(--muted); }
@media (max-width: 640px) { .alan { font-size: 16px; } }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); flex: none; }
.onay { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--control-h); cursor: pointer; color: var(--text); }

/* Durum: nokta + metin */
.nokta { display: inline-block; width: 6px; height: 6px; border-radius: 50%; flex: none; }
.pill { display: inline-flex; align-items: baseline; gap: 6px; font-size: var(--t-body); line-height: var(--lh-body); color: var(--text); text-align: left; }
.pill .nokta { position: relative; top: -1px; }
.pill.ok { color: var(--success-fg); } .pill.ok .nokta { background: var(--success-dot); }
.pill.warn { color: var(--warn-fg); } .pill.warn .nokta { background: var(--warn-dot); }
.pill.danger { color: var(--danger-fg); } .pill.danger .nokta { background: var(--danger-dot); }
.pill.info .nokta { background: var(--tag-dot); }
.pill.yok { color: var(--muted); } .pill.yok .nokta { background: transparent; box-shadow: inset 0 0 0 1.5px var(--border-strong); }
button.pill { border: 0; background: none; padding: 0; min-height: 28px; cursor: pointer; border-bottom: 1px dashed transparent; }
button.pill:hover .pill-m { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
@media (max-width: 900px) { button.pill { min-height: 44px; align-items: center; } button.pill .nokta { top: 0; } }
.nokta-acik { background: var(--cilt-muted); }

/* Prototip çubuğu */
.proto { background: var(--cilt-koyu); color: var(--cilt-fg); font-size: var(--t-small); line-height: var(--lh-small); }
.proto-ic { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 36px; }
.proto-ad { display: inline-flex; align-items: center; gap: var(--s2); min-width: 0; }
.proto-durum { display: inline-flex; align-items: center; gap: var(--s2); color: var(--cilt-muted); flex: none; }
.proto-durum select { height: 28px; padding: 0 var(--s2); border: 1px solid var(--cilt-line); border-radius: var(--r-md); background: var(--cilt); color: var(--cilt-fg); font-size: var(--t-small); }
@media (max-width: 900px) { .proto-ic { min-height: 48px; } .proto-durum select { height: 36px; font-size: 16px; } .proto-durum span { display: none; } }

/* Üst menü (elta360.com) */
.ust { background: var(--bg); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.ust-ic { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); height: 64px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 26px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--s6); }
.site-nav a:not(.btn) { color: var(--muted); font-weight: 500; padding: 22px 0 20px; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--heading); text-decoration: none; }
.site-nav a.aktif { color: var(--heading); border-bottom-color: var(--accent); }
.menu-dugme { display: none; border-color: var(--control-border); }
@media (max-width: 900px) {
  .ust-ic { height: 56px; }
  .logo img { height: 22px; }
  .menu-dugme { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: var(--s2) var(--page-pad) var(--s4); }
  .site-nav.acik { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--row-line); min-height: 44px; }
  .site-nav a.aktif { border-bottom-color: var(--row-line); box-shadow: inset 2px 0 0 var(--accent); padding-left: var(--s3); }
  .site-nav .nav-cta { margin-top: var(--s3); }
}

/* Alt çubuk: bölüm adı + arama */
.alt-cubuk { border-bottom: 1px solid var(--border); background: var(--bg); }
.alt-cubuk:empty { display: none; }
.alt-cubuk-ic { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 52px; padding-top: var(--s2); padding-bottom: var(--s2); }
.kirinti { display: flex; align-items: center; gap: var(--s2); min-width: 0; color: var(--muted); font-size: var(--t-body); flex-wrap: wrap; }
.kirinti a { color: var(--muted); }
.kirinti a:hover { color: var(--heading); }
.kirinti .son { color: var(--heading); font-weight: 500; }
.kirinti .ayrac { color: var(--border-strong); }
.ara-form { display: flex; gap: var(--s2); }
.ara-form .alan { flex: 1; }
.alt-cubuk .ara-form { width: 340px; flex: none; }
@media (max-width: 900px) {
  .alt-cubuk-ic { flex-direction: column; align-items: stretch; gap: var(--s2); padding-top: var(--s3); padding-bottom: var(--s3); }
  .alt-cubuk .ara-form { width: auto; }
}

/* Durum bandı (dolgulu etiket yalnız banner'da) */
.bant { border-bottom: 1px solid var(--border); }
.bant-ic { display: flex; align-items: center; gap: var(--s3); padding-top: var(--s2); padding-bottom: var(--s2); flex-wrap: wrap; min-height: 44px; }
.bant.hata { background: var(--danger-bg); color: var(--danger-fg); border-color: var(--danger-bg); }
.bant.eski { background: var(--warn-bg); color: var(--warn-fg); border-color: var(--warn-bg); }
.bant .btn { margin-left: auto; }
.bant.hata .btn, .bant.eski .btn { background: var(--bg); }

/* Sayfa */
main { display: block; min-height: 60vh; padding: var(--s6) 0 var(--s12); }
.bolum { padding: var(--s6) 0; border-top: 1px solid var(--border); }
.bolum:first-child { border-top: 0; padding-top: 0; }
.bolum-bas { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); flex-wrap: wrap; }
.bolum-bas p { color: var(--muted); }
.sayfa-bas { margin-bottom: var(--s4); }
.sayfa-bas p { color: var(--muted); margin-top: var(--s1); max-width: 72ch; }
.sayi-kutu { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: var(--s2); border-radius: var(--r-sm); background: var(--hover-bg); color: var(--muted); font-size: var(--t-small); font-weight: 500; vertical-align: middle; font-family: var(--font-mono); }

/* Ana sayfa */
.giris { padding: var(--s8) 0 var(--s8); max-width: 760px; }
.giris h1 { font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: -0.02em; }
.giris-alt { font-size: var(--t-section); line-height: 24px; color: var(--muted); margin-top: var(--s2); }
.giris .ara-form { margin-top: var(--s6); }
.giris .ara-form .alan { height: 48px; padding: 0 var(--s4); font-size: 16px; }
.giris .ara-form .btn { min-height: 48px; padding: 0 var(--s6); }
.giris-sayi { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s4); color: var(--muted); font-size: var(--t-small); }
.giris-sayi b { color: var(--heading); font-weight: 600; font-family: var(--font-mono); }
.oneri-satir { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; margin-top: var(--s3); color: var(--muted); font-size: var(--t-small); }
.cip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s3); border: 1px solid var(--control-border); border-radius: var(--r-md); color: var(--heading); font-size: var(--t-small); font-weight: 500; background: var(--bg); }
.cip:hover { background: var(--hover-bg); text-decoration: none; }
@media (max-width: 900px) { .cip { min-height: 44px; } .giris { padding: var(--s4) 0 var(--s6); } }

.kat-izgara { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.kat-kutu { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); color: var(--text); border-right: 1px solid var(--row-line); border-bottom: 1px solid var(--row-line); min-height: 88px; transition: background var(--fast); }
.kat-kutu:hover { background: var(--hover-bg); text-decoration: none; }
.kat-kutu svg { width: 28px; height: 28px; color: var(--heading); flex: none; margin-top: 2px; }
.kat-kutu b { display: block; color: var(--heading); font-weight: 500; }
.kat-kutu div > span { display: block; color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: 2px; }
.kat-izgara .kat-kutu:nth-child(4n) { border-right: 0; }
.kat-izgara .kat-kutu:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 900px) {
  .kat-izgara { grid-template-columns: repeat(2, 1fr); }
  .kat-izgara .kat-kutu:nth-child(4n) { border-right: 1px solid var(--row-line); }
  .kat-izgara .kat-kutu:nth-child(2n) { border-right: 0; }
  .kat-izgara .kat-kutu:nth-last-child(-n+4) { border-bottom: 1px solid var(--row-line); }
  .kat-izgara .kat-kutu:nth-last-child(-n+2) { border-bottom: 0; }
  .kat-kutu { flex-direction: column; gap: var(--s2); padding: var(--s3); }
}

.vitrin-liste { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.vitrin-kutu { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s4); color: var(--text); border-right: 1px solid var(--row-line); transition: background var(--fast); }
.vitrin-kutu:last-child { border-right: 0; }
.vitrin-kutu:hover { background: var(--hover-bg); text-decoration: none; }
.vitrin-kutu b { color: var(--heading); font-weight: 600; font-size: var(--t-section); line-height: var(--lh-section); }
.vitrin-kutu .ne { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); flex: 1; }
.vitrin-kutu .tut { margin-top: var(--s3); font-size: var(--t-small); color: var(--muted); }
.vitrin-kutu .tut .mono { display: block; color: var(--heading); font-size: var(--t-section); line-height: var(--lh-section); font-weight: 600; }
.vitrin-kutu .git { color: var(--link); font-weight: 500; margin-top: var(--s2); }
@media (max-width: 900px) {
  .vitrin-liste { grid-template-columns: 1fr; }
  .vitrin-kutu { border-right: 0; border-bottom: 1px solid var(--row-line); display: grid; grid-template-columns: 1fr auto; column-gap: var(--s4); }
  .vitrin-kutu:last-child { border-bottom: 0; }
  .vitrin-kutu .ne { grid-column: 1; }
  .vitrin-kutu .tut { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: right; }
  .vitrin-kutu .git { grid-column: 1 / -1; }
}

.neden-izgara { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s8); }
.neden-izgara h3 { margin-bottom: var(--s1); }
.neden-izgara p { color: var(--muted); }
.neden-izgara .no { font-family: var(--font-mono); font-size: var(--t-small); color: var(--muted); display: block; margin-bottom: var(--s2); padding-top: var(--s3); border-top: 2px solid var(--heading); width: 32px; }
@media (max-width: 900px) { .neden-izgara { grid-template-columns: 1fr; gap: var(--s4); } }

/* Ürün satırı (liste) */
.liste { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.liste-bas { display: grid; grid-template-columns: minmax(0, 1fr) 170px 124px; gap: var(--s4); padding: 0 var(--s4); min-height: 36px; align-items: center; background: var(--table-head-bg); border-bottom: 1px solid var(--border); color: var(--muted); font-size: var(--t-small); font-weight: 500; }
.liste-bas .sag { text-align: right; }
.satir { display: grid; grid-template-columns: minmax(0, 1fr) 170px 124px; gap: var(--s4); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--row-line); align-items: start; }
.satir:last-child { border-bottom: 0; }
.satir:hover { background: var(--surface-2); }
.satir.kars-yok { grid-template-columns: minmax(0, 1fr) 170px; }
.satir-ad { color: var(--heading); font-weight: 500; font-size: var(--t-section); line-height: var(--lh-section); overflow-wrap: anywhere; }
.satir-kat { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: 2px; }
.ozl { display: flex; flex-wrap: wrap; gap: 2px var(--s3); margin-top: var(--s1); color: var(--text); }
.ozl li { position: relative; padding-left: var(--s3); }
.ozl li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.ozl li:first-child { padding-left: 0; }
.ozl li:first-child::before { display: none; }
.isaretler { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin-top: var(--s1); align-items: center; }
.satir-fiyat { text-align: right; }
.fiyat { font-family: var(--font-mono); font-weight: 600; color: var(--heading); font-size: var(--t-section); line-height: var(--lh-section); white-space: nowrap; }
.fiyat.yok { font-family: var(--font); font-weight: 500; color: var(--muted); white-space: normal; }
.fiyat-alt { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: 2px; }
.fiyat-alt .mono { color: var(--text); }
.kars { justify-content: flex-end; white-space: nowrap; color: var(--muted); font-size: var(--t-small); }
@media (max-width: 900px) {
  .satir-ad { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .kirinti a, .urun-bas .kat a, .kars-tablo thead a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .liste-bas { display: none; }
  .satir, .satir.kars-yok { grid-template-columns: 1fr auto; gap: var(--s2) var(--s3); padding: var(--s4); }
  .satir-ana { grid-column: 1 / -1; }
  .satir-fiyat { text-align: left; grid-column: 1; }
  .kars { grid-column: 2; align-self: end; }
}

/* Kategori sayfası */
.kat-duzen { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: var(--s8); align-items: start; }
.rehber { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: var(--s4); }
.rehber summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 44px; padding: 0 var(--s4); cursor: pointer; color: var(--heading); font-weight: 500; list-style: none; }
.rehber summary::-webkit-details-marker { display: none; }
.rehber summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--icon); border-bottom: 1.5px solid var(--icon); transform: rotate(45deg); margin-top: -4px; flex: none; }
.rehber[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.rehber[open] summary { border-bottom: 1px solid var(--row-line); }
.rehber-ic { padding: var(--s3) var(--s4) var(--s4); max-width: 86ch; }
.rehber-ic li { padding: 3px 0 3px var(--s4); position: relative; }
.rehber-ic li::before { content: ""; position: absolute; left: 2px; top: 0.75em; width: 6px; height: 1.5px; background: var(--heading); }
.arac { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); flex-wrap: wrap; }
.arac-sol { display: flex; align-items: center; gap: var(--s2); color: var(--muted); }
.arac-sag { display: flex; align-items: center; gap: var(--s2); }
.arac-sag label { color: var(--muted); font-size: var(--t-small); }
.filtre-ac { display: none; }
.filtre { border: 1px solid var(--border); border-radius: var(--r); position: sticky; top: var(--s4); }
.filtre-bas { display: flex; align-items: center; justify-content: space-between; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--row-line); }
.filtre-kapat { display: none; }
.filtre fieldset { border: 0; margin: 0; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--row-line); min-width: 0; }
.filtre legend { padding: 0; font-size: var(--t-small); font-weight: 600; color: var(--heading); margin-bottom: var(--s1); float: left; width: 100%; }
.filtre .onay { display: flex; min-height: 28px; clear: both; }
.filtre .aralik { display: flex; align-items: center; gap: var(--s2); clear: both; }
.filtre .aralik .alan { width: 100%; font-family: var(--font-mono); }
.filtre-alt { padding: var(--s3) var(--s4); display: flex; gap: var(--s2); }
.filtre-alt .btn { flex: 1; }
.filtre-uygula { display: none; }
@media (max-width: 900px) {
  .kat-duzen { grid-template-columns: 1fr; gap: 0; }
  .filtre-ac { display: inline-flex; }
  .filtre { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; max-height: 86vh; overflow-y: auto; background: var(--bg); border: 0; border-radius: var(--r) var(--r) 0 0; box-shadow: var(--shadow-lg); transform: translateY(100%); visibility: hidden; transition: transform var(--enter) ease-out, visibility 0s var(--enter); }
  .filtre.acik { transform: none; visibility: visible; transition: transform var(--enter) ease-out; }
  .filtre .onay { min-height: 44px; }
  .filtre-kapat, .filtre-uygula { display: inline-flex; }
  .filtre-alt { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--border); padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom)); }
  .arac-sag { flex: 1; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .filtre { transition: none; } }
.perde { position: fixed; inset: 0; background: var(--scrim); z-index: 50; }

/* Boş durum */
.bos { padding: var(--s12) var(--s4); text-align: center; border: 1px solid var(--border); border-radius: var(--r); }
.bos h2 { margin-bottom: var(--s1); }
.bos p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.bos .eylem { margin-top: var(--s4); display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }

/* Ürün detay */
.urun-duzen { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "bas yan" "sol yan"; grid-template-rows: auto 1fr; gap: var(--s4) var(--s8); align-items: start; }
.urun-bas { grid-area: bas; }
.urun-sol { grid-area: sol; min-width: 0; }
.urun-yan { grid-area: yan; }
.urun-bas .kat { color: var(--muted); font-size: var(--t-small); }
.urun-bas h1 { margin-top: 2px; overflow-wrap: anywhere; }
.urun-yan { position: sticky; top: var(--s4); display: grid; gap: var(--s4); }
.kutu { border: 1px solid var(--border); border-radius: var(--r); }
.kutu-bas { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--row-line); display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.kutu-ic { padding: var(--s4); }
.buyuk-fiyat { font-family: var(--font-mono); font-size: var(--t-display); line-height: var(--lh-display); font-weight: 600; color: var(--heading); letter-spacing: -0.02em; }
.buyuk-fiyat.yok { font-family: var(--font); font-size: var(--t-title); line-height: var(--lh-title); color: var(--muted); letter-spacing: 0; }
.fiyat-etiket { color: var(--muted); font-size: var(--t-small); }
.fiyat-meta { display: flex; flex-wrap: wrap; gap: 2px var(--s4); margin-top: var(--s1); color: var(--muted); }
.fiyat-meta b { color: var(--heading); font-weight: 500; }
.kutu-ic .btn-buyuk { margin-top: var(--s4); }
.dugme-alt { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: var(--s2); text-align: center; }
.uyari-liste { display: grid; gap: var(--s1); margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--row-line); }
.uyari-liste .pill { color: var(--text); }
.uyari-liste .pill.warn .pill-m b { color: var(--warn-fg); font-weight: 500; }

.gosterge { margin-top: var(--s2); }
.gosterge-iz { position: relative; height: 28px; margin: var(--s2) 6px 0; }
.gosterge-iz::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--row-line); }
.gosterge-dolu { position: absolute; top: 13px; height: 2px; background: var(--heading); }
.gosterge-n { position: absolute; top: 8px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--bg); border: 2px solid var(--heading); }
.gosterge-n.bugun { background: var(--heading); }
.gosterge-ad { display: flex; justify-content: space-between; gap: var(--s3); margin-top: var(--s1); }
.gosterge-ad div:last-child { text-align: right; }
.gosterge-ad .mono { display: block; color: var(--heading); font-weight: 500; }
.gosterge-ad span { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; vertical-align: top; padding: 10px var(--s3); border-bottom: 1px solid var(--row-line); font-weight: 400; }
thead th { background: var(--table-head-bg); color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); font-weight: 500; border-bottom: 1px solid var(--border); padding-top: var(--s2); padding-bottom: var(--s2); }
tbody tr:last-child > * { border-bottom: 0; }
.num { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
tbody th { color: var(--muted); font-weight: 500; }
.tablo-kutu { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.satici-tablo td:first-child { color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }
.satici-tablo .sub { display: block; color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); font-weight: 400; }
.satici-tablo .toplam { color: var(--heading); font-weight: 600; }
.ozellik-tablo th { width: 26%; }
.ozellik-tablo td.deger { width: 26%; color: var(--heading); font-weight: 500; }
.ozellik-tablo td.ne { color: var(--text); }
.dogrulanmadi { color: var(--muted); font-weight: 400; font-style: normal; }
@media (max-width: 640px) {
  .ozellik-tablo thead { display: none; }
  .ozellik-tablo tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--row-line); padding: var(--s2) 0; }
  .ozellik-tablo tbody tr:last-child { border-bottom: 0; }
  .ozellik-tablo th, .ozellik-tablo td { border: 0; padding: 2px var(--s3); width: auto !important; }
  .ozellik-tablo td.deger { text-align: right; }
  .ozellik-tablo td.ne { grid-column: 1 / -1; color: var(--muted); }
  .satici-tablo .gizle-m { display: none; }
  .satici-tablo td:first-child { overflow-wrap: break-word; }
}
.not-kutu { border: 1px solid var(--border); border-left: 3px solid var(--heading); border-radius: var(--r-sm); padding: var(--s3) var(--s4); }
.not-kutu h3 { margin-bottom: var(--s1); }
.not-kutu .ham { margin-top: var(--s2); color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.not-kutu .ham .mono { color: var(--text); overflow-wrap: anywhere; }
.uyum-blok { display: grid; gap: var(--s2); }
.sektor-cipler { display: flex; flex-wrap: wrap; gap: var(--s2); }
.alarm { display: flex; gap: var(--s2); margin-top: var(--s2); }
.alarm .alan { flex: 1; }
.alarm-not { margin-top: var(--s2); color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.blok { margin-top: var(--s6); }
.blok > h2 { margin-bottom: var(--s3); }
.blok > h2 + p.muted { margin-top: calc(var(--s2) * -1); margin-bottom: var(--s3); }
.mobil-cta { display: none; }
@media (max-width: 900px) {
  .urun-duzen { display: flex; flex-direction: column; gap: var(--s4); }
  .urun-duzen > * { width: 100%; }
  .urun-yan { display: contents; }
  .fiyat-kutu { order: 1; }
  .gosterge-kutu { order: 2; }
  .urun-sol { order: 3; }
  .urun-sol > .blok:first-child { margin-top: var(--s2); }
  .alarm-kutu { order: 4; margin-top: var(--s2); }
  .mobil-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bg); border-top: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: var(--s2) var(--page-pad) calc(var(--s2) + env(safe-area-inset-bottom)); align-items: center; gap: var(--s3); justify-content: space-between; }
  .mobil-cta .fiyat { font-size: var(--t-section); }
  .mobil-cta .fiyat-alt { margin: 0; }
  body.cta-var main { padding-bottom: 112px; }
  body.cta-var .alt { padding-bottom: 96px; }
}

/* Sektörel vitrin */
.vitrin-duzen { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s8); align-items: start; }
.seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--r-md); background: var(--row-line); max-width: 100%; }
.seg button { display: inline-flex; align-items: center; justify-content: center; height: calc(var(--control-h) - 4px); padding: 0 var(--s3); border: 1px solid transparent; border-radius: var(--r-sm); background: none; color: var(--muted); font-weight: 500; white-space: nowrap; }
.seg button[aria-checked="true"] { background: var(--bg); border-color: var(--border); color: var(--heading); }
.seg button:hover { color: var(--heading); }
.seg-tam { display: flex; }
.seg-tam button { flex: 1; min-width: 0; }
.set-ust { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.set-ust > span { color: var(--muted); }
.ihtiyac { display: grid; grid-template-columns: 28px minmax(0, 1fr) 150px; gap: var(--s1) var(--s3); padding: var(--s4); border-bottom: 1px solid var(--row-line); align-items: start; }
.ihtiyac:last-child { border-bottom: 0; }
.ihtiyac.kapali .ihtiyac-urun, .ihtiyac.kapali .seg, .ihtiyac.kapali .ihtiyac-fiyat { opacity: 0.45; }
.ihtiyac-sec { display: flex; align-items: center; justify-content: center; min-height: 28px; }
.ihtiyac-bas h2 { display: inline; }
.ihtiyac-bas p { color: var(--muted); }
.ihtiyac .seg { margin-top: var(--s3); }
.ihtiyac-urun { margin-top: var(--s3); }
.ihtiyac-urun .satir-ad { font-size: var(--t-body); line-height: var(--lh-body); }
.neden { margin-top: var(--s1); color: var(--text); }
.neden b { color: var(--heading); font-weight: 500; }
.ihtiyac-fiyat { text-align: right; grid-column: 3; grid-row: 1 / span 3; }
.ozet { position: sticky; top: var(--s4); }
.ozet-satir { display: flex; justify-content: space-between; gap: var(--s3); padding: 6px 0; }
.ozet-satir span:first-child { color: var(--muted); min-width: 0; }
.ozet-satir .mono { color: var(--heading); white-space: nowrap; }
.ozet-satir.cikti .mono, .ozet-satir.cikti span:first-child { color: var(--muted); text-decoration: line-through; }
.ozet-toplam { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding-top: var(--s3); margin-top: var(--s2); border-top: 1px solid var(--border); }
.ozet-toplam .buyuk-fiyat { font-size: var(--t-title); line-height: var(--lh-title); }
.ozet-not { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: var(--s2); }
.ozet-uyum { display: grid; gap: 2px; }
.diger-vitrin { display: flex; flex-wrap: wrap; gap: var(--s2); }
.set-cubuk { display: none; }
@media (max-width: 900px) {
  .vitrin-duzen { grid-template-columns: 1fr; gap: var(--s6); }
  .ozet { position: static; }
  .ihtiyac { grid-template-columns: 28px minmax(0, 1fr); padding: var(--s4) var(--s3); }
  .ihtiyac-fiyat { grid-column: 2; grid-row: auto; text-align: left; margin-top: var(--s2); display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
  .ihtiyac-fiyat .fiyat-alt { margin: 0; }
  .ihtiyac-sec { min-height: 44px; min-width: 28px; margin-top: -10px; }
  .ihtiyac .seg { display: flex; }
  .ihtiyac .seg button { flex: 1; padding: 0 var(--s1); min-width: 0; }
  .set-ust .seg { display: flex; width: 100%; }
  .set-ust .seg button { flex: 1; padding: 0 var(--s1); }
  .seg button { height: 44px; }
  .set-cubuk { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bg); border-top: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: var(--s2) var(--page-pad) calc(var(--s2) + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: var(--s3); min-height: 60px; }
  .set-cubuk .fiyat { font-size: var(--t-title); line-height: var(--lh-title); }
}

/* Karşılaştırma */
.kars-arac { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.kars-kaydir { position: relative; border: 1px solid var(--border); border-radius: var(--r); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kars-tablo { min-width: 100%; table-layout: fixed; }
.kars-tablo th, .kars-tablo td { padding: 10px var(--s3); }
.kars-tablo .ilk { position: sticky; left: 0; z-index: 2; background: var(--bg); width: 190px; color: var(--muted); font-weight: 500; border-right: 1px solid var(--border); }
.kars-tablo thead th { vertical-align: top; background: var(--table-head-bg); font-size: var(--t-body); line-height: var(--lh-body); }
.kars-tablo thead .ilk { background: var(--table-head-bg); }
.kars-tablo thead a { color: var(--heading); font-weight: 600; font-size: var(--t-section); line-height: var(--lh-section); overflow-wrap: anywhere; }
.kars-tablo .kaldir { margin-top: var(--s1); min-height: 28px; padding: 0; color: var(--muted); font-weight: 400; font-size: var(--t-small); }
.kars-tablo .kaldir:hover { background: none; color: var(--danger-fg); text-decoration: underline; }
.kars-tablo tr.fark > td, .kars-tablo tr.fark > .ilk { background: var(--selected-row); }
.kars-tablo tr.fark > .ilk { color: var(--heading); box-shadow: inset 2px 0 0 var(--accent); }
.kars-tablo tr.grup > * { background: var(--table-head-bg); color: var(--heading); font-weight: 600; font-size: var(--t-small); line-height: var(--lh-small); padding-top: var(--s2); padding-bottom: var(--s2); }
.kars-tablo td { color: var(--heading); overflow-wrap: anywhere; }
.kars-tablo td .sub { display: block; color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); font-weight: 400; }
.kars-tablo .ekle { color: var(--muted); font-weight: 400; }
.kars-tablo .ekle select { width: 100%; margin-top: var(--s2); }
.kars-tablo .btn { white-space: normal; text-align: center; }
.aciklama { display: flex; gap: var(--s4); flex-wrap: wrap; color: var(--muted); font-size: var(--t-small); margin-top: var(--s3); align-items: center; }
.aciklama i { display: inline-block; width: 12px; height: 12px; background: var(--selected-row); box-shadow: inset 2px 0 0 var(--accent); vertical-align: -2px; margin-right: 6px; }
@media (max-width: 900px) {
  .kars-tablo { width: max-content; min-width: 100%; }
  .kars-tablo .ilk { width: 104px; min-width: 104px; max-width: 104px; font-size: var(--t-small); line-height: var(--lh-small); padding: 10px var(--s2); }
  .kars-tablo th:not(.ilk), .kars-tablo td { width: 168px; min-width: 168px; max-width: 168px; }
  .kars-tablo .kaldir { min-height: 44px; }
}

/* Karşılaştırma tepsisi (yüzen katman) */
.tepsi { position: fixed; left: 50%; bottom: var(--s4); transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: var(--s3); background: var(--toast-bg); color: var(--toast-fg); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: var(--s2) var(--s2) var(--s2) var(--s4); max-width: calc(100vw - 32px); }
.tepsi .btn { background: var(--bg); color: var(--heading); }
.tepsi .btn:hover { background: var(--hover-bg); }
.tepsi .btn[aria-disabled="true"] { opacity: 0.45; }
.tepsi .temizle { background: none; color: var(--selected-bg); border: 0; padding: 0 var(--s2); min-height: var(--control-h); }
.tepsi .temizle:hover { text-decoration: underline; }
.tepsi-m { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 18px; }
.tepsi-m b { font-weight: 500; }
.tepsi-kat { display: block; color: var(--selected-bg); font-size: var(--t-small); line-height: 16px; overflow: hidden; text-overflow: ellipsis; }
body.tepsi-var main { padding-bottom: 112px; }
@media (max-width: 900px) { .tepsi { left: var(--s4); right: var(--s4); transform: none; bottom: var(--s3); justify-content: space-between; } body.cta-var .tepsi { bottom: 76px; } body.cta-var.tepsi-var main { padding-bottom: 184px; } .tepsi .btn { min-height: 44px; } .tepsi .temizle { min-height: 44px; } }

/* Açıklama balonu, toast */
.pop { position: absolute; z-index: 70; width: 300px; max-width: calc(100vw - 32px); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: var(--s3) var(--s4); }
.pop h3 { margin-bottom: var(--s1); }
.pop p { color: var(--text); }
.pop p + p { margin-top: var(--s2); color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 80; background: var(--toast-bg); color: var(--toast-fg); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: var(--s3) var(--s4); max-width: calc(100vw - 32px); }

/* İskelet */
.isk { background: var(--bg-2); border-radius: var(--r-sm); animation: isk 1.2s ease-in-out infinite; }
@keyframes isk { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .isk { animation: none; } }
.isk-satir { display: grid; grid-template-columns: 1fr 120px; gap: var(--s4); padding: var(--s4); border-bottom: 1px solid var(--row-line); }
.isk-satir:last-child { border-bottom: 0; }
.isk-s { height: 12px; margin-top: var(--s2); }
.isk-b { height: 20px; }

/* Altbilgi (cilt) */
.alt { background: var(--cilt); color: var(--cilt-fg); padding: var(--s6) 0 var(--s6); }
.kaynak-notu { padding: var(--s3) var(--s4); border: 1px solid var(--cilt-line); border-radius: var(--r-md); color: var(--cilt-fg); }
.alt-ana { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s8); padding: var(--s8) 0 var(--s6); }
.alt-marka a { display: inline-flex; align-items: center; min-height: 44px; }
.alt-marka img { height: 26px; width: auto; }
.alt-marka p { color: var(--cilt-muted); margin-top: var(--s3); }
.alt-linkler h2 { color: var(--toast-fg); font-size: var(--t-body); line-height: var(--lh-body); margin-bottom: var(--s2); }
.alt-linkler a { display: block; color: var(--cilt-muted); padding: 3px 0; }
.alt-linkler a:hover { color: var(--toast-fg); }
.alt-son { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; padding-top: var(--s4); border-top: 1px solid var(--cilt-line); color: var(--cilt-muted); font-size: var(--t-small); }
.alt :focus-visible { outline-color: var(--selected-bg); }
@media (max-width: 900px) {
  .alt-ana { grid-template-columns: 1fr; gap: var(--s6); }
  .alt-linkler a { padding: 11px 0; }
}
thead th.num { font-family: var(--font); }

/* =====================================================================
   v3 — Cardhouse mantığı, Defter görünümü (25 Kas 2026)
   Kutu: 1 px çizgi, gölgesiz, 10-12 px köşe. Fotoğraf zemini beyaz.
   ===================================================================== */
:root { --r-kutu: 10px; --r-buyuk: 12px; --sekme-h: 60px; }
body.kilit { overflow: hidden; }

/* sayfa geçişi */
#icerik > * { animation: v3gir var(--enter) ease-out; }
@keyframes v3gir { from { opacity: 0; } to { opacity: 1; } }

/* üst şerit */
.serit { background: var(--surface-2); border-bottom: 1px solid var(--border); color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.serit-ic { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 32px; }
.serit-m { color: var(--heading); font-weight: 500; }
.serit-m.gir { animation: v3gir 250ms ease-out; }

/* üst: logo + arama */
.ust-ic { height: auto; min-height: 72px; gap: var(--s6); }
.logo { gap: var(--s3); flex: none; color: var(--heading); }
.logo:hover { text-decoration: none; }
.logo-ek { padding-left: var(--s3); border-left: 1px solid var(--border); color: var(--heading); font-weight: 500; font-size: var(--t-body); white-space: nowrap; }
.ust-ara { position: relative; flex: 1; max-width: 680px; display: flex; gap: 0; }
.ust-ara-ikon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--icon); pointer-events: none; }
.ust-ara .alan { flex: 1; height: 44px; padding-left: 42px; border-radius: var(--r-kutu) 0 0 var(--r-kutu); border-color: var(--control-border); font-size: 15px; }
.ust-ara .btn { min-height: 44px; padding: 0 var(--s6); border-radius: 0 var(--r-kutu) var(--r-kutu) 0; }
.ust-sag { display: flex; align-items: center; gap: var(--s2); flex: none; }
.kat-menu-cubuk { border-top: 1px solid var(--row-line); }
.kat-menu-ic { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.kat-menu { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; min-width: 0; }
.kat-menu::-webkit-scrollbar { display: none; }
.kat-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3); color: var(--heading); font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; transition: border-color var(--fast), color var(--fast); }
.kat-menu a:hover { text-decoration: none; border-bottom-color: var(--border-strong); }
.kat-menu a.aktif { border-bottom-color: var(--accent); }
.set-menu-kap { position: relative; flex: none; }
.set-menu-dugme { display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; padding: 0 var(--s3); border: 0; background: none; color: var(--heading); font-weight: 600; }
.set-menu-dugme svg { width: 16px; height: 16px; transition: transform var(--mid); }
.set-menu-dugme[aria-expanded="true"] svg { transform: rotate(180deg); }
.set-menu { position: absolute; right: 0; top: 100%; z-index: 45; width: 320px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-kutu); box-shadow: var(--shadow-lg); padding: var(--s2); }
.set-menu-a { display: block; padding: var(--s2) var(--s3); border-radius: var(--r-md); color: var(--text); }
.set-menu-a:hover { background: var(--hover-bg); text-decoration: none; }
.set-menu-a b { display: block; color: var(--heading); font-weight: 500; }
.set-menu-a > span { display: block; color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.set-menu-not { padding: var(--s2) var(--s3) var(--s1); border-top: 1px solid var(--row-line); margin-top: var(--s1); color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.alt-cubuk .ara-form { display: none; }
.alt-cubuk-ic { min-height: 44px; }

/* mobil sekme çubuğu */
.sekme { display: none; }
@media (max-width: 900px) {
  .serit-sag { display: none; }
  .ust-ic { flex-wrap: wrap; gap: var(--s2) var(--s3); padding-top: var(--s2); padding-bottom: var(--s3); min-height: 0; }
  .logo { flex: 1; min-width: 0; }
  .logo img { height: 22px; }
  .ust-sag .btn-ghost { display: none; }
  .ust-ara { order: 3; flex-basis: 100%; max-width: none; }
  .ust-ara .btn { padding: 0 var(--s4); }
  .kat-menu-cubuk { display: none; }
  .sekme { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--bg); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
  .sekme > * { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--sekme-h); border: 0; background: none; color: var(--muted); font-size: var(--t-micro); line-height: var(--lh-micro); font-weight: 500; }
  .sekme > *:hover { text-decoration: none; color: var(--heading); }
  .sekme svg { width: 22px; height: 22px; }
  .sekme .aktif { color: var(--heading); }
  .sekme .aktif::before { content: ""; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; background: var(--accent); }
  .sekme .rozet { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cilt); color: var(--primary-fg); font-family: var(--font-mono); font-size: 11px; line-height: 18px; text-align: center; }
  main { padding-bottom: calc(var(--s12) + var(--sekme-h)); }
  .alt { padding-bottom: calc(var(--s6) + var(--sekme-h)); }
  body.cta-var main { padding-bottom: calc(112px + var(--sekme-h)); }
  body.cta-var .alt { padding-bottom: calc(96px + var(--sekme-h)); }
  .mobil-cta, .set-cubuk { bottom: calc(var(--sekme-h) + env(safe-area-inset-bottom)) !important; box-shadow: none !important; }
  .tepsi { bottom: calc(var(--sekme-h) + 12px + env(safe-area-inset-bottom)) !important; }
  body.cta-var .tepsi { bottom: calc(var(--sekme-h) + 76px + env(safe-area-inset-bottom)) !important; }
  .toast { bottom: calc(var(--sekme-h) + 80px); }
}
@media (max-width: 380px) { .logo-ek { display: none; } }

/* mobil alt sayfa (Kategoriler / Setler) */
.alt-sayfa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-height: 82vh; overflow-y: auto; background: var(--bg); border-radius: var(--r-buyuk) var(--r-buyuk) 0 0; box-shadow: var(--shadow-lg); padding-bottom: env(safe-area-inset-bottom); animation: v3yukari var(--enter) ease-out; }
@keyframes v3yukari { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.alt-sayfa-bas { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: var(--s2) var(--s2) var(--s2) var(--page-pad); background: var(--bg); border-bottom: 1px solid var(--border); }
.alt-sayfa-bas .btn { min-height: 44px; }
.alt-sayfa-a { display: flex; align-items: center; gap: var(--s3); min-height: 60px; padding: var(--s2) var(--page-pad); border-bottom: 1px solid var(--row-line); color: var(--text); }
.alt-sayfa-a:hover { background: var(--hover-bg); text-decoration: none; }
.alt-sayfa-a svg { width: 24px; height: 24px; color: var(--heading); flex: none; }
.alt-sayfa-a b { display: block; color: var(--heading); font-weight: 500; }
.alt-sayfa-a small, .alt-sayfa-a.set > span { display: block; color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.alt-sayfa-a.set { display: block; padding-top: var(--s3); padding-bottom: var(--s3); }
.alt-sayfa-n { margin-left: auto; color: var(--muted); font-size: var(--t-small); }

/* fotoğraf: sabit oran, beyaz zemin, kırık resim yok */
.foto { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.foto img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--enter) ease-out; }
.foto.fbos { background: var(--surface-2); }
.foto-yok { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s1); color: var(--muted); text-align: center; padding: var(--s2); }
.foto-yok svg { width: 36%; max-width: 56px; min-width: 22px; height: auto; color: var(--icon); }
.foto-yok-m { font-size: var(--t-small); line-height: var(--lh-small); }
.foto.kucuk { width: 56px; height: 56px; border: 1px solid var(--row-line); border-radius: var(--r-md); }
.foto.kucuk .foto-yok-m { display: none; }
.foto.kucuk .foto-yok svg { width: 24px; min-width: 0; }

/* kanal ikonu */
.kanal-ikon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex: none; border-radius: var(--r-sm); overflow: hidden; background: var(--bg); }
.kanal-ikon img { width: 100%; height: 100%; object-fit: contain; }
.kanal-ikon.harf { border-radius: 50%; background: var(--hover-bg); border: 1px solid var(--border); color: var(--muted); font-size: 10px; line-height: 1; font-weight: 600; }
.kanal-mini { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s1); color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); min-width: 0; max-width: 100%; }
.kanal-mini-m { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.satir-fiyat .kanal-mini { justify-content: flex-end; }

/* ürün kartı (raf + ızgara) */
.kart { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-kutu); overflow: hidden; transition: border-color var(--mid); }
.kart:hover { border-color: var(--border-strong); }
.kart:hover .foto img { transform: scale(1.03); }
.kart-foto { display: block; padding: var(--s3); border-bottom: 1px solid var(--row-line); background: var(--bg); }
.kart-foto .foto.fbos { border-radius: var(--r-md); }
.kars-dugme { position: absolute; top: var(--s2); right: var(--s2); z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--control-border); border-radius: var(--r); background: var(--bg); color: var(--heading); transition: background var(--fast), color var(--fast), border-color var(--fast); }
.kars-dugme svg { width: 18px; height: 18px; }
.kars-dugme:hover { background: var(--hover-bg); }
.kars-dugme[aria-pressed="true"] { background: var(--cilt); border-color: var(--cilt); color: var(--primary-fg); }
.kart-ic { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: var(--s3); min-width: 0; }
.kart-marka { color: var(--muted); font-size: var(--t-micro); line-height: var(--lh-micro); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kart-ad { font-weight: 500; font-size: var(--t-body); line-height: var(--lh-body); min-height: calc(var(--lh-body) * 2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kart-ad a { color: var(--heading); }
.kart-oz { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kart-uyum { margin-top: 2px; }
.kart-uyum .pill { font-size: var(--t-small); }
.kart-alt { margin-top: auto; padding-top: var(--s2); display: flex; flex-direction: column; align-items: flex-start; }
.kart-fiyat { font-family: var(--font-mono); font-weight: 600; font-size: var(--t-section); line-height: var(--lh-section); color: var(--heading); margin-top: 2px; white-space: nowrap; }
.kart-fiyat.yok { font-family: var(--font); font-weight: 500; color: var(--muted); }
.kart-birim { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.kart-birim .mono { color: var(--text); }
.kart-git { margin-top: var(--s3); }
.pill.kucuk { font-size: var(--t-small); line-height: var(--lh-small); }
@media (max-width: 640px) {
  .kart-ic { padding: var(--s2) var(--s3) var(--s3); }
  .kart-foto { padding: var(--s2); }
  .kars-dugme { width: 44px; height: 44px; top: 4px; right: 4px; }
  .kart-fiyat { font-size: 15px; }
  .kart .kart-uyum button.pill { min-height: 32px; }
}

/* ızgara (kategori) */
.izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 1100px) { .izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); } }

/* raf: yatay kaydırma + oklar */
.raf-arac { display: flex; align-items: center; gap: var(--s2); }
.raf-ok { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--control-border); border-radius: 50%; background: var(--bg); color: var(--heading); transition: background var(--fast), opacity var(--fast); }
.raf-ok svg { width: 18px; height: 18px; }
.raf-ok:hover:not(:disabled) { background: var(--hover-bg); }
.raf-ok:disabled { opacity: 0.35; cursor: default; }
.raf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * var(--s4)) / 5); gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding-bottom: var(--s2); scrollbar-width: thin; overscroll-behavior-x: contain; }
.raf > .kart { scroll-snap-align: start; }
.raf-bolum.acik .raf { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
.raf-bolum.acik .raf-ok { display: none; }
@media (max-width: 1100px) { .raf { grid-auto-columns: calc((100% - 3 * var(--s4)) / 3.4); } .raf-bolum.acik .raf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .raf { grid-auto-columns: 44%; gap: var(--s2); margin-right: calc(var(--page-pad) * -1); padding-right: var(--page-pad); scroll-padding-left: 0; }
  .raf-bolum.acik .raf { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-right: 0; padding-right: 0; }
  .raf-ok { display: none; }
  .bolum-bas { align-items: flex-end; }
}
.tumu { padding: 0 var(--s2); color: var(--link); }

/* ana sayfa: hero + yan kutular */
.hero-alan { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s4); margin-bottom: var(--s4); }
.hero { position: relative; background: var(--cilt); color: var(--cilt-fg); border-radius: var(--r-buyuk); overflow: hidden; min-width: 0; }
.hero-slaytlar { display: grid; }
.hero-slayt { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 340px; opacity: 0; visibility: hidden; transition: opacity 250ms ease-out, visibility 0s 250ms; }
.hero-slayt.aktif { opacity: 1; visibility: visible; transition: opacity 250ms ease-out; }
.hero-metin { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); padding: var(--s8) var(--s8) 84px; min-width: 0; }
.hero-ust { color: var(--cilt-muted); font-size: var(--t-small); line-height: var(--lh-small); font-weight: 500; display: inline-flex; align-items: center; gap: var(--s2); }
.hero-ust::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cilt-muted); }
.hero-b { color: var(--primary-fg); font-size: var(--t-display); line-height: var(--lh-display); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.hero-metin p { color: var(--cilt-fg); max-width: 52ch; }
.hero-eylem { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.btn-ters { background: var(--bg); color: var(--heading); border-color: var(--bg); }
.btn-ters:hover { background: var(--hover-bg); }
.btn-cizgi { background: transparent; color: var(--primary-fg); border-color: var(--cilt-muted); }
.btn-cizgi:hover { background: var(--cilt-line); }
.hero :focus-visible, .elta-panel :focus-visible { outline-color: var(--selected-bg); }
.hero-foto { display: flex; align-items: center; justify-content: center; background: var(--bg); margin: var(--s4) var(--s4) var(--s4) 0; border-radius: var(--r-kutu); padding: var(--s4); }
.hero-foto .foto { max-width: 300px; }
.hero-kontrol { position: absolute; left: var(--s8); bottom: var(--s4); display: flex; align-items: center; gap: var(--s2); }
.hero-nokta { display: flex; }
.hero-nokta button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; padding: 0; border: 0; background: none; }
.hero-nokta span { display: block; width: 8px; height: 8px; border-radius: 4px; background: var(--cilt-line); transition: width var(--mid), background var(--mid); }
.hero-nokta button[aria-current="true"] span { width: 20px; background: var(--primary-fg); }
.hero-ok { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--cilt-line); border-radius: 50%; background: transparent; color: var(--primary-fg); }
.hero-ok:hover { background: var(--cilt-line); }
.hero-ok svg { width: 18px; height: 18px; }
.hero-yan { display: grid; grid-template-rows: 1fr 1fr; gap: var(--s4); min-width: 0; }
.yan-kutu { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s3); align-items: start; padding: var(--s4); border: 1px solid var(--border); border-radius: var(--r-buyuk); background: var(--bg); }
.yan-kutu h2 { font-size: var(--t-body); line-height: var(--lh-body); margin-bottom: 2px; }
.yan-kutu p { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.yan-kutu p b { color: var(--heading); font-weight: 600; }
.yan-foto { display: block; border: 1px solid var(--row-line); border-radius: var(--r); padding: var(--s1); }
.yan-linkler { display: flex; flex-wrap: wrap; gap: 0 var(--s3); margin-top: var(--s2); font-size: var(--t-small); line-height: var(--lh-small); }
.yan-linkler a { display: inline-flex; align-items: center; min-height: 28px; font-weight: 500; }
@media (max-width: 1100px) { .hero-alan { grid-template-columns: 1fr; } .hero-yan { grid-template-columns: 1fr 1fr; grid-template-rows: none; } }
@media (max-width: 900px) {
  .hero-slayt { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 0; }
  .hero-foto { order: -1; margin: var(--s3) var(--s3) 0; padding: var(--s2); height: 168px; }
  .hero-foto .foto { width: 152px; }
  .hero-metin { padding: var(--s4) var(--s4) 72px; gap: var(--s2); }
  .hero-b { font-size: var(--t-title); line-height: var(--lh-title); }
  .hero-kontrol { left: var(--s4); bottom: var(--s3); }
  .hero-eylem .btn { flex: 1 1 auto; }
  .hero-yan { grid-template-columns: 1fr; }
  .yan-linkler a { min-height: 44px; }
}

/* rakam şeridi */
.rakam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--r-buyuk); margin-bottom: var(--s6); }
.rakam > div { padding: var(--s4); border-right: 1px solid var(--row-line); display: flex; flex-direction: column; min-width: 0; }
.rakam > div:last-child { border-right: 0; }
.rakam b { color: var(--heading); font-size: var(--t-title); line-height: var(--lh-title); font-weight: 600; }
.rakam span { color: var(--heading); font-weight: 500; }
.rakam small { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
@media (max-width: 640px) {
  .rakam { grid-template-columns: 1fr 1fr; }
  .rakam > div { padding: var(--s3); }
  .rakam > div:nth-child(2) { border-right: 0; }
  .rakam > div:nth-child(-n+2) { border-bottom: 1px solid var(--row-line); }
}

/* markaya göre */
.marka-izgara { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s2); }
.marka-kutu { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: var(--s3); border: 1px solid var(--border); border-radius: var(--r-kutu); color: var(--text); transition: border-color var(--mid); }
.marka-kutu:hover { border-color: var(--border-strong); text-decoration: none; }
.marka-kutu b { color: var(--heading); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.marka-kutu span { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.marka-izgara:not(.hepsi) .marka-kutu.fazla { display: none; }
.marka-hepsi { margin-top: var(--s3); }
@media (max-width: 900px) { .marka-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .marka-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sıralı listeler */
.sirali-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.sirali { border: 1px solid var(--border); border-radius: var(--r-buyuk); overflow: hidden; min-width: 0; }
.sirali-bas { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 48px; padding: 0 var(--s4); border-bottom: 1px solid var(--row-line); }
.sirali-bas a { font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.sirali li { display: grid; grid-template-columns: 18px 48px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s2) var(--s4); border-bottom: 1px solid var(--row-line); }
.sirali li:last-child { border-bottom: 0; }
.sirali-no { color: var(--muted); font-size: var(--t-small); text-align: center; }
.sirali-foto .foto.kucuk { width: 48px; height: 48px; }
.sirali-ad { min-width: 0; display: flex; flex-direction: column; }
.sirali-ad a { color: var(--heading); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sirali-ad > span { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sirali-fiyat { color: var(--heading); font-weight: 600; white-space: nowrap; }
@media (max-width: 1000px) { .sirali-izgara { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .sirali-ad a { display: block; padding: 4px 0; } }

/* sektör setleri */
.set-izgara { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.set-kutu { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-buyuk); overflow: hidden; color: var(--text); transition: border-color var(--mid); min-width: 0; }
.set-kutu:hover { border-color: var(--border-strong); text-decoration: none; }
.set-kutu:hover .foto img { transform: scale(1.03); }
.set-kutu > .foto { aspect-ratio: 4 / 3; padding: var(--s3); border-bottom: 1px solid var(--row-line); }
.set-m { display: flex; flex-direction: column; gap: 2px; padding: var(--s3) var(--s4) var(--s4); flex: 1; }
.set-m b { color: var(--heading); font-weight: 600; font-size: var(--t-section); line-height: var(--lh-section); }
.set-m .ne { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); flex: 1; }
.set-m .tut { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: var(--s2); }
.set-m .tut .mono { color: var(--heading); font-weight: 600; }
.set-m .git { color: var(--link); font-weight: 500; margin-top: var(--s2); }
@media (max-width: 1100px) { .set-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .set-izgara { grid-template-columns: 1fr; gap: var(--s2); }
  .set-kutu { flex-direction: row; }
  .set-kutu > .foto { width: 104px; flex: none; aspect-ratio: 1; border-bottom: 0; border-right: 1px solid var(--row-line); padding: var(--s2); }
  .set-m { padding: var(--s3); }
}

/* kategori sayfası */
.kat-cipler { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; margin: 0 0 var(--s4); padding-bottom: 2px; }
.kat-cipler::-webkit-scrollbar { display: none; }
.kat-cip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 var(--s3); border: 1px solid var(--control-border); border-radius: var(--r); color: var(--heading); font-weight: 500; white-space: nowrap; flex: none; transition: background var(--fast); }
.kat-cip svg { width: 16px; height: 16px; }
.kat-cip:hover { background: var(--hover-bg); text-decoration: none; }
.kat-cip.aktif { background: var(--cilt); border-color: var(--cilt); color: var(--primary-fg); }
.kat-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s4); }
.kat-bas h1 { font-size: 24px; line-height: 32px; }
.kat-say { display: flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 2px; }
.kat-say .nokta { background: var(--tag-dot); }
.kat-say b { color: var(--heading); font-weight: 600; }
.kat-arac { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.kat-ara .alan { width: 220px; }
.gor-sec { display: inline-flex; border: 1px solid var(--control-border); border-radius: var(--r-md); overflow: hidden; }
.gor-sec button { display: inline-flex; align-items: center; justify-content: center; width: var(--control-h); height: var(--control-h); padding: 0; border: 0; background: var(--bg); color: var(--muted); }
.gor-sec button + button { border-left: 1px solid var(--control-border); }
.gor-sec button svg { width: 18px; height: 18px; }
.gor-sec button[aria-pressed="true"] { background: var(--selected-row); color: var(--heading); }
.filtre .onay-m { flex: 1; min-width: 0; }
.filtre .say { color: var(--muted); font-size: var(--t-small); margin-left: auto; }
.filtre { border-radius: var(--r-kutu); }
.rehber { border-radius: var(--r-kutu); }
@media (max-width: 900px) {
  .kat-cip { min-height: 44px; }
  .kat-bas { align-items: stretch; flex-direction: column; gap: var(--s3); }
  .kat-arac { width: 100%; }
  .kat-ara { flex: 1 1 100%; }
  .kat-ara .alan { width: 100%; }
  .kat-arac .filtre-ac, .kat-arac select { flex: 1; min-width: 0; }
  .filtre { border-radius: var(--r-buyuk) var(--r-buyuk) 0 0; z-index: 61; }
}

/* liste görünüm: küçük fotoğraf */
.liste { border-radius: var(--r-kutu); }
.liste-bas, .satir { grid-template-columns: 56px minmax(0, 1fr) 170px 124px; }
.satir.kars-yok, .liste-bas.kars-yok { grid-template-columns: 56px minmax(0, 1fr) 170px; }
.satir-foto { display: block; }
.satir-foto .foto.kucuk { width: 56px; height: 56px; }
@media (max-width: 900px) {
  .satir, .satir.kars-yok { grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--s1) var(--s3); }
  .satir-foto { grid-row: 1 / span 2; }
  .satir-foto .foto.kucuk { width: 64px; height: 64px; }
  .satir-ana { grid-column: 2 / -1; }
  .satir-fiyat { grid-column: 2; }
  .satir-fiyat .kanal-mini { justify-content: flex-start; }
  .kars { grid-column: 3; }
}
.ihtiyac-urun { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.ihtiyac-urun-ic { min-width: 0; }

/* ürün sayfası */
.urun-ust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.urun-galeri { position: sticky; top: var(--s4); border: 1px solid var(--border); border-radius: var(--r-buyuk); padding: var(--s6); background: var(--bg); }
.galeri-cerceve { max-width: 480px; margin: 0 auto; }
.galeri-cerceve .foto.fbos { border-radius: var(--r-kutu); }
.galeri-cerceve .foto.fbos .foto-yok-m { font-size: var(--t-section); }
.buyut-dugme { display: flex; margin: var(--s3) 0 0 auto; }
.galeri-not { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: var(--s2); text-align: right; }
.urun-bilgi { border: 1px solid var(--border); border-radius: var(--r-buyuk); padding: var(--s6); min-width: 0; }
.urun-marka { display: flex; align-items: center; gap: var(--s2); color: var(--heading); font-size: var(--t-small); line-height: var(--lh-small); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.urun-marka .nokta { background: var(--heading); }
.urun-bilgi h1 { font-size: 24px; line-height: 32px; margin-top: var(--s2); overflow-wrap: anywhere; }
.urun-cipler { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 var(--s4); }
.u-cip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 var(--s3); border: 1px solid var(--row-line); border-radius: var(--r); color: var(--heading); font-size: var(--t-small); line-height: var(--lh-small); background: var(--surface-2); }
a.u-cip:hover { background: var(--hover-bg); text-decoration: none; }
.u-cip svg { width: 16px; height: 16px; }
.u-cip .pill, .u-cip button.pill { font-size: var(--t-small); line-height: var(--lh-small); min-height: 30px; }
.urun-fiyat { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--row-line); flex-wrap: wrap; }
.urun-fiyat .buyuk-fiyat { font-size: 32px; line-height: 40px; }
.fiyat-satici { display: inline-flex; align-items: center; gap: 6px; }
.ay-kutu { display: flex; flex-direction: column; padding: var(--s2) var(--s3); border: 1px solid var(--border); border-radius: var(--r-kutu); background: var(--surface-2); text-align: right; }
.ay-e { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.ay-kutu b { color: var(--heading); font-weight: 600; font-size: var(--t-section); line-height: var(--lh-section); }
.ay-f { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.urun-bilgi > .btn-buyuk { min-height: 48px; font-size: var(--t-section); }
.guven { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s4); }
.guven li { display: flex; flex-direction: column; align-items: center; gap: var(--s1); padding: var(--s3) var(--s2); border: 1px solid var(--row-line); border-radius: var(--r-kutu); text-align: center; color: var(--heading); font-size: var(--t-small); line-height: var(--lh-small); font-weight: 500; }
.guven svg { width: 20px; height: 20px; color: var(--icon); }
.guven li.ok svg { color: var(--success-dot); }
.urun-kars { margin-top: var(--s3); }
.urun-bilgi .uyari-liste { margin-top: var(--s3); }

/* satış kanalları (Cardhouse "Mağaza stok durumu" mantığı) */
.kanal-blok { margin-top: var(--s4); padding: var(--s4); border: 1px solid var(--border); border-radius: var(--r-buyuk); background: var(--surface-2); }
.kanal-bas { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); flex-wrap: wrap; }
.kanal-top { color: var(--muted); font-size: var(--t-small); }
.kanal-top b { color: var(--heading); font-weight: 600; }
.kanal-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.kanal-satir { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s2) var(--s3); border: 1px solid var(--border); border-radius: var(--r-kutu); background: var(--bg); min-height: 56px; }
.kanal-satir .kanal-ikon { width: 28px; height: 28px; border-radius: var(--r-md); }
.kanal-satir .kanal-ikon.harf { font-size: 12px; border-radius: 50%; }
.kanal-ad { min-width: 0; display: flex; flex-direction: column; }
.kanal-ad b { color: var(--heading); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kanal-ad small { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kanal-fiyat { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.kanal-fiyat b { color: var(--heading); font-weight: 600; white-space: nowrap; }
.kanal-fiyat small { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); white-space: nowrap; }
.kanal-satir.ucuz { border-color: var(--border-strong); }
.kanal-not, .kanal-bos { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: var(--s3); }
.kanal-bos { margin-top: 0; }
.urun-not { margin-top: var(--s6); }

/* ürün bilgileri + ELTA360 paneli */
.urun-alt { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s6); margin-top: var(--s8); align-items: start; }
.bilgi-kutu { border: 1px solid var(--border); border-radius: var(--r-buyuk); padding: var(--s6); min-width: 0; }
.bilgi-kutu > h2 { font-size: var(--t-title); line-height: var(--lh-title); margin-bottom: var(--s4); }
.bilgi-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--r-kutu); overflow: hidden; margin: 0; }
.bilgi-izgara > div { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--row-line); border-right: 1px solid var(--row-line); min-width: 0; }
.bilgi-izgara > div:nth-child(2n) { border-right: 0; }
.bilgi-izgara > div:nth-last-child(1), .bilgi-izgara > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.bilgi-izgara dt { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.bilgi-izgara dd { margin: 0; color: var(--heading); font-weight: 500; overflow-wrap: anywhere; }
.bilgi-izgara dd.ne { color: var(--muted); font-weight: 400; font-size: var(--t-small); line-height: var(--lh-small); margin-top: 2px; }
.bilgi-not { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--row-line); }
.bilgi-not h3 { margin-bottom: var(--s1); }
.elta-panel { background: var(--cilt); color: var(--cilt-fg); border-radius: var(--r-buyuk); padding: var(--s6); min-width: 0; }
.elta-panel h2 { color: var(--primary-fg); font-size: var(--t-title); line-height: var(--lh-title); margin-bottom: var(--s3); }
.elta-panel > p { color: var(--cilt-fg); }
.elta-liste li { padding: var(--s3) 0; border-top: 1px solid var(--cilt-line); }
.elta-durum { display: flex; align-items: center; gap: var(--s2); color: var(--primary-fg); font-weight: 600; }
.elta-durum .nokta { width: 8px; height: 8px; background: var(--cilt-muted); }
.elta-liste li.ok .nokta { background: var(--success-dot); }
.elta-liste li.warn .nokta { background: var(--warn-dot); }
.elta-liste li.yok .nokta { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cilt-muted); }
.elta-liste p { margin-top: var(--s1); color: var(--cilt-fg); }
.elta-liste .elta-n { color: var(--cilt-muted); font-size: var(--t-small); line-height: var(--lh-small); }
.elta-panel .btn { margin-top: var(--s4); }
.urun-ek { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4); margin-top: var(--s6); align-items: start; }
.urun-ek .kutu { border-radius: var(--r-buyuk); }
.urun-ek + .raf-bolum, .gecmis-sira + .raf-bolum { margin-top: var(--s8); }
@media (max-width: 900px) {
  .urun-ust, .urun-alt { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .urun-galeri { position: static; padding: var(--s3); }
  .galeri-cerceve { max-width: 300px; }
  .urun-bilgi, .bilgi-kutu, .elta-panel { padding: var(--s4); }
  .urun-bilgi h1 { font-size: var(--t-title); line-height: var(--lh-title); }
  .urun-fiyat .buyuk-fiyat { font-size: var(--t-display); line-height: var(--lh-display); }
  .buyut-dugme { min-height: 44px; }
  .urun-alt { margin-top: var(--s6); }
  .u-cip { min-height: 44px; }
}
@media (max-width: 640px) {
  .kanal-izgara, .bilgi-izgara { grid-template-columns: minmax(0, 1fr); }
  .bilgi-izgara > div { border-right: 0; }
  .bilgi-izgara > div:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--row-line); }
  .guven li { padding: var(--s2) var(--s1); }
  .ay-kutu { text-align: left; }
}

/* yakından incele */
.buyut { position: fixed; inset: 0; z-index: 90; background: var(--scrim); display: flex; align-items: center; justify-content: center; padding: var(--s4); animation: v3gir var(--enter) ease-out; }
.buyut-ic { width: min(720px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--bg); border-radius: var(--r-buyuk); box-shadow: var(--shadow-lg); padding: var(--s4); }
.buyut-bas { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); color: var(--heading); font-weight: 500; }
.buyut-bas .btn { min-height: 44px; }
.buyut-foto { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; margin-top: var(--s3); }
.buyut-foto img { max-height: 72vh; width: auto; object-fit: contain; }
.buyut-not { color: var(--muted); font-size: var(--t-small); text-align: center; margin-top: var(--s2); }

/* karşılaştır: başlıkta fotoğraf, farkta hafif işaret */
.kars-foto { display: block; width: 72px; margin-bottom: var(--s2); }
.kars-foto .foto.kucuk { width: 72px; height: 72px; }
.kars-tablo thead .kars-foto { padding: 0; margin: 0 0 var(--s2); }
.kars-tablo tr.fark > td, .kars-tablo tr.fark > .ilk { background: var(--bg); }
.kars-tablo tr.fark > .ilk { color: var(--heading); box-shadow: inset 2px 0 0 var(--accent); }
.aciklama i { background: none; }

/* yükleniyor, az hareket */
@media (prefers-reduced-motion: reduce) {
  #icerik > *, .serit-m.gir, .alt-sayfa, .buyut { animation: none; }
  .hero-slayt, .hero-slayt.aktif, .foto img, .kart, .set-menu-dugme svg, .hero-nokta span { transition: none; }
  .kart:hover .foto img, .set-kutu:hover .foto img { transform: none; }
}

.nw { white-space: nowrap; }
.urun-fiyat > div:first-child { flex: 1 1 240px; min-width: 0; }
.urun-fiyat .ay-kutu { flex: none; }
/* marka: büyük harf yok (İ/I sorunu; Defter kuralı) */
.kart-marka, .urun-marka { text-transform: none; letter-spacing: 0; }
/* satış kanalı satırı: ad tam görünsün, fiyat altta */
.kanal-satir { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "i a" "i f"; gap: 2px var(--s3); align-items: center; padding: var(--s3); }
.kanal-satir > .kanal-ikon { grid-area: i; align-self: start; margin-top: 2px; }
.kanal-ad { grid-area: a; }
.kanal-ad b, .kanal-ad small { white-space: normal; overflow-wrap: anywhere; }
.kanal-fiyat { grid-area: f; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 0 var(--s2); text-align: left; }
@media (max-width: 900px) {
  .galeri-cerceve { max-width: 220px; }
  /* sabit çubuklar üst üste binmesin: ürün/set sayfasında seçim sayısı sekmedeki rozette görünür */
  body.cta-var .tepsi { display: none !important; }
}
.urun-fiyat .buyuk-fiyat.yok { font-size: var(--t-title); line-height: var(--lh-title); }

/* v3 ek: alarm prototip notu, haber ver düğmesi, dar ekran üst menü */
.alarm-git { width: 100%; margin-top: var(--s2); }
.alarm-proto { display: flex; flex-direction: column; gap: 2px; margin-top: var(--s3); padding: var(--s2) var(--s3); border: 1px dashed var(--control-border); border-radius: var(--r-md); color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.alarm-proto strong { color: var(--heading); font-weight: 500; }
.alarm-ornek { color: var(--heading); font-family: var(--font-mono, "Geist Mono", ui-monospace, monospace); overflow-wrap: anywhere; }
@media (max-width: 480px) { .ust-sag .btn-secondary { padding: 0 var(--s2); font-size: var(--t-small); } }

/* ---------- şeffaf ürün görseli ve zeminler (25 Kas 2026) ---------- */
:root { --foto-zemin: #f1f4f9; }
.foto { background: transparent; }
.foto img { padding: 7%; }
.foto.fbos { background: transparent; }
.kart-foto { background: var(--foto-zemin); border-bottom: 0; }
.foto.kucuk { background: var(--foto-zemin); border-color: transparent; }
.foto.kucuk img { padding: 5px; }
.galeri-cerceve { background: var(--foto-zemin); border-radius: var(--r-buyuk); padding: var(--s6); max-width: none; }
.galeri-cerceve .foto { max-width: 420px; margin: 0 auto; }
.yan-foto { background: var(--foto-zemin); border-color: transparent; padding: 0; }
.set-kutu > .foto { background: var(--foto-zemin); border-color: transparent; }
.hero-foto { background: var(--cilt-fg); margin: 0; border-radius: 0; padding: var(--s6); }
.hero-foto .foto { max-width: 330px; }
.hero-foto .foto img { padding: 0; }
.kanal-li { display: block; min-width: 0; }
a.kanal-satir { color: inherit; text-decoration: none; transition: border-color var(--mid), background var(--mid); }
a.kanal-satir:hover { border-color: var(--border-strong); background: var(--surface-2); }
@media (max-width: 900px) {
  .hero-foto { margin: 0; padding: var(--s3); height: 188px; }
  .hero-foto .foto { width: 164px; }
  .galeri-cerceve { padding: var(--s4); }
  .galeri-cerceve .foto { max-width: 240px; }
}

/* her gün taranan siteler */
.site-izgara { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); }
.site-kutu { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: center; min-height: 56px; padding: var(--s2) var(--s3); border: 1px solid var(--border); border-radius: var(--r-kutu); background: var(--bg); color: inherit; text-decoration: none; transition: border-color var(--mid), background var(--mid); }
a.site-kutu:hover { border-color: var(--border-strong); background: var(--surface-2); }
.site-kutu .kanal-ikon { width: 28px; height: 28px; border-radius: var(--r-md); }
.site-kutu .kanal-ikon.harf { font-size: 12px; border-radius: 50%; }
.site-ad { min-width: 0; display: flex; flex-direction: column; }
.site-ad b { color: var(--heading); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-ad small { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-not { color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); margin-top: var(--s3); }
@media (max-width: 1100px) { .site-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .site-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-ek { white-space: normal; font-size: var(--t-small); line-height: 16px; max-width: 96px; } }

/* SEO/GEO içerik blokları */
.kisa-cevap { margin-top: var(--s6); border: 1px solid var(--border); border-radius: var(--r-buyuk); padding: var(--s4) var(--s6); background: var(--surface-2); }
.kisa-cevap h2 { font-size: var(--t-small); text-transform: none; color: var(--muted); margin: 0 0 var(--s2); font-weight: 500; }
.kisa-cevap p { margin: 0; color: var(--text); font-size: var(--t-section); line-height: 1.6; max-width: 80ch; }
.sss { margin-top: var(--s8); border-top: 1px solid var(--border); padding-top: var(--s6); }
.sss > h2 { margin: 0 0 var(--s4); }
.sss-s { padding: var(--s4) 0; border-bottom: 1px solid var(--row-line); max-width: 80ch; }
.sss-s h3 { margin: 0 0 var(--s2); font-size: var(--t-section); font-weight: 600; color: var(--heading); }
.sss-s p { margin: 0; color: var(--text); line-height: 1.6; }

/* elta360.com'a dönüş şeridi (sayfanın en üstü) */
.donus-serit { background: #1b2540; color: #fff; font: 500 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; }
.donus-ic { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.donus-a { display: inline-flex; align-items: center; gap: 4px; color: #fff; text-decoration: none; font-weight: 600; padding: 8px 8px 8px 0; }
.donus-a:hover { text-decoration: underline; }
.donus-a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.donus-not { color: #ffffffb3; }
@media (max-width: 560px) { .donus-not { display: none; } }

/* fiyat geçmişi */
.gecmis { margin-top: var(--s8); border: 1px solid var(--border); border-radius: var(--r-buyuk); padding: var(--s6); min-width: 0; }
.gecmis-bas { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); flex-wrap: wrap; }
.gecmis-bas h2 { margin: 0; }
.gecmis-bas p { margin: 2px 0 0; }
.gecmis-ozet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--s4); align-items: end; margin-top: var(--s4); }
.go-e, .go-a { display: block; color: var(--muted); font-size: var(--t-small); line-height: var(--lh-small); }
.go b { display: block; color: var(--heading); font-weight: 600; font-size: var(--t-section); line-height: var(--lh-section); white-space: nowrap; }
.gecmis-karar { justify-self: end; }
.gecmis-cizim { position: relative; margin-top: var(--s4); min-height: 200px; touch-action: pan-y; }
.gecmis-cizim svg { display: block; max-width: 100%; overflow: visible; }
.gecmis-bos { display: grid; place-items: center; min-height: 200px; color: var(--muted); background: var(--surface-2); border-radius: var(--r-md); }
.gc-izgara { stroke: var(--row-line); stroke-width: 1; }
.gc-tik { stroke: var(--border); }
.gc-y { fill: var(--muted); font-size: 11px; text-anchor: end; dominant-baseline: middle; font-family: var(--font-mono); }
.gc-x { fill: var(--muted); font-size: 11px; text-anchor: middle; }
.gc-cizgi { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.gc-alan { fill: color-mix(in srgb, var(--accent) 9%, transparent); }
.gc-min { fill: var(--bg); stroke: var(--success-dot); stroke-width: 2; }
.gc-min-t { fill: var(--success-fg); font-size: 11px; font-weight: 600; text-anchor: middle; font-family: var(--font-mono); }
.gc-son { fill: var(--heading); stroke: var(--bg); stroke-width: 2; }
.gc-imlec { stroke: var(--border-strong); stroke-dasharray: 3 3; }
.gc-imlec-n { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.gc-ipucu { position: absolute; top: -6px; pointer-events: none; background: var(--heading); color: var(--primary-fg); border-radius: var(--r-sm); padding: 4px 8px; font-size: var(--t-small); line-height: var(--lh-small); white-space: nowrap; box-shadow: 0 2px 8px rgb(0 0 0 / 15%); }
.gc-ipucu span { opacity: .8; margin-right: 6px; }
@media (max-width: 720px) {
  .gecmis { padding: var(--s4); margin-top: var(--s6); }
  .gecmis-ozet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
  .go b { font-size: var(--t-body); }
  .gecmis-karar { grid-column: 1 / -1; justify-self: start; }
}

/* fiyat geçmişi + şikayet yan yana */
.gecmis-sira { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s6); margin-top: var(--s8); align-items: start; }
.gecmis-sira .gecmis { margin-top: 0; }
.gecmis-sira .kutu { border-radius: var(--r-buyuk); }
@media (max-width: 900px) { .gecmis-sira { grid-template-columns: minmax(0, 1fr); gap: var(--s4); margin-top: var(--s6); } }

/* şikayet özeti */
.sikayet-kutu .kutu-ic > p:first-child { margin-top: 0; }
.sk-marka + .sk-marka, .sk-az + .sk-marka, .sk-marka + .sk-az { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--row-line); }
.sk-bas { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.sk-bas b { color: var(--heading); }
.sk-model, .sk-cozum, .sk-link { margin: var(--s2) 0 0; font-size: var(--t-small); line-height: var(--lh-small); }
.sk-konu { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s3); }
.sk-konu-ust { display: flex; justify-content: space-between; gap: var(--s2); font-size: var(--t-small); line-height: var(--lh-small); }
.sk-konu-ust b { color: var(--heading); }
.sk-cubuk { display: block; height: 6px; margin-top: 4px; border-radius: 3px; background: var(--row-line); overflow: hidden; }
.sk-cubuk span { display: block; height: 100%; background: var(--warn-dot); border-radius: 3px; }
.sk-ornek { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: 4px; font-size: var(--t-small); line-height: var(--lh-small); }
.sk-az { margin: 0; font-size: var(--t-small); line-height: var(--lh-small); }
