/* Dosya: /assets/css/style.css
   toggleclamp.net — tüm sitenin stilleri.
   Renkleri değiştirmek için yalnızca :root içindeki değişkenleri düzenleyin. */

:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --muted-bg: #E9E8E3;
  --line: #E2E1DC;
  --line-strong: #D6D5CF;
  --ink: #16181D;
  --ink-2: #474A52;
  --ink-3: #5B5E66;
  --ink-4: #8A8C92;
  --accent: #C2410C;
  --accent-ink: #FFFFFF;
  --accent-soft: #FFF4ED;
  --accent-line: #FBD5BE;
  --accent-on-dark: #F59E6B;
  --dark: #16181D;
  --dark-2: #20232A;
  --dark-line: #30333B;
  --ok: #047857;
  --err: #B91C1C;

  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: Archivo, Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 28px;
  --wrap: 1280px;
  --shadow: 0 12px 32px rgba(22, 24, 29, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.03em; line-height: 1.06; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }

.section { padding-top: 88px; padding-bottom: 88px; }
.section-sm { padding-top: 56px; padding-bottom: 56px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--dark); color: #fff; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.grid-2 { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); align-items: start; }

.eyebrow { font: 600 13px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.band-dark .eyebrow { color: var(--accent-on-dark); }
.h1 { font-weight: 800; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); }
.h3 { font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.band-dark .lead { color: #C5C7CD; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }
.prose { max-width: 760px; font-size: 17px; color: var(--ink-2); }
.prose h2 { font-size: 28px; margin: 40px 0 12px; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 28px 0 10px; color: var(--ink); }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 16px; }
.prose img { border-radius: var(--r); margin: 20px 0; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; border-radius: var(--r); min-height: 56px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #9A3412; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #F0EFEA; color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--ink-3); font: 500 14px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { color: var(--err); }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }

/* Üst menü */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo { --logo-tip: var(--accent); --logo-cut: var(--surface); }
.logo-mark { width: 44px; height: 44px; flex: none; display: flex; color: var(--ink); }
.logo-svg { width: 100%; height: 100%; display: block; }
.logo-text { font: 800 21px/1 var(--font-display); letter-spacing: -.025em; color: inherit; }
.logo-text span { color: var(--ink-4); }
.main-nav { display: flex; gap: 24px; font-weight: 500; font-size: 15px; }
.main-nav a { text-decoration: none; padding: 8px 0; white-space: nowrap; }
.main-nav a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

@media (max-width: 1480px) {
  .header-phone span { display: none; }
}
@media (max-width: 1240px) {
  .main-nav { gap: 16px; font-size: 14px; }
  .header-actions .quote-link .hide-sm { display: none; }
}
@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .header-phone { display: none; }
  .header-row { gap: 10px; min-height: 64px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 0 12px; }
  .logo-text { font-size: 18px; }
}
@media (max-width: 420px) {
  .header-actions .btn-accent { display: none; } /* sağ alttaki WhatsApp düğmesi zaten var */
}

.flash { margin: 16px 0 0; padding: 14px 18px; border-radius: var(--r); font-weight: 500; }
.flash-ok { background: #ECFDF5; color: var(--ok); border: 1px solid #A7F3D0; }
.flash-err { background: #FEF2F2; color: var(--err); border: 1px solid #FECACA; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink); }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 56px; display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-height: 560px; border-radius: var(--r-xl); background: var(--muted-bg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#DEDDD7 1px, transparent 1px), linear-gradient(90deg, #DEDDD7 1px, transparent 1px); background-size: 32px 32px; }
.hero-visual img { position: relative; width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.hero-tag { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: var(--r); padding: 14px 18px; box-shadow: 0 8px 24px rgba(22,24,29,.08); display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.hero-tag strong { font: 700 18px var(--font-display); }
@media (max-width: 600px) { .hero { padding-top: 40px; } }

/* Arama kutusu */
.search-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin: 0; border: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.search-row { display: flex; flex-wrap: wrap; gap: 8px; }
.search-input { flex: 1 1 260px; min-height: 56px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 12px; font: 500 18px var(--font-mono); color: var(--ink); background: #FAFAF8; min-width: 0; }
.search-input::placeholder { color: var(--ink-4); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; text-decoration: none; font: 500 13px var(--font-mono); }

/* Kartlar */
.card { display: flex; flex-direction: column; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); overflow: hidden; }
.cat-card { background: var(--bg); transition: transform .15s; }
.band .cat-card { background: var(--bg); }
.cat-card:hover { transform: translateY(-2px); color: var(--ink); }
.card-img { aspect-ratio: 4 / 3; background: var(--muted-bg); position: relative; display: flex; align-items: center; justify-content: center; }
.card-img img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.img-ph { color: var(--ink-4); display: flex; }
.chip { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.code-label { font: 600 12px/1.3 var(--font-mono); color: var(--ink-3); letter-spacing: .02em; }
.card-title { font: 700 19px/1.25 var(--font-display); letter-spacing: -.01em; }
.card-meta { font-size: 14px; color: var(--ink-3); }

.action-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; min-height: 172px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.action-card:hover { border-color: var(--ink); color: var(--ink); }
.action-card .no { font: 600 12px var(--font-mono); color: var(--accent); }
.action-card .t { font: 700 22px var(--font-display); letter-spacing: -.01em; }
.action-card .d { font-size: 15px; color: var(--ink-3); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar a, .filter-bar button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 600 14px var(--font); text-decoration: none; cursor: pointer; }
.filter-bar [aria-current="true"], .filter-bar [aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Muadil bandı ve tablo */
.eq-table { border-radius: 20px; background: var(--dark-2); border: 1px solid var(--dark-line); overflow: hidden; }
.eq-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 22px; border-top: 1px solid var(--dark-line); align-items: center; color: #fff; text-decoration: none; }
.eq-row:first-child { border-top: 0; }
.eq-head { background: #2A2D35; font-size: 13px; font-weight: 600; color: #A9ACB4; padding: 14px 22px; }
.eq-row .b { color: #C5C7CD; }
.eq-row .c { font: 500 15px var(--font-mono); }
.eq-row .o { font: 600 15px var(--font-mono); color: var(--accent-on-dark); }
a.eq-row:hover { background: #262930; color: #fff; }

.table-box { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.table th { background: var(--bg); text-align: left; padding: 14px 20px; font-weight: 600; white-space: nowrap; }
.table td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table td.code { font: 600 15px var(--font-mono); white-space: nowrap; }
.table td.act { text-align: right; white-space: nowrap; }
.table tr:target td { background: var(--accent-soft); }
.table .eq { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); }

/* Seçim rehberi */
.guide-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.guide-step { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.guide-step legend { padding: 0; font: 700 21px var(--font-display); letter-spacing: -.01em; display: contents; }
.guide-step .no { font: 600 12px var(--font-mono); color: var(--accent); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); font-weight: 500; font-size: 15px; }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pills span small { font: 600 12px var(--font-mono); color: var(--ink-3); margin-left: 6px; }
.pills input:checked + span small { color: #C5C7CD; }
.pills .is-empty { cursor: not-allowed; }
.pills .is-empty span { opacity: .45; text-decoration: line-through; }
.pills .pill-any span { background: transparent; border-style: dashed; }

/* Yazı kartları */
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); min-height: 180px; }
.post-card:hover { border-color: var(--ink); color: var(--ink); }
.post-card .t { font: 700 20px/1.25 var(--font-display); letter-spacing: -.01em; }

/* Ürün sayfası */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { aspect-ratio: 1 / 1; border-radius: 24px; background: var(--muted-bg); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px; }
.thumbs button { aspect-ratio: 1 / 1; border-radius: var(--r); border: 2px solid transparent; background: var(--muted-bg); padding: 0; cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
/* Ürün resmi / 3D sekmeleri */
.media-tabs { padding: 0; }
.media-tabs button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; font: 600 14px var(--font); color: var(--ink-2); cursor: pointer; }
.media-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-3d { display: flex; flex-direction: column; gap: 12px; }
.gallery-3d[hidden] { display: none; }
.viewer3d { position: relative; width: 100%; height: 540px; border-radius: 24px; overflow: hidden; background: var(--muted-bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; touch-action: none; }
.viewer3d iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
@media (max-width: 960px) { .viewer3d { height: 440px; } }
@media (max-width: 600px) { .viewer3d { height: 360px; border-radius: 18px; } }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.spec { padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.spec .l { font-size: 13px; color: var(--ink-3); }
.spec .v { font: 600 16px/1.35 var(--font); }
.eq-box { padding: 20px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid var(--accent-line); display: flex; flex-direction: column; gap: 10px; }
.eq-chip { padding: 6px 12px; border-radius: 999px; background: #fff; font: 500 14px var(--font-mono); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row > * { flex: 1 1 220px; }
.links-row { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; font-weight: 600; align-items: center; }
.links-row a { display: inline-flex; align-items: center; gap: 6px; }
.qty-form { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.qty { width: 72px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: 500 15px var(--font-mono); }
.uses { display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; list-style: none; }
.uses li { padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.uses li::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--accent); flex: none; }
.drawing { border-radius: var(--r-lg); background: var(--surface); border: 1px dashed #C9C8C1; min-height: 280px; display: flex; align-items: center; justify-content: center; padding: 16px; }

/* Formlar */
.form { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea, .field select { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; font: 400 16px var(--font); color: var(--ink); background: #fff; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
@media (max-width: 600px) { .panel { padding: 20px; } }

.empty { padding: 40px; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-strong); text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }

/* Alt bilgi */
.site-footer { background: #0E0F12; color: #C5C7CD; padding: 64px 0 40px; font-size: 14px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h2 { font: 600 14px var(--font); color: #fff; letter-spacing: 0; margin-bottom: 4px; }
.site-footer a { color: #C5C7CD; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand .logo { --logo-tip: #F26B2A; --logo-cut: #0E0F12; color: #fff; }
.footer-brand .logo-mark { color: #fff; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: #8A8C92; }
.footer-brand a { color: #fff; text-decoration: underline; }
.copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid #23262D; color: var(--ink-4); font-size: 13px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 999px; background: #128C4B; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.2); z-index: 40; }
.wa-float:hover { background: #0E6E3B; color: #fff; }

@media print {
  .site-header, .site-footer, .wa-float, .cta-row, .btn { display: none !important; }
}

/* ------------------------------------------------------------------
   Blog yazısı: beyaz kâğıt zemin, görsel solda, metin yanından akar
   ------------------------------------------------------------------ */
.post {
  min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 48px 52px; box-shadow: 0 1px 0 rgba(22,24,29,.02), 0 18px 48px rgba(22,24,29,.05);
}
.post-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-title { font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.03em; max-width: 820px; }

.post-body { max-width: none; font-size: 18px; line-height: 1.75; color: #2A2D34; }
.post-body::after { content: ""; display: block; clear: both; }
.post-figure {
  float: left; width: min(42%, 380px); margin: 6px 36px 20px 0;
  background: var(--bg); border-radius: 18px; padding: 16px; box-sizing: border-box;
}
.post-figure img { width: 100%; height: auto; margin: 0; border-radius: 10px; mix-blend-mode: multiply; }
.post-body > p:first-of-type { font-size: 19px; color: var(--ink); }
.post-body h2 { font-size: 27px; margin: 44px 0 14px; line-height: 1.2; color: var(--ink); clear: none; }
.post-body h3 { font-size: 21px; margin: 32px 0 10px; color: var(--ink); }
.post-body p { margin: 0 0 18px; }
.post-body a { color: var(--accent); text-underline-offset: 3px; }
.post-body strong { color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-body li { margin: 6px 0; padding-left: 4px; }
.post-body ul li::marker { color: var(--accent); }
.post-body blockquote { margin: 24px 0; padding: 16px 22px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); }
.post-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 20px 0; }
.post-body table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 15px; clear: both; }
.post-body th { background: var(--bg); font-weight: 600; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; white-space: nowrap; }

.post-cta {
  clear: both; margin-top: 44px; padding: 24px 28px; border-radius: 18px; background: var(--bg);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}

/* İki sütun: makale + yan sütun */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: stretch; }
.post { align-self: start; }
.post-side { display: flex; flex-direction: column; gap: 16px; }
/* Sadece son kart (fiyat teklifi) yerinde kalır; ayrı kaydırma çubuğu yok */
.side-sticky { position: sticky; top: 96px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.side-box p { font-size: 15px; color: var(--ink-2); }
.side-title { font: 700 16px/1.3 var(--font-display); letter-spacing: -.01em; }
/* WhatsApp kartı: WhatsApp yeşili (beyaz yazı okunur kalsın diye koyu ton) */
.side-box-accent { background: #0E7A41; border-color: #0E7A41; color: #fff; }
.side-box-accent p { color: #E3F2E9; }
.side-box-accent .btn-light { color: #0E7A41; }
.side-box-accent .btn-light:hover { background: #E9F7EF; color: #0B5F33; }
.side-phone { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; font-size: 15px; }
.side-phone:hover { color: #C9F0D8; }
.side-search { display: flex; gap: 6px; }
.side-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; font: 500 15px var(--font-mono); background: #FAFAF8; color: var(--ink); }
.side-search .btn { min-width: 44px; padding: 0 12px; border-radius: 12px; }
.side-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.side-products, .side-posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-products li + li, .side-posts li + li { border-top: 1px solid var(--line); }
.side-products a { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--ink); font-size: 14px; }
.side-thumb { width: 56px; height: 56px; flex: none; border-radius: 10px; background: var(--muted-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.side-thumb img { width: 85%; height: 85%; object-fit: contain; mix-blend-mode: multiply; }
.side-products a:hover strong { color: var(--accent); }
.side-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.side-cats a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--bg); text-decoration: none; font-size: 13px; font-weight: 500; }
.side-cats a:hover { background: var(--ink); color: #fff; }
.side-posts a { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.side-posts a:hover { color: var(--accent); }

@media (max-width: 1080px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
  .side-sticky { position: static; }
}
@media (max-width: 760px) {
  .post { padding: 28px 20px; border-radius: 18px; }
  .post-body { font-size: 17px; }
  .post-figure { float: none; width: 100%; margin: 0 0 24px; }
}

/* Ana sayfa: seçim rehberi tanıtım bandı */
.guide-banner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 56px; border-radius: var(--r-xl); background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--ink); text-decoration: none; position: relative; overflow: hidden;
}
.guide-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--accent-line) 1px, transparent 1px), linear-gradient(90deg, var(--accent-line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.guide-banner > * { position: relative; }
.guide-banner:hover { color: var(--ink); }
.guide-banner:hover .guide-banner-btn { background: #9A3412; }
.guide-banner:hover .guide-banner-steps li { transform: translateX(4px); }
.guide-banner-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.guide-banner .lead { color: var(--ink-2); }
.guide-banner-btn { border-radius: 999px; margin-top: 6px; }
.guide-banner-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.guide-banner-steps li {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--accent-line); box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.guide-banner-steps li:nth-child(2) { margin-left: 24px; transition-delay: .04s; }
.guide-banner-steps li:nth-child(3) { margin-left: 48px; transition-delay: .08s; }
.guide-banner-steps .n {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font: 600 13px var(--font-mono);
}
.guide-banner-steps strong { display: block; font: 700 17px var(--font-display); letter-spacing: -.01em; }
.guide-banner-steps small { display: block; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
@media (max-width: 900px) {
  .guide-banner { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; gap: 28px; }
  .guide-banner-steps li:nth-child(n) { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .guide-banner-steps li { transition: none; } }

/* Uygulama (PWA) yükleme bandı */
.app-install {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 48px rgba(22, 24, 29, .18);
  transform: translateY(24px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.app-install.is-open { transform: none; opacity: 1; }
.app-install img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.app-install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.app-install-text strong { color: var(--ink); font-size: 15px; line-height: 1.3; }
@media (max-width: 420px) { .app-install { gap: 10px; padding: 10px 6px 10px 10px; } .app-install img { width: 40px; height: 40px; } .app-install .btn { padding: 0 14px; } }
.app-install .btn { flex: none; border-radius: 999px; }
.app-install-x { flex: none; width: 36px; height: 36px; border: 0; background: none; color: var(--ink-4); font-size: 24px; line-height: 1; cursor: pointer; border-radius: 999px; }
.app-install-x:hover { background: var(--muted-bg); color: var(--ink); }
.app-install:not([hidden]) ~ .wa-float { bottom: 128px; }
@media (prefers-reduced-motion: reduce) { .app-install { transition: none; } }
/* Uygulama olarak açıldığında (ana ekrandan) */
.is-app .site-header { padding-top: env(safe-area-inset-top); }
.is-app .wa-float { bottom: calc(20px + env(safe-area-inset-bottom)); }

/* Ürün sayfası: model seçimi + fiyat kutusu */
.buy-box { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.model-pick { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.model-pick-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; width: 100%; padding: 0; font-size: 14px; }
.model-pick-title { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1.2 var(--font-display); color: var(--ink); }
.model-pick-head a { color: inherit; }
.step-dot { flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font: 600 13px var(--font-mono); }
.model-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.model-chip { position: relative; cursor: pointer; }
.model-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.model-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--surface); font: 600 15px var(--font-mono); color: var(--ink);
  transition: border-color .15s, background .15s, color .15s;
}
.model-chip:hover span { border-color: var(--ink-3); }
.model-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.model-chip input:focus-visible + span { outline: 3px solid var(--accent-line); outline-offset: 2px; }
.model-picked { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--muted-bg); font-size: 14px; color: var(--ink-2); }
.model-hint { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: #9A3412; font-size: 14px; font-weight: 500; }
.model-hint.is-error { animation: hint-shake .4s ease; }
@keyframes hint-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .model-hint.is-error { animation: none; } }
.buy-row { display: flex; align-items: center; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 16px; }
.buy-row .qty { width: 84px; min-height: 44px; }
.buy-selected { font: 600 15px var(--font-mono); color: var(--ink-4); }
.buy-selected.is-set { color: var(--ink); }
.buy-selected.is-set::before { content: "Seçili model: "; font-family: var(--font); font-weight: 400; color: var(--ink-3); }
.code-pick { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.code-pick:hover { text-decoration-color: var(--accent); }
.table tr.is-selected td { background: var(--accent-soft); }
.table tr.is-selected td.code { box-shadow: inset 3px 0 0 var(--accent); }
.buy-qty-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* Mobil uygulama sayfası (/uygulama) */
.app-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.app-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.app-features li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.app-features svg { flex: none; margin-top: 3px; color: var(--accent); }
.app-cta { border-radius: 999px; align-self: flex-start; }
.app-installed { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--ok); font-weight: 600; }
.app-qr { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 32px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.app-qr img { width: 220px; height: 220px; border-radius: 12px; }
.app-qr strong { font: 700 20px var(--font-display); }
.app-platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.app-platform { display: flex; flex-direction: column; gap: 16px; transition: box-shadow .2s, border-color .2s; }
.app-platform.is-current { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); order: -1; }
.app-platform.is-flash { animation: app-flash 1.2s ease; }
@keyframes app-flash { 0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); } 40% { box-shadow: 0 0 0 8px var(--accent-line); } }
.app-platform-head { display: flex; align-items: center; gap: 14px; }
.app-platform-head > div { flex: 1; display: flex; flex-direction: column; }
.app-os { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.app-yours { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.app-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.app-steps li::marker { font-family: var(--font-mono); font-weight: 600; color: var(--accent); }
@media (max-width: 900px) { .app-hero { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .app-platform.is-flash { animation: none; } }

/* Alt bilgi: "Telefonunuzdan bakın" rozetleri */
.app-badge-row { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.site-footer .app-badge-row, .site-footer .app-badge-row * { text-decoration: none; }
.app-badge-title { font-size: 13px; color: #A9ACB4; }
.app-badges { display: flex; flex-wrap: nowrap; gap: 8px; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; white-space: nowrap; border-radius: 12px; border: 1px solid #3A3D45; background: #16181D; color: #fff; transition: border-color .15s; }
.app-badge span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 15px; }
.app-badge small { font-size: 11px; font-weight: 400; color: #A9ACB4; }
.app-badge-row:hover .app-badge { border-color: #F26B2A; }

/* Karşılaştırma */
.compare-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.compare-link.is-on, .compare-row-btn.is-on { color: var(--accent); }
.compare-row-btn { border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink-2); }
.compare-row-btn.is-on { border-color: var(--accent); background: var(--accent-soft); }

.compare-tray {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 55;
  display: flex; align-items: center; gap: 12px; width: min(560px, calc(100% - 32px));
  padding: 10px 10px 10px 14px; border-radius: 16px; background: var(--ink); color: #fff;
  box-shadow: 0 18px 48px rgba(22, 24, 29, .28);
}
.compare-tray-icon { flex: none; color: #F26B2A; display: flex; }
.compare-tray-text { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compare-tray-text .muted { color: #A9ACB4; margin-left: 6px; font-family: var(--font-mono); font-size: 13px; }
.compare-tray.is-msg .compare-tray-text .muted { color: #F59E6B; font-family: var(--font); }
.compare-tray .btn { flex: none; border-radius: 999px; }
.compare-tray .app-install-x { color: #A9ACB4; }
.compare-tray .app-install-x:hover { background: #2A2D34; color: #fff; }
.app-install:not([hidden]) ~ .compare-tray { bottom: 124px; }
@media (max-width: 700px) { .compare-tray:not([hidden]) ~ .wa-float { bottom: 96px; } }
.app-install:not([hidden]) ~ .compare-tray:not([hidden]) ~ .wa-float { bottom: 196px; }

.compare-add { display: flex; gap: 8px; align-items: center; }
.compare-add input { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; font: 500 15px var(--font-mono); width: 220px; background: #fff; }
.compare-diff-toggle { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.compare-diff-toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
.compare-box { overflow-x: auto; }
.compare-table { table-layout: fixed; min-width: calc(180px + var(--n) * 200px); }
.compare-table th[scope="row"] { position: sticky; left: 0; z-index: 1; width: 180px; background: var(--surface); font-weight: 600; color: var(--ink-3); font-size: 14px; text-align: left; }
.compare-table td { font-family: var(--font-mono); font-size: 14px; white-space: normal; vertical-align: top; }
.compare-table .compare-corner { position: sticky; left: 0; z-index: 2; background: var(--surface); width: 180px; }
.compare-table th.compare-head { position: relative; vertical-align: top; text-align: left; font-weight: 400; white-space: normal; text-transform: none; letter-spacing: 0; }
.compare-prod { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.compare-img { width: 100%; aspect-ratio: 1; max-width: 160px; border-radius: 12px; background: var(--muted-bg); display: grid; place-items: center; overflow: hidden; color: var(--ink-4); }
.compare-img img { width: 100%; height: 100%; object-fit: contain; }
.compare-code { font: 700 20px var(--font-mono); }
.compare-name { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.compare-remove { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; text-decoration: none; color: var(--ink-3); background: var(--surface); border: 1px solid var(--line); font-size: 20px; line-height: 1; }
.compare-remove:hover { color: var(--err); border-color: var(--err); }
.compare-table tr.is-diff td { color: var(--ink); font-weight: 600; }
.compare-table tr.is-same td { color: var(--ink-4); }
.compare-table tr.is-diff th[scope="row"]::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: var(--accent); margin-right: 8px; vertical-align: 2px; }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th[scope="row"] { background: var(--accent-soft); }
.compare-table.only-diff tr.is-same { display: none; }
.compare-actions td { font-family: var(--font); }
@media (max-width: 700px) {
  .compare-table { min-width: calc(120px + var(--n) * 160px); }
  .compare-table th[scope="row"], .compare-table .compare-corner { width: 120px; }
  .compare-add { width: 100%; } .compare-add input { flex: 1; width: auto; }
}
.compare-dot { display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: var(--accent); vertical-align: 1px; }

/* Karşılaştırma: kartlar, menü, kategori */
.card-wrap { position: relative; display: flex; flex-direction: column; }
.card-wrap > .card { flex: 1; }
.card-compare {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .92); color: var(--ink-2); font: 600 13px var(--font); cursor: pointer;
  backdrop-filter: blur(4px); transition: background .15s, color .15s, border-color .15s;
}
.card-compare:hover { border-color: var(--ink-3); color: var(--ink); }
.card-compare.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.card-compare.is-on svg { display: none; }
.card-compare.is-on span::before { content: "✓ "; }
.nav-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 12px var(--font-mono); vertical-align: 1px; }
.compare-cta { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; color: var(--ink); text-decoration: none; }
.compare-cta svg { color: var(--accent); }
.compare-cta .muted { font-weight: 400; font-size: 14px; }
.compare-cta:hover span:first-of-type { text-decoration: underline; }
.compare-swap { margin-top: 8px; min-height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font: 500 14px var(--font-mono); max-width: 100%; }

/* Muadil sonuçları */
.eq-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.eq-card { display: flex; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.eq-img { flex: none; width: 120px; height: 120px; border-radius: 12px; background: var(--muted-bg); display: grid; place-items: center; overflow: hidden; color: var(--ink-4); }
.eq-img img { width: 100%; height: 100%; object-fit: contain; }
.eq-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eq-code { font: 700 24px var(--font-mono); color: var(--ink); text-decoration: none; }
a.eq-code:hover { color: var(--accent); }
.eq-body .muted { font-size: 14px; line-height: 1.4; }
.eq-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.eq-actions .btn { border-radius: 10px; }
@media (max-width: 480px) { .eq-img { width: 84px; height: 84px; } .eq-code { font-size: 20px; } }

/* Ürün sayfası: muadil aramasından gelindi */
.eq-banner { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.eq-banner-k { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 12px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; }
.eq-banner strong { font-size: 15px; line-height: 1.4; }
.eq-banner .mono { font-family: var(--font-mono); }
.eq-banner a { font-size: 14px; color: var(--ink-2); }
.buy-box input[type="hidden"][name="kod"] + .buy-row { border-top: 0; padding-top: 0; }

/* =====================================================================
   TELEFON: uygulama görünümü (alt sekme çubuğu, sade başlık, sıkı düzen)
   ===================================================================== */
.m-only, .tabbar, .m-sheet { display: none; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); align-items: center; justify-content: center; text-decoration: none; }
.icon-btn-wa { background: #128C4B; border-color: #128C4B; color: #fff; }
.btn-wa { background: #128C4B; color: #fff; border-color: #128C4B; }
.btn-wa:hover { background: #0E7A41; color: #fff; }

@media (max-width: 760px) {
  :root { --tabbar-h: 62px; }
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  html.sheet-open { overflow: hidden; }

  /* Başlık: logo + ara + WhatsApp */
  .site-header { padding-top: env(safe-area-inset-top); }
  .header-row { min-height: 56px; gap: 8px; }
  .logo { gap: 8px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text { font-size: 17px; }
  .header-actions .quote-link, .header-actions .btn-accent, .menu-toggle, .main-nav, .header-phone { display: none !important; }
  .m-only { display: inline-flex; }
  .wa-float { display: none; }

  /* Alt sekme çubuğu */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; padding: 6px 0 4px; color: var(--ink-3); font: 500 11px var(--font); text-decoration: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar [aria-current="page"], .tabbar [aria-expanded="true"] { color: var(--accent); font-weight: 600; }
  .tab-ico { position: relative; display: flex; }
  .tab-badge { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 11px/18px var(--font-mono); text-align: center; }

  /* Menü sayfası (alttan açılır) */
  .m-sheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 80; }
  .m-sheet-backdrop { position: absolute; inset: 0; background: rgba(22, 24, 29, .45); opacity: 0; transition: opacity .2s; }
  .m-sheet-panel {
    position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 22px 22px 0 0;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s ease;
    max-height: 85vh; overflow-y: auto;
  }
  .m-sheet.is-open .m-sheet-backdrop { opacity: 1; }
  .m-sheet.is-open .m-sheet-panel { transform: none; }
  .m-sheet-grip { display: block; width: 40px; height: 5px; border-radius: 99px; background: var(--line-strong); margin: 0 auto 10px; }
  .m-sheet-list { display: flex; flex-direction: column; }
  .m-sheet-list a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
  .m-sheet-list a svg { color: var(--accent); }
  .m-sheet-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .m-sheet-cta .btn { border-radius: 14px; }

  /* Alttaki bantlar sekme çubuğunun üstünde dursun */
  .app-install { bottom: calc(var(--tabbar-h) + 10px + env(safe-area-inset-bottom)); }
  .compare-tray { bottom: calc(var(--tabbar-h) + 10px + env(safe-area-inset-bottom)); }
  .app-install:not([hidden]) ~ .compare-tray { bottom: calc(var(--tabbar-h) + 104px + env(safe-area-inset-bottom)); }

  /* Genel sıkılaştırma */
  .section { padding-top: 36px; padding-bottom: 36px; }
  .section-sm { padding-top: 24px; padding-bottom: 24px; }
  .stack-lg { gap: 20px; }
  .h1 { font-size: 32px !important; line-height: 1.08; }
  .h2 { font-size: 26px !important; }
  .h3 { font-size: 20px !important; }
  .lead { font-size: 16px; }
  .crumbs { padding-top: 12px; font-size: 13px; }
  .row-between { gap: 12px; }

  /* Yatay kaydırılan çip / filtre sıraları */
  .filter-bar, .hero .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .filter-bar::-webkit-scrollbar, .hero .chips::-webkit-scrollbar { display: none; }
  .filter-bar a, .filter-bar button { flex: none; min-height: 38px; padding: 0 14px; }
  .hero .chips > * { flex: none; }

  /* Ana sayfa */
  .hero { padding-top: 20px; padding-bottom: 20px; gap: 16px; }
  .hero-copy { gap: 14px; }
  .hero-copy .lead { display: none; }
  .hero-visual { display: none; }
  .search-input { min-height: 50px; font-size: 16px; }
  .quick-section { padding-bottom: 8px; }
  .quick-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .quick-grid .action-card { min-height: 0; padding: 14px; gap: 4px; border-radius: 16px; }
  .quick-grid .action-card .t { font-size: 16px; }
  .quick-grid .action-card .d { display: none; }
  .quick-grid .action-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .band-dark.section { padding-top: 32px; padding-bottom: 32px; }
  .band-dark .grid-2 { gap: 20px !important; }
  .guide-banner { padding: 20px 16px; border-radius: 20px; }
  .guide-banner-steps li { padding: 12px 14px; }

  /* Ürün / kategori kartları: iki sütun, kısa */
  .grid:has(> .cat-card), .grid:has(> .card-wrap) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .card-img { aspect-ratio: 1 / 1; }
  .card-body { padding: 10px 12px 12px; gap: 2px; }
  .card-title { font-size: 15px; line-height: 1.25; }
  .card-meta { font-size: 12px; }
  .card-body .code-label { font-size: 10px; }
  .cat-card .tag, .card-img .tag { font-size: 11px; }
  .card-compare { top: 8px; right: 8px; min-height: 30px; padding: 0 9px; }
  .card-compare span { display: none; }
  .card-compare.is-on span { display: inline; font-size: 0; }
  .card-compare.is-on span::before { font-size: 13px; }

  /* Alt bilgi sade: menü artık alttaki çubukta */
  .site-footer { padding: 32px 0 24px; }
  .footer-grid > div:not(.footer-brand) { display: none; }
}

/* Masaüstünde gizli, telefonda görünen parçalar */
.action-card .ic, .m-models-toggle, .m-buybar { display: none; }

@media (max-width: 760px) {
  /* Ana sayfa: simgeli hızlı erişim, gereksiz bantlar gizli */
  .quick-grid .action-card { flex-direction: row; align-items: center; gap: 12px; }
  .quick-grid .action-card .no { display: none; }
  .quick-grid .action-card .ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
  .quick-grid .action-card .t { font-size: 15px; line-height: 1.2; }
  .home-eq-band { display: none; } /* Muadil artık alttaki sekmede ve aramada */
  .guide-banner .lead, .guide-banner-steps small { display: none; }
  .guide-banner-steps { gap: 8px; }
  .post-card { min-height: 0; padding: 16px; gap: 8px; }
  .post-card .t { font-size: 17px; }
  .search-row { flex-wrap: nowrap; }
  .search-row .search-input { flex: 1 1 auto; }
  .search-row .btn { flex: none; padding: 0 16px; }

  /* Kategori sayfası: büyük kategori görseli yerine doğrudan ürünler */
  .grid-2 > .gallery-main { display: none; }

  /* Ürün sayfası */
  .gallery-main { max-height: 260px; }
  .gallery-main img { max-height: 240px; }
  section:has(.gallery) .lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .spec { padding: 12px; }
  .spec .v { font-size: 15px; }
  .buy-box { padding: 16px; }
  #modeller .h2 { font-size: 22px !important; }

  /* Model tablosu: kart görünümü, varsayılan kapalı */
  .m-models-toggle { display: inline-flex; border-radius: 14px; }
  .models-box.is-collapsible:not(.is-open) { display: none; }
  .models-box { border: 0; background: none; overflow: visible; }
  .models-table, .models-table tbody { display: block; width: 100%; min-width: 0 !important; }
  .models-table thead { display: none; }
  .models-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; padding: 14px; margin-bottom: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
  .models-table td { display: flex; flex-direction: column; gap: 1px; padding: 0; border: 0; font-size: 14px; white-space: normal; background: none !important; text-align: left; min-width: 0; overflow-wrap: anywhere; }
  .models-table td::before { content: attr(data-label); font: 500 11px var(--font); color: var(--ink-4); text-transform: none; }
  .models-table td.code { grid-column: 1 / -1; font-size: 18px; }
  .models-table td.code::before { display: none; }
  .models-table td.act { grid-column: 1 / -1; margin-top: 6px; }
  .models-table td.act::before { display: none; }
  .models-table .qty-form { justify-content: stretch; flex-wrap: wrap; }
  .models-table td.code { align-items: flex-start; }
  .models-table .qty-form .btn-dark { flex: 1; }
  .models-table tr.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

  /* Hızlı fiyat çubuğu (sekme çubuğunun üstünde) */
  .m-buybar:not([hidden]) {
    display: flex; align-items: center; gap: 8px; position: fixed; left: 8px; right: 8px; z-index: 60;
    bottom: calc(var(--tabbar-h) + 8px + env(safe-area-inset-bottom));
    padding: 8px 8px 8px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(22, 24, 29, .18);
  }
  .m-buybar-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .m-buybar-txt .muted { font-size: 11px; }
  .m-buybar-txt strong { font: 700 16px var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-buybar-txt strong.is-empty { font: 600 14px var(--font); color: var(--accent); }
  .m-buybar .btn { flex: none; border-radius: 12px; padding: 0 12px; min-height: 42px; }
  html.has-buybar .compare-tray { bottom: calc(var(--tabbar-h) + 76px + env(safe-area-inset-bottom)); }
}
