/* /katalog/ sayfa cevirmeli katalog (2026-11-18) */
.catalog-viewer-main { padding-bottom: 72px; background: var(--surface-soft, #f3f6fa); }
.kat-head { padding-top: 6px; padding-bottom: 14px; text-align: center; }
.kat-head h1 { margin: 6px 0 10px; color: var(--navy-900, #071d36); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; }
.kat-lead { max-width: 760px; margin: 0 auto; color: var(--ink-soft, #52626c); font-size: 15.5px; line-height: 1.65; }
.kat-viewer { position: relative; display: flex; flex-direction: column; align-items: center; background: transparent; }
.kat-viewer:fullscreen { justify-content: center; padding: 16px; background: #0b1b2c; }
.kat-stage-wrap { position: relative; margin: 8px auto 0; max-width: 100%; }
.kat-stage { width: 100%; height: 100%; }
.kat-stage .stf__parent { margin: 0 auto; }
.kat-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft, #52626c); font-weight: 700; }
.kat-loading[hidden] { display: none; }
.kat-page { background: #fff; overflow: hidden; }
.kat-page img { width: 100%; height: 100%; display: block; object-fit: cover; -webkit-user-drag: none; user-select: none; pointer-events: none; background: #fff; }
.kat-stage-wrap::after { content: ""; position: absolute; left: 3%; right: 3%; bottom: -14px; height: 22px; z-index: -1; background: radial-gradient(ellipse at center, rgba(7, 29, 54, .28), rgba(7, 29, 54, 0) 70%); filter: blur(6px); }
.kat-bar { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.kat-btn { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid #d3dde6; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--navy-900, #071d36); background: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.kat-btn:hover:not(:disabled), .kat-btn:focus-visible { border-color: var(--teal-600, #0e8a76); background: #eef8f6; }
.kat-btn:disabled { opacity: .4; cursor: default; }
.kat-btn svg { width: 20px; height: 20px; }
.kat-count { min-width: 120px; text-align: center; color: var(--navy-900, #071d36); font-size: 14.5px; font-weight: 800; }
.kat-select select { min-height: 44px; padding: 0 12px; border: 1px solid #d3dde6; border-radius: 10px; color: var(--navy-900, #071d36); background: #fff; font: inherit; font-size: 14px; }
.kat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kat-hint { margin: 12px 0 0; color: #6a7b8c; font-size: 13px; text-align: center; }
.kat-actions { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.kat-noscript { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.kat-noscript img { width: 100%; max-width: 640px; height: auto; display: block; margin: 0 auto; }
.kat-zoom { width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: #fff; overflow: hidden; }
.kat-zoom::backdrop { background: rgba(6, 21, 40, .78); }
.kat-zoom-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(7, 29, 54, .86); cursor: pointer; }
.kat-zoom-body { max-height: 94vh; overflow: auto; display: flex; justify-content: center; align-items: flex-start; gap: 0; background: #f3f6fa; -webkit-overflow-scrolling: touch; }
.kat-zoom-body img { flex: 0 0 auto; width: min(1270px, 92vw); max-width: none; height: auto; display: block; }
.kat-toc { margin-top: 44px; max-width: 880px; }
.kat-toc h2 { margin: 0 0 14px; color: var(--navy-900, #071d36); font-size: 22px; }
.kat-toc ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 0; border-top: 1px solid #e3eaf0; }
.kat-toc li { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #e3eaf0; }
.kat-toc li a { flex: 1; font-weight: 800; color: var(--navy-900, #071d36); }
.kat-toc li small { color: #6a7b8c; min-width: 62px; text-align: right; }
.kat-jump { min-height: 34px; padding: 0 12px; border: 1px solid #d3dde6; border-radius: 8px; color: var(--teal-600, #0e8a76); background: #fff; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.kat-jump:hover { background: #eef8f6; }
@media (max-width: 760px) {
  .kat-head { padding-top: 0; }
  .kat-lead { font-size: 14.5px; }
  .kat-bar { gap: 8px; margin-top: 22px; }
  .kat-btn-text span { display: none; }
  .kat-btn-text { padding: 0; width: 44px; }
  .kat-select { order: 9; flex: 1 1 100%; }
  .kat-select select { width: 100%; }
  .kat-toc li { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .kat-btn { transition: none; } }

.kat-btn svg, .kat-actions .button svg, .kat-zoom-close svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kat-actions .button { gap: 9px; }
/* kapak/arka kapak kapaliyken kitap ortalanir (tek sayfa gorunur); acilinca yerine oturur */
.kat-stage { transition: transform .5s cubic-bezier(.3, .8, .3, 1); }
.kat-viewer[data-pos="start"] .kat-stage { transform: translateX(-25%); }
.kat-viewer[data-pos="end"] .kat-stage { transform: translateX(25%); }
.kat-viewer[data-portrait="1"] .kat-stage { transform: none !important; }
@media (prefers-reduced-motion: reduce) { .kat-stage { transition: none; } }
