/* Bolat E-Katalog */
:root {
  --bg-0: #070d0c;
  --bg-1: #0d1715;
  --green: #26423b;
  --green-2: #32594f;
  --red: #c8102e;
  --red-2: #e0213f;
  --ink: #f4f2ee;
  --ink-2: rgba(244, 242, 238, .72);
  --ink-3: rgba(244, 242, 238, .48);
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(16, 27, 24, .72);
  --glass-2: rgba(26, 42, 38, .9);
  --radius: 18px;
  --top-h: 64px;
  --dock-h: 68px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .65), 0 12px 30px -12px rgba(0, 0, 0, .5);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg-0);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
body.has-font { font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
button, input, a { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { text-decoration: none; }
[hidden] { display: none !important; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 10px; }

.app {
  position: fixed; inset: 0;
  display: grid;
  grid-template-rows: var(--top-h) 1fr calc(var(--dock-h) + var(--safe-b) + 16px);
  background:
    radial-gradient(120% 80% at 50% 38%, rgba(50, 89, 79, .55) 0%, rgba(20, 36, 32, .35) 38%, transparent 70%),
    radial-gradient(60% 50% at 50% 110%, rgba(200, 16, 46, .10), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.app::before { /* ince kâğıt dokusu */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Üst bar ---------- */
.topbar {
  position: relative; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(14px, 3vw, 32px);
  padding-top: env(safe-area-inset-top, 0px);
}
.brand img { display: block; height: 25px; width: auto; }
.topbar__title { text-align: center; line-height: 1.1; }
.topbar__eyebrow { display: block; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--red-2); font-weight: 600; margin-bottom: 4px; }
.topbar__title h1 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.topbar__right { display: flex; justify-content: flex-end; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 10px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  font-size: 13px; font-weight: 500; color: var(--ink-2); transition: .25s var(--ease);
}
.chip svg { width: 16px; height: 16px; }
.chip:hover { color: var(--ink); background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .18); }
.chip--ghost { padding: 0 14px; }

/* ---------- Sahne ---------- */
.stage { position: relative; display: grid; place-items: center; overflow: hidden; overflow: clip; min-height: 0; }
.spot {
  position: absolute; left: 50%; top: 46%; width: min(1400px, 120vw); height: 80%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 248, 235, .09), transparent 72%);
  pointer-events: none;
}
/* Kitabın kayması ve gölgesi JS ile her karede ayarlanır (--ul: dolu alanın solu, --uw: genişliği) */
.book-holder { position: relative; transition: opacity .45s var(--ease); }
.is-loading .book-holder { opacity: 0; }
.book-floor {
  position: absolute; left: calc(var(--ul, 0px) + 14px); width: calc(var(--uw, 100%) - 28px); bottom: -26px; height: 46px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
}
.book { position: relative; --hs: 26px; }
/* Kitap gölgesi: sabit bir katman. (filter: drop-shadow her karede tüm kitabı yeniden çizdirip FPS'i düşürüyordu) */
.book::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0; pointer-events: none;
  box-shadow: 0 26px 44px -6px rgba(0, 0, 0, .55), 0 6px 12px rgba(0, 0, 0, .3);
  left: var(--ul, 0px); width: var(--uw, 100%); right: auto;
}
.book .stf__wrapper { height: 100%; position: relative; z-index: 1; }

/* Sayfa */
.page { background: #fff; overflow: hidden; user-select: none; -webkit-user-select: none; }
.page__in { position: absolute; inset: 0; overflow: hidden; overflow: clip; background: #f3f1ec; }
.book .stf__block, .book .stf__wrapper { overflow: clip; }
.page__lq, .page__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.page__lq { filter: blur(10px) saturate(1.1); transform: scale(1.06); }
.page__img { opacity: 0; transition: opacity .45s ease; }
.page__img.is-in { opacity: 1; }
.page__gutter { position: absolute; top: 0; bottom: 0; width: 9%; pointer-events: none; }
.page--left .page__gutter { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .22), rgba(0, 0, 0, .07) 30%, transparent); }
.page--right .page__gutter { left: 0; background: linear-gradient(to right, rgba(0, 0, 0, .24), rgba(0, 0, 0, .08) 30%, rgba(255, 255, 255, .06) 55%, transparent); }
.page--cover .page__gutter { width: 3%; background: linear-gradient(to right, rgba(0, 0, 0, .25), transparent); }
.page--back .page__gutter { width: 3%; left: auto; right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .25), transparent); }
.is-portrait .page__gutter { width: 3.5%; }
.page__sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .07), transparent 35%, transparent 70%, rgba(0, 0, 0, .04)); }

/* Ürün noktaları */
.hs {
  position: absolute; width: var(--hs); height: var(--hs); margin: calc(var(--hs) / -2) 0 0 calc(var(--hs) / -2); border-radius: 50%;
  display: grid; place-items: center; z-index: 3; cursor: pointer;
  transition: opacity .35s ease, transform .35s var(--ease);
}
.hs::before { /* dış halka */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06);
}
.hs::after { /* nabız */
  content: ""; position: absolute; inset: -2px; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, .9); animation: pulse 2.4s var(--ease) infinite;
}
.hs i { position: relative; width: calc(var(--hs) * .4); height: calc(var(--hs) * .4); border-radius: 50%; background: var(--red); pointer-events: none; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.hs:hover, .hs:focus-visible { transform: scale(1.12); }
.hs:hover i { transform: scale(1.25); }
.hs b {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); white-space: nowrap; pointer-events: none;
  font-size: 12px; font-weight: 600; letter-spacing: .01em; color: #fff; background: rgba(12, 22, 20, .92); padding: 6px 10px; border-radius: 8px;
  opacity: 0; transition: .2s var(--ease);
}
.hs:hover b, .hs:focus-visible b { opacity: 1; transform: translate(-50%, 0); }
.hs.is-l b { left: -6px; transform: translate(0, 4px); }
.hs.is-l:hover b, .hs.is-l:focus-visible b { transform: translate(0, 0); }
.hs.is-r b { left: auto; right: -6px; transform: translate(0, 4px); }
.hs.is-r:hover b, .hs.is-r:focus-visible b { transform: translate(0, 0); }
.hs.is-t b { bottom: auto; top: calc(100% + 8px); }
@media (hover: none) { .hs b { display: none; } }
.hs.is-hot { transform: scale(1.3); }
.hs.is-hot::after { animation-duration: 1s; border-color: var(--red-2); }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
.hide-hs .hs, .is-flipping .hs { opacity: 0; pointer-events: none; transform: scale(.6); }
.hide-hs .hs::after, .is-flipping .hs::after { animation: none; }

/* Ok düğmeleri */
.nav-arrow {
  position: absolute; top: 50%; z-index: 6; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: .3s var(--ease);
}
.nav-arrow svg { width: 26px; height: 26px; stroke-width: 1.6; }
.nav-arrow--prev { left: clamp(10px, 2.2vw, 36px); }
.nav-arrow--next { right: clamp(10px, 2.2vw, 36px); }
.nav-arrow:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); box-shadow: 0 10px 30px -8px rgba(200, 16, 46, .7); }
.nav-arrow:disabled { opacity: 0; pointer-events: none; }

/* İpucu */
.hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 7;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; color: var(--ink-2); white-space: nowrap; animation: rise .6s .8s var(--ease) both;
}
.hint__hand { width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(200, 16, 46, .6); animation: tap 1.8s infinite; }
@keyframes tap { 0% { box-shadow: 0 0 0 0 rgba(224, 33, 63, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(224, 33, 63, 0); } }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Yükleniyor */
.loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; z-index: 8; transition: opacity .5s ease; }
.app:not(.is-loading) .loader { opacity: 0; pointer-events: none; }
.loader img { opacity: .9; }
.loader__bar { width: 160px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--red-2); border-radius: 2px; animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

/* ---------- Alt panel (dock) ---------- */
.dock {
  position: relative; z-index: 20; justify-self: center; align-self: start;
  display: flex; align-items: center; gap: 6px; height: var(--dock-h); padding: 0 10px;
  margin-bottom: calc(14px + var(--safe-b));
  border-radius: 22px; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.is-loading .dock { opacity: 0; transform: translateY(20px); }
.dock__row { display: flex; align-items: center; gap: 2px; }
.dock__sep { width: 1px; height: 30px; background: var(--line); margin: 0 6px; }
.ibtn {
  position: relative; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: var(--ink-2); transition: background .2s, color .2s, transform .2s var(--ease);
}
.ibtn:hover { background: rgba(255, 255, 255, .08); color: var(--ink); }
.ibtn:active { transform: scale(.92); }
.ibtn.is-active, .ibtn[aria-pressed="true"]#hsBtn { color: var(--ink); }
.ibtn.is-active { background: rgba(200, 16, 46, .18); color: #fff; }
.ibtn:disabled { opacity: .3; pointer-events: none; }
.ibtn--sm { width: 38px; height: 38px; border-radius: 11px; }
#soundBtn .off, #soundBtn[aria-pressed="false"] .on { display: none; }
#soundBtn[aria-pressed="false"] .off { display: block; }
#hsBtn[aria-pressed="false"] { color: var(--ink-3); }
.ibtn[data-tip]::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translate(-50%, 4px);
  padding: 6px 10px; border-radius: 8px; background: #000; color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: .18s var(--ease);
}
@media (hover: hover) { .ibtn[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); } }

.pager { display: flex; align-items: center; gap: 14px; padding: 0 8px; }
.pager__label { min-width: 74px; text-align: center; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.scrub { position: relative; width: clamp(140px, 18vw, 260px); }
.scrub input { width: 100%; appearance: none; -webkit-appearance: none; height: 24px; background: transparent; cursor: pointer; display: block; --p: 0%; }
.scrub input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--red-2) var(--p), rgba(255, 255, 255, .16) var(--p)); }
.scrub input::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.scrub input::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--red-2); }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; margin-top: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(200, 16, 46, .35), 0 2px 6px rgba(0, 0, 0, .4); transition: transform .2s; }
.scrub input::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(200, 16, 46, .35); }
.scrub input:active::-webkit-slider-thumb { transform: scale(1.2); }
.scrub__preview {
  position: absolute; bottom: calc(100% + 18px); left: 0; transform: translateX(-50%); width: 104px; padding: 6px; border-radius: 12px;
  background: #0b1412; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: center; pointer-events: none;
}
.scrub__preview img { width: 100%; aspect-ratio: var(--ar, 604 / 859); object-fit: cover; border-radius: 6px; display: block; background: #222; }
.scrub__preview span { display: block; font-size: 11.5px; font-weight: 600; margin-top: 5px; color: var(--ink-2); }

/* ---------- Paneller ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(3, 8, 7, .5); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: fade .3s ease; }
.panel {
  position: fixed; z-index: 41; top: 12px; right: 12px; bottom: 12px; width: min(400px, calc(100vw - 24px));
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 37, 33, .97), rgba(12, 21, 19, .98));
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: slideIn .45s var(--ease);
}
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 14px 12px 22px; }
.panel__head h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.panel__body { flex: 1; overflow-y: auto; padding: 4px 14px 22px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }

.toc { list-style: none; margin: 0; padding: 0; }
.toc li + li { margin-top: 2px; }
.toc button { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 14px; text-align: left; transition: background .2s; }
.toc button:hover, .toc button.is-current { background: rgba(255, 255, 255, .06); }
.toc button.is-current .toc__t { color: #fff; }
.toc button.is-current .toc__n { color: var(--red-2); }
.toc img { width: 44px; aspect-ratio: var(--ar, 604 / 859); object-fit: cover; border-radius: 5px; background: #1d2a27; box-shadow: 0 3px 10px rgba(0, 0, 0, .4); }
.toc__t { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.toc__n { font-size: 12.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; padding: 4px 6px; }
.grid__spread { display: flex; justify-content: center; border-radius: 8px; padding: 6px; transition: background .2s; }
.grid__spread:hover, .grid__spread.is-current { background: rgba(255, 255, 255, .07); }
.grid__spread.is-current { box-shadow: inset 0 0 0 1.5px var(--red-2); }
.grid__spread img { width: 50%; max-width: 76px; aspect-ratio: var(--ar, 604 / 859); object-fit: cover; display: block; background: #1d2a27; }
.grid__spread.single img { width: 50%; }
.grid__label { grid-column: span 1; text-align: center; font-size: 11.5px; color: var(--ink-3); margin-top: 6px; font-variant-numeric: tabular-nums; }
.grid__cell { display: flex; flex-direction: column; }

.search { position: sticky; top: 0; z-index: 1; padding: 4px 4px 12px; background: linear-gradient(180deg, rgba(20, 34, 31, 1) 75%, rgba(20, 34, 31, 0)); }
.search__box { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: border-color .2s; }
.search__box:focus-within { border-color: rgba(224, 33, 63, .7); background: rgba(255, 255, 255, .08); }
.search__box svg { color: var(--ink-3); width: 20px; height: 20px; }
.search__box input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15.5px; color: var(--ink); }
.search__box input::placeholder { color: var(--ink-3); }
.search__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.search__chips button { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); transition: .2s; }
.search__chips button:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.sres { list-style: none; margin: 0; padding: 0 4px; }
.sres__h { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 14px 8px 8px; font-weight: 600; }
.sres button { width: 100%; display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; text-align: left; transition: background .2s; }
.sres button:hover { background: rgba(255, 255, 255, .06); }
.sres__thumb { width: 54px; height: 54px; border-radius: 10px; background-color: #fff; background-repeat: no-repeat; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.sres__thumb.is-page { height: 64px; width: 45px; margin: 0 4.5px; background-size: cover; }
.sres__t { font-size: 14.5px; font-weight: 600; color: var(--ink); display: block; }
.sres__s { font-size: 12.5px; color: var(--ink-3); display: block; margin-top: 2px; line-height: 1.35; }
.sres__p { font-size: 12px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.sres mark { background: none; color: var(--red-2); }
.sres__kod { font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--ink-2); font-weight: 600; }
.sres__more { font-size: 12px; color: var(--ink-3); margin: 6px 12px 4px; }
.toc__grp { margin-top: 14px; }
.toc__grp .toc__t { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
/* yatay sayfalı kataloglar */
.is-wide .toc button { grid-template-columns: 62px 1fr auto; }
.is-wide .toc img { width: 62px; }
.is-wide .sres__thumb.is-page { width: 54px; height: auto; aspect-ratio: var(--ar); margin: 0; }
.is-wide .grid__spread img { max-width: 104px; }
.is-wide .scrub__preview { width: 180px; }
.shelf__grid { align-items: flex-end; }
.shelf__item.is-wide { width: 320px; }
.empty { text-align: center; color: var(--ink-3); font-size: 14px; padding: 40px 20px; line-height: 1.6; }

.share__seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); margin: 4px 4px 18px; }
.share__seg button { height: 40px; border-radius: 11px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: .25s var(--ease); }
.share__seg button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.share__list { display: grid; gap: 8px; padding: 0 4px; }
.share__item { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 15px; font-weight: 500; transition: .2s; width: 100%; text-align: left; }
.share__item:hover { background: rgba(255, 255, 255, .08); }
.share__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.share__ico svg { width: 18px; height: 18px; }
.share__ico--wa { background: #1faa59; color: #fff; }
.share__ico--red { background: var(--red); color: #fff; }
.share__url { margin: 18px 4px 0; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); font-size: 12.5px; color: var(--ink-3); word-break: break-all; line-height: 1.5; }

/* ---------- Ürün kartı ---------- */
.pcard {
  position: fixed; z-index: 35; left: 50%; bottom: calc(var(--dock-h) + var(--safe-b) + 30px);
  transform: translateX(-50%); width: min(520px, calc(100vw - 24px));
  display: grid; grid-template-columns: 150px 1fr; gap: 0; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(28, 46, 41, .98), rgba(13, 22, 20, .98));
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .8);
  animation: cardIn .5s var(--ease);
}
@keyframes cardIn { from { opacity: 0; transform: translate(-50%, 24px) scale(.97); } }
.pcard__media { background-color: #fff; background-repeat: no-repeat; min-height: 100%; position: relative; }
.pcard__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset -20px 0 30px -20px rgba(0, 0, 0, .15); }
.pcard__info { padding: 18px 18px 18px 20px; min-width: 0; }
.pcard__cat { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--red-2); font-weight: 700; }
.pcard h3 { margin: 6px 0 2px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; padding-right: 34px; }
.pcard p { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.pcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pcard__actions .btn--primary { grid-column: 1 / -1; }
.pcard__close { position: absolute; top: 10px; right: 10px; z-index: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn .sm { display: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(200, 16, 46, .9); }
.btn--primary:hover { background: var(--red-2); transform: translateY(-1px); }
.btn--wa { background: rgba(31, 170, 89, .14); color: #6fe3a1; border: 1px solid rgba(31, 170, 89, .35); }
.btn--wa:hover { background: rgba(31, 170, 89, .24); }
.btn--ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { background: rgba(255, 255, 255, .11); }

/* ---------- Yakınlaştırma ---------- */
.zoom { position: fixed; inset: 0; z-index: 60; background: rgba(5, 9, 8, .96); animation: fade .3s ease; }
.zoom__viewport { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.zoom__viewport.is-drag { cursor: grabbing; }
.zoom__content { position: absolute; left: 0; top: 0; display: flex; transform-origin: 0 0; will-change: transform; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.zoom__content .zp { position: relative; background: #fff; }
.zoom__content .zp img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-user-drag: none; user-select: none; }
.zoom__content .zp img.lo { filter: blur(0); }
.zoom__bar {
  position: absolute; left: 50%; bottom: calc(20px + var(--safe-b)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 18px;
  background: var(--glass-2); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.zoom__bar span#zoomPct { min-width: 56px; text-align: center; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.zoom__sep { width: 1px; height: 26px; background: var(--line); margin: 0 4px; }
.zoom__tip { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); margin: 0; font-size: 12.5px; color: var(--ink-3); background: rgba(0, 0, 0, .4); padding: 7px 14px; border-radius: 999px; white-space: nowrap; transition: opacity .6s; }

/* ---------- Raf ---------- */
.shelf { position: fixed; inset: var(--top-h) 0 0; z-index: 15; overflow-y: auto; padding: 4vh 6vw 8vh; }
.shelf h2 { font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: center; font-size: clamp(24px, 3vw, 34px); font-weight: 600; margin: 0 0 6vh; letter-spacing: -.01em; }
.shelf__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 56px; }
.shelf__item { width: 210px; text-align: center; }
.shelf__cover { display: block; width: 100%; aspect-ratio: var(--ar, 604 / 859); border-radius: 3px 8px 8px 3px; overflow: hidden; background: #1d2a27 center / cover; box-shadow: -1px 0 0 rgba(255, 255, 255, .25) inset, 0 30px 50px -18px rgba(0, 0, 0, .8), 0 8px 14px rgba(0, 0, 0, .35); transition: transform .5s var(--ease), box-shadow .5s; transform: perspective(900px) rotateY(-10deg); transform-origin: left center; }
.shelf__item:hover .shelf__cover { transform: perspective(900px) rotateY(-2deg) translateY(-6px); box-shadow: 0 40px 60px -18px rgba(0, 0, 0, .9); }
.shelf__item h3 { font-size: 15.5px; font-weight: 600; margin: 22px 0 4px; }
.shelf__item span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Bildirim ---------- */
.toast {
  position: fixed; z-index: 70; left: 50%; top: calc(var(--top-h) + 6px); transform: translateX(-50%);
  padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: #fff; color: #0d1715; box-shadow: var(--shadow-lg); animation: toastIn .4s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -10px); } }

.noscript { position: fixed; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px; background: var(--bg-1); color: var(--ink); }
.noscript a { color: #fff; text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Dar ekranlar ---------- */
@media (max-width: 920px) {
  .nav-arrow { display: none; }
  .scrub { width: clamp(120px, 26vw, 220px); }
}
@media (max-width: 760px) {
  :root { --top-h: 56px; --dock-h: 104px; }
  .app { grid-template-rows: var(--top-h) 1fr calc(var(--dock-h) + var(--safe-b) + 8px); }
  .brand img { height: 21px; }
  .topbar__eyebrow { font-size: 9.5px; letter-spacing: .26em; }
  .topbar__title h1 { font-size: 13.5px; }
  .chip span { display: none; }
  .chip { padding: 0; width: 36px; justify-content: center; }
  .chip--ghost span { display: inline; }
  .chip--ghost { width: auto; padding: 0 12px; }
  #shelfBtn { width: 36px; padding: 0; }
  #shelfBtn span { display: none; }
  .dock { flex-direction: column; justify-content: center; gap: 2px; width: calc(100vw - 16px); height: var(--dock-h); padding: 6px 6px; margin-bottom: calc(8px + var(--safe-b)); border-radius: 20px; }
  .dock__sep { display: none; }
  .dock__row { width: 100%; justify-content: space-between; }
  .dock__row--pager .pager { flex: 1; gap: 10px; padding: 0 4px; }
  .scrub { flex: 1; width: auto; }
  .pager__label { min-width: 62px; font-size: 13px; }
  .ibtn { width: 40px; height: 42px; }
  .ibtn[data-tip]::after { display: none; }
  #fsBtn { display: none; }
  .panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: min(78vh, 640px); border-radius: 24px 24px 0 0; animation: sheetIn .45s var(--ease); padding-bottom: var(--safe-b); }
  .panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
  @keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px 6px; }
  .pcard { bottom: calc(var(--dock-h) + var(--safe-b) + 18px); grid-template-columns: 92px 1fr; border-radius: 20px; }
  .pcard__info { padding: 14px 12px 12px 14px; }
  .pcard__actions { gap: 6px; }
  .btn .lg { display: none; }
  .btn .sm { display: inline; }
  .pcard h3 { font-size: 18px; }
  .pcard p { font-size: 12.5px; margin-bottom: 10px; }
  .btn { height: 40px; font-size: 12.5px; padding: 0 10px; gap: 6px; }
  .hint { bottom: 10px; font-size: 12px; }
  .zoom__tip { top: 12px; font-size: 11.5px; }
}
@media (max-width: 380px) {
  .ibtn { width: 36px; }
  .topbar__eyebrow { display: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
  :root { --top-h: 46px; --dock-h: 56px; }
  .topbar__eyebrow { display: none; }
  .dock { height: var(--dock-h); flex-direction: row; width: auto; }
  .dock__sep { display: block; }
  .dock__row { width: auto; }
  .ibtn { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
