:root {
  --paper: #f5efe4;
  --paper-2: #ece3d3;
  --card: #fbf8f2;
  --ink: #1c1814;
  --ink-2: #4a4239;
  --muted: #736859;
  --line: #ddd2bf;
  --accent: #c2410c;
  --accent-2: #9a3412;
  --gold: #b7791f;
  --deep: #14231d;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow.light { color: #f0b48a; }
.muted { color: var(--muted); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 999; background: var(--ink); display: grid; place-content: center; justify-items: center; gap: 22px; transition: clip-path 1s var(--ease) .1s; clip-path: inset(0 0 0 0); }
.loader.out { clip-path: inset(0 0 100% 0); }
.loader-book { position: relative; width: 70px; height: 50px; perspective: 400px; }
.loader-book span { position: absolute; right: 50%; top: 0; width: 50%; height: 100%; background: var(--paper); border-radius: 4px 0 0 4px; transform-origin: right center; animation: flip 1.2s var(--ease) infinite; }
.loader-book span:nth-child(2) { animation-delay: .15s; background: #e6d8c2; }
.loader-book span:nth-child(3) { animation-delay: .3s; background: var(--accent); }
.loader-book::after { content: ""; position: absolute; left: 50%; top: 0; width: 50%; height: 100%; background: var(--paper); border-radius: 0 4px 4px 0; }
@keyframes flip { 0% { transform: rotateY(0) } 60%, 100% { transform: rotateY(180deg) } }
.loader-word { font-family: var(--serif); font-size: 1.6rem; color: var(--paper); letter-spacing: .02em; font-style: italic; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--gold)); z-index: 60; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.scrolled { background: rgba(245, 239, 228, .82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 1.3rem; font-weight: 700; transition: transform .5s var(--spring), background .3s; }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); background: var(--accent); }
.logo-text { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; display: flex; flex-direction: column; }
.logo-text small { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 500; }
.logo.light .logo-mark { background: var(--paper); color: var(--ink); }
.logo.light .logo-text { color: var(--paper); }
.nav-links { display: flex; gap: 34px; font-size: .95rem; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border: none; background: transparent; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .25s, transform .25s; }
.icon-btn:hover { background: rgba(28, 24, 20, .07); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--spring); }
.cart-count.show { transform: scale(1); }
.cart-btn.bump { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg) } 60% { transform: scale(.95) rotate(4deg) } }
.menu-btn { display: none; }
.search-bar { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); background: rgba(245, 239, 228, .95); backdrop-filter: blur(14px); }
.search-bar.open { max-height: 90px; box-shadow: 0 1px 0 var(--line); }
.search-bar input { width: 100%; border: none; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 14px 0; margin: 6px 0 18px; font-family: var(--serif); font-size: 1.5rem; outline: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 99px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; transition: transform .35s var(--spring), background .3s, color .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; white-space: nowrap; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: var(--accent); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); z-index: 0; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary > * , .btn-primary { z-index: 1; }
.btn-primary span, .btn-primary { isolation: isolate; }
.btn-primary::before { z-index: -1; }
.btn-primary:hover { box-shadow: 0 14px 28px -14px rgba(28, 24, 20, .55); }
.btn-ghost { border-color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-size: 1.1rem; transition: background .3s, color .3s, transform .3s var(--spring); }
.round-btn:hover { background: var(--ink); color: var(--paper); transform: scale(1.06); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; background: #f3b58a; right: -120px; top: -80px; }
.blob.b2 { width: 420px; height: 420px; background: #e8cf9c; left: -140px; bottom: -120px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }
.grain { position: absolute; inset: 0; opacity: .22; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(3.2rem, 8vw, 7.2rem); line-height: .95; letter-spacing: -.045em; margin-bottom: 28px; font-weight: 600; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-right: .18em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform 1.1s var(--ease); }
.hero-title em { font-style: italic; color: var(--accent); font-weight: 400; }
body.ready .hero-title .w > span { transform: none; }
body.ready .hero-title .w:nth-child(1) > span { transition-delay: .05s }
body.ready .hero-title .w:nth-child(2) > span { transition-delay: .13s }
body.ready .hero-title .w:nth-child(3) > span { transition-delay: .21s }
body.ready .hero-title .w:nth-child(4) > span { transition-delay: .29s }
body.ready .hero-title .w:nth-child(5) > span { transition-delay: .37s }
.hero-sub { font-size: 1.15rem; color: var(--ink-2); max-width: 520px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 54px; }
.hero-meta { display: flex; gap: 44px; }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 600; line-height: 1; }
.hero-meta span { font-size: .82rem; color: var(--muted); }
.hero-stage { position: relative; height: 600px; perspective: 1400px; }
.stage-ring { position: absolute; inset: 8% 6%; border-radius: 50%; border: 1px dashed rgba(28, 24, 20, .22); animation: spin 60s linear infinite; }
.stage-ring::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); top: 50%; left: -7px; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-book { position: absolute; width: 230px; transform-style: preserve-3d; transition: transform .25s linear; }
.float-book .cover-box { animation: bob 6s ease-in-out infinite; }
.fb1 { left: 4%; top: 18%; width: 210px; --rot: -10deg; }
.fb2 { left: 32%; top: 6%; width: 270px; z-index: 2; --rot: 3deg; }
.fb3 { right: 2%; top: 34%; width: 200px; --rot: 12deg; }
.fb1 .cover-box { animation-delay: -2s; }
.fb3 .cover-box { animation-delay: -4s; }
.float-book .cover { transform: rotate(var(--rot)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 60px -20px rgba(40, 20, 5, .55); }
@keyframes bob { 50% { transform: translateY(-18px); } }
.stage-tag { position: absolute; z-index: 3; background: var(--card); border-radius: 99px; padding: 10px 18px; font-size: .85rem; box-shadow: 0 20px 40px -18px rgba(40, 20, 5, .45); animation: bob 5s ease-in-out infinite; }
.stage-tag span { font-weight: 700; color: var(--accent); margin-right: 4px; }
.tag1 { left: 0; bottom: 18%; }
.tag2 { right: 4%; top: 12%; animation-delay: -2.5s; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid var(--ink-2); border-radius: 99px; translate: -50% 0; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: var(--ink); translate: -50% 0; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 22px 0; transform: rotate(-1.5deg) scale(1.03); margin: 10px 0 40px; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marq 32s linear infinite; font-family: var(--serif); font-size: 2rem; font-style: italic; align-items: center; }
.marquee-track i { font-style: normal; color: var(--accent); font-size: 1.2rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.slider-ctrl { display: flex; gap: 10px; }

/* Feature rail */
.feat-rail { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px max(24px, calc((100% - 1240px) / 2)) 40px; scrollbar-width: none; cursor: grab; }
.feat-rail::-webkit-scrollbar { display: none; }
.feat-rail.drag { cursor: grabbing; scroll-snap-type: none; }
.feat-card { flex: 0 0 min(560px, 86vw); scroll-snap-align: start; display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 30px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(40, 20, 5, .4); }
.feat-card .cover-box { transform: rotate(-3deg); transition: transform .6s var(--spring); }
.feat-card:hover .cover-box { transform: rotate(0) scale(1.04); }
.feat-card h3 { font-size: 1.7rem; margin: 6px 0 6px; }
.feat-card .by { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.feat-card p { font-size: .93rem; color: var(--ink-2); margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.feat-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feat-body { display: flex; flex-direction: column; }
.feat-body .row { margin-top: auto; }

/* Catalog */
.cat-tools { display: flex; gap: 12px; }
.search-inline { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); transition: border-color .3s, box-shadow .3s; }
.search-inline:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28, 24, 20, .06); }
.search-inline svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search-inline input { border: none; background: none; outline: none; width: 180px; }
select { height: 48px; padding: 0 40px 0 18px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c1814' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; outline: none; cursor: pointer; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.chip { height: 42px; padding: 0 20px; border-radius: 99px; border: 1.5px solid var(--line); background: transparent; font-weight: 500; font-size: .9rem; transition: all .35s var(--ease); position: relative; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip small { opacity: .55; margin-left: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 46px 28px; }
.book-card { position: relative; cursor: pointer; opacity: 0; transform: translateY(30px) scale(.97); animation: cardIn .7s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.book-card .tilt { perspective: 900px; margin-bottom: 18px; position: relative; }
.book-card .cover-box { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.book-card:hover .cover-box { transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-8px); }
.book-card .cover { transition: box-shadow .5s; }
.book-card:hover .cover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 34px 40px -18px rgba(40, 20, 5, .6); }
.badge { position: absolute; top: 12px; left: -8px; z-index: 4; padding: 5px 12px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: var(--paper); color: var(--ink); box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.badge.İndirim { background: var(--accent); color: #fff; }
.badge.Yeni { background: var(--deep); color: #fff; }
.badge.out { background: #6b6259; color: #fff; }
.quick-add { position: absolute; right: 12px; bottom: 12px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--paper); color: var(--ink); font-size: 1.4rem; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px) scale(.8); transition: all .45s var(--spring); }
.book-card:hover .quick-add { opacity: 1; transform: none; }
.quick-add:hover { background: var(--accent); color: #fff; transform: scale(1.1) !important; }
.book-card h3 { font-size: 1.2rem; margin-bottom: 4px; line-height: 1.2; }
.book-card .by { color: var(--muted); font-size: .88rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font-weight: 700; font-size: 1.05rem; }
.price del { color: var(--muted); font-weight: 400; font-size: .85rem; }
.stars { color: var(--gold); font-size: .8rem; letter-spacing: 1px; }
.meta-row { display: flex; justify-content: space-between; align-items: center; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); font-family: var(--serif); font-size: 1.4rem; font-style: italic; }

/* Quote */
.quote-sec { background: var(--deep); color: var(--paper); border-radius: 40px; margin: 40px 24px; overflow: hidden; position: relative; }
.quote-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.quote-art { position: relative; aspect-ratio: 1; max-width: 420px; }
.portrait { position: absolute; inset: 0; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 30% 30%, #f3b58a, #c2410c 60%, #7c2d12); display: grid; place-items: center; font-family: var(--serif); font-size: 7rem; color: rgba(255,255,255,.9); font-style: italic; animation: morph 12s ease-in-out infinite; }
@keyframes morph { 33% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; } 66% { border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%; } }
.ink-drop { position: absolute; width: 30%; aspect-ratio: 1; right: -4%; bottom: 6%; border-radius: 50%; background: var(--paper); mix-blend-mode: overlay; animation: bob 7s ease-in-out infinite; }
.big-quote { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.2; margin: 0 0 24px; font-style: italic; font-weight: 400; letter-spacing: -.015em; }
.quote-by { color: rgba(245, 239, 228, .7); margin: 0 0 40px; }
.quote-by strong { color: var(--paper); }
.authors { display: flex; flex-wrap: wrap; gap: 12px; }
.author-pill { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 99px; border: 1px solid rgba(245, 239, 228, .2); font-size: .9rem; transition: background .3s, border-color .3s, transform .3s var(--spring); cursor: pointer; background: transparent; color: inherit; }
.author-pill:hover { background: rgba(245, 239, 228, .08); border-color: rgba(245, 239, 228, .5); transform: translateY(-3px); }
.author-pill i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .75rem; font-weight: 700; background: var(--c, #c2410c); }
.author-pill small { opacity: .55; }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.about-card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 30px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.about-card:hover { transform: translateY(-8px); box-shadow: 0 30px 40px -28px rgba(40, 20, 5, .4); border-color: var(--accent); }
.ac-icon { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--accent); transition: transform .6s var(--spring); }
.about-card:hover .ac-icon { transform: rotate(-10deg) scale(1.1); }
.about-card h3 { font-size: 1.35rem; }
.about-card p { grid-column: 1 / -1; margin: 14px 0 0; color: var(--ink-2); font-size: .93rem; }

/* Newsletter */
.newsletter { padding: 0 0 110px; }
.nl-in { background: linear-gradient(120deg, var(--accent-2), var(--accent) 60%, #ea7a3c); color: #fff; border-radius: 34px; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.nl-in::after { content: "❦"; position: absolute; right: 30%; top: -60px; font-size: 16rem; opacity: .08; font-family: var(--serif); }
.nl-in h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 10px; }
.nl-in p { margin: 0; opacity: .85; max-width: 440px; }
.nl-form { display: flex; gap: 10px; background: rgba(255,255,255,.14); padding: 6px; border-radius: 99px; position: relative; z-index: 1; }
.nl-form input { border: none; background: transparent; outline: none; padding: 0 20px; color: #fff; width: 260px; }
.nl-form input::placeholder { color: rgba(255,255,255,.7); }

/* Footer */
.footer { background: var(--ink); color: rgba(245, 239, 228, .75); padding: 80px 0 30px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(245, 239, 228, .12); }
.foot-note { margin-top: 20px; font-size: .9rem; }
.foot-cols { display: flex; gap: 70px; }
.foot-cols h4 { color: var(--paper); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin: 0 0 14px; }
.foot-cols a { display: block; padding: 4px 0; font-size: .92rem; transition: color .2s, transform .3s var(--ease); }
.foot-cols a:hover { color: var(--paper); transform: translateX(4px); }
.admin-link { color: #f0b48a !important; font-weight: 600; }
.foot-bottom { padding-top: 26px; font-size: .82rem; opacity: .6; }

/* ---------- Overlay / Drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(20, 15, 10, .45); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .6s var(--ease); box-shadow: -30px 0 60px -30px rgba(0,0,0,.4); }
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.6rem; }
.ship-meter { padding: 16px 26px; background: var(--paper-2); font-size: .86rem; }
.ship-meter p { margin: 0 0 8px; }
.bar { height: 6px; border-radius: 9px; background: rgba(28, 24, 20, .1); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: inherit; transition: width .8s var(--ease); }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 26px; }
.cart-item { display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; animation: slideIn .5s var(--ease) both; }
.cart-item.removing { animation: slideOut .4s var(--ease) forwards; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes slideOut { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; } }
.cart-item h4 { margin: 0 0 2px; font-family: var(--serif); font-size: 1rem; font-weight: 600; line-height: 1.2; }
.cart-item small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; margin-top: 8px; }
.qty button { width: 30px; height: 30px; border: none; background: none; font-size: 1rem; border-radius: 50%; }
.qty button:hover { background: var(--paper-2); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .9rem; }
.ci-right { text-align: right; }
.ci-right strong { display: block; }
.ci-del { border: none; background: none; color: var(--muted); font-size: .78rem; text-decoration: underline; margin-top: 8px; }
.ci-del:hover { color: var(--accent); }
.cart-empty { text-align: center; padding: 70px 10px; color: var(--muted); }
.cart-empty .big { font-size: 4rem; display: block; margin-bottom: 10px; animation: bob 4s ease-in-out infinite; }
.drawer-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); background: var(--card); }
.sum-row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; color: var(--ink-2); }
.sum-row.total { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 12px 0 18px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(20, 15, 10, .5); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.modal.on { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; background: var(--paper); border-radius: 28px; width: min(980px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; transform: translateY(40px) scale(.96); transition: transform .6s var(--ease); box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); }
.modal.on .modal-card { transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; z-index: 3; }
.book-detail { display: grid; grid-template-columns: 1fr 1.15fr; }
.bd-art { background: var(--paper-2); padding: 60px; display: grid; place-items: center; perspective: 1200px; border-radius: 28px 0 0 28px; position: relative; overflow: hidden; }
.bd-art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--c2, #ccc); filter: blur(70px); opacity: .45; }
.bd-art .cover-box { width: 260px; transform: rotateY(-18deg) rotateX(4deg); animation: turn 6s ease-in-out infinite; position: relative; }
@keyframes turn { 50% { transform: rotateY(14deg) rotateX(-2deg); } }
.bd-info { padding: 54px 50px 44px; }
.bd-info h2 { font-size: 2.5rem; margin: 6px 0 8px; }
.bd-info .by { color: var(--ink-2); margin-bottom: 18px; }
.bd-info p.desc { color: var(--ink-2); margin: 0 0 24px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 26px; }
.specs div { background: var(--card); padding: 12px 14px; }
.specs small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.specs strong { font-size: .98rem; }
.bd-price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.bd-price del { font-size: 1.1rem; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.bd-actions { display: flex; gap: 12px; align-items: center; }
.bd-actions .qty { margin: 0; height: 54px; }
.bd-actions .qty button { width: 44px; height: 50px; }
.stock-note { font-size: .84rem; margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.stock-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a;  }
.stock-note.low::before { background: #d97706;  }
.stock-note.none::before { background: #b91c1c;  }

/* Checkout */
.checkout { width: min(560px, 100%); padding: 44px; }
.steps { display: flex; gap: 8px; margin-bottom: 30px; font-size: .78rem; font-weight: 600; }
.steps span { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); color: var(--muted); transition: all .4s var(--ease); }
.steps span.on { border-color: var(--accent); color: var(--ink); }
.co-step { display: none; }
.co-step.on { display: block; animation: stepIn .55s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.co-step h3 { font-size: 1.8rem; margin-bottom: 22px; }
.co-form label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.co-form input:not([type=radio]), .co-form textarea, .co-form select { display: block; width: 100%; margin-top: 6px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); outline: none; transition: border-color .25s, box-shadow .25s; font-weight: 400; font-size: .95rem; resize: none; }
.co-form select { height: auto; border-radius: 12px; }
.co-form input:focus, .co-form textarea:focus, .co-form select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28,24,20,.06); }
.co-form .invalid { border-color: #b91c1c !important; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f2.btns { margin-top: 20px; }
.pay-opt { display: flex !important; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .25s, background .25s; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--card); }
.pay-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.pay-opt strong { display: block; font-size: .95rem; color: var(--ink); }
.pay-opt small { font-weight: 400; color: var(--muted); }
.co-summary { padding: 16px 18px; border-radius: 14px; background: var(--paper-2); font-size: .9rem; margin-top: 8px; }
.co-summary .sum-row.total { margin: 8px 0 0; font-size: 1.05rem; }
.co-step.done { text-align: center; padding: 10px 0; }
.co-step.done p { margin: 0 0 8px; }
.co-step.done .btn { margin-top: 20px; }
.check-anim svg { width: 92px; height: 92px; fill: none; stroke: #16a34a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.check-anim circle { stroke-dasharray: 160; stroke-dashoffset: 160; }
.check-anim path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.co-step.done.on circle { animation: draw .7s var(--ease) forwards; }
.co-step.done.on path { animation: draw .45s var(--ease) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Toast */
.toasts { position: fixed; left: 50%; bottom: 28px; translate: -50% 0; z-index: 100; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: var(--paper); padding: 14px 22px; border-radius: 99px; font-size: .9rem; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); animation: toastIn .55s var(--spring); display: flex; gap: 10px; align-items: center; }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
.toast b { color: #f0b48a; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.95); } }

.fly { position: fixed; z-index: 120; pointer-events: none; width: 80px; }
.confetti { position: fixed; inset: 0; z-index: 110; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stage { height: 480px; }
  .fb2 { width: 220px; } .fb1 { width: 170px; } .fb3 { width: 160px; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); padding: 10px 16px 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .35s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .menu-btn { display: grid; }
  .hero { padding-top: 110px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-stage { height: 380px; order: -1; }
  .fb2 { width: 170px; left: 33%; } .fb1 { width: 130px; left: 4%; } .fb3 { width: 125px; right: 4%; }
  .hero-meta { gap: 26px; }
  .hero-meta strong { font-size: 1.8rem; }
  .scroll-hint { display: none; }
  .section { padding: 80px 0; }
  .quote-sec { margin: 20px 12px; border-radius: 28px; }
  .quote-in { grid-template-columns: 1fr; gap: 40px; }
  .quote-art { max-width: 240px; }
  .portrait { font-size: 4.5rem; }
  .feat-card { grid-template-columns: 120px 1fr; padding: 20px; gap: 18px; }
  .feat-card h3 { font-size: 1.3rem; }
  .cat-tools { width: 100%; }
  .search-inline { flex: 1; } .search-inline input { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .quick-add { opacity: 1; transform: none; width: 40px; height: 40px; }
  .nl-in { flex-direction: column; align-items: stretch; padding: 36px 24px; }
  .nl-form input { width: 100%; min-width: 0; }
  .foot-cols { gap: 36px; flex-wrap: wrap; }
  .book-detail { grid-template-columns: 1fr; }
  .bd-art { border-radius: 28px 28px 0 0; padding: 40px; }
  .bd-art .cover-box { width: 180px; }
  .bd-info { padding: 30px 24px; }
  .bd-info h2 { font-size: 1.9rem; }
  .checkout { padding: 30px 22px; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero-cta .btn { flex: 1; padding: 0 18px; }
  .f2 { grid-template-columns: 1fr; gap: 0; }
  .bd-actions { flex-wrap: wrap; }
  .bd-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* J&J logosu: üç karakterlik işaret */
.logo-mark { font-size: .95rem; letter-spacing: -.02em; }

/* Ajans J&J logosu (yuvarlak mühür) */
.logo-img { width: 44px; height: 44px; border-radius: 50%; flex: none; display: block; box-shadow: 0 6px 16px -8px rgba(120, 30, 0, .55); transition: transform .5s var(--spring); }
.logo:hover .logo-img { transform: rotate(-10deg) scale(1.06); }
.loader-logo { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; display: block; animation: loaderSpin 2.4s ease-in-out infinite; }
@keyframes loaderSpin { 50% { transform: scale(1.06) rotate(-6deg); } }
.stage-tag img { width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; margin-right: 4px; }

/* Bülten formu: hap şeklindeki alan yalnızca e-posta + butonu kapsar; KVKK notu altında ortalı durur */
.nl-in > div:first-child { flex: 1 1 0; min-width: 0; }
.nl-form { flex: 0 1 460px; display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 12px; background: none; padding: 0; border-radius: 0; }
.nl-form input[type=email] { grid-column: 1 / -1; grid-row: 1; width: 100%; height: 60px; padding: 0 150px 0 24px; border-radius: 99px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font-size: 1rem; }
.nl-form input[type=email]:focus { box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.nl-form button { grid-column: 2; grid-row: 1; margin-right: 6px; height: 48px; padding: 0 26px; }
.nl-form .nl-note { grid-column: 1 / -1; grid-row: 2; padding: 0 8px; text-align: center; }
@media (max-width: 860px) {
  .nl-in { text-align: center; }
  .nl-in p { margin-inline: auto; }
  .nl-form { flex-basis: auto; width: 100%; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 420px) {
  .nl-form input[type=email] { padding: 0 20px; text-align: center; }
  .nl-form button { grid-column: 1 / -1; grid-row: 2; margin: 0; width: 100%; }
  .nl-form .nl-note { grid-row: 3; }
}
