/* Alioğlu Mermer — açılır katalog okuyucusu.
   Sayfa içindeki her ölçü sayfa genişliğine göre (cqw) verilir: kitap hangi boyutta açılırsa açılsın
   basılı bir katalog sayfası gibi orantılı küçülüp büyür. */

.okuyucu-sayfa { scroll-padding-top: 0; }
.okuyucu-sayfa body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 0;
  background: #16181A;
  color: var(--koyu-metin);
}

/* ---------- Üst şerit ---------- */
.okuyucu-ust {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 clamp(10px, 2vw, 24px);
  border-bottom: 1px solid var(--koyu-cizgi);
  background: #141618;
}
.okuyucu-ust__geri {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  color: #fff;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s;
}
.okuyucu-ust__geri:hover { background: rgba(255, 255, 255, .08); }
.okuyucu-ust__geri svg { width: 20px; height: 20px; }
.okuyucu-ust__baslik {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  font-size: .9375rem;
  white-space: nowrap;
}
.okuyucu-ust__baslik span:first-child { color: #fff; font-stretch: 115%; font-weight: 700; }
.okuyucu-ust__baslik span:last-child { overflow: hidden; color: var(--koyu-soluk); text-overflow: ellipsis; }
.okuyucu-ust__iletisim { display: flex; gap: 8px; }
.okuyucu-ust__dugme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.okuyucu-ust__dugme:hover { background: rgba(255, 255, 255, .1); }
.okuyucu-ust__dugme svg { width: 17px; height: 17px; }
.okuyucu-ust__dugme--wa { border-color: transparent; background: var(--vurgu-acik); color: #1C1F21; }
.okuyucu-ust__dugme--wa:hover { background: #fff; }

/* ---------- Sahne: kitabın durduğu masa ---------- */
.okuyucu { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.sahne {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.4vw, 20px);
  min-height: 0;
  padding: clamp(10px, 2.2vh, 28px) clamp(8px, 2vw, 24px);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .07), transparent 62%),
    linear-gradient(rgba(18, 20, 22, .84), rgba(18, 20, 22, .9)),
    #16181A url(../img/doku/nero-genis.webp) 50% 50% / cover no-repeat;
}
.kitap-yuva {
  position: relative;
  display: grid;
  flex: 1;
  align-self: stretch;
  place-items: center;
  min-width: 0;
  min-height: 0;
}
.kitap-yuva:focus { outline: none; }
.sahne__ok {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, opacity .2s;
}
.sahne__ok:hover { background: rgba(255, 255, 255, .12); }
.sahne__ok:disabled { opacity: .25; cursor: default; }
.sahne__ok svg { width: 26px; height: 26px; }
html:not(.js) .sahne__ok, html:not(.js) .arac { display: none; }

/* ---------- Araç çubuğu ---------- */
.arac {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--koyu-cizgi);
  background: #141618;
}
.arac__dugme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: none;
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.arac__dugme:hover { background: rgba(255, 255, 255, .1); }
.arac__dugme[aria-pressed="true"] { background: #fff; color: #1C1F21; }
.arac__dugme:disabled { opacity: .35; cursor: default; }
.arac__dugme[hidden] { display: none; }
.arac__dugme svg { width: 18px; height: 18px; }
.arac__gezin { display: flex; align-items: center; gap: 2px; }
.arac__ok {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, opacity .2s;
}
.arac__ok:hover { background: rgba(255, 255, 255, .1); }
.arac__ok:disabled { opacity: .3; cursor: default; }
.arac__ok svg { width: 20px; height: 20px; }
.sayfa-git { display: flex; align-items: center; gap: 8px; margin: 0 6px; color: var(--koyu-soluk); font-size: .875rem; }
.sayfa-git input {
  width: 62px;
  min-height: 38px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.sayfa-git input::-webkit-inner-spin-button, .sayfa-git input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sayfa-git input:focus-visible { outline: 2px solid var(--vurgu-acik); outline-offset: 1px; }
.sayfa-git__toplam { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sayfa-git__dugme {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.sayfa-git__dugme:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Kitap ---------- */
.kitap { position: relative; margin: 0 auto; }
/* Betik kitabı kurana kadar sayfalar görünmez (alt alta dizilip sıçramasın) */
.js .kitap:not(.stf__parent) { visibility: hidden; height: 1px; overflow: hidden; }
/* Kurulan kitap sahnenin tamamını kaplar; sayfalar kütüphane tarafından ortalanır */
.kitap.stf__parent { position: absolute; inset: 0; margin: 0; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .55)); }
.kitap > .stf__wrapper { position: relative; width: 100%; height: 100%; }

.sayfa {
  container-type: size;
  position: relative;
  overflow: hidden;
  background: #FBFAF7;
  color: #1C1F21;
  line-height: 1.45;
}
/* Cilt tarafında hafif gölge: sol sayfada sağ kenar, sağ sayfada sol kenar */
.sayfa.--left:not(.--hard)::after, .sayfa.--right:not(.--hard)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9cqw;
  pointer-events: none;
}
.sayfa.--left:not(.--hard)::after { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .13), rgba(0, 0, 0, 0)); }
.sayfa.--right:not(.--hard)::after { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0)); }
.kitap--tek .sayfa::after { display: none; }
/* Sayfalardaki bağlantı ve düğmelerin içine tıklanınca sayfa çevrilmesin: tıklama öğenin kendisine gitsin */
.sayfa a *, .sayfa button * { pointer-events: none; }

.sayfa__ic {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 8cqw 8.5cqw 11cqw;
  /* Kapsayıcı kendi ölçüsünü sorgulayamaz, yazı boyutu iç kutuda. Sayfanın hem enine hem boyuna
     göre sınırlanır: 3:4 sayfada 2,4cqw, telefondaki uzun sayfada biraz daha büyük. */
  font-size: min(3.05cqw, 1.8cqh);
}
.sayfa__ust {
  display: flex;
  justify-content: space-between;
  gap: 4cqw;
  margin-bottom: 4.5cqw;
  padding-bottom: 2cqw;
  border-bottom: .25cqw solid rgba(28, 31, 33, .16);
  color: #6A6F72;
  font-size: .82em;
  letter-spacing: .01em;
}
.sayfa__folyo {
  position: absolute;
  left: 8.5cqw;
  right: 8.5cqw;
  bottom: 5cqw;
  display: flex;
  justify-content: space-between;
  gap: 4cqw;
  color: #6A6F72;
  font-size: .8em;
}
/* Sayfa numarası dış kenarda: sağ sayfada sağda */
.sayfa.--right .sayfa__folyo { flex-direction: row-reverse; }
.sayfa__no { color: #1C1F21; font-weight: 600; font-variant-numeric: tabular-nums; }
.sayfa__baslik {
  margin-bottom: 5cqw;
  font-size: 2.9em;
  font-stretch: 120%;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.035em;
}
.sayfa__yazi { display: grid; gap: .8em; max-width: 34em; font-size: 1.08em; }
.sayfa a { color: inherit; }

/* Bölüm sekmesi: basılı kataloglardaki kenar sekmesi, bölüme göre yeri değişir */
.sayfa__sekme {
  position: absolute;
  right: 0;
  top: calc(14% + var(--b, 0) * 12%);
  width: 2.4cqw;
  height: 9%;
  border-radius: 1cqw 0 0 1cqw;
  background: var(--vurgu);
  opacity: calc(1 - var(--b, 0) * .12);
}

/* Kapak ve arka kapak */
.sayfa--kapak .kapak, .arka-kapak { position: absolute; inset: 0; }
.sayfa--kapak h1.kapak__baslik { font-weight: 300; }
.arka-kapak {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4cqw;
  padding: 11cqw 10cqw 12cqw;
  background-color: #F1EFEA;
  background-position: 50% 50%;
  background-size: cover;
  color: #1C1F21;
}
.arka-kapak::before {
  content: "";
  position: absolute;
  inset: 4.5cqw;
  border: .45cqw solid rgba(125, 95, 50, .5);
  pointer-events: none;
}
.arka-kapak .kapak__marka { position: absolute; top: 11cqw; left: 10cqw; }
.kitap--tek .aile-giris__yazi { font-size: 3.6cqw; }
.arka-kapak__slogan { font-size: 7cqw; font-stretch: 118%; font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.arka-kapak__iletisim { display: grid; gap: 1cqw; color: rgba(28, 31, 33, .72); font-size: 3.4cqw; font-variant-numeric: tabular-nums; }

/* İçindekiler */
.icindekiler { display: grid; gap: 3.2cqw; margin: 0; padding: 0; list-style: none; }
.icindekiler__bolum {
  display: flex;
  align-items: baseline;
  gap: 2cqw;
  text-decoration: none;
}
.icindekiler__ad { font-size: 1.28em; font-stretch: 112%; font-weight: 600; letter-spacing: -.015em; }
.icindekiler__bolum::after { content: ""; flex: 1; order: 1; border-bottom: .3cqw dotted rgba(28, 31, 33, .35); transform: translateY(-.25em); }
.icindekiler__no { order: 2; color: var(--vurgu); font-weight: 600; font-variant-numeric: tabular-nums; }
.icindekiler__bolum:hover .icindekiler__ad { color: var(--vurgu); }
.icindekiler__urunler { margin-top: 1cqw; color: #5B6064; font-size: .92em; line-height: 1.55; }
.icindekiler__urunler a { text-decoration: none; }
.icindekiler__urunler a:hover { color: var(--vurgu); text-decoration: underline; }
.icindekiler__ek { margin-top: 1.5cqw; }
.icindekiler__ek .icindekiler__ad { font-size: 1.08em; font-weight: 500; }

/* Giriş sayfası */
.kullanim { margin-top: 6cqw; padding: 4.5cqw 5cqw; border-radius: 2cqw; background: #F1EEE7; }
.kullanim__baslik { margin-bottom: 1.6cqw; font-weight: 600; }
.kullanim ul { display: grid; gap: 1cqw; margin: 0; padding-left: 1.1em; }
.kullanim li::marker { color: var(--vurgu); }
.sayfa__iletisim { display: flex; flex-wrap: wrap; gap: 2cqw 5cqw; margin-top: auto; padding-bottom: 2cqw; font-weight: 600; }
.sayfa__iletisim a { display: inline-flex; align-items: center; gap: 1.6cqw; text-decoration: none; }
.sayfa__iletisim svg { width: 1.3em; height: 1.3em; color: var(--vurgu); }
.sayfa__iletisim a:hover { color: var(--vurgu); }

/* Ürün fotoğrafları: bir büyük, yanında ya da altında ayrıntılar */
/* Bölümün ilk ürününde fotoğrafların üstünde bölüm başlığı */
.bolum-giris { margin-bottom: 4cqw; padding-bottom: 3cqw; border-bottom: .25cqw solid rgba(28, 31, 33, .16); }
.bolum-giris__ad { font-size: 2.3em; font-stretch: 120%; font-weight: 300; line-height: 1; letter-spacing: -.035em; }
.bolum-giris__yazi { max-width: 36em; margin-top: 1.8cqw; color: #5B6064; font-size: .95em; }
.kolaj { display: grid; flex: 1; gap: 2.2cqw; min-height: 0; }
.kolaj .foto { position: relative; min-width: 0; min-height: 0; height: 100%; border-radius: 1.6cqw; background: #ECEAE4; }
.kolaj .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--yumusak); }
.kolaj--yatay { grid-template-columns: repeat(var(--k, 1), minmax(0, 1fr)); grid-template-rows: minmax(0, 1.7fr) minmax(0, 1fr); }
.kolaj--yatay .kolaj__ana { grid-column: 1 / -1; }
.kolaj--dik { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: repeat(var(--k, 1), minmax(0, 1fr)); }
.kolaj--dik .kolaj__ana { grid-row: 1 / -1; }
/* Tek fotoğraf: tam sayfa */
.kolaj--yatay:has(> .foto:only-child) { grid-template-rows: minmax(0, 1fr); }
@media (hover: hover) and (pointer: fine) {
  .kolaj .foto:hover img { transform: scale(1.04); }
}

/* Ürün bilgileri */
.urun-ad {
  font-size: 3.4em;
  font-stretch: 120%;
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.urun-kod { margin-top: 1.6cqw; color: #5B6064; font-size: .92em; letter-spacing: .02em; }
.urun-kod span { margin-left: .4em; color: #1C1F21; font-weight: 600; font-variant-numeric: tabular-nums; }
.urun-aciklama { margin-top: 3cqw; font-size: 1.02em; }
.urun-alt-baslik { margin: 3.8cqw 0 1.4cqw; font-size: .98em; font-stretch: 110%; font-weight: 700; letter-spacing: .01em; }
.ozellikler { display: grid; margin: 0; font-size: .96em; }
.ozellikler div {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  gap: 3cqw;
  padding: .3em 2.2cqw;
  border-radius: 999px;
}
.ozellikler div:nth-child(odd) { background: #EEECE6; }
.ozellikler dt { color: #5B6064; }
.ozellikler dd { margin: 0; font-weight: 500; }
.aksesuarlar { display: flex; flex-wrap: wrap; gap: 1.3cqw; margin: 0; padding: 0; list-style: none; font-size: .88em; }
.aksesuarlar li { padding: .28em .8em; border: .25cqw solid rgba(28, 31, 33, .18); border-radius: 999px; background: #fff; }
.urun-sor {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 1.8cqw;
  margin-top: auto;
  padding: .7em 1.3em;
  border-radius: 999px;
  background: var(--vurgu);
  color: #fff !important;
  font-size: .95em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s;
}
.urun-sor:hover { background: var(--vurgu-koyu); }
.urun-sor svg { width: 1.25em; height: 1.25em; }
.urun-sor--buyuk { margin: 5cqw 0 0; font-size: 1.05em; }

/* Dizin ve iletişim */
/* Basılı dizin gibi sütun sütun akar */
.dizin { columns: 2; column-gap: 5cqw; margin: 0; padding: 0; list-style: none; font-size: .96em; }
.dizin li { break-inside: avoid; }
.dizin a { display: flex; align-items: baseline; gap: 1.4cqw; padding: .42em 0; border-bottom: .2cqw solid rgba(28, 31, 33, .12); text-decoration: none; }
.dizin__ad { min-width: 0; overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.dizin__no { margin-left: auto; color: var(--vurgu); font-weight: 600; font-variant-numeric: tabular-nums; }
.dizin a:hover .dizin__ad { color: var(--vurgu); }
/* Taş çoğaldıkça dizin tek sayfaya sığsın diye sütun artar, satırlar sıkışır */
.dizin--sik { columns: 3; column-gap: 3cqw; font-size: .8em; }
.dizin--sik a { gap: 1cqw; padding: .34em 0; }
.dizin--cok-sik { columns: 4; column-gap: 2.4cqw; font-size: .68em; }
.dizin--cok-sik a { gap: .8cqw; padding: .26em 0; }
.dizin--ton.dizin--sik .dizin__ton, .dizin--ton.dizin--cok-sik .dizin__ton { width: 1.8cqw; height: 1.8cqw; }
.dizin--sik .dizin__ad, .dizin--cok-sik .dizin__ad { white-space: normal; line-height: 1.2; }
.kitap-kisiler { margin: 5cqw 0 0; padding: 0; list-style: none; border-top: .25cqw solid rgba(28, 31, 33, .14); }
.kitap-kisiler li { display: flex; justify-content: space-between; gap: 3cqw; padding: .55em 0; border-bottom: .25cqw solid rgba(28, 31, 33, .14); }
.kitap-kisiler span { color: #5B6064; }
.kitap-kisiler a { font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }
.kitap-adres { margin-top: 5cqw; font-style: normal; }
.kitap-saat { margin-top: 3cqw; color: #5B6064; font-size: .92em; }

/* ---------- Mermer kataloğu ---------- */
/* Taşın fotoğraf sayfası: tam sayfa taş yüzeyi, üstünde aile başlığı, altında taşın adı */
.sayfa--tas-foto { background: #1C1F21; }
.tas-foto { position: absolute; inset: 0; }
.tas-foto .foto { width: 100%; height: 100%; border-radius: 0; background: #2A2D30; }
.tas-foto .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--yumusak); }
@media (hover: hover) and (pointer: fine) {
  .tas-foto .foto:hover img { transform: scale(1.03); }
}
.aile-giris {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8cqw 8.5cqw 14cqw;
  background: linear-gradient(rgba(14, 15, 16, .78), rgba(14, 15, 16, 0));
  color: #fff;
  pointer-events: none;
}
.aile-giris__ad { font-size: 9cqw; font-stretch: 122%; font-weight: 300; line-height: 1; letter-spacing: -.035em; }
.aile-giris__yazi { max-width: 30em; margin-top: 2.2cqw; color: rgba(255, 255, 255, .86); font-size: 3.1cqw; line-height: 1.45; }
.tas-foto__etiket {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 3cqw;
  padding: 16cqw 8.5cqw 6.5cqw;
  background: linear-gradient(rgba(14, 15, 16, 0), rgba(14, 15, 16, .72));
  color: #fff;
  font-size: 4.2cqw;
  font-stretch: 112%;
  font-weight: 600;
  line-height: 1.1;
  pointer-events: none;
}
.tas-foto__no { color: #D6B47A; font-size: .8em; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .06em; }

/* Taşın bilgi sayfası */
.tas-sira { color: var(--vurgu); font-size: 2.2em; font-stretch: 125%; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.tas-sira span { color: #9A9D9F; font-size: .42em; font-weight: 400; letter-spacing: .04em; }
.kitap--mermer .urun-ad { margin-top: 1.6cqw; }
.tas-ton { display: flex; align-items: center; gap: 1.6cqw; margin-top: 2.4cqw; color: #5B6064; font-size: .88em; }
.tas-ton__renk { width: 4.2cqw; height: 4.2cqw; border-radius: 50%; background: var(--renk); box-shadow: inset 0 0 0 .3cqw rgba(0, 0, 0, .12); }
/* Katalogdaki bütün taşların tonları: ince bir renk şeridi */
.ton-serit { display: flex; height: 2.6cqw; margin: 5cqw 0 0; padding: 0; overflow: hidden; border-radius: 999px; list-style: none; }
.ton-serit li { flex: 1; background: var(--renk); }

/* Taş türleri karşılaştırması */
.karsilastir { width: 100%; margin-top: 4.5cqw; border-collapse: collapse; font-size: .92em; }
.karsilastir th, .karsilastir td { padding: .7em .4em; border-bottom: .25cqw solid rgba(28, 31, 33, .12); text-align: left; vertical-align: middle; }
.karsilastir thead th { color: #6A6F72; font-size: .82em; font-weight: 500; }
.karsilastir tbody th { font-size: 1.12em; font-stretch: 112%; font-weight: 600; }
.karsilastir tbody th span { display: block; margin-top: .2em; color: #5B6064; font-size: .74em; font-stretch: 100%; font-weight: 400; line-height: 1.35; }
.olcek { display: inline-flex; gap: .9cqw; }
.olcek span { width: 2cqw; height: 2cqw; border-radius: 50%; background: rgba(28, 31, 33, .14); }
.olcek span.dolu { background: var(--vurgu); }
.sayfa__not { margin-top: 3cqw; color: #6A6F72; font-size: .82em; }

/* Yüzeyler: her yüzeyin küçük bir örneği (CSS ile çizilir) */
.yuzeyler { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5cqw 4cqw; margin: 1cqw 0 0; }
.yuzeyler__oge { display: grid; grid-template-columns: 9cqw minmax(0, 1fr); column-gap: 2.6cqw; }
.yuzeyler__oge::before { content: ""; grid-row: 1 / 3; aspect-ratio: 1; border-radius: 1.4cqw; background: #D9D6CF; }
.yuzeyler__oge--1::before { background: linear-gradient(135deg, #F7F6F2 20%, #fff 34%, #CFCBC3 36%, #E6E3DC 60%, #fff 80%); box-shadow: inset 0 0 0 .25cqw rgba(0, 0, 0, .06); }
.yuzeyler__oge--2::before { background: #DEDBD4; }
.yuzeyler__oge--3::before { background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5) 0 8%, transparent 9%), radial-gradient(circle at 70% 60%, rgba(0, 0, 0, .08) 0 10%, transparent 11%), #D4CFC4; border-radius: 3cqw; }
.yuzeyler__oge--4::before {
  background:
    radial-gradient(circle at 20% 30%, #5F6264 0 7%, transparent 8%),
    radial-gradient(circle at 70% 65%, #C4C6C8 0 6%, transparent 7%),
    radial-gradient(circle at 45% 85%, #4E5153 0 8%, transparent 9%),
    radial-gradient(circle at 85% 20%, #D0D2D4 0 5%, transparent 6%),
    #93969A;
  background-size: 34% 34%;
}
.yuzeyler dt { font-weight: 600; }
.yuzeyler dd { margin: .2em 0 0; color: #5B6064; font-size: .88em; line-height: 1.4; }
.bakim { display: grid; gap: 1.2cqw; margin: 0; padding-left: 1.1em; font-size: .94em; }
.bakim li::marker { color: var(--vurgu); }

/* Kalabalık içindekiler (on renk ailesi) iki sütunda */
.icindekiler--sik { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.6cqw 5cqw; }
.icindekiler--sik .icindekiler__ad { font-size: 1.05em; }
.icindekiler--sik .icindekiler__urunler { font-size: .8em; line-height: 1.45; }
.icindekiler--sik .icindekiler__ek { grid-column: span 1; margin-top: 0; }
.dizin--ton .dizin__ton { flex: none; align-self: center; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--renk); box-shadow: inset 0 0 0 .25cqw rgba(0, 0, 0, .12); }

/* Mermer kataloğunun arka kapağı koyu */
.arka-kapak--mermer { color: #F4F2EC; }
.arka-kapak--mermer::before { border-color: rgba(214, 180, 122, .55); }
.arka-kapak--mermer .kapak__marka { color: #F4F2EC; }
.arka-kapak--mermer .kapak__marka .marka__alt { color: #D6B47A; }
.arka-kapak--mermer .arka-kapak__iletisim { color: rgba(244, 242, 236, .75); }

/* Tek sayfa görünümü (telefon): sayfa daha uzun, yazı biraz daha büyük */
.kitap--tek .sayfa__ic { padding: 7cqw 7cqw 12cqw; }

/* Betik yoksa ya da kitap kurulamazsa sayfalar alt alta okunur */
html:not(.js) .kitap, .kitap--duz {
  display: grid;
  gap: 24px;
  width: min(100%, 560px);
  padding: 24px 0;
}
html:not(.js) .sayfa, .kitap--duz .sayfa { width: 100%; aspect-ratio: 3 / 4; border-radius: 4px; }
.kitap--duz { visibility: visible !important; height: auto !important; overflow: visible !important; }
html:not(.js) .sahne, .sahne:has(.kitap--duz) { align-items: flex-start; overflow-y: auto; }

/* ---------- İçindekiler çekmecesi ---------- */
.cekmece {
  width: min(420px, 100vw);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto 0 0;
  padding: 0;
  border: 0;
  background: #FBFAF7;
  color: #1C1F21;
  overflow: hidden;
}
.cekmece[open] { display: flex; flex-direction: column; animation: cekmece-ac .3s var(--yumusak); }
@keyframes cekmece-ac { from { transform: translateX(-24px); opacity: 0; } }
.cekmece::backdrop { background: rgba(10, 11, 12, .6); }
html:has(.cekmece[open]) { overflow: hidden; }
.cekmece__bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 16px 12px 24px; }
.cekmece__bas h2 { font-size: 1.5rem; }
.cekmece__kapat { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.cekmece__kapat:hover { background: rgba(28, 31, 33, .07); }
.cekmece__kapat svg { width: 22px; height: 22px; }
.cekmece__ara { padding: 0 24px 12px; }
.cekmece__ara input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--kenarlik);
  border-radius: var(--r-kucuk);
  background: #fff;
  color: var(--nero);
  font: inherit;
}
.cekmece__ara input:focus-visible { outline: none; border-color: var(--vurgu); box-shadow: 0 0 0 3px rgba(125, 95, 50, .22); }
.cekmece__liste { flex: 1; padding: 4px 16px 32px; overflow-y: auto; overscroll-behavior: contain; }
.cekmece__bolum + .cekmece__bolum { margin-top: 18px; }
.cekmece__bolum[hidden] { display: none; }
.cekmece__bolum h3 { font-size: 1rem; }
.cekmece__bolum h3 a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--cizgi);
  text-decoration: none;
}
.cekmece__bolum h3 span { color: var(--damar); font-weight: 500; font-variant-numeric: tabular-nums; }
.cekmece__bolum ul { margin: 6px 0 0; padding: 0; list-style: none; }
.cekmece__bolum li[hidden] { display: none; }
.cekmece__bolum li a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color .15s;
}
.cekmece__bolum li a:hover, .cekmece__bolum li a:focus-visible { background: #EEECE6; }
.cekmece__bolum img { grid-row: 1 / 3; width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: #E4E2DC; }
.cekmece__ad { font-weight: 600; line-height: 1.25; }
.cekmece__kod { grid-column: 2; color: var(--damar); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.cekmece__no { grid-column: 3; grid-row: 1 / 3; color: var(--vurgu); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cekmece__bos { padding: 24px 8px; color: var(--damar); }
.cekmece__bos[hidden] { display: none; }

/* Boş katalog */
.okuyucu__bos { display: grid; gap: 18px; justify-items: start; max-width: 560px; margin: auto; padding: 48px 24px; }
.okuyucu__bos h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.okuyucu__bos p { color: var(--koyu-soluk); }

/* ---------- Dar ekranlar ---------- */
@media (max-width: 760px) {
  .okuyucu-ust__baslik span:last-child { display: none; }
  /* Yazılar görünmez olur ama ekran okuyucu için düğmenin adı olarak kalır */
  .okuyucu-ust__dugme span, .arac__dugme span, .sayfa-git label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .okuyucu-ust__dugme { width: 40px; padding: 0; justify-content: center; }
  .sahne { padding: 8px; }
  .sahne__ok { display: none; }
  .arac { flex-wrap: nowrap; gap: 4px; padding-inline: 6px; }
  .arac__dugme { width: 42px; padding: 0; justify-content: center; }
  .arac__ok { width: 40px; }
  .arac__ok[data-git="ilk"], .arac__ok[data-git="son"] { display: none; }
  .sayfa-git { gap: 4px; margin: 0; }
  .sayfa-git input { width: 46px; }
  .sayfa-git__dugme { padding: 0 10px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .okuyucu-ust { min-height: 44px; }
  .arac { padding-block: 4px; }
  .arac__dugme, .arac__ok, .sayfa-git input, .sayfa-git__dugme { min-height: 36px; height: 36px; }
  .arac__ok { width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .cekmece[open] { animation: none; }
  .kolaj .foto img { transition: none; }
}
