/* Mercure Auto — vitrin teması (mercure-tema/TEMA.md) */

:root {
  /* Zemin ve yüzeyler */
  --bg:            #0F0E0C;
  --surface-1:     #1A1815;
  --surface-2:     #24211D;
  --surface-hover: #211E1A;
  --line:          #2F2B26;
  --line-strong:   #3A352E;

  /* Metin */
  --text:          #F2EDE4;
  --text-soft:     #CFC7BA;
  --text-muted:    #A39C90;

  /* Vurgu */
  --gold:          #C9A86A;
  --gold-light:    #E3C88F;
  --on-gold:       #15130F;

  /* Durum */
  --ok:            #8FD3AA;
  --wa-bubble:     #1E3A2A;

  /* Ölçüler */
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --container: 1360px;
  --gutter: 40px;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --spot: radial-gradient(ellipse at 50% 42%, #3A342C 0%, #24211D 55%, #1C1A17 100%);
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.serif { font-family: var(--serif); font-weight: 400; }
.serif em, .hero__baslik em, .bolum-baslik em, .sayfa__baslik em, .detay__baslik em { font-style: italic; color: var(--gold-light); }
.gizli { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.soluk { color: var(--text-muted); }
.atla { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: var(--radius-pill); font-weight: 600; }
.atla:focus { top: 16px; }

.kap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.yalniz-mobil { display: none !important; }

/* Büyük harfli etiket + altın çizgi (hero üst satır, detay marka/model satırı) */
.ust-satir {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft);
}
.ust-satir__cizgi { width: 36px; height: 1px; background: var(--gold); flex: none; }
.etiket { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Butonlar (§4.5) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--altin { background: var(--gold); color: var(--on-gold); }
.btn--altin:hover { background: var(--gold-light); }
.btn--ikincil { background: transparent; border: 1px solid var(--line-strong); color: var(--text); height: 54px; font-weight: 500; }
.btn--ikincil:hover { border-color: var(--gold); }
.btn--kucuk { height: 46px; padding: 0 20px; font-size: 14px; }
.btn--blok { width: 100%; }

.btn-ikon {
  width: 46px; height: 46px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .2s ease, background-color .2s ease;
}
.btn-ikon:hover { border-color: var(--gold); }
.btn-ikon--cam { border-color: rgba(242,237,228,.25); background: rgba(15,14,12,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.btn-metin { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 500; color: var(--gold-light); }
.btn-metin:hover { color: var(--text); }

.sayac {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--gold); color: var(--on-gold);
  font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1;
}

/* ---------- Üst menü (§4.1) ---------- */
.ust { position: relative; z-index: 20; }
.ust--seffaf { position: absolute; top: 0; left: 0; right: 0; }
.ust--duz { background: var(--bg); border-bottom: 1px solid var(--line); }
.ust__ic { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 96px; }
.ust__logo img { height: 52px; width: auto; filter: invert(1); }
.ust__nav { display: flex; gap: 36px; font-size: 15px; color: var(--text); }
.ust__nav a { padding: 12px 0; transition: color .2s ease; }
.ust__nav a:hover { color: var(--gold-light); }
.ust__eylem { display: flex; align-items: center; gap: 12px; }

.btn-liste {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 12px 0 18px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500;
  transition: border-color .2s ease;
}
.btn-liste:hover { border-color: var(--gold); }
.btn-liste--cam { background: rgba(15,14,12,.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(242,237,228,.28); }
.btn-liste__ikon { display: none; }

/* ---------- Hero (§5.1) ---------- */
.hero { position: relative; min-height: 820px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__fotolar { position: absolute; inset: 0; z-index: -2; }
.hero__foto { position: absolute; inset: 0; opacity: 0; }
.hero__foto.is-aktif { opacity: 1; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__foto--mercedes-benz img { object-position: 60% 55%; }
.hero__foto--bmw img { object-position: 60% 50%; }
.hero__karartma {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,14,12,.65) 0%, rgba(15,14,12,0) 22%, rgba(15,14,12,0) 62%, #0F0E0C 100%),
    linear-gradient(90deg, rgba(15,14,12,.94) 0%, rgba(15,14,12,.72) 38%, rgba(15,14,12,.15) 70%, rgba(15,14,12,.35) 100%);
}
.hero__ic { padding-top: 200px; padding-bottom: 72px; }
.hero__ic .ust-satir { margin-bottom: 28px; }
.hero__baslik { font-size: 132px; line-height: .92; letter-spacing: -.02em; margin-bottom: 32px; }
.hero__metin { max-width: 480px; font-size: 18px; font-weight: 300; line-height: 1.65; color: var(--text-soft); margin-bottom: 40px; }

/* Marka anahtarı (§4.2) */
.marka-anahtar {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  width: 460px; max-width: 100%; padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242,237,228,.22);
  background: rgba(15,14,12,.45);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.marka-anahtar__gosterge {
  position: absolute; top: 6px; bottom: 6px; left: 6px;
  width: calc(50% - 6px);
  border-radius: var(--radius-pill); background: var(--gold);
  transform: translateX(0);
}
.marka-anahtar__gosterge.is-sag { transform: translateX(100%); }
.marka-anahtar button {
  position: relative; z-index: 1; height: 52px; border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 500; color: var(--text);
  transition: color .3s ease;
}
.marka-anahtar button[aria-pressed="true"] { color: var(--on-gold); font-weight: 600; }

/* Hizmet şeridi (§4.6) */
.hero__serit { display: flex; align-items: center; gap: 24px; padding-bottom: 36px; }
.hizmet {
  flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 24px;
  padding-top: 24px; border-top: 1px solid rgba(242,237,228,.18);
  font-size: 14px; color: var(--text-soft);
}
.hizmet li { display: flex; align-items: center; gap: 14px; }
.egik { width: 6px; height: 18px; background: var(--gold); transform: skewX(-20deg); flex: none; }
.hero__asagi { margin-top: 24px; }

/* ---------- Katalog ---------- */
.katalog { padding-top: 72px; padding-bottom: 96px; }
.katalog__bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.bolum-baslik { font-size: 60px; line-height: 1; letter-spacing: -.01em; }

.ara { position: relative; width: 400px; max-width: 100%; }
.ara__ikon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.ara input {
  width: 100%; height: 52px; padding: 0 20px 0 52px;
  border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface-1);
  font-size: 15px; color: var(--text); outline: none;
  transition: border-color .2s ease;
}
.ara input::placeholder { color: var(--text-muted); }
.ara input:focus { border-color: var(--gold); }
.ara input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }

.katalog__filtre { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.katalog__sayi { flex: none; font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Model çipleri (§4.3) */
.cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.cip {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px;
  border-radius: var(--radius-pill); border: 1px solid var(--line-strong);
  background: transparent; color: var(--text); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
a.cip:hover { border-color: var(--gold); }
.cip.is-aktif { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.cip--statik { height: 36px; padding: 0 14px; font-size: 13px; color: var(--text-soft); }

/* Ürün ızgarası ve kart (§4.4) */
.izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.kart {
  display: flex; flex-direction: column;
  background: var(--surface-1); border-radius: var(--radius-lg); padding: 10px;
  transition: background-color .2s ease;
}
.kart:hover { background: var(--surface-hover); }
.kart__link { display: block; flex: 1; }
.sahne { background: var(--spot); }
.kart__gorsel { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.kart__gorsel img { width: 100%; height: 100%; object-fit: cover; }
.kart__gorsel img.cizim, .galeri__gorsel.cizim { object-fit: contain; padding: 14%; }
.kart__gorselsiz { font-size: 13px; color: var(--text-muted); }
.kart__model { margin: 16px 8px 4px; font-size: 13px; color: var(--text-muted); }
.kart__ad { margin: 0 8px; font-size: 17px; font-weight: 500; line-height: 1.35; }
.kart__alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 8px 6px; }
.kart__fiyat { font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.fiyat-sor { font-size: 14px; font-weight: 500; color: var(--gold-light); }

.btn-ekle {
  position: relative; width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-light);
  transition: background-color .2s ease, color .2s ease;
}
.btn-ekle:hover { background: var(--gold); color: var(--on-gold); }
.btn-ekle__tamam { display: none; }
.btn-ekle.is-eklendi { background: var(--gold); color: var(--on-gold); }
.btn-ekle.is-eklendi .btn-ekle__arti { display: none; }
.btn-ekle.is-eklendi .btn-ekle__tamam { display: block; }

.bos { padding: 48px 0; text-align: center; color: var(--text-soft); }
.bos a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* Şasi bandı */
.sasi {
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  background: var(--surface-1); border-radius: var(--radius-xl);
  margin-bottom: 96px;
}
.sasi__foto { min-height: 380px; }
.sasi__foto img { width: 100%; height: 100%; object-fit: cover; }
.sasi__metin { padding: 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.sasi__metin p { max-width: 440px; font-size: 17px; font-weight: 300; line-height: 1.7; color: var(--text-soft); margin-bottom: 8px; }
.sasi .bolum-baslik { font-size: 54px; }

/* ---------- Ürün detay (§5.2) ---------- */
.detay { padding-top: 32px; padding-bottom: 96px; }
.geri { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: 20px; font-size: 14px; color: var(--text-muted); transition: color .2s ease; }
.geri:hover { color: var(--text); }
.detay__ic { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.galeri { flex: 1 1 520px; min-width: 0; }
.galeri__sahne { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.galeri__gorsel {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(.97);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.galeri__gorsel.is-aktif { opacity: 1; transform: none; }
.galeri__kucukler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.galeri__kucuk { aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden; border: 1px solid transparent; transition: border-color .2s ease; }
.galeri__kucuk img { width: 100%; height: 100%; object-fit: cover; }
.galeri__kucuk[aria-pressed="true"] { border-color: var(--gold); }

.bilgi { flex: 1 1 420px; min-width: 0; }
.bilgi .ust-satir { margin-bottom: 20px; text-transform: none; letter-spacing: .02em; font-size: 14px; }
.detay__baslik { font-size: 76px; line-height: .95; letter-spacing: -.01em; margin-bottom: 28px; overflow-wrap: anywhere; }
.detay__fiyat { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.fiyat { font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; }
.fiyat-sor--buyuk { font-size: 20px; }
.stok { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.stok--var { color: var(--ok); }
.stok--yok { color: var(--text-muted); }
.stok .nokta { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

.oem {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 0; margin-bottom: 28px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.oem__etiket { font-size: 14px; color: var(--text-muted); }
.oem__no { flex: 1; font-size: 17px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

.siparis { display: flex; gap: 12px; margin-bottom: 12px; }
.siparis__wa { flex: 1; height: 58px; }
.adet {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  padding: 4px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong);
}
.adet button {
  width: 48px; height: 48px; border-radius: 50%; background: var(--surface-1);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease;
}
.adet button:hover { background: var(--surface-2); }
.adet output { min-width: 32px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.detay__listeye { margin-bottom: 36px; }

.uyumlu { margin-bottom: 32px; }
.uyumlu .etiket { margin-bottom: 14px; }
.uyumlu__model { font-size: 15px; color: var(--text); margin: 14px 0 8px; }
.uyumlu__cipler { display: flex; flex-wrap: wrap; gap: 8px; }

.aciklama { max-width: 560px; font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--text-soft); }
.aciklama > * + * { margin-top: 12px; }
.aciklama ul { list-style: disc; padding-left: 20px; }
.aciklama ol { list-style: decimal; padding-left: 20px; }
.aciklama a { color: var(--gold-light); text-decoration: underline; }
.aciklama img { height: auto; border-radius: var(--radius-md); }
.aciklama table { width: 100%; border-collapse: collapse; font-size: 14px; }
.aciklama td, .aciklama th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.aciklama * { color: inherit !important; background: transparent !important; font-family: inherit !important; }

/* ---------- Basit sayfalar ---------- */
.sayfa { padding-top: 64px; padding-bottom: 120px; }
.sayfa--orta { min-height: 60vh; }
.sayfa .ust-satir { margin-bottom: 24px; }
.sayfa__baslik { font-size: 76px; line-height: .95; letter-spacing: -.01em; margin-bottom: 28px; }
.sayfa__metin { max-width: 520px; font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--text-soft); margin-bottom: 36px; }
.sayfa__icerik { max-width: 760px; }
.sayfa__eylem { display: flex; flex-wrap: wrap; gap: 12px; }
.adimlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0 48px; }
.adimlar li { display: flex; gap: 20px; padding: 28px; background: var(--surface-1); border-radius: var(--radius-lg); }
.adimlar__no { font-size: 56px; line-height: .8; color: var(--gold-light); }
.adimlar h2 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.adimlar p { font-size: 15px; font-weight: 300; color: var(--text-soft); }
.iletisim { display: grid; gap: 20px; margin-top: 48px; max-width: 520px; }
.iletisim dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.iletisim dd { font-size: 17px; }

/* ---------- Footer ---------- */
.alt { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--text-muted); }
.alt__ic { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.alt__logo img { height: 40px; width: auto; filter: invert(1); }
.alt__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.alt__nav a, .alt__bilgi a { min-height: 44px; display: inline-flex; align-items: center; transition: color .2s ease; }
.alt__nav a:hover, .alt__bilgi a:hover { color: var(--text); }
.alt__bilgi { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.alt__bilgi span, .alt__bilgi a { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Mobil alt sekme çubuğu (§4.8) ---------- */
.sekme { display: none; }

/* ---------- Sipariş listesi (§5.5) ---------- */
.liste-ort { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); }
.liste {
  position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100%;
  display: flex; flex-direction: column;
  background: var(--bg); border-left: 1px solid var(--line);
}
.liste__tutamak { display: none; }
.liste__bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px 16px; }
.liste__bas h2 { font-size: 36px; line-height: 1; }
.liste__govde { flex: 1; overflow-y: auto; padding: 0 24px 24px; overscroll-behavior: contain; }
.liste__satirlar { display: flex; flex-direction: column; }
.liste__satir { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.liste__gorsel { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--spot); }
.liste__gorsel img { width: 100%; height: 100%; object-fit: cover; }
.liste__ad { font-size: 15px; font-weight: 500; line-height: 1.35; }
.liste__ad a:hover { color: var(--gold-light); }
.liste__model { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.liste__fiyat { font-size: 15px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.liste__fiyat--sor { color: var(--gold-light); font-size: 13px; font-weight: 500; }
.liste__adet { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.liste__adet button { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-1); display: inline-flex; align-items: center; justify-content: center; }
.liste__adet button:hover { background: var(--surface-2); }
.liste__adet output { font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.liste__bos { padding: 32px 0; color: var(--text-soft); }
.liste__bos a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.liste__ek { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.liste__ek textarea {
  width: 100%; resize: vertical; min-height: 64px; padding: 12px 16px;
  border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-1);
  font-size: 15px; outline: none;
}
.liste__ek textarea:focus { border-color: var(--gold); }
.liste__ek textarea::placeholder { color: var(--text-muted); }
.liste__ek .etiket:not(:first-child) { margin-top: 10px; }
.wa-balon {
  align-self: flex-end; max-width: 92%;
  background: var(--wa-bubble); color: var(--text);
  border-radius: 18px 18px 4px 18px; padding: 12px 14px;
  font-size: 14px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere;
}
.liste__alt { padding: 16px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.liste__toplam { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--text-muted); }
.liste__toplam strong { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.liste__toplam strong small { font-family: var(--sans); font-size: 13px; color: var(--gold-light); display: block; }
body.liste-acik { overflow: hidden; }

/* ---------- Hareket (§6) ---------- */
.bg   { transition: opacity .9s ease; }
@keyframes kb   { from { transform: scale(1.1) } to { transform: scale(1) } }
.kb   { animation: kb 9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { transform: translateY(28px); opacity: 0 } to { transform: none; opacity: 1 } }
.r1 { animation: rise 1s .20s cubic-bezier(.2,.8,.2,1) both; }
.r2 { animation: rise 1s .45s cubic-bezier(.2,.8,.2,1) both; }
.r3 { animation: rise 1s .70s cubic-bezier(.2,.8,.2,1) both; }
.r4 { animation: rise 1s .95s cubic-bezier(.2,.8,.2,1) both; }
.sw { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
@keyframes cue  { 0%,100% { transform: translateY(0) } 50% { transform: translateY(10px) } }
.cue { animation: cue 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg, .sw, .galeri__gorsel { transition: none; }
  .kb, .r1, .r2, .r3, .r4, .cue { animation: none; }
}

/* ---------- Duyarlı (§7) ---------- */
@media (max-width: 1199px) {
  .hero__baslik { font-size: 88px; }
  .izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bolum-baslik { font-size: 54px; }
  .detay__baslik, .sayfa__baslik { font-size: 64px; }
  .ust__nav { gap: 24px; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .yalniz-mobil { display: revert !important; }
  .yalniz-masaustu { display: none !important; }
  body { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

  .ust__ic { height: 72px; }
  .ust__logo img { height: 44px; }
  .ust__nav, .ust__yaz { display: none; }
  .btn-liste { width: 46px; padding: 0; justify-content: center; position: relative; }
  .btn-liste__yazi { display: none; }
  .btn-liste__ikon { display: inline-flex; }
  .btn-liste .sayac { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; font-size: 11px; }

  .hero { min-height: 720px; }
  .hero__foto--mercedes-benz img { object-position: 40% 70%; }
  .hero__foto--bmw img { object-position: 50% 40%; }
  .hero__karartma { background: linear-gradient(180deg, rgba(15,14,12,.55) 0%, rgba(15,14,12,0) 20%, rgba(15,14,12,.35) 50%, rgba(15,14,12,.92) 80%, #0F0E0C 100%); }
  .hero__ic { padding-top: 120px; padding-bottom: 24px; }
  .hero__ic .ust-satir { margin-bottom: 18px; font-size: 12px; }
  .hero__baslik { font-size: 62px; margin-bottom: 20px; }
  .hero__metin { font-size: 16px; margin-bottom: 28px; }
  .marka-anahtar { width: 100%; }
  .marka-anahtar button { height: 44px; font-size: 15px; }
  .hero__serit { display: none; }

  .katalog { padding-top: 40px; padding-bottom: 56px; }
  .katalog__bas { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 16px; }
  .bolum-baslik, .sasi .bolum-baslik { font-size: 38px; }
  .ara { width: 100%; }
  .ara input { height: 50px; }
  .katalog__filtre { flex-direction: column-reverse; align-items: stretch; gap: 10px; margin-bottom: 16px; }
  .cipler { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); scrollbar-width: none; }
  .cipler::-webkit-scrollbar { display: none; }
  .cip { height: 40px; flex: none; }

  .izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kart { padding: 8px; border-radius: 18px; }
  .kart__gorsel { aspect-ratio: 1 / 1; border-radius: 12px; }
  .kart__model { margin: 12px 4px 2px; font-size: 12px; }
  .kart__ad { margin: 0 4px; font-size: 15px; }
  .kart__alt { margin: 12px 4px 2px; gap: 6px; }
  .kart__fiyat { font-size: 22px; }

  .sasi { grid-template-columns: 1fr; margin-bottom: 56px; }
  .sasi__foto { min-height: 220px; height: 220px; }
  .sasi__metin { padding: 28px 22px 32px; }
  .sasi__metin .btn { width: 100%; }

  .alt { padding: 32px 0 24px; }
  .alt__ic { flex-direction: column; align-items: flex-start; }

  /* Alt sekme çubuğu */
  .sekme {
    position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom));
    height: 66px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px;
    border-radius: var(--radius-pill); border: 1px solid var(--line);
    background: rgba(26,24,21,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .sekme__oge {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border-radius: var(--radius-pill); font-size: 11px; font-weight: 500; color: var(--text-soft); min-height: 44px;
  }
  .sekme__oge.is-aktif { background: var(--gold); color: var(--on-gold); }
  .sekme__oge--wa svg { color: var(--ok); }
  .sekme__rozet-kap { position: relative; display: inline-flex; }
  .sayac--rozet { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; font-size: 10px; padding: 0 4px; }

  /* Ürün detay — mobil (§5.4) */
  .detay-sayfa .sekme { display: none; }
  .detay-sayfa .ust--duz { display: none; }
  .detay { padding-top: 0; padding-bottom: 32px; }
  .detay__ic { gap: 24px; }
  .galeri { flex-basis: 100%; margin: 0 calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); }
  .galeri__sahne { aspect-ratio: auto; height: 420px; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
  .galeri__gorsel.cizim { padding: 18%; }
  .galeri__geri { position: absolute; z-index: 2; top: 16px; left: 16px; display: inline-flex !important; }
  .galeri__paylas { position: absolute; z-index: 2; top: 16px; right: 16px; display: inline-flex !important; }
  .galeri__secici {
    position: absolute; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex !important; gap: 2px; padding: 4px; border-radius: var(--radius-pill);
    border: 1px solid rgba(242,237,228,.25); background: rgba(15,14,12,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .galeri__secici button { min-width: 44px; height: 36px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; }
  .galeri__secici button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
  .bilgi { flex-basis: 100%; }
  .bilgi .ust-satir { margin-bottom: 14px; font-size: 13px; }
  .detay__baslik { font-size: 46px; margin-bottom: 18px; }
  .fiyat { font-size: 40px; }
  .detay__fiyat { margin-bottom: 20px; }
  .oem { margin-bottom: 20px; }
  .siparis {
    position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; margin: 0;
    padding: 28px 16px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, var(--bg) 30%);
  }
  .siparis__wa { height: 56px; }
  .adet button { width: 44px; height: 44px; }
  .detay__listeye { margin-bottom: 28px; }
  .detay-sayfa { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

  .sayfa { padding-top: 40px; padding-bottom: 64px; }
  .sayfa__baslik { font-size: 52px; }
  .sayfa__eylem .btn { width: 100%; }

  /* Liste: alttan panel */
  .liste {
    top: auto; left: 0; width: 100%; max-height: 88vh;
    border-left: 0; border-top: 1px solid var(--line);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: #000;
  }
  .liste__alt { background: #000; }
  .liste__tutamak { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 10px auto 0; }
  .liste__bas { padding: 14px 18px 10px; }
  .liste__govde { padding: 0 18px 18px; }
  .liste__alt { padding-left: 18px; padding-right: 18px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hero { min-height: 760px; }
}
