/* Sahaf Store — klasik sahaf teması */
:root {
  --paper: #f6f0e3;
  --paper-2: #efe6d3;
  --card: #fffdf8;
  --ink: #2b2019;
  --ink-2: #5a4a3c;
  --muted: #6b5b4c;   /* WCAG AA: paper üzerinde 5.7:1 (eski #8a7867 = 3.7:1) */
  --line: #ddd0b8;
  --line-2: #cbbb9d;
  --accent: #a8241a;       /* bordo — canlı */
  --accent-ink: var(--accent); --accent-fill: var(--accent); --danger-ink: #b23b3b;
  --accent-2: #7a1710;
  --gold: #8a5e0f;    /* WCAG AA: paper üzerinde 5.0:1 (eski #c98f1e 2.5:1 ile geçmiyordu) */
  --gold-2: #6e4a0a;  /* paper üzerinde 7.0:1 */
  --green: #1f8a54;
  --green-2: #146b3e;
  --green-solid: #146b3e; /* beyaz yazılı yeşil rozet zemini: 6.6:1 (eski --green ile 4.4:1) */
  --blue: #1f5fa8;
  --blue-2: #163f73;
  --danger: #d1401f;
  --teal: #0e8f83;
  --teal-2: #0a6259;
  --rust: #db6a17;
  --rust-2: #a84f10;
  --plum: #8f2f86;
  --plum-2: #6b1f63;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 4px 14px rgba(60, 40, 20, .06);
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --text: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1240px;
  /* Küçük punto ölçeği (1rem altı) — tutarlılık için 5 sabit adım */
  --fs-1: .72rem;  /* rozet, büyük harf etiket */
  --fs-2: .8rem;   /* ikincil meta metin */
  --fs-3: .86rem;  /* destek metni, .small */
  --fs-4: .93rem;  /* form etiketi, menü bağlantısı */
  --fs-5: .97rem;  /* gövde metnine yakın büyük metin */

  /* Topbar/hero/footer/üyelik kartı gibi zaten koyu şeritler — tema açık/koyu
     olsun fark etmez, bu şeritler hep aynı koyu tonda kalır (bkz. aşağıdaki
     gece modu bloğu: bu değişken orada YENİDEN TANIMLANMAZ). */
  --bar-bg: #2b2019;

  /* Çip/kutu tonları (kategori şeridi, kategori kutucukları) */
  --tint-1: #f8ece9;   /* bordo */
  --tint-2: #e7f3f1;   /* teal */
  --tint-3: #faf2df;   /* altın */
  --tint-4: #eaf3ec;   /* yeşil */
  --tint-5: #e9eff6;   /* mavi */
  --tint-6: #faede2;   /* kiremit */
  --tint-plum: #f2eaf1;

  /* Bildirim/durum renkleri */
  --bg-success: #edf3ea; --border-success: #b8cdb3; --text-success: #2d4d35;
  --bg-error: #f8e9e5;   --border-error: #e0b6ab;   --text-error: #7a2a1e;
  --bg-info: #eef1f5;    --border-info: #c2cddb;    --text-info: #2f425a;
  --bg-accent-tint: #fbf3ef;
  --bg-hover-row: #fcf8ef;
  --status-pending-bg: #faf0d6;
  --status-prep-bg: #e2edf8;
  --status-shipped-bg: #f0e3f0;
  --status-delivered-bg: #e1f3e8;
  --status-cancelled-bg: #f9e3dd;
  --status-payfail-bg: #f3e2df;
  --status-refund-bg: #eceae6;
  --bg-warn-soft: #fbf3de;
  --bg-unread: #fffaf2;
  --bg-bubble-mine: #f4e4df; --border-bubble-mine: #e3c6bd;
  --bg-draft: #fbefd9; --border-draft: #d9b26a; --text-draft: #6b4a14;
  --bg-alert-hover: #f2fbfa;
  --bg-lock: #eef3e9;
}

/* ============ Gece modu ============
   Sistem tercihi koyuysa VE kullanıcı elle "açık" seçmediyse OTOMATIK devreye
   girer; kullanıcı header'daki düğmeyle elle "koyu" seçerse sistem ne olursa
   olsun devreye girer. Tercih localStorage'da saklanır (bkz. app.js). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1b1611; --paper-2: #241d16; --card: #2a2219;
    --ink: #ede4d3; --ink-2: #c9bca4; --muted: #9c8d76;
    --line: #46392a; --line-2: #5a4a36;
    --accent: #e2574a; --accent-2: #c94334; --accent-ink: #f0786b; --accent-fill: #c94334; --danger-ink: #f0907f;
    --gold: #d9a83e; --gold-2: #f0c667;
    --green: #3fae7a; --green-2: #6fcb9c; --green-solid: #26805a;
    --blue: #4f89c9; --blue-2: #7fb0e0;
    --danger: #e0654a;
    --teal: #34a89c; --teal-2: #5fc4b8;
    --rust: #e8873f; --rust-2: #f0a468;
    --plum: #b563ab; --plum-2: #cf8bc6;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.35);
    --tint-1: #3a2420; --tint-2: #1d3835; --tint-3: #3a2f18; --tint-4: #1d3527;
    --tint-5: #1e2c3d; --tint-6: #3a2818; --tint-plum: #332330;
    --bg-success: #203527; --border-success: #3c5c44; --text-success: #8fd4a3;
    --bg-error: #3a231e; --border-error: #6b4038; --text-error: #e8a08f;
    --bg-info: #202c3a; --border-info: #3d5064; --text-info: #9db8d6;
    --bg-accent-tint: #3a2420;
    --bg-hover-row: #2e2619;
    --status-pending-bg: #3a3018; --status-prep-bg: #1f2d3d; --status-shipped-bg: #322835;
    --status-delivered-bg: #1e3226; --status-cancelled-bg: #3a241e; --status-payfail-bg: #3a241e;
    --status-refund-bg: #2e2a24;
    --bg-warn-soft: #3a3018; --bg-unread: #2e2619;
    --bg-bubble-mine: #3a2723; --border-bubble-mine: #59392f;
    --bg-draft: #3a3018; --border-draft: #6e5424; --text-draft: #e0b96a;
    --bg-alert-hover: #1c322f; --bg-lock: #1d3527;
  }
}
:root[data-theme="dark"] {
  --paper: #1b1611; --paper-2: #241d16; --card: #2a2219;
  --ink: #ede4d3; --ink-2: #c9bca4; --muted: #9c8d76;
  --line: #46392a; --line-2: #5a4a36;
  --accent: #e2574a; --accent-2: #c94334; --accent-ink: #f0786b; --accent-fill: #c94334; --danger-ink: #f0907f;
  --gold: #d9a83e; --gold-2: #f0c667;
  --green: #3fae7a; --green-2: #6fcb9c; --green-solid: #26805a;
  --blue: #4f89c9; --blue-2: #7fb0e0;
  --danger: #e0654a;
  --teal: #34a89c; --teal-2: #5fc4b8;
  --rust: #e8873f; --rust-2: #f0a468;
  --plum: #b563ab; --plum-2: #cf8bc6;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.35);
  --tint-1: #3a2420; --tint-2: #1d3835; --tint-3: #3a2f18; --tint-4: #1d3527;
  --tint-5: #1e2c3d; --tint-6: #3a2818; --tint-plum: #332330;
  --bg-success: #203527; --border-success: #3c5c44; --text-success: #8fd4a3;
  --bg-error: #3a231e; --border-error: #6b4038; --text-error: #e8a08f;
  --bg-info: #202c3a; --border-info: #3d5064; --text-info: #9db8d6;
  --bg-accent-tint: #3a2420;
  --bg-hover-row: #2e2619;
  --status-pending-bg: #3a3018; --status-prep-bg: #1f2d3d; --status-shipped-bg: #322835;
  --status-delivered-bg: #1e3226; --status-cancelled-bg: #3a241e; --status-payfail-bg: #3a241e;
  --status-refund-bg: #2e2a24;
  --bg-warn-soft: #3a3018; --bg-unread: #2e2619;
  --bg-bubble-mine: #3a2723; --border-bubble-mine: #59392f;
  --bg-draft: #3a3018; --border-draft: #6e5424; --text-draft: #e0b96a;
  --bg-alert-hover: #1c322f; --bg-lock: #1d3527;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.55 var(--text);
  background-image: radial-gradient(rgba(120, 90, 50, .035) 1px, transparent 1px);
  background-size: 4px 4px;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: 2.3rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-3); }
.serif { font-family: var(--serif); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Açılış sahnesi: ilk ziyarette (ve kurulu uygulamada her açılışta) ~3,6 sn; atlanmaz (tıklamaya kapanmaz) ---------- */
#intro-splash { position: fixed; inset: 0; z-index: 9999; display: none; pointer-events: none; overflow: hidden; --is-red: #ec6354; --is-gold: #e3b24d; --is-paper: #f4ead3; }
#intro-splash.play { display: block; pointer-events: auto; animation: isEnd 0s linear 3.65s forwards; }
#intro-splash.skip { animation: isSkip .35s ease forwards !important; }
#intro-splash .is-panel { position: absolute; top: 0; bottom: 0; width: 50.2%; background: radial-gradient(900px 700px at 50% 50%, #2c2118 0%, #181008 70%, #0f0a05 100%); }
#intro-splash .is-pl { left: 0; animation: isCurtL .85s cubic-bezier(.75,0,.2,1) 2.75s both; }
#intro-splash .is-pr { right: 0; background-position: 100% 50%; animation: isCurtR .85s cubic-bezier(.75,0,.2,1) 2.75s both; }
#intro-splash .is-pl::after, #intro-splash .is-pr::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--is-gold), var(--is-red)); opacity: .0; animation: isEdge .85s ease 2.75s both; }
#intro-splash .is-pl::after { right: 0; } #intro-splash .is-pr::after { left: 0; }
#intro-splash .is-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; animation: isStageOut .4s ease 2.55s both; }
#intro-splash .is-glow { position: absolute; width: 640px; height: 640px; max-width: 120vw; border-radius: 50%; background: radial-gradient(circle, rgba(236,99,84,.40) 0%, rgba(227,178,77,.16) 38%, transparent 68%); opacity: 0; animation: isGlow 2.2s ease .5s both; }
#intro-splash .is-ring { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 3px solid var(--is-gold); opacity: 0; animation: isRing .95s cubic-bezier(.15,.7,.3,1) 1.42s both; }
#intro-splash .is-ring.r2 { border-color: var(--is-red); animation-delay: 1.55s; }
#intro-splash .is-mark { position: relative; width: min(270px, 56vw); height: auto; overflow: visible; animation: isThump .5s cubic-bezier(.3,1.6,.5,1) 1.42s both; }
#intro-splash .is-o { fill: none; stroke: var(--is-red); stroke-width: 14.5; stroke-linejoin: miter; stroke-dasharray: 1080; stroke-dashoffset: 1080; animation: isDraw 1.05s cubic-bezier(.5,.1,.2,1) .25s forwards; }
#intro-splash .is-i { fill: none; stroke: var(--is-gold); stroke-width: 7.4; stroke-linejoin: miter; stroke-dasharray: 870; stroke-dashoffset: 870; animation: isDraw 1s cubic-bezier(.5,.1,.2,1) .5s forwards; }
#intro-splash .is-leaf { fill: var(--is-red); fill-rule: evenodd; transform-box: fill-box; transform-origin: 50% 60%; opacity: 0; animation: isLeaf .6s cubic-bezier(.2,1.5,.4,1) 1.25s forwards; filter: drop-shadow(0 0 14px rgba(236,99,84,.7)); }
#intro-splash .is-word { display: flex; font: 700 clamp(2.2rem, 9vw, 3.6rem)/1.1 var(--serif); color: var(--is-paper); letter-spacing: .06em; margin-top: 6px; }
#intro-splash .is-word span { display: inline-block; opacity: 0; transform: translateY(34px) scale(.8); filter: blur(7px); animation: isLetter .5s cubic-bezier(.2,.9,.3,1.2) both; animation-delay: calc(1.55s + var(--i) * .05s); }
#intro-splash .is-word span:nth-child(6) { color: var(--is-gold); }
#intro-splash .is-tag { font: italic 500 clamp(.95rem, 3.6vw, 1.2rem)/1.3 var(--serif); color: #cdbd9b; letter-spacing: .04em; opacity: 0; animation: isTag .6s ease 2.2s both; }
#intro-splash .is-dust { position: absolute; inset: 0; overflow: hidden; }
#intro-splash .is-dust i { position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--is-gold); opacity: 0; box-shadow: 0 0 8px var(--is-gold); animation: isDust var(--d) linear var(--w) both; }
@keyframes isDraw { to { stroke-dashoffset: 0; } }
@keyframes isLeaf { 0% { opacity: 0; transform: scale(.1) rotate(-25deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes isThump { 0% { transform: scale(1); } 40% { transform: scale(1.09); } 100% { transform: scale(1); } }
@keyframes isRing { 0% { opacity: 0; transform: scale(.35); } 3% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(3.6); } }
@keyframes isGlow { 0% { opacity: 0; transform: scale(.6); } 55% { opacity: 1; transform: scale(1.05); } 100% { opacity: .75; transform: scale(1); } }
@keyframes isLetter { to { opacity: 1; transform: none; filter: none; } }
@keyframes isTag { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes isDust { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-105vh) translateX(var(--dx)); } }
@keyframes isStageOut { to { opacity: 0; transform: scale(1.07); } }
@keyframes isCurtL { to { transform: translateX(-102%); } }
@keyframes isCurtR { to { transform: translateX(102%); } }
@keyframes isEdge { 0% { opacity: 0; } 20% { opacity: .9; } 100% { opacity: 0; } }
@keyframes isEnd { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes isSkip { to { opacity: 0; visibility: hidden; pointer-events: none; } }
/* Açılış: ek efektler (zaman çizelgesi aynı: 1.42 sn darbe, 2.75 sn perde) */
#intro-splash .is-rays { position: absolute; width: 1500px; height: 1500px; max-width: 220vw; max-height: 220vw; border-radius: 50%; opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(227,178,77,.20) 0 6deg, transparent 6deg 18deg); -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%); mask-image: radial-gradient(circle, #000 0%, transparent 62%);
  animation: isRays 2.2s ease-out 1.38s both; }
#intro-splash .is-flare { position: absolute; left: 0; right: 0; height: 3px; top: 50%; margin-top: -1px; opacity: 0; transform: scaleX(0); transform-origin: 50% 50%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,235,200,.95) 30%, #fff 50%, rgba(255,235,200,.95) 70%, transparent); box-shadow: 0 0 22px 6px rgba(236,99,84,.55); animation: isFlare .9s cubic-bezier(.2,.7,.2,1) 1.4s both; }
#intro-splash .is-burst { position: absolute; width: 0; height: 0; pointer-events: none; }
#intro-splash .is-burst i { position: absolute; left: 0; top: 0; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); opacity: 0;
  animation: isBurst 1.05s cubic-bezier(.1,.7,.25,1) calc(1.42s + var(--w)) both; }
#intro-splash .is-rule { width: min(300px, 56vw); height: 2px; margin-top: 2px; background: linear-gradient(90deg, transparent, var(--is-gold), transparent); transform: scaleX(0); opacity: .9; animation: isRule .7s cubic-bezier(.2,.8,.2,1) 2.0s forwards; }
#intro-splash .is-word span { animation: isLetter .5s cubic-bezier(.2,.9,.3,1.2) both, isGlint .55s ease both; animation-delay: calc(1.55s + var(--i) * .05s), calc(2.05s + var(--i) * .05s); }
#intro-splash .is-stage { animation: isStageOut .4s ease 2.55s both, isShake .32s linear 1.42s both; }
#intro-splash::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%); opacity: 0; animation: isVig 3.2s ease .2s both; }
@keyframes isRays { 0% { opacity: 0; transform: scale(.4) rotate(0deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15) rotate(38deg); } }
@keyframes isFlare { 0% { opacity: 0; transform: scaleX(0); } 25% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1.25); } }
@keyframes isBurst { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 12% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) scale(.2); } }
@keyframes isRule { to { transform: scaleX(1); } }
@keyframes isGlint { 0%, 100% { text-shadow: none; } 45% { color: #fff; text-shadow: 0 0 16px rgba(255,236,200,.95), 0 0 34px rgba(236,99,84,.7); transform: translateY(-3px) scale(1.06); } }
@keyframes isShake { 0%, 100% { translate: 0 0; } 20% { translate: -4px 3px; } 40% { translate: 5px -3px; } 60% { translate: -3px -2px; } 80% { translate: 2px 2px; } }
@keyframes isVig { 0% { opacity: 0; } 45% { opacity: .9; } 100% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { #intro-splash.play { display: none; animation: none; } }

/* ---------- Üst şerit ve başlık ---------- */
.topbar { background: var(--bar-bg); color: #e9dcc0; font-size: var(--fs-3); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #e9dcc0; opacity: .85; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar nav { display: flex; gap: 18px; flex-shrink: 0; }
.topbar-newest { color: var(--gold-2); opacity: 1; font-weight: 700; display: inline-flex; max-width: 100%; vertical-align: bottom; }
.topbar-newest:hover { color: var(--gold); }
.topbar-newest-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }

.header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-text strong { display: block; font: 700 2rem/1 var(--serif); letter-spacing: .04em; color: var(--accent); }
.logo-text span { display: block; font-size: var(--fs-1); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo:hover { color: inherit; }

.search { display: flex; border: 1.5px solid var(--ink-2); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.search select { border: 0; border-right: 1px solid var(--line); background: var(--paper-2); padding: 0 10px; font: inherit; font-size: var(--fs-4); color: var(--ink-2); max-width: 170px; }
.search input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; background: transparent; outline: none; }
.search button { border: 0; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; padding: 0 22px; font: 700 var(--fs-5) var(--text); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: filter .15s; }
.search button:hover { filter: brightness(1.1); }
.search button:active { filter: brightness(.94); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(168, 36, 26, .16); }

.hdr-actions { display: flex; gap: 4px; align-items: center; }
.hdr-link { display: flex; flex-direction: column; align-items: center; font-size: var(--fs-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); padding: 5px 12px; border-radius: var(--radius); position: relative; background: none; border: 0; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.hdr-link:hover { background: var(--paper-2); color: var(--accent); }
.hdr-link svg { width: 24px; height: 24px; margin-bottom: 2px; }
.hdr-link .count { position: absolute; top: -2px; right: 6px; background: var(--accent); color: #fff; font-size: var(--fs-1); font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; }
/* Tema düğmesi: açık modda ay (koyuya geç), koyu modda güneş (açığa geç) ikonu */
#theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) #theme-toggle .icon-sun { display: block; }
}
:root[data-theme="dark"] #theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] #theme-toggle .icon-sun { display: block; }

/* ---------- Kategori şeridi: renkli çip/pil butonlar ---------- */
.catnav { position: relative; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.catnav .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.catnav::before, .catnav::after {
  content: ""; position: absolute; top: 1px; bottom: 1px; width: 48px; z-index: 1;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.catnav::before { left: 0; background: linear-gradient(to right, var(--paper-2), transparent); }
.catnav::after { right: 0; background: linear-gradient(to left, var(--paper-2), transparent); }
.catnav.scroll-l::before { opacity: 1; }
.catnav.scroll-r::after { opacity: 1; }
.catnav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; padding: 0;
  background: #fff; color: var(--ink-2); border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(43,26,15,.18); cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .15s, color .15s, box-shadow .15s;
}
.catnav-arrow svg { width: 16px; height: 16px; }
.catnav-arrow:hover { color: var(--accent); box-shadow: 0 2px 8px rgba(43,26,15,.26); }
.catnav-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.catnav-arrow.prev { left: 8px; }
.catnav-arrow.next { right: 8px; }
.catnav.scroll-l .catnav-arrow.prev { opacity: 1; pointer-events: auto; }
.catnav.scroll-r .catnav-arrow.next { opacity: 1; pointer-events: auto; }
@media (max-width: 640px) {
  .catnav-arrow { display: none; }
}
.catnav a {
  padding: 7px 15px; font: 600 var(--fs-4) var(--text); white-space: nowrap;
  border-radius: 20px; color: var(--accent); background: var(--tint-1);
  transition: background .15s, color .15s, box-shadow .15s;
}
.catnav a:hover, .catnav a.on { background: var(--accent); color: #fff; box-shadow: 0 2px 6px rgba(43,26,15,.2); }
.catnav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.catnav a:nth-of-type(6n+2) { color: var(--teal); background: var(--tint-2); }
.catnav a:nth-of-type(6n+2):hover, .catnav a:nth-of-type(6n+2).on { background: var(--teal); color: #fff; }
.catnav a:nth-of-type(6n+3) { color: var(--gold-2); background: var(--tint-3); }
.catnav a:nth-of-type(6n+3):hover, .catnav a:nth-of-type(6n+3).on { background: var(--gold); color: #fff; }
.catnav a:nth-of-type(6n+4) { color: var(--green-2); background: var(--tint-4); }
.catnav a:nth-of-type(6n+4):hover, .catnav a:nth-of-type(6n+4).on { background: var(--green); color: #fff; }
.catnav a:nth-of-type(6n+5) { color: var(--blue-2); background: var(--tint-5); }
.catnav a:nth-of-type(6n+5):hover, .catnav a:nth-of-type(6n+5).on { background: var(--blue); color: #fff; }
.catnav a:nth-of-type(6n) { color: var(--rust-2); background: var(--tint-6); }
.catnav a:nth-of-type(6n):hover, .catnav a:nth-of-type(6n).on { background: var(--rust); color: #fff; }
.catnav .sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 2px; flex: none; align-self: center; }

/* ---------- Bildirim ---------- */
.flash { margin: 18px auto 0; padding: 12px 16px; border-radius: var(--radius); border: 1px solid; font-size: var(--fs-5); }
.flash.success { background: var(--bg-success); border-color: var(--border-success); color: var(--text-success); }
.flash.error { background: var(--bg-error); border-color: var(--border-error); color: var(--text-error); }
.flash.info { background: var(--bg-info); border-color: var(--border-info); color: var(--text-info); }
.errors { background: var(--bg-error); border: 1px solid var(--border-error); color: var(--text-error); padding: 12px 16px 12px 34px; border-radius: var(--radius); margin: 0 0 18px; }

main { min-height: 60vh; padding-bottom: 60px; }

/* ---------- Butonlar & form ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius); border: 1.5px solid var(--accent); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font: 700 var(--fs-5) var(--text); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: filter .15s, transform .15s ease-out, box-shadow .25s ease-out; text-align: center; box-shadow: 0 2px 6px rgba(43, 26, 15, .22), inset 0 1px 0 rgba(255,255,255,.16); }
.btn::after { content: ''; position: absolute; z-index: 1; top: 0; left: -65%; width: 45%; height: 100%; background: linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn:hover:not([disabled]) { filter: brightness(1.08); color: #fff; border-color: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(43, 26, 15, .32), inset 0 1px 0 rgba(255,255,255,.2); }
.btn:hover:not([disabled])::after { left: 130%; }
.btn:active:not([disabled]) { transform: translateY(0) scale(.98); filter: brightness(.96); box-shadow: 0 2px 6px rgba(43, 26, 15, .22); transition-duration: .05s; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: none; }
.btn.ghost::after { display: none; }
.btn.ghost:hover:not([disabled]) { background: rgba(168, 36, 26, .07); color: var(--accent-2); filter: none; box-shadow: none; transform: none; }
.btn.dark { background: linear-gradient(135deg, var(--ink), #000); border-color: var(--ink); }
.btn.teal { background: linear-gradient(135deg, var(--teal), var(--teal-2)); border-color: var(--teal-2); }
.btn.green { background: linear-gradient(135deg, var(--green), var(--green-2)); border-color: var(--green-2); }
.btn.blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: var(--blue-2); }
.btn.rust { background: linear-gradient(135deg, var(--rust), var(--rust-2)); border-color: var(--rust-2); }
.btn.plum { background: linear-gradient(135deg, var(--plum), var(--plum-2)); border-color: var(--plum-2); }
.btn.gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-color: var(--gold-2); }
.btn.sm { padding: 6px 12px; font-size: var(--fs-3); }
.btn.lg { padding: 14px 24px; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[disabled]::after { display: none; }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after { transition: none; } }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; text-decoration: underline; }

label { display: block; font-weight: 600; font-size: var(--fs-4); margin: 0 0 5px; color: var(--ink-2); }
.field { margin-bottom: 16px; }
.hint { font-size: var(--fs-2); color: var(--muted); margin-top: 4px; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); font: inherit; color: var(--ink);
}
.field input:not([type]), .field input[type=date], .field input[type=time], .field input[type=url] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); font: inherit; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(168, 36, 26, .13); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: var(--fs-4); color: var(--ink); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }

/* ---------- Kutular ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 20px; }
/* .panel + .panel kuralı yalnızca tek sütunda alt alta dizilen paneller için;
   bir grid/flex satırında yan yana oturan panel çiftlerinde ikinci kutuyu aşağı
   kaydırıp sıra hizasını bozuyordu (bkz. .cta-duo, .help-groups, .seller-list,
   .grid2/.grid3 içindeki panel çiftleri) — orada bu boşluk grid'in kendi gap'i
   zaten sağlıyor, bu yüzden burada sıfırlanıyor. */
.cta-duo .panel + .panel,
.help-groups .panel + .panel,
.seller-list .panel + .panel,
.grid2 > .panel + .panel,
.grid3 > .panel + .panel { margin-top: 0; }
.page-head { padding: 28px 0 18px; }
.page-head h1 { margin-bottom: 4px; }
.crumbs { font-size: var(--fs-3); color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { text-decoration: underline; }

.ornament { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 6px 0 22px; }
.ornament::before, .ornament::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.ornament svg { width: 60px; height: 14px; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 44px 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.section-title h2 { margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.section-title a { font-size: var(--fs-4); color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bar-bg); color: #efe3c7; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 38px),
  radial-gradient(ellipse at 80% 20%, rgba(201,143,30,.32), transparent 60%),
  radial-gradient(ellipse at 45% 90%, rgba(14,143,131,.36), transparent 55%),
  radial-gradient(ellipse at 10% 100%, rgba(168,36,26,.5), transparent 55%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.hero h1 { font-size: 3.1rem; color: #fbf4e2; font-weight: 500; }
.hero h1 em { color: #d9b26a; font-style: italic; }
.hero p { font-size: 1.1rem; color: #d8cbb0; max-width: 520px; }
.hero-stats { display: flex; gap: 36px; margin-top: 26px; }
.hero-stats strong { display: block; font: 600 2rem var(--serif); color: #fbf4e2; }
.hero-stats span { font-size: var(--fs-2); text-transform: uppercase; letter-spacing: .14em; color: #bda98a; }
.hero-shelf { display: flex; gap: 10px; justify-content: center; align-items: flex-end; transform: rotate(-2deg); }
.hero-shelf a { width: 118px; box-shadow: 0 16px 30px rgba(0,0,0,.45); border-radius: 2px; overflow: hidden; transition: transform .25s; }
.hero-shelf a:nth-child(2) { width: 140px; }
.hero-shelf a:hover { transform: translateY(-8px); }

.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.cat-tile strong { font: 600 1.15rem var(--serif); display: block; }
.cat-tile span { font-size: var(--fs-2); color: var(--muted); }

.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.promise div { border-top: 2px solid var(--gold); padding-top: 14px; }
.promise h3 { margin-bottom: 4px; }
.promise p { color: var(--ink-2); font-size: var(--fs-5); margin: 0; }
.promise div:nth-child(1) { border-top-color: var(--accent); }
.promise div:nth-child(1) h3 { color: var(--accent); }
.promise div:nth-child(2) { border-top-color: var(--teal); }
.promise div:nth-child(2) h3 { color: var(--teal); }
.promise div:nth-child(3) { border-top-color: var(--gold); }
.promise div:nth-child(3) h3 { color: var(--gold); }

/* ---------- Ana sayfa CTA çifti: istek listesi + sahaf daveti ---------- */
.cta-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.cta-box { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border-top: 3px solid var(--accent); }
.cta-box .cta-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--tint-1); color: var(--accent); margin-bottom: 4px; }
.cta-box .cta-icon svg { width: 20px; height: 20px; }
.cta-box h3 { margin: 0; }
.cta-box p { color: var(--ink-2); font-size: var(--fs-5); margin: 0 0 6px; }
.cta-box.teal { border-top-color: var(--teal); }
.cta-box.teal .cta-icon { background: var(--tint-2); color: var(--teal); }
@media (max-width: 720px) { .cta-duo { grid-template-columns: 1fr; } }

/* ---------- Kitap kartları ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px 18px; }
.grid-cards > * { min-width: 0; }
.grid-cards.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- Raf satırı: ana sayfada az ilanlı bölümlerde ızgara yerine kullanılır,
   ilan sayısı ne olursa olsun satırı dolu ve kasıtlı gösterir (yatay kaydırma). ---------- */
.shelf-row { position: relative; margin: 0 -4px; padding: 0 4px; }
.shelf-row .shelf-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; padding: 2px 2px 8px;
}
.shelf-row .shelf-track::-webkit-scrollbar { display: none; }
.shelf-row .shelf-track > * { flex: 0 0 200px; scroll-snap-align: start; }
.shelf-row::before, .shelf-row::after {
  content: ""; position: absolute; top: 0; bottom: 8px; width: 48px; z-index: 1;
  opacity: 0; transition: opacity .15s; pointer-events: none;
}
.shelf-row::before { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.shelf-row::after { right: 0; background: linear-gradient(to left, var(--paper), transparent); }
.shelf-row.scroll-l::before { opacity: 1; }
.shelf-row.scroll-r::after { opacity: 1; }
.shelf-arrow {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; padding: 0;
  background: #fff; color: var(--ink-2); border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(43,26,15,.18); cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .15s, color .15s, box-shadow .15s;
}
.shelf-arrow svg { width: 18px; height: 18px; }
.shelf-arrow:hover { color: var(--accent); box-shadow: 0 2px 8px rgba(43,26,15,.26); }
.shelf-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.shelf-arrow.prev { left: -4px; }
.shelf-arrow.next { right: -4px; }
.shelf-row.scroll-l .shelf-arrow.prev { opacity: 1; pointer-events: auto; }
.shelf-row.scroll-r .shelf-arrow.next { opacity: 1; pointer-events: auto; }
@media (max-width: 640px) { .shelf-arrow { display: none; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; position: relative; perspective: 900px; }
.card:hover { box-shadow: 0 8px 24px rgba(60, 40, 20, .13); transform: translateY(-2px); }
.card-cover { aspect-ratio: 32 / 46; background: var(--paper-2); overflow: hidden; border-bottom: 1px solid var(--line); position: relative; transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-cover { transform: rotateY(-7deg) rotateX(2deg) scale(1.02); box-shadow: 10px 10px 20px rgba(30, 20, 10, .3); }
@media (hover: none) { .card:hover .card-cover { transform: none; box-shadow: none; } }
.card-cover::after { content: '\2192 İncele'; position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 8px); background: var(--ink); color: #fff; font: 700 var(--fs-2) var(--text); padding: 6px 14px; border-radius: 20px; opacity: 0; transition: opacity .18s, transform .18s; pointer-events: none; white-space: nowrap; }
.card:hover .card-cover::after { opacity: .94; transform: translate(-50%, 0); }
.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-title { font: 600 1.12rem/1.2 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.card:hover .card-title { color: var(--accent); }
.card-author { font-size: var(--fs-3); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: var(--fs-2); color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.price { font: 700 1.25rem var(--serif); color: var(--accent); white-space: nowrap; transition: color .15s; }
.card:hover .price { color: var(--accent-2); }
.card-shop { font-size: var(--fs-2); color: var(--muted); text-align: right; line-height: 1.25; overflow: hidden; }
.verify-ico { width: 12px; height: 12px; color: var(--teal); vertical-align: -1px; margin-left: 3px; flex: none; }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-1); font-weight: 700; color: var(--teal-2); background: var(--tint-2); padding: 2px 9px 2px 7px; border-radius: 20px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.verified-badge svg { width: 12px; height: 12px; flex: none; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.badge { display: inline-block; font-size: var(--fs-1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; background: var(--gold); color: #fff; box-shadow: 0 1px 3px rgba(43,32,25,.25); }
.badge.signed { background: var(--blue); }
.badge.first { background: var(--green-solid); }
.badge.sold { background: var(--ink); }
.badge.passive { background: var(--muted); }
.badge.outline { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); box-shadow: none; }
.badge.secondhand { background: var(--muted); }
.badge.teal { background: var(--teal); }
.badge.rust { background: var(--rust); }
.badge.plum { background: var(--plum); }
/* "Nadir" rozeti: balmumu mühür görünümü */
.badge.rare {
  position: relative; width: 44px; height: 44px; padding: 0; border-radius: 50%; flex: none;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 33% 28%, #c9483a 0%, var(--accent) 55%, var(--accent-2) 100%);
  color: #f6e9c9; font-size: 7.5px; line-height: 1.05; letter-spacing: .02em;
  transform: rotate(-9deg);
  box-shadow: 0 2px 5px rgba(20, 10, 5, .4), inset 0 1px 2px rgba(255,255,255,.3), inset 0 -3px 5px rgba(0,0,0,.4);
}
.badge.rare::before {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  border: 1px dashed rgba(246, 233, 201, .55); pointer-events: none;
}
.badge.blue { background: var(--blue); }

/* ---------- Arama sayfası ---------- */
.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 14px; }
.filters h4 { font: 700 var(--fs-2) var(--text); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 18px 0 8px; }
.filters h4:first-child { margin-top: 0; }
.filters .check { margin-bottom: 5px; }
.filters .range { display: flex; gap: 8px; align-items: center; }
.filters .range input { padding: 7px 8px; font-size: var(--fs-4); }
.filters ul { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; }
.filters li a { display: flex; justify-content: space-between; padding: 4px 0; font-size: var(--fs-4); }
.filters li a.on { color: var(--accent); font-weight: 700; }
.filters li span { color: var(--muted); font-size: var(--fs-2); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar select { width: auto; padding: 7px 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: var(--fs-2); background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; }
.chip a { margin-left: 6px; color: var(--muted); }
.filter-toggle { display: none; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }
.empty h3 { font-size: 1.6rem; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 0 10px; font-size: var(--fs-4); }
.pagination .on { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination span.gap { border: 0; background: none; }

/* ---------- İlan detay ---------- */
.detail { display: grid; grid-template-columns: 340px 1fr 300px; gap: 36px; align-items: start; }
.detail-cover { background: var(--card); padding: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.detail-cover img { width: 100%; }
.detail h1 { font-size: 2.4rem; margin-bottom: 6px; }
.detail .by { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 16px; font-family: var(--serif); font-style: italic; }
.specs { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: var(--fs-5); }
.specs th { text-align: left; font-weight: 600; color: var(--muted); width: 38%; padding: 7px 0; border-bottom: 1px dotted var(--line-2); vertical-align: top; }
.specs td { padding: 7px 0; border-bottom: 1px dotted var(--line-2); }

/* ---------- Eser fişi: eski kütüphane kataloğu kartı hissi ---------- */
.catalog-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 2px; padding: 18px 22px 14px; margin: 16px 0 24px;
  box-shadow: var(--shadow);
}
.catalog-card::before {
  content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 22px;
  background: linear-gradient(135deg, transparent 50%, var(--paper-2) 52%);
  box-shadow: -1px 1px 3px rgba(60, 40, 20, .16);
}
.catalog-card-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  border-bottom: 2px double var(--line-2); padding-bottom: 8px; margin-bottom: 10px;
}
.catalog-card-head .cap { font: 600 var(--fs-2) var(--text); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.catalog-card-head .no { font: 600 var(--fs-3) var(--serif); font-style: italic; color: var(--accent); white-space: nowrap; }
.catalog-fields { margin: 0; }
.catalog-field { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; }
.catalog-field dt { display: flex; align-items: baseline; flex: 1; min-width: 0; margin: 0; white-space: nowrap; font-size: var(--fs-3); color: var(--muted); }
.catalog-field dt::after { content: ""; flex: 1; border-bottom: 1px dotted var(--line-2); margin: 0 6px 3px; }
.catalog-field dd { flex: none; margin: 0; max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 600 var(--fs-5) var(--serif); color: var(--ink); }
.desc { background: var(--card); border-left: 3px solid var(--gold); padding: 14px 18px; font-size: var(--fs-5); color: var(--ink-2); white-space: pre-line; }
.buybox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: sticky; top: 14px; }
.buybox .price { font-size: 2.1rem; display: block; margin-bottom: 4px; }
.buybox .ship { font-size: var(--fs-3); color: var(--green-2); margin-bottom: 16px; }
.buybox form + form { margin-top: 8px; }
.qty-row { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.qty-row select { width: 80px; }
.seller-box { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.seller-box .name { font: 600 1.25rem var(--serif); }
.stock-note { font-size: var(--fs-3); color: var(--muted); margin-top: 10px; }
.q-list { list-style: none; padding: 0; margin: 0 0 20px; }
.q-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.q-list .qq { font-weight: 600; }
.q-list .qa { margin-top: 8px; padding-left: 14px; border-left: 2px solid var(--gold); color: var(--ink-2); }
.q-list .when { font-size: var(--fs-2); color: var(--muted); margin-left: 6px; font-weight: 400; }

/* ---------- Sahaf sayfası ---------- */
.shop-head { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 24px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; box-shadow: var(--shadow); }
.shop-seal { width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; overflow: hidden; font: 700 2.4rem var(--serif); color: var(--accent); background: radial-gradient(circle, var(--paper) 55%, var(--paper-2)); box-shadow: inset 0 0 0 5px var(--card), inset 0 0 0 6px var(--accent); }
.shop-seal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-seal.preview { width: 72px; height: 72px; font-size: 1.8rem; flex: none; }
.shop-stats { display: flex; gap: 26px; text-align: center; }
.shop-stats strong { display: block; font: 700 1.6rem var(--serif); color: var(--accent); }
.shop-stats span { font-size: var(--fs-2); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.seller-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.seller-card { display: flex; gap: 16px; align-items: flex-start; }
.seller-card .shop-seal { width: 60px; height: 60px; font-size: 1.6rem; flex: none; }

/* ---------- Sepet / ödeme ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.cart-group-head { display: flex; justify-content: space-between; padding: 12px 18px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: var(--fs-4); }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 64px; aspect-ratio: 32/46; object-fit: cover; border: 1px solid var(--line); }
.cart-row select { width: 70px; padding: 6px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 14px; box-shadow: var(--shadow); }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font: 700 1.4rem var(--serif); }
.pay-opt { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; font-weight: 400; background: var(--card); }
.pay-opt:has(input:checked) { border-color: var(--accent); background: var(--bg-accent-tint); }
.pay-opt input { accent-color: var(--accent); }

/* ---------- Tablo ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--card); font-size: var(--fs-4); }
.table th { text-align: left; font-size: var(--fs-2); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); background: var(--paper-2); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: var(--bg-hover-row); }
.table .thumb { width: 42px; aspect-ratio: 32/46; object-fit: cover; border: 1px solid var(--line); }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.status { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: var(--fs-2); font-weight: 600; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.status.s-onay-bekliyor { background: var(--status-pending-bg); color: var(--gold-2); }
.status.s-hazirlaniyor { background: var(--status-prep-bg); color: var(--blue); }
.status.s-kargoya-verildi { background: var(--status-shipped-bg); color: var(--plum); }
.status.s-teslim-edildi { background: var(--status-delivered-bg); color: var(--green); }
.status.s-iptal-edildi { background: var(--status-cancelled-bg); color: var(--danger); }
.status.s-iade-talep-edildi { background: var(--tint-6); color: var(--rust-2); }
.inline { display: inline; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* ---------- Panel ---------- */
.dash { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; padding-top: 24px; }
.side-nav { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-nav a { display: flex; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-5); }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a.on { background: var(--paper-2); color: var(--accent); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.side-nav .n { background: var(--accent); color: #fff; border-radius: 10px; padding: 0 7px; font-size: var(--fs-2); font-weight: 700; }
.side-nav-group { padding: 12px 16px 5px; font-size: var(--fs-1); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.side-nav-group.warn { color: var(--gold-2); background: var(--bg-warn-soft); }
.side-nav-group .n.warn { background: var(--gold-2); }
.side-nav a.setup-todo { color: var(--gold-2); font-weight: 600; }
.side-nav a.setup-todo.on { color: var(--accent); }
.side-nav a.setup-todo .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); align-self: center; flex: none; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 16px; }
.kpi strong { display: block; font: 700 1.9rem var(--serif); color: var(--ink); }
.kpi span { font-size: var(--fs-2); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.kpi:nth-child(4n+1) { border-top-color: var(--accent); }
.kpi:nth-child(4n+1) strong { color: var(--accent); }
.kpi:nth-child(4n+2) { border-top-color: var(--teal); }
.kpi:nth-child(4n+2) strong { color: var(--teal); }
.kpi:nth-child(4n+3) { border-top-color: var(--gold); }
.kpi:nth-child(4n+3) strong { color: var(--gold); }
.kpi:nth-child(4n) { border-top-color: var(--green); }
.kpi:nth-child(4n) strong { color: var(--green); }
.tabs { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 20px; font-size: .88rem; background: var(--card); }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.img-preview { width: 120px; border: 1px solid var(--line); margin-bottom: 8px; }

/* ---------- Kimlik sayfaları ---------- */
.auth { max-width: 460px; margin: 40px auto; }
.auth .panel { padding: 32px; }
.auth h1 { text-align: center; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.seg label { margin: 0; padding: 12px; text-align: center; cursor: pointer; font-weight: 600; background: var(--card); color: var(--ink-2); }
.seg label:has(input:checked) { background: var(--accent); color: #fff; }
.seg input { position: absolute; opacity: 0; }
.demo-note { font-size: var(--fs-3); background: var(--paper-2); border: 1px dashed var(--line-2); padding: 10px 12px; border-radius: var(--radius); margin-top: 18px; color: var(--ink-2); }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--bar-bg); color: #cdbd9e; padding: 48px 0 24px; font-size: var(--fs-4); }
.footer .cols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer h4 { color: #f3e7cc; font-size: 1.15rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a:hover { color: #fff; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-2); color: #a08f73; flex-wrap: wrap; }
.footer .logo-text strong { color: #e0bd75; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .detail { grid-template-columns: 280px 1fr; }
  .detail .buy-col { grid-column: 1 / -1; }
  .buybox { position: static; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .grid-cards.cols-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* İngilizce etiketler daha uzun: dar masaüstünde başlık satırı arama kutusunu ezmesin (Türkçe etkilenmez) */
@media (min-width: 861px) and (max-width: 1320px) {
  html[lang="en"] .header .wrap { gap: 16px; }
  html[lang="en"] .hdr-actions { gap: 0; }
  html[lang="en"] .hdr-link span.lbl { display: none; }
  html[lang="en"] .hdr-link { padding: 8px 9px; }
  html[lang="en"] .hdr-link svg { margin-bottom: 0; }
}
@media (max-width: 860px) {
  h1 { font-size: 1.9rem; }
  .header .wrap { grid-template-columns: 1fr auto; gap: 14px; }
  .header .search { grid-column: 1 / -1; order: 3; }
  .search select { display: none; }
  .hdr-link span.lbl { display: none; }
  .topbar .wrap > span { display: none; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-shelf { display: none; }
  .search-layout, .cart-layout, .dash { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .detail { grid-template-columns: 1fr; }
  .detail-cover { max-width: 320px; margin: 0 auto; }
  .summary { position: static; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .shop-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .grid-cards, .grid-cards.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 54px 1fr; }
  .cart-row > :nth-child(3), .cart-row > :nth-child(4) { grid-column: 2; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .logo-text span { display: none; }
  .card-body { padding: 10px; }
  .price { font-size: 1.1rem; }
  .card-shop { display: none; }
}

/* ---------- Puan, mesaj, bildirim ---------- */
.stars { --v: 0; display: inline-block; letter-spacing: 2px; font-size: 1rem; line-height: 1;
  background: linear-gradient(90deg, var(--gold) calc(var(--v) / 5 * 100%), var(--line-2) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating { white-space: nowrap; font-size: var(--fs-4); }
.reviews-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.rating-summary { text-align: center; }
.rating-summary .big { font: 700 3rem/1 var(--serif); color: var(--ink); }
.rating-summary .stars { font-size: 1.3rem; margin: 4px 0; }
.dist { display: grid; grid-template-columns: 30px 1fr 24px; gap: 8px; align-items: center; font-size: var(--fs-3); margin-top: 6px; }
.dist .bar { height: 7px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.dist .bar i { display: block; height: 100%; background: var(--gold); }
.star-input { border: 0; padding: 0; margin: 0 0 10px; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2rem; color: var(--line-2); cursor: pointer; margin: 0; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); }

.msg-box { margin-top: 10px; }
.msg-box summary { list-style: none; }
.msg-box summary::-webkit-details-marker { display: none; }
.msg-box[open] summary { margin-bottom: 8px; }
.conv-list { display: flex; flex-direction: column; gap: 8px; }
.conv { position: relative; display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.conv:hover { border-color: var(--accent); color: inherit; }
.conv.unread { border-left: 3px solid var(--accent); background: var(--bg-unread); }
.conv-top { display: flex; gap: 8px; align-items: center; }
.conv-subj { font-size: 1.1rem; font-weight: 600; margin-top: 2px; }
.conv .n, .side-nav .n { background: var(--accent); color: #fff; border-radius: 10px; padding: 0 7px; font-size: var(--fs-2); font-weight: 700; }
.conv .n { position: absolute; right: 16px; bottom: 14px; }
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 78%; }
.msg.mine { align-self: flex-end; text-align: right; }
.bubble { display: inline-block; text-align: left; padding: 10px 14px; border-radius: 12px 12px 12px 2px; background: var(--paper-2); border: 1px solid var(--line); white-space: pre-line; }
.msg.mine .bubble { background: var(--bg-bubble-mine); border-color: var(--border-bubble-mine); border-radius: 12px 12px 2px 12px; }
.msg .meta { font-size: var(--fs-2); color: var(--muted); margin-top: 3px; }
.reply { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.notif { display: flex; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; }
.notif.unread { background: var(--bg-unread); box-shadow: inset 3px 0 0 var(--accent); }
.notif .ico { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; }
.want-form { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
@media (max-width: 860px) {
  .reviews-layout { grid-template-columns: 1fr; }
  .msg { max-width: 92%; }
  .hide-sm { display: none; }
}

/* ---------- İlan formu: kapak önizlemesi ---------- */
.form-with-preview { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.cover-preview { position: sticky; top: 14px; }
.cover-preview svg { width: 100%; height: auto; display: block; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { margin: 0; cursor: pointer; text-align: center; font-weight: 400; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: grid; place-items: center; width: 52px; height: 70px; border-radius: 2px; font: 600 1.1rem var(--serif); box-shadow: inset 4px 0 0 rgba(0,0,0,.25); outline: 2px solid transparent; outline-offset: 3px; }
.swatch small { display: block; font-size: var(--fs-1); color: var(--muted); margin-top: 6px; }
.swatch input:checked + span { outline-color: var(--accent); }
.swatch input:focus-visible + span { outline-color: var(--gold); }
@media (max-width: 860px) {
  .form-with-preview { grid-template-columns: 1fr; }
  .cover-preview { position: static; order: -1; max-width: 200px; margin: 0 auto; }
}

/* ---------- Yardım merkezi ---------- */
.help-nav .nav-group { padding: 14px 16px 4px; font-size: var(--fs-1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.help-nav a { font-size: var(--fs-4); padding: 8px 16px; }
.help-article { max-width: 780px; }
.lead-p { font-size: 1.1rem; }
.prose { font-size: 1.02rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.45rem; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; }
.steps { list-style: none; padding: 0 !important; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 8px 56px; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--accent); display: grid; place-items: center; font: 700 1.2rem var(--serif); background: var(--card); }
.steps h3 { margin: 4px 0 4px !important; font-size: 1.25rem !important; }
.grade-table th { width: 24%; color: var(--accent); font-family: var(--serif); font-size: 1.1rem; }
.draft-note { background: var(--bg-draft); border: 1px dashed var(--border-draft); color: var(--text-draft); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: var(--fs-4); }
.help-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-4); }
.help-pager a { color: var(--accent); }
.help-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.help-links { list-style: none; padding: 0; margin: 0; }
.help-links a { display: block; padding: 11px 0; border-bottom: 1px dotted var(--line-2); }
.help-links li:last-child a { border-bottom: 0; }
.help-links strong { display: block; font: 600 1.15rem var(--serif); }
.help-links span { font-size: .88rem; color: var(--muted); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--gold); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }
.faq details a { color: var(--accent); text-decoration: underline; }
.help-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.help-bottom .panel + .panel { margin-top: 0; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 5px 0; }
ul.plain a { color: var(--accent); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; align-items: start; }
.contact-layout .panel + .panel { margin-top: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Alt bölüm ---------- */
.trust-strip { background: var(--card); border-top: 1px solid var(--line); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust-strip a { display: flex; gap: 12px; align-items: center; }
.trust-strip svg { width: 34px; height: 34px; flex: none; color: var(--accent); }
.trust-strip strong { display: block; font: 600 1.08rem var(--serif); }
.trust-strip small { color: var(--muted); font-size: var(--fs-2); }
.trust-strip a:nth-child(1) svg { color: var(--accent); }
.trust-strip a:nth-child(2) svg { color: var(--teal); }
.trust-strip a:nth-child(3) svg { color: var(--gold); }
.trust-strip a:nth-child(4) svg { color: var(--green); }
.trust-strip a:nth-child(5) svg { color: var(--blue); }
.footer .foot-cta { display: inline-block; border: 1px solid rgba(224,189,117,.5); color: #f3e7cc; padding: 6px 12px; border-radius: var(--radius); margin: 0 6px 6px 0; }
.footer .foot-cta:hover { background: rgba(224,189,117,.12); }
.footer .pay-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: var(--fs-3); color: #bda98a; }
.footer .legal a { color: #cdbd9e; }
.footer .legal a:hover { color: #fff; }
@media (max-width: 860px) {
  .help-groups, .help-bottom, .contact-layout { grid-template-columns: 1fr; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .trust-strip .wrap { grid-template-columns: 1fr; } }
.rating.muted { white-space: normal; }

/* ---------- Kartla ödeme ---------- */
.pay-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--accent); background: var(--bg-accent-tint); border-radius: var(--radius); }
.pay-card svg { width: 34px; height: 34px; color: var(--accent); flex: none; }
.prelim { padding-left: 18px; margin: 0 0 6px; color: var(--ink-2); }
.prelim li { margin-bottom: 6px; }
.cart-warn { background: var(--bg-draft); color: var(--text-draft); font-size: .88rem; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.paid-banner { background: var(--bg-success); border: 1px solid var(--border-success); color: var(--text-success); padding: 14px 18px; border-radius: var(--radius); margin: 0 0 18px; }
.status.s-odeme-bekleniyor, .status.s-odeme-alinamadi { background: var(--status-payfail-bg); color: var(--danger); }
.status.s-iade-edildi { background: var(--status-refund-bg); color: var(--ink-2); }
.refund-box { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.seg.seg3 { grid-template-columns: 1fr 1fr 1fr; }
.membership-card { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: 6px; margin-bottom: 20px; color: #f3e7cc; background: var(--bar-bg); background-image: radial-gradient(ellipse at 90% 0%, rgba(201,143,30,.38), transparent 60%); }
.membership-card.off { background-color: #4a2a24; }
.membership-status { text-align: right; min-width: 180px; }
.earn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 24px; }
.earn div { padding: 14px 16px; border-right: 1px solid var(--line); }
.earn div:last-child { border-right: 0; }
.earn strong { display: block; font: 700 1.35rem var(--serif); }
.earn span { font-size: var(--fs-2); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.earn div:nth-child(4n+1) strong { color: var(--accent); }
.earn div:nth-child(4n+2) strong { color: var(--teal); }
.earn div:nth-child(4n+3) strong { color: var(--gold); }
.earn div:nth-child(4n) strong { color: var(--green); }
@media (max-width: 860px) { .earn { grid-template-columns: 1fr 1fr; } .membership-status { text-align: left; } }
.ship-note { background: var(--bg-info); border: 1px solid var(--border-info); color: var(--text-info); padding: 10px 12px; border-radius: 4px; margin: 10px 0; }

/* ---------- Kapak fotoğrafı ve otomatik okuma ---------- */
.dropzone { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 110px; border: 2px dashed var(--line-2); border-radius: 6px; background: var(--paper); cursor: pointer; padding: 16px; font-weight: 400; margin: 0; }
.dropzone:hover { border-color: var(--accent); background: var(--bg-accent-tint); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dz-text strong { color: var(--accent); font-size: 1.05rem; }
/* kapak */
.photo-frame { padding: 10px; }
.photo-frame img { width: 100%; }
.cover-empty { aspect-ratio: 32/46; display: grid; place-items: center; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); font-size: var(--fs-4); }
[hidden] { display: none !important; }
.success-rate { font-size: var(--fs-3); color: var(--green-2); font-weight: 600; white-space: nowrap; }
.success-rate .muted { font-weight: 400; }
.report-box { margin-top: 14px; }
.report-box summary { cursor: pointer; }
.report-box form { margin-top: 8px; }
.merge-opt { background: var(--bg-success); border: 1px solid var(--border-success); padding: 10px 12px; border-radius: 4px; margin-bottom: 8px; }

.badge.sale { background: var(--danger); }
.price-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.old-price { color: var(--muted); font-size: var(--fs-3); }
.sale-line { display: flex; gap: 8px; align-items: center; margin-bottom: 2px; }
.catnav a.hot, .catnav a.hot:hover, .catnav a.hot.on { background: var(--danger) !important; color: #fff !important; font-weight: 700; }
.campaign-banner { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; padding: 22px 26px; border-radius: 6px; color: #fbf4e2; background: var(--accent); background-image: radial-gradient(ellipse at 100% 0%, rgba(217,178,106,.45), transparent 60%); }
.campaign-banner:hover { color: #fff; filter: brightness(1.05); }
.campaign-banner strong { font-size: 1.8rem; line-height: 1.1; }
.camp-list { display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.quick-photo { display: inline; }
.quick-photo label { margin: 0; cursor: pointer; color: #fff; }
.sitemap-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .sitemap-cols { grid-template-columns: 1fr 1fr; } }
.adv-link { display: flex; align-items: center; padding: 0 12px; font-size: var(--fs-3); color: var(--muted); border-left: 1px solid var(--line); white-space: nowrap; }
@media (max-width: 480px) { .adv-link { display: none; } }
.footer .social a { margin-right: 14px; color: #e0bd75; }
.lang-switch { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(233,220,192,.4); border-radius: 20px; padding: 3px 5px; }
.lang-flag { display: inline-flex; align-items: center; justify-content: center; opacity: .5; filter: grayscale(.5); transition: opacity .15s, filter .15s, box-shadow .15s; border-radius: 3px; }
.lang-flag svg { display: block; width: 21px; height: 15px; border-radius: 2px; }
.lang-flag:hover { opacity: .85; filter: grayscale(0); }
.lang-flag.active { opacity: 1; filter: grayscale(0); box-shadow: 0 0 0 2px rgba(255,255,255,.6); cursor: default; }
.lang-flag:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* Sahaf araçları: fiyat önerisi, raporlar, toplu işlemler */
.price-hint { background: var(--paper-2, #f6f1e6); border-left: 3px solid var(--accent); padding: 10px 14px; margin: 4px 0 12px; border-radius: 0 4px 4px 0; }
.price-hint p { margin: 0 0 4px; }
.price-examples { margin: 6px 0; padding-left: 18px; font-size: var(--fs-4); }
.price-examples a { text-decoration: underline; font-weight: 600; }
.bulk-price-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; margin: 14px 0; }
.bulk-price-bar select, .bulk-price-bar input[type=text] { width: auto; padding: 5px 8px; }
.table.compact td, .table.compact th { padding-top: 7px; padding-bottom: 7px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: var(--fs-5); }
.bars .bar { height: 8px; background: var(--line, #e4dccb); border-radius: 4px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: var(--accent); }
@media (max-width: 480px) { .bars li { grid-template-columns: 1fr auto; } .bars .bar { display: none; } }
.dash > * { min-width: 0; }
.bulk-price-bar .check { white-space: nowrap; }
.dash .grid2 > .panel { min-width: 0; }
@media (max-width: 860px) { .dash .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* Eser vitrini: daha ferah kartlar ve künye bilgisi */
.grid-cards.cols-6 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card-cover { background: linear-gradient(150deg, #e9ddc6, #f5eddf); }
.card-cover img { object-fit: contain; padding: 8px; }
.card-body { gap: 6px; padding: 14px 14px 12px; }
.card-title { font-size: 1.2rem; line-height: 1.16; min-height: 2.32em; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; min-height: 1.4em; }
.card-meta span + span::before { content: '·'; margin-right: 8px; color: var(--line-2); }
.card-foot { padding-top: 12px; }
.card .price { font-size: 1.4rem; }
.card-shop { display: block; text-align: left; border-top: 1px solid var(--line); padding-top: 9px; margin-top: 8px; font-size: var(--fs-2); }
.card-shop span { color: var(--muted); }
.card:focus-within { box-shadow: 0 0 0 3px rgba(168,36,26,.18); }

/* Kategori kutularında aynı çizgi dilinden küçük arşiv illüstrasyonları */
.cat-tile { min-height: 144px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; border-width: 1px; border-top-width: 3px; }
.cat-tile-art { display: block; width: 70px; height: 56px; margin-bottom: 7px; color: var(--gold); opacity: .88; }
.cat-tile .cat-tile-art { color: var(--gold); }
.cat-tile-art svg { width: 100%; height: 100%; }
.cat-tile:hover .cat-tile-art { opacity: 1; transform: translateY(-2px) scale(1.05); transition: transform .18s, opacity .18s; }
.cat-tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cat-tile strong { transition: color .15s; }

/* Kategoriler tek tek ayırt edilsin diye altı renkli bir döngü */
.cat-tile:nth-child(6n+1) { background: var(--tint-1); border-top-color: var(--accent); }
.cat-tile:nth-child(6n+1) .cat-tile-art { color: var(--accent); opacity: 1; }
.cat-tile:nth-child(6n+1):hover { border-color: var(--accent); }
.cat-tile:nth-child(6n+1):hover strong { color: var(--accent); }
.cat-tile:nth-child(6n+2) { background: var(--tint-2); border-top-color: var(--teal); }
.cat-tile:nth-child(6n+2) .cat-tile-art { color: var(--teal); opacity: 1; }
.cat-tile:nth-child(6n+2):hover { border-color: var(--teal); }
.cat-tile:nth-child(6n+2):hover strong { color: var(--teal); }
.cat-tile:nth-child(6n+3) { background: var(--tint-3); border-top-color: var(--gold); }
.cat-tile:nth-child(6n+3) .cat-tile-art { color: var(--gold); opacity: 1; }
.cat-tile:nth-child(6n+3):hover { border-color: var(--gold); }
.cat-tile:nth-child(6n+3):hover strong { color: var(--gold); }
.cat-tile:nth-child(6n+4) { background: var(--tint-4); border-top-color: var(--green); }
.cat-tile:nth-child(6n+4) .cat-tile-art { color: var(--green); opacity: 1; }
.cat-tile:nth-child(6n+4):hover { border-color: var(--green); }
.cat-tile:nth-child(6n+4):hover strong { color: var(--green); }
.cat-tile:nth-child(6n+5) { background: var(--tint-5); border-top-color: var(--blue); }
.cat-tile:nth-child(6n+5) .cat-tile-art { color: var(--blue); opacity: 1; }
.cat-tile:nth-child(6n+5):hover { border-color: var(--blue); }
.cat-tile:nth-child(6n+5):hover strong { color: var(--blue); }
.cat-tile:nth-child(6n) { background: var(--tint-6); border-top-color: var(--rust); }
.cat-tile:nth-child(6n) .cat-tile-art { color: var(--rust); opacity: 1; }
.cat-tile:nth-child(6n):hover { border-color: var(--rust); }
.cat-tile:nth-child(6n):hover strong { color: var(--rust); }
.cat-tile.koleksiyon { background: var(--tint-plum); border-top-color: var(--plum); }
.cat-tile.koleksiyon .cat-tile-art { color: var(--plum); opacity: 1; }
.cat-tile.koleksiyon:hover { border-color: var(--plum); }
.cat-tile.koleksiyon:hover strong { color: var(--plum); }

/* Gerçek nüshanın fotoğrafları */
.gallery-main { display: block; border: 0; background: transparent; padding: 0; width: 100%; cursor: zoom-in; position: relative; }
.gallery-main img { width: 100%; }
.gallery-zoom { position: absolute; right: 8px; bottom: 8px; border-radius: 3px; background: rgba(43,32,25,.82); color: #fff; padding: 5px 10px; font: 600 var(--fs-2) var(--text); }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; }
.gallery-thumb { flex: 0 0 56px; height: 70px; padding: 3px; border: 2px solid var(--line); border-radius: 3px; background: var(--paper-2); cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb.is-active { border-color: var(--accent); }
.gallery-thumb:focus-visible, .gallery-main:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gallery-label { color: var(--ink-2); margin: 6px 0 0; font-size: var(--fs-3); text-align: center; }
.gallery-dialog { width: min(92vw, 980px); max-height: 92vh; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); box-shadow: 0 18px 55px rgba(0,0,0,.35); }
.gallery-dialog::backdrop { background: rgba(26,20,17,.82); }
.gallery-close { display: block; margin-left: auto; background: transparent; border: 0; color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.gallery-dialog-body { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px; align-items: center; }
.gallery-dialog figure { margin: 0; min-width: 0; text-align: center; }
.gallery-dialog figure img { max-height: 75vh; width: auto; margin: auto; object-fit: contain; }
.gallery-dialog figcaption { color: var(--ink-2); font-size: var(--fs-4); padding-top: 8px; }
.gallery-arrow { border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 2rem; cursor: pointer; min-height: 55px; }
.gallery-arrow:hover { border-color: var(--accent); }
.extra-photo-head { margin: 24px 0 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.extra-photo-head h4 { margin-bottom: 3px; }
.extra-photo-head p { margin-bottom: 0; }
.extra-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.extra-photo-field { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); padding: 12px; border-radius: 4px; }
.extra-photo-field > img { width: 70px; height: 88px; object-fit: contain; background: var(--card); }
.extra-photo-field input[type=file] { max-width: 100%; font-size: var(--fs-3); }
.extra-photo-field .check { margin: 4px 0 0; }

/* PayTR formunun Sahaf Store içindeki çerçevesi */
.payment-page { padding-bottom: 70px; }
.payment-page .page-head { max-width: 740px; }
.payment-steps { display: flex; list-style: none; padding: 0; margin: 4px 0 22px; gap: 8px; }
.payment-steps li { display: flex; align-items: center; gap: 8px; flex: 1; border-bottom: 2px solid var(--line); padding: 0 0 12px; color: var(--muted); font-size: var(--fs-3); }
.payment-steps li:first-child { color: var(--green); border-color: var(--green); }
.payment-steps li.current { color: var(--accent); border-color: var(--accent); font-weight: 700; }
.payment-steps li span { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); }
.payment-steps li.current span { background: var(--accent); color: #fff; }
.paytr-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 22px; align-items: start; }
.paytr-layout .panel { min-width: 0; margin: 0; }
.paytr-frame { padding: 20px; }
.paytr-frame-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.paytr-frame-head h2, .paytr-summary h2 { margin: 4px 0 0; }
.paytr-eyebrow { color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .14em; }
.paytr-lock { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; color: var(--green); background: var(--bg-lock); border-radius: 20px; font-size: var(--fs-3); font-weight: 700; }
.paytr-lock svg { width: 18px; height: 18px; }
.paytr-summary { position: sticky; top: 16px; }
.paytr-items { list-style: none; padding: 0; margin: 18px 0; max-height: 280px; overflow: auto; }
.paytr-items li { display: flex; justify-content: space-between; align-items: start; gap: 10px; border-bottom: 1px solid var(--line); padding: 9px 0; font-size: var(--fs-3); }
.paytr-items strong { white-space: nowrap; }
.paytr-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 2px solid var(--accent); padding: 16px 0; margin-top: 14px; }
.paytr-total strong { color: var(--accent); font: 700 1.7rem var(--serif); white-space: nowrap; }
.payment-wait-wrap { max-width: 700px; padding-top: 48px; padding-bottom: 80px; }
.payment-wait { text-align: center; padding: 36px; }
.payment-wait p { max-width: 510px; margin-left: auto; margin-right: auto; }
.wait-mark { width: 72px; height: 72px; margin: 0 auto 12px; color: var(--gold); }
.wait-mark svg { width: 100%; height: 100%; }
.wait-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 1100px) { .grid-cards.cols-6 { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 860px) {
  .grid-cards.cols-6 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-shelf { display: flex; transform: none; justify-content: flex-start; margin-top: 22px; }
  .hero-shelf a { width: 94px; }
  .hero-shelf a:nth-child(2), .hero-shelf a:nth-child(3) { display: none; }
  .paytr-layout { grid-template-columns: 1fr; }
  .paytr-summary { position: static; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 12px; flex-wrap: wrap; }
  .hero-stats strong { font-size: 1.55rem; }
  .hero-stats span { font-size: var(--fs-1); letter-spacing: .08em; }
  .cat-tile { min-height: 132px; }
  .cat-tile-art { width: 56px; height: 44px; }
  .card-body { padding: 10px; }
  .card .price { font-size: 1.2rem; }
  .card-shop { display: block; }
  .extra-photo-grid { grid-template-columns: 1fr; }
  .payment-steps li { font-size: .74rem; gap: 4px; }
  .payment-steps li span { width: 22px; height: 22px; flex: none; }
  .paytr-frame { padding: 12px; }
  .payment-wait { padding: 24px 16px; }
}
.hero--plain .wrap { grid-template-columns: 1fr; }
.hero-shelf a { display: block; flex: 0 0 auto; }
.hero-shelf img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

/* ---------- Sahaf paneli: yeni sipariş uyarısı (sesli + renkli) ---------- */
.order-alert {
  display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding: 14px 20px;
  border-radius: var(--radius); background: linear-gradient(120deg, var(--teal), var(--green));
  color: #fff; box-shadow: 0 8px 24px rgba(14, 143, 131, .35);
  animation: order-alert-pop .35s ease, order-alert-glow 1.8s ease-in-out 2;
}
.order-alert[hidden] { display: none; }
.order-alert-icon { font-size: 1.7rem; flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.order-alert-body { flex: 1; min-width: 0; }
.order-alert-body strong { display: block; font: 700 1.08rem var(--serif); }
.order-alert-text { font-size: var(--fs-4); opacity: .95; }
.order-alert-link { background: #fff; color: var(--teal-2); border-color: #fff; flex: none; }
.order-alert-link:hover { background: var(--bg-alert-hover); color: var(--teal-2); filter: none; }
.order-alert-close { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .8; padding: 2px 4px; flex: none; }
.order-alert-close:hover { opacity: 1; }
@keyframes order-alert-pop { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes order-alert-glow { 0%, 100% { box-shadow: 0 8px 24px rgba(14, 143, 131, .35); } 50% { box-shadow: 0 8px 32px rgba(219, 106, 23, .55); } }
@media (prefers-reduced-motion: reduce) { .order-alert { animation: none; } }
@media (max-width: 480px) { .order-alert { flex-wrap: wrap; } .order-alert-link { order: 3; width: 100%; } }

/* =====================================================================
   Mobil iyileştirmeler (telefondan alışveriş ve sahaf paneli)
   ===================================================================== */

/* Dar ekranda başlık: simgeler ve logo yana taşmasın */
@media (max-width: 640px) {
  .header .wrap { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .logo { gap: 8px; min-width: 0; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text strong { font-size: 1.45rem; white-space: nowrap; }
  .hdr-actions { gap: 0; }
  .hdr-link { padding: 6px 8px; }
  .hdr-link .count { right: 2px; }
  .topbar .wrap { gap: 8px; }
  .topbar nav { flex-wrap: wrap; gap: 0 12px; justify-content: flex-end; flex-shrink: 1; min-width: 0; margin-left: auto; align-items: center; }
}
@media (max-width: 380px) {
  .hdr-link { padding: 6px 6px; }
  .logo-mark { display: none; }
}

/* Parmakla basılabilir hedefler ve iOS'ta odaklanınca yakınlaşmayı engelleyen 16px yazı */
@media (max-width: 860px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), select, textarea { font-size: 16px; }
  .btn { min-height: 44px; }
  .btn.sm { min-height: 40px; padding: 8px 14px; }
  .linkbtn, .linkbtn.small { padding: 10px 6px; }
  .topbar a { display: inline-block; padding: 7px 4px; }
  .lang-flag { position: relative; }
  .lang-flag::before { content: ''; position: absolute; inset: -9px -6px; }
  .catnav a { padding: 9px 15px; }
  .crumbs a, .footer a { padding: 3px 0; display: inline-block; }
  input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; }
}

/* Panel / yardım yan menüsü: telefonda sayfayı kaplayan uzun liste yerine yana kaydırılan şerit */
@media (max-width: 860px) {
  .dash { gap: 16px; padding-top: 14px; }
  .side-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: relative; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav-group { display: none; }
  .side-nav a { flex: none; scroll-snap-align: start; white-space: nowrap; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 22px; font-size: var(--fs-4); background: var(--paper); }
  .side-nav a:last-child { border-bottom: 1px solid var(--line); }
  .side-nav a.on { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: none; }
  .side-nav a.on .n { background: #fff; color: var(--accent); }
  .side-nav a.setup-todo { border-color: var(--gold-2); }
  .help-nav .nav-group { display: none; }
  .help-nav a { padding: 10px 14px; font-size: var(--fs-4); }
}

/* Tablolar telefonda kart olur (JS her hücreye başlık yazar; JS yoksa tablo kaydırılabilir kalır) */
@media (max-width: 640px) {
  .table-wrap.m-cards-wrap { border: 0; background: none; overflow: visible; }
  .table.m-cards, .table.m-cards tbody, .table.m-cards tr, .table.m-cards td { display: block; width: 100%; }
  .table.m-cards { background: none; }
  .table.m-cards thead { display: none; }
  .table.m-cards tr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 12px; padding: 6px 0; box-shadow: var(--shadow); }
  .table.m-cards tr:hover td { background: none; }
  .table.m-cards td { display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: right; padding: 8px 14px; border: 0; word-break: break-word; }
  .table.m-cards td::before { content: attr(data-label); flex: none; max-width: 42%; text-align: left; font-size: var(--fs-2); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
  .table.m-cards td[data-label=""]::before { display: none; }
  .table.m-cards td[data-label=""] { justify-content: flex-start; text-align: left; }
  .table.m-cards td[colspan] { display: block; text-align: left; }
  .table.m-cards td form { margin: 0; }
  .table.m-cards td > div { min-width: 0; }
  .table.m-cards .thumb { width: 52px; }
  .table-wrap:not(.m-cards-wrap) { -webkit-overflow-scrolling: touch; }
}

/* ---------- Alıcı yüzü: erişilebilirlik, paylaşım, mobil özet, sepet ve favori durumları ---------- */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; transition: top .15s; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }
.flash-link { font-weight: 700; text-decoration: underline; margin-left: 6px; white-space: nowrap; }
.field-label { display: block; font-weight: 600; font-size: var(--fs-4); margin: 0 0 5px; color: var(--ink-2); }
.active-filters { align-items: center; margin-bottom: 14px; }
.active-filters .chip a { font-weight: 700; text-decoration: none; padding: 0 2px; }
.mobile-summary { display: none; margin: 0 0 14px; }
.mobile-summary .ms-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 4px; }
.mobile-summary .price { font-size: 1.5rem; }
@media (max-width: 860px) { .mobile-summary { display: block; } }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.share-fallback { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.share [hidden] { display: none !important; }
.verify-note { background: var(--bg-info); border: 1px solid var(--border-info); color: var(--text-info); padding: 10px 12px; border-radius: var(--radius); margin-top: 8px; }
.verify-note .linkbtn { color: inherit; font-weight: 700; }
.want-box { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.card-gone .card-cover img { opacity: .55; filter: grayscale(.6); }
.card-gone .card-cover::after { display: none; }
.card-gone .card-title { color: var(--muted); }
.card-fav-form { margin-top: 8px; }
.cart-group-dead { background: var(--paper-2); }
.cart-row-dead { opacity: .85; }
.cart-row-dead img { filter: grayscale(.7); opacity: .6; }
.cart-row-dead .dead-badge { align-self: center; }
.cart-adjust { margin-top: 6px; color: var(--text-draft); }
.cart-adjust .linkbtn { color: inherit; font-weight: 700; }

/* İlan sayfası: ekran altında sabit "Sepete ekle" çubuğu */
.mobile-buybar { display: none; }
@media (max-width: 860px) {
  .mobile-buybar { display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(43, 26, 15, .14); transition: transform .2s ease; }
  .mobile-buybar.is-hidden { transform: translateY(115%); }
  .mobile-buybar .price { font-size: 1.35rem; flex: none; }
  .mobile-buybar .btn { flex: 1; }
  body.has-buybar main { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-buybar { transition: none; } }

@media (max-width: 640px) {
  .kpis[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .kpi strong { word-break: break-word; }
}
@media (max-width: 640px) {
  [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 640px) { .table.m-cards .m-cell { min-width: 0; text-align: right; } .table.m-cards td[data-label=""] .m-cell { text-align: left; } }
@media (max-width: 860px) { .catnav-panel { display: none; } }
@media (max-width: 640px) { .logo-text strong { font-size: 1.3rem; } .logo-mark { width: 32px; height: 32px; } .header .wrap { gap: 8px; } }
/* Masaüstünde dar pencere: arama kutusunun yazı alanı simge etiketlerinin altında ezilmesin */
@media (min-width: 861px) and (max-width: 1320px) {
  .header .wrap { gap: 18px; }
  .hdr-link { padding: 5px 8px; }
  .search select { max-width: 118px; }
  .search input { min-width: 150px; }
  .search .adv-link { padding: 0 10px; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .hdr-link span.lbl { display: none; }
  .hdr-link { padding: 8px 9px; }
  .hdr-link svg { margin-bottom: 0; }
}

/* === sahaf paneli === */
/* Okur sipariş sayfası: 4 adımlı zaman çizelgesi */
.order-tl { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.order-tl li { position: relative; display: flex; flex-direction: column; gap: 2px; padding-top: 34px; color: var(--ink-2); font-size: .92rem; }
.order-tl li::before { content: ""; position: absolute; top: 13px; left: 28px; right: -8px; height: 2px; background: var(--line-2); }
.order-tl li:last-child::before { display: none; }
.order-tl li.done::before { background: var(--green-solid); }
.order-tl .dot { position: absolute; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--paper-2); border: 2px solid var(--line-2); color: var(--ink-2); }
.order-tl li.done .dot { background: var(--green-solid); border-color: var(--green-solid); color: #fff; }
.order-tl li.now .dot { border-color: var(--gold); color: var(--gold-2); background: var(--paper); box-shadow: 0 0 0 3px rgba(138, 94, 15, .18); }
.order-tl li.now strong { color: var(--gold-2); }
.order-tl li.todo { opacity: .65; }
@media (max-width: 640px) {
  .order-tl { grid-template-columns: minmax(0, 1fr) !important; gap: 0; }
  .order-tl li { padding: 0 0 14px 40px; min-height: 28px; }
  .order-tl li::before { top: 28px; bottom: 0; left: 13px; right: auto; width: 2px; height: auto; }
}

/* ===== Renkli düğmeler: amaca göre marka içi renk (yeşil=ekle/onay, turuncu=hemen al, mavi=iletişim, altın=teklif/vurgu, teal=yönlendirme, kırmızı=geri alınamaz) ===== */
.btn.ghost.green, .btn.ghost.blue, .btn.ghost.teal, .btn.ghost.rust, .btn.ghost.plum, .btn.ghost.gold, .btn.ghost.danger { background: transparent; box-shadow: none; }
.btn.ghost.green { color: var(--green-solid); border-color: var(--green); }
.btn.ghost.blue { color: var(--blue); border-color: var(--blue); }
.btn.ghost.teal { color: var(--teal-2); border-color: var(--teal); }
.btn.ghost.rust { color: var(--rust-2); border-color: var(--rust); }
.btn.ghost.plum { color: var(--plum); border-color: var(--plum); }
.btn.ghost.gold { color: var(--gold-2); border-color: var(--gold); }
.btn.ghost.green:hover:not([disabled]) { background: rgba(31, 138, 84, .1); color: var(--green-2); border-color: var(--green-2); }
.btn.ghost.blue:hover:not([disabled]) { background: rgba(31, 95, 168, .1); color: var(--blue-2); border-color: var(--blue-2); }
.btn.ghost.teal:hover:not([disabled]) { background: rgba(14, 143, 131, .1); color: var(--teal-2); border-color: var(--teal-2); }
.btn.ghost.rust:hover:not([disabled]) { background: rgba(219, 106, 23, .1); color: var(--rust-2); border-color: var(--rust-2); }
.btn.ghost.plum:hover:not([disabled]) { background: rgba(143, 47, 134, .1); color: var(--plum-2); border-color: var(--plum-2); }
.btn.ghost.gold:hover:not([disabled]) { background: rgba(138, 94, 15, .1); color: var(--gold-2); border-color: var(--gold-2); }
.btn.danger { background: linear-gradient(135deg, #c0392b, #8e2417); border-color: #8e2417; }
.btn.ghost.danger { color: #b3261e; border-color: #c0392b; }
.btn.ghost.danger:hover:not([disabled]) { background: rgba(192, 57, 43, .09); color: #8e2417; border-color: #8e2417; }
:root[data-theme="dark"] .btn.ghost.danger { color: #e8897d; border-color: #c9584a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.ghost.danger { color: #e8897d; border-color: #c9584a; } }
/* <summary class="btn …"> (fiyat teklifi, özel mesaj) da düğme gibi davranır */
summary.btn { list-style: none; }
summary.btn::-webkit-details-marker { display: none; }

/* ===== Sipariş adımları (sepet → teslimat → ödeme) ===== */
.order-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; align-items: center; gap: 0; max-width: 620px; }
.order-steps li { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; color: var(--muted); font-size: var(--fs-4); font-weight: 600; }
.order-steps li + li::before { content: ''; flex: 1 1 28px; height: 2px; background: var(--line-2); margin: 0 12px; min-width: 20px; }
.order-steps li.done + li::before, .order-steps li.now::before { background: var(--green); }
.order-steps .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); background: var(--card); font-size: var(--fs-4); font-weight: 700; }
.order-steps li.now { color: var(--ink); }
.order-steps li.now .dot { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(168, 36, 26, .14); }
.order-steps li.done { color: var(--green-2); }
.order-steps li.done .dot { border-color: var(--green); background: var(--green-solid); color: #fff; }
@media (max-width: 520px) { .order-steps .lbl { display: none; } .order-steps li.now .lbl { display: inline; } .order-steps li + li::before { margin: 0 6px; min-width: 10px; } }

/* ===== Satıcı paneli menüsü: öne çıkan "Yeni ilan" ve bölüm renkleri ===== */
.side-nav a[href="/panel/ilan/yeni"] { color: var(--green-2); font-weight: 700; }
.side-nav a[href="/panel/ilan/yeni"]:hover { background: rgba(31, 138, 84, .08); }
.side-nav a[href="/panel/ilan/yeni"].on { background: rgba(31, 138, 84, .12); color: var(--green-2); box-shadow: inset 3px 0 0 var(--green); }
.side-nav .side-nav-group { border-left: 3px solid var(--line-2); }
.side-nav .side-nav-group:nth-last-of-type(3) { border-left-color: var(--accent); }
.side-nav .side-nav-group:nth-last-of-type(2) { border-left-color: var(--teal); }
.side-nav .side-nav-group:nth-last-of-type(1) { border-left-color: var(--gold); }
.side-nav .side-nav-group.warn { border-left-color: var(--rust); }

/* ===== Üst arama: giriş yapmış kullanıcıda ikon satırı araması sıkıştırmasın ===== */
@media (min-width: 861px) and (max-width: 1500px) {
  .header .wrap { gap: 20px; }
  .hdr-link { padding: 5px 6px; font-size: .64rem; letter-spacing: .02em; }
  .hdr-link[href="#tema"] span.lbl, .hdr-link.theme-toggle span.lbl, #theme-toggle span.lbl { display: none; }
  .search select { max-width: 112px; }
  .search .adv-link { padding: 0 9px; }
  .search input { min-width: 170px; }
}

/* ===== Yukarı çık düğmesi ===== */
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--card); color: var(--accent); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s, background .15s, color .15s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #fff; }
.to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .to-top { bottom: 84px; right: 14px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
.btn.checkout-go { white-space: nowrap; padding-left: 12px; padding-right: 12px; letter-spacing: .03em; }

/* ===== Yönetim paneli sekmeleri: yalnızca seçilen bölüm görünür ===== */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; margin: 0 0 6px; position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--card); color: var(--ink-2); font: 700 var(--fs-3) var(--text); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.admin-tab:hover { border-color: var(--accent); color: var(--accent); }
.admin-tab.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: var(--accent-2); color: #fff; box-shadow: 0 2px 6px rgba(43, 26, 15, .22); }
.admin-tab .n { background: var(--accent); color: #fff; border-radius: 10px; padding: 0 7px; font-size: var(--fs-2); }
.admin-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.admin-tabs-js .admin-sec { display: none; }
.admin-tabs-js .admin-sec.on { display: block; }
@media (max-width: 720px) { .admin-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; } .admin-tab { flex: none; } }

.admin-sec > h2 { scroll-margin-top: 84px; }

/* ---------- Dolgulu düğmelerde AA kontrast (beyaz yazı ≥ 4.5:1, açık ve koyu temada) ---------- */
.btn:not(.ghost) { background: linear-gradient(135deg, #b3392d, #962b21); border-color: #962b21; }
.btn.green:not(.ghost) { background: linear-gradient(135deg, #1f7a4f, #176340); border-color: #176340; }
.btn.blue:not(.ghost) { background: linear-gradient(135deg, #2f6aa8, #235a93); border-color: #235a93; }
.btn.teal:not(.ghost) { background: linear-gradient(135deg, #1b7f76, #146a62); border-color: #146a62; }
.btn.rust:not(.ghost) { background: linear-gradient(135deg, #b05216, #984511); border-color: #984511; }
.btn.plum:not(.ghost) { background: linear-gradient(135deg, #8f3f86, #7a3272); border-color: #7a3272; }
.btn.gold:not(.ghost) { background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-color: var(--gold-2); color: #2b1a0f; }
.btn.gold:not(.ghost):hover:not([disabled]) { color: #2b1a0f; }
.btn.dark:not(.ghost) { background: linear-gradient(135deg, #3a2f22, #14100b); border-color: #14100b; }
.btn.danger:not(.ghost) { background: linear-gradient(135deg, #c0392b, #8e2417); border-color: #8e2417; }
:root[data-theme="dark"] .btn.dark:not(.ghost) { border-color: var(--line-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.dark:not(.ghost) { border-color: var(--line-2); } }

/* Arama filtreleri: panel ekrandan uzunsa kendi içinde kayar, “Uygula” düğmesi erişilebilir kalır */
.filters { max-height: calc(100vh - 28px); overflow-y: auto; overscroll-behavior: contain; }

/* Ana sayfa: Instagram bandı */
.ig-band { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; background: linear-gradient(135deg, #3a1414 0%, #2b2019 60%, #1c1410 100%); color: #f3e8d2; border-radius: 10px; padding: 44px 48px; overflow: hidden; position: relative; }
.ig-band:before { content: ''; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(230, 190, 110, .22), transparent 65%); pointer-events: none; }
.ig-kicker { display: inline-block; font-size: var(--fs-2); letter-spacing: .32em; text-transform: uppercase; color: #f0cf8c; margin-bottom: 14px; }
.ig-band h2 { font-family: var(--serif); font-size: 2.1rem; line-height: 1.12; color: #fff6e3; margin: 0 0 14px; }
.ig-band p { color: #e4d6bb; font-size: 1.05rem; margin: 0 0 24px; max-width: 460px; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; padding: 14px 0; }
.ig-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); transition: transform .25s ease; }
.ig-grid img:nth-child(odd) { transform: translateY(-12px) rotate(-2deg); }
.ig-grid img:nth-child(even) { transform: translateY(12px) rotate(2deg); }
.ig-grid:hover img:nth-child(odd) { transform: translateY(-18px) rotate(-3deg); }
.ig-grid:hover img:nth-child(even) { transform: translateY(18px) rotate(3deg); }
@media (max-width: 860px) {
  .ig-band { grid-template-columns: 1fr; padding: 30px 22px; gap: 26px; margin-top: 40px; }
  .ig-band h2 { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { .ig-grid img { transition: none; } }
.ig-btn { display: inline-block; background: #e8c47a; color: #2b2019; font-weight: 700; font-size: 1.05rem; padding: 14px 26px; border-radius: 4px; text-decoration: none; letter-spacing: .02em; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: background .2s, transform .2s; }
.ig-btn:hover { background: #f3d792; transform: translateY(-2px); text-decoration: none; }
.ig-btn:focus-visible { outline: 3px solid #fff6e3; outline-offset: 3px; }
/* Sepet: sahaf başlığı dar ekranda alt alta (ad ve kargo bilgisi sıkışmasın) */
.cart-group-head { gap: 4px 16px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .cart-group-head { flex-direction: column; justify-content: flex-start; padding: 12px 14px; }
  .cart-group-head > a { font-size: 1.02rem; }
  .cart-group-head > .muted { font-size: var(--fs-3); }
}

.cam-btn { margin-top: 10px; }


/* SAHAF_VITRIN_V1 */
.ss-hero .hero-shelf {
  gap: 18px;
  transform: none;
}
.ss-hero .hero-shelf a {
  width: clamp(88px, 10vw, 140px);
  border: 1px solid rgba(217,178,106,.35);
  background: #ede3d0;
}
.ss-hero .hero-shelf a:nth-child(2) {
  width: clamp(102px, 12vw, 164px);
  transform: translateY(-12px);
}
.ss-hero .hero-shelf img {
  aspect-ratio: 2 / 3;
  object-fit: contain;
  padding: 6px;
}
.ss-hero .hero-shelf a:hover {
  transform: translateY(-6px);
}
.ss-hero .hero-shelf a:nth-child(2):hover {
  transform: translateY(-18px);
}
.ss-curated { margin: 30px 0; }
.ss-curated-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.ss-curated-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.ss-curated-icon { width: 60px; color: var(--muted); }
.ss-curated-icon svg { display: block; width: 100%; }
.ss-curated-card strong { font: 600 1.4rem var(--serif); }
.ss-curated-link { margin-top: auto; padding-top: 8px; font-weight: 600; }
.ss-curated-card:hover { border-color: var(--ink); }
.card { display: flex; flex-direction: column; }
.card .card-cover { flex-shrink: 0; }
.card .card-body { flex: 1; display: flex; flex-direction: column; }
.card .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.8em;
  line-height: 1.4;
}
.card .card-author {
  min-height: 1.4em;
  line-height: 1.4;
}
.card .card-foot { margin-top: auto; padding-top: 12px; }
.card .card-cover img { object-fit: contain; }
.ss-curated-card:focus-visible,
.ss-hero .hero-shelf a:focus-visible,
.card a:focus-visible {
  outline: 3px solid #a57f36;
  outline-offset: 4px;
}
.card:focus-within .card-cover::after {
  opacity: .94;
  transform: translate(-50%, 0);
}
@media (max-width: 600px) {
  .ss-hero .hero-shelf {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
  }
  .ss-hero .hero-shelf a,
  .ss-hero .hero-shelf a:nth-child(2),
  .ss-hero .hero-shelf a:nth-child(3) {
    display: block;
    width: 26%;
    max-width: 112px;
  }
  .ss-curated-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ss-curated-card { padding: 16px; }
  .ss-curated-card strong { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-hero .hero-shelf a,
  .card .card-cover,
  .card .card-cover::after {
    transition: none;
    transform: none;
  }
  .ss-hero .hero-shelf a:nth-child(2),
  .ss-hero .hero-shelf a:hover,
  .ss-hero .hero-shelf a:nth-child(2):hover,
  .card:hover .card-cover {
    transform: none;
  }
}

/* ---------- Katalog fişi görünümü: arama sonuçları, "Son baktıklarınız" ve Arananlar panosu ---------- */
:root { --fis-bg: #f0e3c2; --fis-line: rgba(70, 50, 25, .15); --fis-ink: #3a2c1c; --fis-red: #b53a2b; --fis-hole: #d8c79c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --fis-bg: #2c231a; --fis-line: rgba(237, 228, 211, .10); --fis-ink: #e6d9bf; --fis-red: #e2574a; --fis-hole: #1b1611; } }
:root[data-theme="dark"] { --fis-bg: #2c231a; --fis-line: rgba(237, 228, 211, .10); --fis-ink: #e6d9bf; --fis-red: #e2574a; --fis-hole: #1b1611; }
/* Kitap kartları (ana sayfa, kategori, arama) tek, sade görünümde; eski fiş/daktilo kart stili kaldırıldı. */
/* Arananlar panosu: her talep daktilo yazılı bir fiş; "ARANIYOR" damgası eğik durur */
.reader-grid { margin-top: 18px; }
.reader-grid > article.panel { margin: 0; position: relative; background: var(--fis-bg); border-color: var(--fis-line); border-top: 3px solid var(--fis-red); border-radius: 6px; overflow: hidden;
  background-image: repeating-linear-gradient(transparent 0 31px, var(--fis-line) 31px 32px); font-family: 'Special Elite', 'Courier New', monospace; color: var(--fis-ink); }
.reader-grid > article.panel h2 { font-family: var(--serif); color: var(--fis-ink); }
.reader-grid > article.panel::after { content: "ARANIYOR"; position: absolute; right: 10px; top: 12px; transform: rotate(7deg); font: 700 .78rem/1 var(--text); letter-spacing: .12em; color: var(--fis-red); border: 2px solid var(--fis-red); border-radius: 4px; padding: 3px 7px; opacity: .8; pointer-events: none; }

/* ── Açılış v2 (pkg 105): perde yerine deri kaplı, altın kabartmalı kitap kapağı; harflerde yaldız parıltısı ── */
#intro-splash .is-panel {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .10) 0 2px, transparent 2px 5px),
    radial-gradient(1000px 800px at 50% 50%, #4a1812 0%, #2b0f0b 62%, #170806 100%);
  backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: transform;
}
#intro-splash .is-pl { transform-origin: 0 50%; box-shadow: inset -26px 0 40px -18px rgba(0, 0, 0, .65); animation: isCoverL 1s cubic-bezier(.6, 0, .25, 1) 2.7s both; }
#intro-splash .is-pr { transform-origin: 100% 50%; box-shadow: inset 26px 0 40px -18px rgba(0, 0, 0, .65); animation: isCoverR 1s cubic-bezier(.6, 0, .25, 1) 2.7s both; }
/* Altın çift çerçeve: iki kapak kapalıyken tek çerçeve oluşturur */
#intro-splash .is-pl::before, #intro-splash .is-pr::before { content: ""; position: absolute; top: 5%; bottom: 5%; border: 2px solid rgba(227, 178, 77, .85); box-shadow: inset 0 0 0 7px transparent, inset 0 0 0 8px rgba(227, 178, 77, .45), 0 0 18px rgba(227, 178, 77, .18); pointer-events: none; }
#intro-splash .is-pl::before { left: 4%; right: 0; border-right: 0; border-radius: 6px 0 0 6px; }
#intro-splash .is-pr::before { right: 4%; left: 0; border-left: 0; border-radius: 0 6px 6px 0; }
@keyframes isCoverL { 0% { transform: perspective(1500px) rotateY(0); filter: brightness(1); } 100% { transform: perspective(1500px) rotateY(-112deg); filter: brightness(.45); } }
@keyframes isCoverR { 0% { transform: perspective(1500px) rotateY(0); filter: brightness(1); } 100% { transform: perspective(1500px) rotateY(112deg); filter: brightness(.45); } }
/* Yaldız: harflerin üzerinden sırayla tek bir ışık geçer */
#intro-splash .is-word span {
  --fc: var(--is-paper);
  background: linear-gradient(100deg, var(--fc) 0 36%, #fffbe8 50%, var(--fc) 64% 100%) 100% 0 / 320% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: var(--fc);
  animation: isLetter .5s cubic-bezier(.2, .9, .3, 1.2) both, isGlint .55s ease both, isFoil .42s ease-in-out both;
  animation-delay: calc(1.55s + var(--i) * .05s), calc(2.05s + var(--i) * .05s), calc(1.95s + var(--i) * .03s);
}
#intro-splash .is-word span:nth-child(6) { --fc: var(--is-gold); }
@keyframes isFoil { 0% { background-position: 100% 0; -webkit-text-fill-color: transparent; } 99% { background-position: 0 0; -webkit-text-fill-color: transparent; } 100% { background-position: 0 0; -webkit-text-fill-color: var(--fc); } }
@media (prefers-reduced-motion: reduce) { #intro-splash .is-pl, #intro-splash .is-pr { animation-name: isCurtL; } #intro-splash .is-pr { animation-name: isCurtR; } #intro-splash .is-word span { animation: isLetter .01s both; -webkit-text-fill-color: var(--fc); } }
