/* Kalemin Kanatları Yayınları — ana stil dosyası */

/* ---------- tema değişkenleri ---------- */
:root {
  --bg: #eceef1;
  --bg-2: #e2e5e9;
  --surface: #f7f8fa;
  --surface-2: #ffffff;
  --line: rgba(24, 28, 36, .1);
  --line-2: rgba(24, 28, 36, .16);
  --ink: #1d2027;
  --ink-2: #454c57;
  --muted: #646b77;
  --gold: #b3811f;
  --gold-2: #d6a53c;
  --gold-soft: rgba(196, 146, 44, .14);
  --gold-grad: linear-gradient(100deg, #9c6b17 0%, #c8962e 24%, #e6c171 46%, #c8962e 70%, #9c6b17 100%);
  --on-gold: #1c1505;
  --header-bg: rgba(236, 238, 241, .82);
  --shadow: 0 18px 40px -24px rgba(20, 24, 32, .35);
  --shadow-lg: 0 30px 70px -30px rgba(20, 24, 32, .45);
  --book-floor: rgba(20, 24, 32, .38);
  --radius: 18px;
  --wrap: 1400px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Playfair Display", "Playfair Fallback", Georgia, "Times New Roman", serif;
  --body: Poppins, "Poppins Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #24272c;
  --bg-2: #2b2e34;
  --surface: #31353c;
  --surface-2: #383c44;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f2efe8;
  --ink-2: #c5c8ce;
  --muted: #a3a8b0;
  --gold: #ddac38;
  --gold-2: #ecc56c;
  --gold-soft: rgba(221, 172, 56, .14);
  --gold-grad: linear-gradient(100deg, #b07f24 0%, #ddac38 22%, #f1d58a 45%, #ddac38 68%, #b07f24 100%);
  --header-bg: rgba(36, 39, 44, .82);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 70px -28px rgba(0, 0, 0, .8);
  --book-floor: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background .4s, color .4s; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 8vw, 110px); position: relative; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { text-align: center; }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.section-head h2 em { font-style: italic; color: var(--gold); }
.section-head p:not(.eyebrow) { color: var(--ink-2); margin-top: 14px; font-size: 17px; max-width: 680px; }
.section-head.center p:not(.eyebrow) { margin-inline: auto; }
.gold-text { background: var(--gold-grad); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gold-shift 6s linear infinite; }
@keyframes gold-shift { from { background-position: 0% 50%; } to { background-position: 250% 50%; } }

/* ---------- düğmeler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--on-gold); box-shadow: 0 10px 26px -12px rgba(179, 129, 31, .8); animation: gold-shift 8s linear infinite; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(179, 129, 31, .9); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .25s, color .25s, transform .25s, background .25s; position: relative; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 19px; height: 19px; }

/* ---------- üst bar ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; --bar-pad: 28px; --logo-h: 100px; --slot: 42px; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .35s; }
.site-header.is-stuck { --bar-pad: 10px; --logo-h: 60px; background: var(--header-bg); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .45); }
.site-header.is-stuck::after { opacity: 1; }
.bar { max-width: var(--wrap); margin: 0 auto; padding: var(--bar-pad) 20px; display: flex; align-items: center; gap: 12px; transition: padding .35s var(--ease); }
/* logo: bar yüksekliğinde bir yuva kaplar, görseli aşağı doğru taşar */
.logo { position: relative; flex: none; align-self: flex-start; height: var(--slot); line-height: 0; margin-right: auto; z-index: 2; }
/* "Kalemin" satırı logonun %47 yüksekliğinde: menünün dikey ortasına (yuva/2) oturtulur */
.logo img { position: relative; z-index: 1; height: var(--logo-h); width: auto; margin-top: calc(var(--slot) / 2 - var(--logo-h) * .47); transition: height .45s var(--ease), margin .45s var(--ease); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28)); }
.logo-plate { position: absolute; left: -14px; right: -14px; top: calc(var(--bar-pad) * -1); height: calc(var(--bar-pad) + var(--slot) / 2 + var(--logo-h) * .53 + 10px); border-radius: 0 0 22px 22px; background: rgba(36, 39, 44, .94); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(255, 255, 255, .09); border-top: 0; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .55); transition: height .45s var(--ease); }
/* logo zemini temadan bağımsız: gündüz ve gece aynı koyu antrasit */
:root:not([data-theme="dark"]) .f-brand img, :root:not([data-theme="dark"]) .drawer-head img { filter: drop-shadow(0 1px 1.2px rgba(60, 40, 0, .45)); }
.nav { display: none; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a, .nav > ul > li > .nav-parent { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink); transition: color .25s, background .25s; }
.nav > ul > li > a:hover, .nav > ul > li > .nav-parent:hover, .nav li.has-sub:hover > .nav-parent { color: var(--gold); background: var(--gold-soft); }
.nav-parent svg { width: 14px; height: 14px; transition: transform .25s; }
.nav li.has-sub:hover .nav-parent svg, .nav li.has-sub:focus-within .nav-parent svg { transform: rotate(180deg); }
.nav .sub { position: absolute; top: calc(100% + 8px); left: 50%; min-width: 230px; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.nav .sub::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav li.has-sub:hover > .sub, .nav li.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav .sub a:hover { background: var(--gold-soft); color: var(--gold); }
.nav .sub a small { margin-left: auto; font-size: 12px; color: var(--muted); }
.bar-tools { display: flex; align-items: center; gap: 8px; }
.bar-social { display: none; gap: 6px; }
.bar-social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); transition: color .25s, background .25s; }
.bar-social a:hover { color: var(--gold); background: var(--gold-soft); }
.bar-social svg { width: 18px; height: 18px; }
.bar-cta { display: none; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.burger { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--line); background: var(--surface); }
.burger span { width: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobil menü çekmecesi */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 12, 16, .5); opacity: 0; transition: opacity .35s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px); background: var(--bg); padding: 22px 20px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; transform: translateX(-100%); transition: transform .4s var(--ease); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; }
.drawer-head img { height: 40px; width: auto; }
.m-nav a, .m-nav .m-parent { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); text-align: left; }
.m-parent svg { width: 18px; height: 18px; transition: transform .3s; }
.m-parent[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.m-sub.open { grid-template-rows: 1fr; }
.m-sub > ul { overflow: hidden; }
.m-sub a { padding: 11px 4px 11px 16px; font-size: 15.5px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.drawer .social { display: flex; gap: 10px; margin-top: auto; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 88% 18%, var(--gold-soft), transparent 70%),
  radial-gradient(50% 60% at 0% 100%, var(--gold-soft), transparent 70%),
  var(--bg); }
.hero-bg::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(var(--line-2) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-feather { position: absolute; right: -80px; top: 180px; width: 520px; height: 520px; opacity: .045; pointer-events: none; }   /* üstten sabit: yazı tipi yüklenince kaymaz */
.hero-grid { max-width: var(--wrap); margin: 0 auto; padding: 150px 20px 48px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-slogan { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .02em; text-transform: none; line-height: 1.4; }
.hero-slogan::before { content: ""; display: inline-block; width: 34px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--gold); }
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 28px; }
.hero-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color .25s, color .25s, transform .25s; }
.hero-cats a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.hero-cats svg { width: 16px; height: 16px; color: var(--gold); }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4.4vw, 70px); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 22px; }
.hero-title em { font-style: italic; }
.rot { display: block; white-space: nowrap; overflow: visible; transition: width .5s ease; }
.rot em { display: inline-block; padding-bottom: .08em; padding-right: .06em; }
.rot em.fade { animation: gold-shift 6s linear infinite, rot-in 1s ease both; }
@keyframes rot-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-copy .lead { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18.5px); max-width: 54ch; margin-bottom: 28px; }
.hero-copy .lead b { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.rating { display: inline-flex; align-items: center; margin-top: 30px; }
.rt-avas { display: flex; padding-right: 14px; border-right: 1px solid var(--line-2); }
.rt-ava { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--surface-2); overflow: hidden; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45); transition: transform .2s var(--ease); background: var(--surface); }
.rt-ava + .rt-ava { margin-left: -12px; }
.rt-ava img { width: 100%; height: 100%; object-fit: cover; }
.rt-ava:hover { transform: translateY(-4px); }
.rt-body { display: flex; flex-direction: column; padding-left: 14px; }
.rt-row { display: flex; align-items: center; gap: 8px; }
.stars { display: inline-flex; color: #f5b301; }
.stars svg { width: 17px; height: 17px; }
.rt-score { font-weight: 600; color: var(--ink); }
.rt-text { font-size: 14px; color: var(--muted); }
.rt-text b { font-weight: 600; color: var(--ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 13.5px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; height: 16px; color: var(--gold); }

/* hero: yukarıdan kayarak gelen 3D kitaplar */
.flow { position: relative; display: none; width: 100%; perspective: 2600px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.flow-inner { position: absolute; inset: 0; transform-style: preserve-3d; cursor: grab; }
.flow-inner.dragging { cursor: grabbing; }
.flow figure { position: absolute; left: 50%; top: 50%; margin: 0; opacity: 0; display: flex; align-items: center; justify-content: flex-end; gap: 34px; width: 84%; will-change: transform, opacity; cursor: pointer; }
.flow .hf-meta { text-align: right; max-width: 270px; opacity: var(--meta, 0); transform: translateX(calc((1 - var(--meta, 0)) * 26px)); }
.hf-meta .chip { margin-bottom: 12px; }
.hf-meta h3, .hf-meta .hf-title { font-weight: 700; margin-top: 0; font-family: var(--display); font-size: clamp(24px, 2vw, 34px); line-height: 1.12; margin-bottom: 8px; }
.hf-meta p { color: var(--ink-2); font-size: 14.5px; }
.hf-meta .hf-spec { margin-top: 10px; color: var(--muted); font-size: 13px; }
.hf-meta .hf-price { margin-top: 14px; display: flex; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(196, 146, 44, .28); }
.mobile-books { overflow: hidden; padding: 22px 0 34px; margin: 18px -20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mb-track { display: flex; gap: 26px; width: max-content; padding-left: 20px; animation: marquee 48s linear infinite; }
.mobile-books.paused .mb-track { animation-play-state: paused; }
.mobile-books .mb { flex: none; display: flex; flex-direction: column; align-items: center; gap: 14px; width: 170px; text-align: center; }
.mobile-books .mb strong { font-family: var(--display); font-size: 17px; line-height: 1.2; }
.mobile-books .mb small { color: var(--muted); font-size: 12.5px; display: block; }

/* ---------- 3D kitap bileşeni ---------- */
/* Tek bir düz kapak görselinden, sayfa sayısı ve ebada göre kalınlık / cilt / gölge üretilir (book3d.js) */
.book3d { --bw: 180px; --ratio: 1.43; --depth: 14px; --spine: #3b3f46; --rest: -22deg; --hover: -32deg; position: relative; display: inline-block; width: var(--bw); height: calc(var(--bw) * var(--ratio)); perspective: 1100px; flex: none; }
.book3d .b-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(var(--rest)); transition: transform .6s var(--ease); }
.book3d.is-live:hover .b-inner, .book3d.hover .b-inner, a:hover > .book3d.is-live .b-inner, .p-card:hover .book3d .b-inner { transform: rotateY(var(--hover)) translateX(-4px) scale(1.04); }
.book3d .b-front { position: absolute; inset: 0; border-radius: 2px 5px 5px 2px; overflow: hidden; background: var(--spine); transform: translateZ(calc(var(--depth) / 2)); box-shadow: 0 1.8px 3.6px rgba(0, 0, 0, .05), 0 10.8px 21.6px rgba(0, 0, 0, .08), inset 0 -.9px 0 rgba(0, 0, 0, .1), inset 0 1.8px 1.8px rgba(255, 255, 255, .1), inset 3.6px 0 3.6px rgba(0, 0, 0, .1); }
.book3d .b-front img { width: 100%; height: 100%; object-fit: cover; }
/* cilt kıvrımı (21st.dev book-bind efekti) */
.book3d .b-front::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 8.2%; mix-blend-mode: overlay; background-image: linear-gradient(90deg, #fff0, #fff0 12%, #ffffff40 29.25%, #fff0 50.5%, #fff0 75.25%, #ffffff40 91%, #fff0), linear-gradient(90deg, rgba(0,0,0,.03), rgba(0,0,0,.1) 12%, transparent 30%, rgba(0,0,0,.02) 50%, rgba(0,0,0,.2) 73.5%, rgba(0,0,0,.5) 75.25%, rgba(0,0,0,.15) 85.25%, transparent); }
.book3d .b-front::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 32%, rgba(0,0,0,0) 70%, rgba(0,0,0,.12) 100%); }
.book3d.bind-tel .b-front::after { width: 5%; opacity: .7; }
/* sayfa kenarı */
.book3d .b-pages { position: absolute; top: 3px; bottom: 3px; right: calc(var(--depth) / -2 + 1px); width: calc(var(--depth) - 2px); transform: rotateY(90deg); background-color: #f4f1ea; background-image: repeating-linear-gradient(90deg, #fff, #efefef 1px, #fff 3px, #9a9a9a 0); }
/* cilt sırtı */
.book3d .b-spine { position: absolute; top: 0; bottom: 0; left: calc(var(--depth) / -2); width: var(--depth); background: var(--spine); transform: rotateY(-90deg); border-radius: 3px 0 0 3px; background-image: linear-gradient(90deg, rgba(0,0,0,.25), rgba(255,255,255,.08) 45%, rgba(0,0,0,.2)); }
.book3d.bind-tel .b-spine::after { content: ""; position: absolute; left: 50%; top: 22%; bottom: 22%; width: 1px; border-left: 1px dashed rgba(220, 220, 220, .7); }
/* arka kapak */
.book3d .b-back { position: absolute; inset: 0; border-radius: 2px 5px 5px 2px; overflow: hidden; background-color: var(--spine); transform: translateZ(calc(var(--depth) / -2)) rotateY(180deg); box-shadow: 0 0 1px rgba(0,0,0,.3); }
.book3d .b-back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.05)); }
/* zemin gölgesi */
.book3d .b-floor { position: absolute; left: 4%; right: -6%; bottom: -8%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, var(--book-floor), transparent); filter: blur(4px); transform: translateZ(0); transition: transform .6s var(--ease), opacity .6s; opacity: .9; pointer-events: none; }
.book3d.is-live:hover .b-floor, .p-card:hover .book3d .b-floor { transform: scaleX(1.08) translateX(-3%); opacity: .7; }
.book3d.no-img .b-front { background: linear-gradient(160deg, var(--spine), #111); }
/* tam kapak (sarma) modu: yüzler tek görselden kesilir */
.book3d.is-wrap .b-front img { opacity: 0; }
.book3d.is-wrap .b-back::after { background: linear-gradient(270deg, rgba(0,0,0,.18), rgba(0,0,0,0) 12%); }
.book3d.is-wrap .b-spine { border-radius: 2px; }
.book3d.is-wrap .b-spine::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.1) 45%, rgba(0,0,0,.22)); }
.qv-flip { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 2; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.qv-flip button { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.qv-flip button.on { background: var(--gold); color: var(--on-gold); }

/* ---------- yorumlar ---------- */
.reviews { background: linear-gradient(180deg, var(--bg), var(--bg-2)); overflow: hidden; }
.review-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.review-stats .pf { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.review-stats .pf svg { width: 17px; height: 17px; }
.marquee { overflow: hidden; padding-block: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; padding-right: 20px; animation: marquee 90s linear infinite; align-items: stretch; will-change: transform; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 100s; }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee + .marquee { margin-top: 8px; }
.marquee li { flex: none; width: min(86vw, 430px); }
.r-card { height: 100%; padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); transition: border-color .3s, transform .3s var(--ease); }
.r-card:hover { border-color: rgba(196, 146, 44, .5); transform: translateY(-3px); }
.r-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.r-src { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--pf) 12%, transparent); color: color-mix(in srgb, var(--pf) 62%, var(--ink)); }
.r-src svg { width: 15px; height: 15px; }
.r-card blockquote { flex: 1; }
.r-card blockquote p { font-size: 15px; line-height: 1.65; color: var(--ink); }
.r-card blockquote p::before { content: "\201C"; display: block; font-family: var(--display); font-size: 46px; line-height: .55; margin-bottom: 8px; color: var(--gold); }
.r-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 4px; }
.r-book3d { position: relative; flex: none; align-self: flex-end; display: flex; line-height: 0; margin: -8px -10px -4px 0; }
.r-book3d .book3d { perspective: 700px; }
.r-book-name { position: absolute; top: 2px; right: calc(100% + 6px); z-index: 5; width: max-content; max-width: 120px; font-family: var(--body); font-size: 11.5px; font-weight: 600; line-height: 1.3; text-align: right; color: var(--ink-2); }
.r-who { display: flex; align-items: center; gap: 12px; }
.r-ava { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: var(--on-gold); background: var(--gold-grad); background-size: 250% 100%; }
.r-who strong { display: block; font-size: 14.5px; }
.r-who small { display: block; color: var(--muted); font-size: 12.5px; }
.promise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 44px; }
.promise div { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.promise svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.promise strong { display: block; font-size: 15px; }
.promise span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- mağaza ---------- */
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.shop-aside { display: flex; flex-direction: column; gap: 18px; }
.f-box { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.f-box h3, .f-box .f-h { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; text-align: left; transition: background .2s, color .2s; }
.cat-btn svg { width: 18px; height: 18px; color: var(--muted); transition: color .2s; }
.cat-btn .n { margin-left: auto; min-width: 26px; padding: 2px 8px; border-radius: 999px; font-size: 12px; text-align: center; background: var(--bg-2); color: var(--muted); }
.cat-btn:hover { background: var(--gold-soft); }
.cat-btn.on { background: var(--gold-soft); color: var(--gold); }
.cat-btn.on svg { color: var(--gold); }
.cat-btn.on .n { background: var(--gold); color: var(--on-gold); }
.f-check { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 14.5px; cursor: pointer; }
.f-check input { width: 18px; height: 18px; accent-color: var(--gold); }
.f-range { display: flex; flex-direction: column; gap: 10px; }
.f-range input[type=range] { width: 100%; accent-color: var(--gold); }
.f-range output { font-size: 14px; color: var(--ink-2); }
.f-reset { font-size: 13.5px; color: var(--gold); font-weight: 600; margin-top: 4px; }
.f-reset:hover { text-decoration: underline; }
.aside-help { font-size: 13.5px; color: var(--muted); }
.aside-help a { color: var(--gold); font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.toolbar .count { font-size: 14.5px; color: var(--ink-2); }
.toolbar .count b { color: var(--ink); }
.tb-right { display: flex; align-items: center; gap: 12px; }
.tb-search { position: relative; flex: 1 1 220px; max-width: 360px; margin-right: auto; }
.tb-search .ico { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.tb-search input { width: 100%; padding: 9px 38px 9px 40px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.tb-search input::placeholder { color: var(--muted); }
.tb-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.tb-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.tb-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.tb-clear:hover { color: var(--ink); background: var(--line); }
.tb-clear svg { width: 15px; height: 15px; }
.toolbar .count-q { color: var(--muted); }
.empty b { color: var(--ink); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { appearance: none; -webkit-appearance: none; padding: 9px 36px 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink); font-size: 14px; cursor: pointer; }
.views { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.views button { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: background .2s, color .2s; }
.views button svg { width: 17px; height: 17px; }
.views button.on { background: var(--gold); color: var(--on-gold); }
.views button:not(.on):hover { color: var(--gold); }
.m-filter-btn { display: inline-flex; }

.p-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; transition: opacity .3s; }
.p-grid.loading { opacity: .35; pointer-events: none; }
/* görünüm seçimi masaüstünde de sütun sayısını belirler (mobil kuralları aşağıda ezer) */
.p-grid[data-view="2"] { --cols: 2; }
.p-grid[data-view="1"] { --cols: 1; }
.p-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); animation: card-in .55s var(--ease) both; }
.p-card:hover { border-color: rgba(196, 146, 44, .45); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.p-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 34px 20px 38px; min-height: 330px; background: radial-gradient(90% 70% at 50% 35%, var(--gold-soft), transparent 70%), var(--bg-2); cursor: pointer; }
.p-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; background: var(--ink); color: var(--bg); }
.badge.sale { background: #d64533; color: #fff; }
.badge.gold { background: var(--gold); color: var(--on-gold); }
.p-acts { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.p-acts .icon-btn { width: 38px; height: 38px; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5); }
.p-quick, .p-fav:not(.on) { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease), color .2s, border-color .2s; }
.p-card:hover .p-quick, .p-card:hover .p-fav, .p-quick:focus-visible, .p-fav:focus-visible { opacity: 1; transform: none; }
[data-fav].on { color: #e0445a; border-color: rgba(224, 68, 90, .45); }
[data-fav].on svg { fill: currentColor; }
@media (hover: none) { .p-quick, .p-fav { opacity: 1; transform: none; } }
.p-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.p-cat { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.p-title { font-family: var(--display); font-size: 21px; line-height: 1.2; }
.p-title a:hover { color: var(--gold); }
.p-author { font-size: 13.5px; color: var(--muted); }
.p-excerpt { display: none; color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.p-spec { display: none; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .now { font-size: 20px; font-weight: 700; color: var(--ink); }
.price del { font-size: 14px; color: var(--muted); }
.rate { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.rate .stars svg { width: 14px; height: 14px; }
.rate b { color: var(--ink); font-weight: 600; }
.stars .half { opacity: .35; }
.p-rate { display: flex; justify-content: flex-end; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
/* kart puanı: kapak alanının sağ altında */
.p-stage .p-rate { position: absolute; right: 12px; bottom: 11px; z-index: 2; margin: 0; padding: 4px 10px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--surface) 86%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .45); pointer-events: none; }
.p-stage .p-rate .rate { gap: 5px; font-size: 12.5px; }
.p-stage .p-rate .rate .stars svg { width: 12px; height: 12px; }
.add-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--ink); color: var(--bg); transition: background .25s, color .25s, transform .25s; }
.add-btn svg { width: 17px; height: 17px; }
.add-btn:hover { background: var(--gold); color: var(--on-gold); transform: translateY(-1px); }
.add-btn.added { background: #2f9e62; color: #fff; }
.add-btn.is-out, .add-btn.is-out:hover { background: var(--surface); color: var(--muted); border: 1px dashed var(--line-2); cursor: not-allowed; transform: none; }
.badge.out { background: #3a3f47; color: #fff; }
.p-card.outofstock .book3d { filter: grayscale(.55) opacity(.85); }
.c-actions .is-out { opacity: .55; cursor: not-allowed; }
.qv-out { background: var(--surface); color: var(--muted); border: 1px dashed var(--line-2); cursor: not-allowed; }
/* 2'li ve 1'li görünüm */
.p-grid[data-view="2"] .p-stage { min-height: 380px; }
.p-grid[data-view="2"] .p-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-grid[data-view="1"] .p-card { flex-direction: row; }
.p-grid[data-view="1"] .p-stage { flex: 0 0 38%; min-height: 320px; }
.p-grid[data-view="1"] .p-body { padding: 28px; justify-content: center; }
.p-grid[data-view="1"] .p-title { font-size: 28px; }
.p-grid[data-view="1"] .p-excerpt { display: block; }
.p-grid[data-view="1"] .p-spec { display: flex; }
.p-grid[data-view="1"] .p-foot { margin-top: 18px; justify-content: flex-start; gap: 22px; }
.skeleton { border-radius: 20px; background: linear-gradient(100deg, var(--surface) 30%, var(--bg-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.2s linear infinite; min-height: 460px; border: 1px solid var(--line); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 34px; }
.more-wrap small { color: var(--muted); font-size: 13px; }
.more-btn .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.more-btn.busy .spin { display: inline-block; }
.more-btn.busy .ar { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 20px; }

/* ---------- kampanyalar ---------- */
.campaigns { background: var(--bg-2); overflow: hidden; }
.c-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.c-nav { display: flex; gap: 10px; }
.c-viewport { overflow: hidden; margin-top: 8px; padding-block: 10px 20px; touch-action: pan-y; }
.c-track { display: flex; align-items: stretch; transition: transform .7s var(--ease); cursor: grab; }
.c-track.dragging { transition: none; cursor: grabbing; }
.c-slide { flex: 0 0 100%; min-width: 0; padding-right: 20px; display: flex; }
.c-card { --t1: #d9ecf7; --t2: #b8d8ef; position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: clamp(24px, 3.4vw, 46px); border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #1d2027; min-height: 480px; height: 100%; }
:root[data-theme="dark"] .c-card { filter: saturate(.9) brightness(.92); }
.c-card[data-tone="sun"] { --t1: #fff1cf; --t2: #f6cf74; }
.c-card[data-tone="autumn"] { --t1: #f6dfc9; --t2: #e3a877; }
.c-card[data-tone="stone"] { --t1: #eceae6; --t2: #cfcbc3; }
.c-card[data-tone="rose"] { --t1: #fbe1e6; --t2: #eeb3c1; }
.c-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.c-info { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.c-label { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #1d2027; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.c-info h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.c-info p { font-size: 16px; color: #3a3f48; max-width: 48ch; }
.c-list { display: flex; flex-wrap: wrap; gap: 6px; }
.c-list li { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .6); font-size: 13px; font-weight: 500; }
.c-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.c-price .now { font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.c-price del { font-size: 17px; color: #5c616b; }
.c-price .save { padding: 5px 10px; border-radius: 999px; background: #c0392b; color: #fff; font-size: 13px; font-weight: 700; }
.c-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.c-actions .btn-dark { background: #1d2027; color: #fff; }
.c-actions .btn-dark:hover { background: #000; transform: translateY(-2px); }
.countdown { display: flex; gap: 8px; }
.countdown div { min-width: 58px; padding: 8px 6px; border-radius: 12px; background: rgba(255, 255, 255, .7); text-align: center; }
.countdown b { display: block; font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; color: #5c616b; text-transform: uppercase; letter-spacing: .06em; }
.c-stack { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: flex-end; min-height: 360px; padding: 0 18px 22px 0; }
.c-stack .book3d { margin-left: calc(var(--bw) * -.46); transition: transform .5s var(--ease); cursor: pointer; }
.c-stack .book3d:first-child { margin-left: 0; }
.c-stack .book3d:hover { transform: translateY(-16px) scale(1.04); z-index: 50 !important; }
.c-stack .book3d:hover .b-inner { transform: rotateY(-8deg); }
.c-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.c-dots { gap: 0; }
.c-dots button { position: relative; width: 24px; height: 24px; background: none; }
.c-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 999px; background: var(--line-2); transform: translate(-50%, -50%); transition: width .35s var(--ease), background .35s; }
.c-dots button.on { width: 40px; }
.c-dots button.on::before { width: 28px; background: var(--gold); }

/* ---------- sık sorulan sorular ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 56px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s; }
.faq-list details[open] { border-color: rgba(196, 146, 44, .45); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-soft); color: var(--gold); font-size: 18px; transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; }

/* ---------- bülten ---------- */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: 28px; border: 1px solid rgba(196, 146, 44, .3); background: radial-gradient(120% 140% at 0% 0%, var(--gold-soft), transparent 55%), var(--surface); }
.newsletter h2 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; }
.newsletter p { color: var(--ink-2); margin-top: 8px; }
.nl-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); }
.nl-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 16px; outline: none; }
.nl-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.push-box { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--bg); border: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.push-head { display: flex; align-items: center; gap: 12px; }
.push-head svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); flex: none; }
.push-head strong { display: block; font-size: 15px; }
.push-head span { display: block; font-size: 13px; color: var(--muted); }
.push-topics { display: flex; flex-wrap: wrap; gap: 0 18px; }
.push-topics .f-check { font-size: 14px; padding: 4px 0; }
#pushBtn { align-self: flex-start; }
#pushBtn .on, #pushBtn.is-on .off { display: none; }
#pushBtn.is-on .on { display: inline; }
#pushBtn.is-on { border-color: #2f9e62; color: #2f9e62; }
.push-box small { font-size: 12px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.f-brand img { height: 128px; width: auto; }
.f-brand p { color: var(--ink-2); font-size: 14.5px; margin-top: 16px; max-width: 38ch; }
.f-col h4, .f-col .f-h { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.f-col li + li { margin-top: 9px; }
.f-col a { color: var(--ink-2); font-size: 14.5px; transition: color .2s; }
.f-col a:hover { color: var(--gold); }
.f-contact li { display: flex; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.obf { color: var(--ink-2); font-size: 14.5px; border-bottom: 1px dashed var(--line-2); padding: 0; line-height: 1.5; }
.obf:hover { color: var(--gold); border-color: var(--gold); }
.obf a { color: inherit; }
.f-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); color: var(--ink-2); transition: all .25s; }
.social a:hover { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.secure { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 48px; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.secure-txt { display: flex; align-items: center; gap: 14px; }
.secure-txt svg { width: 34px; height: 34px; color: #2f9e62; flex: none; }
.secure-txt strong { display: block; font-size: 15px; }
.secure-txt span { display: block; font-size: 13px; color: var(--muted); }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay span { height: 34px; min-width: 54px; padding: 0 8px; border-radius: 7px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); display: inline-flex; align-items: center; justify-content: center; }
.pay svg { height: 20px; width: auto; }
.pay .pay-txt { font: 800 11px/1 Arial, sans-serif; color: #1d2027; letter-spacing: .02em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 28px; margin-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-bottom a:hover { color: var(--gold); }
.fb-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- yan sepet ---------- */
.overlay { position: fixed; inset: 0; z-index: 140; background: rgba(10, 12, 16, .5); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.overlay.on { opacity: 1; visibility: visible; }
.mini-cart { position: fixed; inset: 0 0 0 auto; z-index: 150; width: min(94vw, 420px); display: flex; flex-direction: column; background: var(--bg); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5); transform: translateX(105%); transition: transform .45s var(--ease); }
.mini-cart.open { transform: none; }
.mc-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.mc-head h2 { font-family: var(--display); font-size: 24px; }
.mc-head h2 small { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.mc-ship { padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.mc-ship b { color: var(--gold); }
.mc-bar { height: 6px; margin-top: 9px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.mc-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--gold-grad); transition: width .5s var(--ease); }
.mc-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.mc-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: card-in .4s var(--ease) both; }
.mc-item img { width: 58px; height: 80px; object-fit: cover; border-radius: 2px 4px 4px 2px; box-shadow: 3px 4px 10px -4px rgba(0,0,0,.5); }
.mc-set.is-stack, .cr-set.is-stack { position: relative; display: block; width: 64px; height: 80px; flex: none; }
.is-stack img { position: absolute; top: calc(var(--k) * 4px); left: calc(var(--k) * 9px); width: 44px !important; height: 64px !important; object-fit: cover; border-radius: 2px 4px 4px 2px; box-shadow: 3px 4px 10px -4px rgba(0, 0, 0, .55); z-index: calc(5 - var(--k)); }
.is-stack.lg { width: 110px; height: 104px; }
.is-stack.lg img { width: 60px !important; height: 86px !important; left: calc(var(--k) * 15px); top: calc(var(--k) * 5px); }
.mc-item strong a:hover { color: var(--gold); }
.mc-item strong { display: block; font-size: 14.5px; line-height: 1.3; }
.mc-item small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--ink-2); }
.qty button:hover { color: var(--gold); }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.mc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.mc-right b { font-size: 15px; }
.mc-del { font-size: 12.5px; color: var(--muted); }
.mc-del:hover { color: #d64533; }
.mc-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 70px 10px; text-align: center; color: var(--muted); }
.mc-empty svg { width: 54px; height: 54px; color: var(--line-2); }
.mc-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); }
.mc-sum { display: flex; justify-content: space-between; font-size: 15px; }
.mc-sum.total { font-size: 18px; font-weight: 700; }
.mc-sum.disc span:last-child { color: #2f9e62; font-weight: 600; }
.mc-foot small { color: var(--muted); font-size: 12.5px; text-align: center; }

/* ---------- hızlı önizleme ---------- */
.modal { position: fixed; inset: 0; z-index: 160; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal .overlay { position: absolute; z-index: 0; }
.modal.open .overlay { opacity: 1; visibility: visible; }
.qv { position: relative; z-index: 1; width: min(1020px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 26px; background: var(--bg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1fr); opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .35s, transform .4s var(--ease); }
.modal.open .qv { opacity: 1; transform: none; }
.qv-close { position: absolute; top: 14px; right: 14px; z-index: 3; }
.qv-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 50px 30px; min-height: 420px; background: radial-gradient(80% 70% at 50% 40%, var(--gold-soft), transparent 70%), var(--bg-2); cursor: grab; touch-action: none; }
.qv-stage small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.qv-stage-wrap { position: relative; display: flex; flex-direction: column; background: var(--bg-2); }
.qv-stage.is-page { cursor: default; padding: 28px; }
.qv-page { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.qv-page img { width: 100%; max-height: 440px; object-fit: contain; border-radius: 4px; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .6); background: #fff; }
.qv-page figcaption { font-size: 12.5px; color: var(--muted); }
.qv-thumbs { display: flex; gap: 10px; padding: 0 20px 20px; overflow-x: auto; scrollbar-width: thin; }
.qv-thumbs[hidden] { display: none; }
.qv-th { flex: none; height: 64px; padding: 3px; border-radius: 10px; border: 2px solid transparent; background: var(--surface); transition: border-color .2s, transform .2s; }
.qv-th img { height: 100%; width: auto; border-radius: 6px; }
.qv-th:hover { transform: translateY(-2px); }
.qv-th.on { border-color: var(--gold); }
.qv-body { padding: clamp(24px, 3.5vw, 42px); display: flex; flex-direction: column; gap: 12px; }
.qv-body h2 { font-family: var(--display); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.1; }
.qv-body .p-author { font-size: 15px; }
.qv-tag { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 18px; }
.qv-body > p { color: var(--ink-2); }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--line); margin-top: 6px; }
.spec div { padding: 10px 14px; background: var(--surface); }
.spec dt { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 500; }
.qv-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 10px; }
.qv-buy .price .now { font-size: 30px; }
.qv-buy .qty { margin: 0; }
.qv-buy .qty button { width: 40px; height: 44px; }
.qv-rate { display: flex; align-items: center; gap: 10px; }
.qv-rate a { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.qv-rate a:hover { color: var(--gold); }
.qv-detail { align-self: flex-start; margin-top: 4px; }
.qv-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.qv-share > span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); transition: transform .2s, border-color .2s, color .2s, background .2s; }
.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover { transform: translateY(-2px); }
.share-btn.wa { color: #1fa855; } .share-btn.wa:hover { border-color: #25d366; background: rgba(37, 211, 102, .1); }
.share-btn.fb { color: #1877f2; } .share-btn.fb:hover { border-color: #1877f2; background: rgba(24, 119, 242, .1); }
.share-btn.cp:hover { border-color: var(--gold); color: var(--gold); }
.qv-tools { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.qv-tools .icon-btn { box-shadow: var(--shadow); }
.qv-zoombar { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.qv-zoombar button { width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--ink); transition: background .2s, color .2s; }
.qv-zoombar button:hover:not(:disabled) { background: var(--gold-soft); color: var(--gold); }
.qv-zoombar button:disabled { opacity: .35; cursor: default; }
.qv-zval { min-width: 44px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.qv-stage { overflow: hidden; }
.qv-stage > .book3d { transform: scale(var(--qz, 1)); transition: transform .4s var(--ease); }
.qv-zoom { position: relative; width: 100%; height: 100%; min-height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 12px; touch-action: none; }
.qv-zoom img { max-width: 100%; max-height: 440px; object-fit: contain; transform: scale(var(--qz, 1)) translate(var(--px, 0), var(--py, 0)); transition: transform .35s var(--ease); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .6); border-radius: 3px; background: #fff; user-select: none; -webkit-user-drag: none; }
.qv-zoom.on { cursor: grab; }
.qv-zoom.dragging { cursor: grabbing; }
.qv-zoom.dragging img { transition: none; }
.qv-zoom-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--muted); white-space: nowrap; }

/* bildirim */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14.5px; box-shadow: var(--shadow-lg); transform: translate(-50%, calc(100% + 40px)); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 18px; height: 18px; color: #4cc38a; }
.toast.is-err svg { color: #ff8a7a; }
.toast.is-err { background: #3a1f1f; color: #ffe3de; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; box-shadow: var(--shadow); }
.to-top.on { opacity: 1; visibility: visible; transform: none; }

/* hesap simgesi: oturum açıkken yeşil nokta */
.acc-dot { position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border-radius: 50%; background: #2f9e62; border: 2px solid var(--surface); transform: scale(0); transition: transform .3s var(--ease); }
.acc-btn.is-in .acc-dot { transform: scale(1); }
.nav .nav-parent.is-current { color: var(--gold); }
.btn-dark { background: #1d2027; color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-danger { background: #d64533; color: #fff; }
.btn-danger:hover { background: #b93424; }
.btn.busy { pointer-events: none; opacity: .8; }
.btn.busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn.busy svg { display: none; }
.qv-buy .qv-fav { width: 48px; height: 48px; }
.c-list a:hover { text-decoration: underline; }
/* çerez tercihi */
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 180; width: min(440px, calc(100vw - 32px)); padding: 16px 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--ink-2); transform: translateY(calc(100% + 30px)); transition: transform .45s var(--ease); }
.cookie-bar.on { transform: none; }
.cookie-bar[hidden] { display: none; }
.cookie-bar b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* görünür olunca beliren öğeler */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- duyarlı düzen ---------- */
@media (min-width: 640px) {
  .wrap, .bar { padding-inline: 28px; }
  .hero-grid { padding-inline: 28px; }
  .promise { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .c-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .c-slide { flex-basis: 100%; }
  .qv { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .qv-stage { min-height: 500px; }
  .qv-stage-wrap { border-radius: 26px 0 0 26px; overflow: hidden; }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .bar-social { display: flex; }
  .bar-cta { display: inline-flex; }
  .burger { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: min(100vh, 980px); min-height: min(100svh, 980px); padding-top: 100px; padding-bottom: 30px; gap: 24px; }
  .hero-copy { max-width: 640px; }
  .flow { display: block; position: absolute; top: 0; right: 0; width: 52vw; max-width: 900px; height: 100%; }
  .mobile-books { display: none; }
  .shop-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 34px; }
  .shop-aside { position: sticky; top: 96px; }
  .m-filter-btn { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .faq-grid .section-head { position: sticky; top: 120px; align-self: start; }
  .site-header { --logo-h: 118px; --bar-pad: 34px; }
  .site-header.is-stuck { --logo-h: 68px; --bar-pad: 12px; }
  .hero-grid { padding-top: 170px; }
}
@media (min-width: 1280px) {
  .c-slide { flex-basis: 100%; }
}
/* mobil: filtre paneli alttan çekmece */
@media (max-width: 1023px) {
  .shop-aside { position: fixed; inset: auto 0 0 0; z-index: 145; max-height: 82vh; overflow-y: auto; padding: 20px; border-radius: 26px 26px 0 0; background: var(--bg); box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .6); transform: translateY(105%); transition: transform .45s var(--ease); }
  .shop-aside.open { transform: none; }
  .aside-close { display: inline-flex !important; align-self: flex-end; }
  .p-grid { --cols: 2; }
  .p-grid[data-view="1"] { --cols: 1; }
  .p-grid[data-view="3"] { --cols: 2; }
  .views button[data-view="3"] { display: none; }
}
@media (max-width: 639px) {
  .site-header { --logo-h: 84px; --slot: 40px; --bar-pad: 20px; }
  .site-header.is-stuck { --logo-h: 56px; --bar-pad: 8px; }
  .hero-grid { padding-top: 128px; }
  .rt-ava { width: 36px; height: 36px; }
  .rt-ava + .rt-ava { margin-left: -10px; }
  .rt-avas { padding-right: 10px; }
  .rt-body { padding-left: 10px; min-width: 0; }
  .rt-row { flex-wrap: wrap; gap: 2px 8px; }
  .rt-score { font-size: 14px; }
  .hero-slogan::before { width: 22px; margin-right: 8px; }
  .footer-grid, .f-brand, .f-col { text-align: center; justify-items: center; }
  .f-brand img { margin-inline: auto; height: 110px; }
  .f-brand p { margin-inline: auto; }
  .f-brand .social, .site-footer .social { justify-content: center; }
  .f-contact li { justify-content: center; text-align: left; }
  .secure { flex-direction: column; text-align: center; }
  .secure-txt { flex-direction: column; }
  .pay { justify-content: center; }
  .fb-links { justify-content: center; }
  .bar-tools .theme-toggle { width: 38px; height: 38px; }
  .hero-copy .cta-row .btn { flex: 1 1 0; padding: 13px 10px; font-size: 14px; }
  .p-grid, .p-grid[data-view="3"], .p-grid[data-view="2"] { --cols: 1; }
  .views { display: none; }
  .p-grid[data-view="1"] .p-card { flex-direction: column; }
  .p-stage { min-height: 300px; }
  .toolbar { padding: 10px; }
  .tb-right { width: 100%; justify-content: space-between; gap: 8px; }
  .tb-search { order: 2; flex-basis: 100%; max-width: none; margin-right: 0; }
  .tb-right { order: 3; }
  .sort { flex: 1; min-width: 0; }
  .sort-lbl { display: none; }
  .sort select { width: 100%; min-width: 0; text-overflow: ellipsis; }
  .c-stack { min-height: 240px; }
  .countdown div { min-width: 50px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
.aside-close { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .gold-text, .btn-gold, .rot em, .skeleton { animation: none; }
  .marquee { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .book3d .b-inner, .c-track { transition: none; }
}

/* kitap adları her yerde Poppins (görsel başlık yazı tipi yalnızca bölüm başlıklarında) */
.p-title, .hf-meta h3, .qv-body h2, .mobile-books .mb strong, .c-info h3, .mc-item strong, .r-book-name {
  font-family: var(--body); font-weight: 700; letter-spacing: -.015em;
}
.p-title { font-size: 19px; line-height: 1.28; }
.hf-meta h3, .hf-meta .hf-title { font-weight: 700; margin-top: 0; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.18; }
.qv-body h2 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.mobile-books .mb strong { font-size: 16px; }
.c-info h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.14; letter-spacing: -.02em; }
.p-grid[data-view="1"] .p-title { font-size: 26px; }

/* ön sipariş rozeti ve puansız “bekleyiş” notu */
.badge.pre { align-items: center; gap: 5px; background: #3f6fcf; color: #fff; }
.badge.pre svg { width: 12px; height: 12px; }
.r-wait { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(63, 111, 207, .12); color: #3f6fcf; white-space: nowrap; }
.r-wait svg { width: 14px; height: 14px; }
[data-theme="dark"] .r-wait { background: rgba(120, 160, 240, .16); color: #9dbaf5; }
.pre-note { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #3f6fcf; }
.pre-note svg { width: 13px; height: 13px; flex: none; }
[data-theme="dark"] .pre-note { color: #9dbaf5; }

/* ---------- okur hikâyeleri (Instagram) ---------- */
.st-block { margin-top: 56px; }
.st-sec .st-block { margin-top: 0; }
.st-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.st-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.st-head .eyebrow svg { width: 16px; height: 16px; color: #E1306C; }
.st-title { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.st-head p { color: var(--muted); max-width: 62ch; margin-top: 8px; font-size: 15px; line-height: 1.6; }
.st-ig svg { width: 16px; height: 16px; color: #E1306C; }
.st-wall { --cols: 2; --gap: 12px; --lift: 26px; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0 0 var(--lift); }
.st-item[hidden] { display: none !important; }
.st-item:nth-child(2n) { translate: 0 var(--lift); }
.st-item.is-new { animation: stIn .55s var(--ease) both; }
@keyframes stIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.st-card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--surface-2); cursor: zoom-in; isolation: isolate;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 16px 34px -20px rgba(20, 16, 8, .55); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.st-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.st-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 22%, transparent 78%, rgba(0, 0, 0, .18)); pointer-events: none; }
.st-card::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 2.5px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.st-card:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 28px 48px -22px rgba(20, 16, 8, .6); }
.st-card:hover img { transform: scale(1.045); }
.st-card:hover::after, .st-card:focus-visible::after { opacity: 1; }
.st-card:focus-visible { outline: none; }
.st-badge { position: absolute; top: 10px; left: 10px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.st-badge svg { width: 15px; height: 15px; }
.st-all { display: flex; justify-content: center; margin-top: 18px; }
.st-more-wrap { margin-top: 18px; }
@media (min-width: 640px) {
  .st-wall { --cols: 3; --gap: 14px; --lift: 34px; }
  .st-item:nth-child(2n) { translate: none; }
  .st-item:nth-child(3n + 2) { translate: 0 var(--lift); }
}
@media (min-width: 1024px) {
  .st-wall { --cols: 5; --gap: 18px; --lift: 44px; }
  .st-item:nth-child(3n + 2) { translate: none; }
  .st-item:nth-child(5n + 2), .st-item:nth-child(5n + 4) { translate: 0 var(--lift); }
}

/* anasayfa: tek sıra (mobilde 3 + 3) */
.is-compact .st-wall { --cols: 3; --gap: 10px; --lift: 18px; }
.is-compact .st-item:nth-child(n) { translate: none; }
.is-compact .st-item:nth-child(3n + 2) { translate: 0 var(--lift); }
.is-compact .st-item:nth-child(n + 7) { display: none; }
.is-compact .st-card { border-radius: 14px; }
@media (min-width: 1024px) {
  .is-compact .st-wall { --cols: 6; --gap: 16px; --lift: 30px; }
  .is-compact .st-item:nth-child(3n + 2) { translate: none; }
  .is-compact .st-item:nth-child(2n) { translate: 0 var(--lift); }
}

/* tam ekran hikâye görüntüleyici */
.sv { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.sv.open { opacity: 1; }
.sv-bg { position: absolute; inset: 0; background: rgba(12, 10, 8, .9); backdrop-filter: blur(10px); }
.sv-stage { position: relative; margin: 0; height: min(92vh, 900px); height: min(92svh, 900px); aspect-ratio: 9 / 16; max-width: 94vw; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); touch-action: pan-y; user-select: none; transform: scale(.96); transition: transform .3s var(--ease); }
.sv.open .sv-stage { transform: none; }
.sv-img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0; transition: opacity .25s; }
.sv-img.on { opacity: 1; }
.sv-prog { position: absolute; top: 10px; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); z-index: 2; overflow: hidden; }
.sv-prog i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
@keyframes svProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sv.paused .sv-prog i { animation-play-state: paused !important; }
.sv-top { position: absolute; top: 20px; left: 12px; right: 12px; z-index: 2; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.sv-ig { display: inline-flex; align-items: center; gap: 6px; }
.sv-ig svg { width: 16px; height: 16px; }
.sv-count { margin-left: auto; opacity: .85; font-variant-numeric: tabular-nums; }
.sv-play { width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); display: inline-flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer; }
.sv-play span { width: 3px; height: 11px; border-radius: 2px; background: #fff; }
.sv.paused .sv-p1 { width: 0; height: 0; border-radius: 0; background: none; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.sv.paused .sv-p2 { display: none; }
.sv-nav, .sv-x { position: absolute; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .12); cursor: pointer; transition: background .2s; }
.sv-nav:hover, .sv-x:hover { background: rgba(255, 255, 255, .24); }
.sv-nav svg, .sv-x svg { width: 22px; height: 22px; }
.sv-nav.prev { left: max(16px, calc(50% - min(92vh, 900px) * 9 / 32 - 72px)); top: 50%; translate: 0 -50%; }
.sv-nav.next { right: max(16px, calc(50% - min(92vh, 900px) * 9 / 32 - 72px)); top: 50%; translate: 0 -50%; }
.sv-x { top: 16px; right: 16px; }
@media (max-width: 640px) {
  .sv-stage { height: 100%; max-width: 100%; width: 100%; border-radius: 0; aspect-ratio: auto; }
  .sv-nav { display: none; }
  .sv-x { top: 38px; right: 10px; width: 40px; height: 40px; background: rgba(0, 0, 0, .35); }
  .sv-top { right: 60px; }
}

/* yönetim çubuğu (yalnızca yöneticiye görünür): sabit başlık ve paneller çubuğun altında */
.admin-bar .site-header, .admin-bar .drawer, .admin-bar .mini-cart { top: 32px; }
@media (max-width: 782px) {
  #wpadminbar { position: fixed; }
  .admin-bar .site-header, .admin-bar .drawer, .admin-bar .mini-cart { top: 46px; }
}

/* performans: ekran dışındaki anasayfa bölümleri görünür olana dek çizilmez */
.home main > .section:not(.hero):not(:first-of-type) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* erişilebilirlik: indirim rozeti kontrastı */
.badge.sale { background: #c0392b; }
.hf-meta .hf-title { color: var(--ink); margin-bottom: 8px; }

/* kitap dışı ürün görseli (3B kitap yerine) */
.prod-flat { width: var(--bw, 200px); max-width: 100%; display: grid; place-items: center; }
.prod-flat img { width: 100%; height: auto; max-height: calc(var(--bw, 200px) * 1.35); object-fit: contain; border-radius: 12px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .55); background: var(--surface); }

/* Cloudflare Turnstile: yalnızca doğrulama gerektiğinde görünür */
.ts-box:empty { display: none; }
.ts-box { margin: 4px 0 8px; min-height: 0; }
.nl-form { position: relative; }
.nl-form .ts-box { position: absolute; left: 0; top: calc(100% + 8px); z-index: 2; margin: 0; }

/* açık tema: arduvaz mavisi (#435166) — logo zemini, hero ışığı, koyu düğmeler, sayfa başlıkları */
:root { --slate: #435166; --slate-2: #36425a; --slate-soft: rgba(67, 81, 102, .13); }
:root:not([data-theme="dark"]) .logo-plate { background: rgba(67, 81, 102, .96); border-color: rgba(255, 255, 255, .12); }
:root:not([data-theme="dark"]) .hero-bg { background:
  radial-gradient(60% 70% at 88% 18%, var(--gold-soft), transparent 70%),
  radial-gradient(55% 65% at 0% 100%, var(--slate-soft), transparent 72%),
  linear-gradient(180deg, rgba(67, 81, 102, .07), transparent 55%),
  var(--bg); }
:root:not([data-theme="dark"]) .hero-feather { color: var(--slate); opacity: .055; }
:root:not([data-theme="dark"]) .btn-dark { background: var(--slate); }
:root:not([data-theme="dark"]) .btn-dark:hover { background: var(--slate-2); }
:root:not([data-theme="dark"]) .page-hero { background-image: radial-gradient(60% 90% at 100% 0%, var(--slate-soft), transparent 70%); }

/* sosyal medya paylaşımı (puansız yorum) */
.r-social { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(225, 48, 108, .1); color: #b3244f; }
.r-social svg { width: 13px; height: 13px; }
[data-theme="dark"] .r-social { background: rgba(225, 48, 108, .16); color: #f28bae; }

.fb-cookie { font: inherit; color: inherit; background: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; opacity: .85; }
.fb-cookie:hover { opacity: 1; color: var(--gold); }
