/* =============================================================================
   Renkli Dersler · Genel Tasarım Sistemi
   ---------------------------------------------------------------------------
   · Beyaz zemin ağırlıklı, göz yormayan
   · Mor / Yeşil / Pembe / Sarı vurgu paleti (referans görsellerden)
   · Nunito font ailesi (çocuk & öğretmen dostu, profesyonel)
   · Kart, buton, form, tablo, badge, alert, breadcrumb, pagination
   · Slider, ürün kartı (kitap dikey / pano yatay), hero grid
   · Responsive breakpoints: 640 / 768 / 1024 / 1280 px
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1) Renk & Tipografi değişkenleri
   ----------------------------------------------------------------------------- */
:root {
  /* Marka renkleri */
  --brand-purple: #2563EB;
  --brand-purple-dark: #1D4ED8;
  --brand-purple-light: #EAF1FF;
  --brand-green: #0EA5E9;
  --brand-green-dark: #0284C7;
  --brand-green-light: #E3F4FD;
  --brand-pink: #F59E0B;
  --brand-pink-dark: #D97706;
  --brand-yellow: #F5B916;
  --ink: #16233B;

  /* Nötr renkler — temiz, hafif soğuk mavi-gri (parlak beyaz değil) */
  --text: #16233B;
  --text-soft: #3B4A61;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --border: #E2E8F0;
  --border-soft: #EEF2F7;
  --bg: #F3F7FC;
  --bg-soft: #F9FBFE;
  --bg-softer: #EAF0F7;
  --bg-purple-soft: #EAF1FF;
  --paper: #FFFFFF;

  /* Bildirim renkleri */
  --success: #10B981;
  --warning: #F59E0B;
  --danger:  #EF4444;
  --info:    #3B82F6;

  /* Efektler */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow:    0 4px 12px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .10);
  --shadow-hover: 0 12px 32px rgba(37, 99, 235, .12);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-round: 999px;

  --transition: 180ms cubic-bezier(.2,.7,.3,1);

  /* Tipografi */
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

  /* Layout */
  --container: 1240px;
  --header-h: 84px;
}

/* -----------------------------------------------------------------------------
   2) Reset
   ----------------------------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-purple-dark); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: 800; line-height: 1.25; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p  { color: var(--text-soft); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* -----------------------------------------------------------------------------
   3) Layout / Container
   ----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .container { padding: 0 16px; } }

main { flex: 1 0 auto; }

.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.catalog-section { padding-top: 34px; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-title h2 .accent { color: var(--brand-purple); }
/* Şık gradient alt çizgi + orta nokta */
.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 132px; height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-green) 50%, #22D3EE 100%);
}
.section-title h2::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -2.5px;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px rgba(14,165,233,.25);
  z-index: 1;
}
/* Katalog başlığı: genel çizgi yerine özel maskotlu dekor */
.catalog-title h2 { padding-bottom: 0; margin-top: 14px; margin-bottom: 2px; }
.catalog-title h2::after, .catalog-title h2::before { display: none; }
.title-deco {
  position: relative;
  display: flex;              /* kendi satırında, başlığın altında */
  align-items: flex-end;
  justify-content: center;
  margin: 0 auto;
  width: 100%;               /* çizgi kitaplar/pano genişliğine kadar uzasın */
}
.title-deco-line {
  width: 100%;
  height: 46px;
  display: block;
}
/* ortadaki nokta — SVG esnetildiği için ayrı HTML elemanı (yuvarlak kalsın) */
.title-deco-dot {
  position: absolute;
  left: 50%; bottom: 8px;
  transform: translateX(-50%);
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(14,165,233,.25);
}
.title-deco-bird {
  position: absolute;
  bottom: 16px;                 /* çizginin kıvrımlı ucunun üstüne otursun */
  width: 89px;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(34,26,51,.22));
}
.title-deco-bird.left  { left: -8px;  transform: rotate(-8deg) scaleX(-1); }
.title-deco-bird.right { right: -8px; transform: rotate(8deg); }
@media (max-width: 480px) {
  .title-deco-line { height: 36px; }
  .title-deco-bird { width: 60px; bottom: 12px; }
}
.section-title p { color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* -----------------------------------------------------------------------------
   4) Header (üst menü)
   ----------------------------------------------------------------------------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(42, 33, 64, .04);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-purple) 0 34%, var(--brand-green) 34% 62%, var(--brand-pink) 62% 82%, var(--brand-yellow) 82% 100%);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--brand-purple);
  letter-spacing: -0.02em;
}
.brand svg { width: 40px; height: 40px; }
.brand-logo { height: 60px; width: auto; max-width: 280px; object-fit: contain; display: block; }
.brand small { display: block; font-size: 12px; color: var(--text-muted); font-weight: 600; letter-spacing: 0; }
@media (max-width: 768px) { .brand small { display: none; } }
@media (max-width: 900px) { .brand-logo { height: 50px; max-width: 220px; } }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-round);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--brand-purple-light);
  color: var(--brand-purple);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-only { display: none; }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  background: var(--bg-soft);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  position: relative;
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--brand-purple-light); color: var(--brand-purple); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn .badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--brand-pink);
  color: #fff;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-round);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.mobile-menu-btn { display: none; }

/* -----------------------------------------------------------------------------
   5) Butonlar
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary   { background: var(--brand-purple); color: #fff; box-shadow: 0 8px 18px rgba(37,99,235,.22); }
.btn-primary:hover   { background: var(--brand-purple-dark); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--brand-green); color: #fff; box-shadow: 0 8px 18px rgba(14,165,233,.18); }
.btn-secondary:hover { background: var(--brand-green-dark); color: #fff; transform: translateY(-1px); }
.btn-pink      { background: var(--brand-pink); color: #fff; }
.btn-pink:hover      { background: var(--brand-pink-dark); color: #fff; }
.btn-outline   { background: var(--paper); border-color: var(--brand-purple); color: var(--brand-purple); }
.btn-outline:hover   { background: var(--brand-purple); color: #fff; }
.btn-ghost     { background: transparent; color: var(--text); }
.btn-ghost:hover     { background: var(--bg-softer); }
.btn-danger    { background: var(--danger); color: #fff; }
/* Slider buton renk paleti (ek seçenekler) */
.btn-green     { background: var(--success); color: #fff; }
.btn-green:hover     { background: #0e9f6e; color: #fff; transform: translateY(-1px); }
.btn-yellow    { background: var(--brand-yellow); color: #3a2d00; }
.btn-yellow:hover    { background: #e0a800; color: #3a2d00; transform: translateY(-1px); }
.btn-rose      { background: #EC4899; color: #fff; }
.btn-rose:hover      { background: #DB2777; color: #fff; transform: translateY(-1px); }
.btn-violet    { background: #8B5CF6; color: #fff; }
.btn-violet:hover    { background: #7C3AED; color: #fff; transform: translateY(-1px); }
.btn-dark      { background: #122C66; color: #fff; }
.btn-dark:hover      { background: #0D2150; color: #fff; transform: translateY(-1px); }
.btn-white     { background: #fff; color: #1E3A8A; }
.btn-white:hover     { background: #EEF2FF; color: #1E3A8A; transform: translateY(-1px); }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 9px 12px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* -----------------------------------------------------------------------------
   6) Form elemanları
   ----------------------------------------------------------------------------- */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.form-label .required { color: var(--brand-pink); margin-left: 2px; }
.form-control,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}
.form-help  { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 13px; color: var(--danger); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-check { display: inline-flex; align-items: center; gap: 8px; }
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--brand-purple);
}

/* -----------------------------------------------------------------------------
   7) Alert
   ----------------------------------------------------------------------------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  border: 1px solid transparent;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #E7F9F2; color: #0F6D4F; border-color: #B2E5D2; }
.alert-warning { background: #FFF6E5; color: #7A4A00; border-color: #FADCA0; }
.alert-danger  { background: #FEE7E7; color: #8A1E1E; border-color: #F5B5B5; }
.alert-info    { background: #E7F0FE; color: #1E3A8A; border-color: #B6CDF5; }

/* -----------------------------------------------------------------------------
   8) Badge & chip
   ----------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.badge-purple { background: var(--brand-purple-light); color: var(--brand-purple); }
.badge-green  { background: var(--brand-green-light);  color: var(--brand-green-dark); }
.badge-pink   { background: #FEF3DD; color: var(--brand-pink-dark); }
.badge-yellow { background: var(--brand-purple-light); color: var(--brand-purple); }
.badge-gray   { background: var(--bg-soft); color: var(--text-muted); }

/* -----------------------------------------------------------------------------
   9) Card
   ----------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-body { padding: 20px; }
.card-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }

/* -----------------------------------------------------------------------------
   10) SLIDER (Hero) — kart üstü kart, dekoratif, overlap
   ----------------------------------------------------------------------------- */
.hero { position: relative; padding: 28px 0 40px; }
.hero-slider {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  aspect-ratio: 2.4 / 1;   /* tam genişlik: 2400x1000 görsel tam sığar, kırpma olmaz */
  background: linear-gradient(120deg, #122C66 0%, #1E3A8A 46%, #2563EB 100%);
  box-shadow: 0 30px 60px -24px rgba(30,58,138,.55);
  isolation: isolate;
}
/* dekoratif ışıklar */
.hero-slider::before {
  content: "";
  position: absolute; z-index: 1;
  width: 520px; height: 520px; right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%);
  pointer-events: none;
}
.hero-slider::after {
  content: "";
  position: absolute; z-index: 1;
  width: 380px; height: 380px; right: 4%; bottom: -160px;
  background: radial-gradient(circle, rgba(245,185,22,.30), transparent 60%);
  pointer-events: none;
}
.hero-slide {
  position: absolute; inset: 0;
  padding: 46px 60px 22px;
  color: #fff;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 600ms ease, transform 600ms ease;
  display: flex;
  align-items: stretch;
  z-index: 0;
}
.hero-slide.active { opacity: 1; transform: none; z-index: 2; }
.hero-slide .slide-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-slide .slide-overlay {
  position: absolute; inset: 0;
  /* Sol tarafta yazı için koyu, sağa doğru şeffaf -> görsel net görünsün */
  background:
    linear-gradient(100deg, rgba(12,28,74,.88) 0%, rgba(18,44,102,.66) 32%, rgba(30,58,138,.26) 58%, rgba(37,99,235,0) 82%);
  z-index: 1;
}
/* Maskot (görselsiz slaytlarda sağda durur) */
.hero-slide .slide-mascot {
  position: absolute;
  right: 15%;
  bottom: 0;
  height: 86%;
  width: auto;
  max-width: 38%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.32));
  animation: mascotFloat 5.5s ease-in-out infinite;
}
@keyframes mascotFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-slide .slide-content {
  position: relative; z-index: 2;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Başlık üstte, butonlar aşağıda sabitlensin (havada kalmasın) */
.hero-slide .slide-content > .hero-eyebrow { flex: 0 0 auto; }
.hero-slide .slide-actions { margin-top: auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 4px rgba(14,165,233,.3); }
.hero-slide h1 {
  color: #fff;
  font-size: 3rem;
  line-height: 1.06;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.hero-slide h1 .accent {
  color: var(--brand-yellow);
  position: relative;
  white-space: nowrap;
}
.hero-slide p {
  color: rgba(255,255,255,.92);
  font-size: 1.08rem;
  margin-bottom: 26px;
  max-width: 460px;
}
.hero-slide .slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-slide .slide-actions .btn { border-radius: 14px; }

/* Alt-orta kontrol çubuğu */
.hero-nav {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; z-index: 4;
}
.hero-dots { display: flex; align-items: center; gap: 10px; }
/* Masaüstü: küçük kare slayt önizlemeleri (tıkla-geç) */
.hero-dot {
  width: 58px; height: 36px; border-radius: 9px;
  border: 2px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.22) center/cover no-repeat;
  padding: 0; cursor: pointer; opacity: .7;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
  transition: opacity var(--transition), transform var(--transition), border-color var(--transition);
}
.hero-dot:hover { opacity: 1; transform: translateY(-2px); }
.hero-dot.active { opacity: 1; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 6px 16px -8px rgba(0,0,0,.5); }

.hero-arrow {
  color: #fff; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 4; transition: background var(--transition), transform var(--transition);
}
/* Çubuktaki mini oklar (masaüstünde gizli, mobilde görünür) */
.hero-arrow.mini {
  display: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.hero-arrow.mini:hover { background: rgba(255,255,255,.4); transform: scale(1.08); }
.hero-arrow.mini svg { width: 16px; height: 16px; }
/* Masaüstü kenar okları */
.hero-arrow.side {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
}
.hero-arrow.side:hover { background: rgba(255,255,255,.34); }
.hero-arrow.side.prev { left: 18px; }
.hero-arrow.side.next { right: 18px; }
.hero-arrow.side svg { width: 22px; height: 22px; }

/* Cevap anahtarı QR paneli */
.ak-qr-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 16px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #F6F4FD 0%, #EEF9F4 100%);
  border: 1px solid var(--border-soft);
}
.ak-qr-left { text-align: center; }
.ak-qr-frame {
  display: inline-block;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid var(--brand-purple);
  box-shadow: 0 14px 30px -14px rgba(37,99,235,.5);
}
.ak-qr-frame img { width: 170px; height: 170px; display: block; }
.ak-qr-hint { margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--brand-purple); }
.ak-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(14,165,233,.14); color: var(--brand-green-dark);
  font-weight: 800; font-size: 12.5px; padding: 6px 12px; border-radius: 999px;
}
.ak-qr-label { margin-top: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 800; }
.ak-qr-url {
  font-family: monospace; font-size: 13px; word-break: break-all;
  background: #fff; border: 1px solid var(--border-soft);
  padding: 10px 12px; border-radius: 9px; margin: 6px 0 14px;
}
.ak-qr-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ak-qr-panel.is-archived { background: #FAFAFB; border-style: dashed; opacity: .9; }
.ak-qr-panel.is-archived .ak-qr-frame { border-color: var(--text-muted); box-shadow: none; }
.ak-badge-muted { background: rgba(120,120,135,.14); color: var(--text-muted); }
.ak-title-form { display: flex; gap: 6px; align-items: center; margin: 10px 0 4px; }
.ak-title-input { max-width: 340px; }
/* Çoklu yükleme satırları */
.ak-upload-form { margin-top: 4px; }
.ak-row { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.ak-row-del { color: var(--text-muted); }
@media (max-width: 640px) {
  .ak-qr-panel { grid-template-columns: 1fr; }
  .ak-row { grid-template-columns: 1fr; }
}

/* Ürün formu: açılır kartlar */
.collapse-head {
  width: 100%; border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 1.05rem; font-weight: 800; color: var(--text);
  padding: 2px 0; text-align: left; font-family: inherit;
}
.collapse-head .collapse-chevron { transition: transform .22s ease; color: var(--text-muted); }
.collapse-head[aria-expanded="true"] .collapse-chevron { transform: rotate(180deg); }
.collapse-body { margin-top: 14px; }
.collapse-body.collapsed { display: none; }

/* Ürün formu: galeri küçük görselleri + silme */
.gal-thumb { position: relative; }
.gal-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--border-soft); display: block; }
.gal-del {
  position: absolute; top: 6px; right: 6px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(0,0,0,.6); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.gal-del:hover { background: var(--danger); }

/* Ürün formu: yayın durumu switch'leri yatay */
.pub-switches { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; }
.pub-switches .switch-row:last-child { border-bottom: 0; }

/* Ürün formu: yapışkan kaydet çubuğu */
.prod-savebar {
  position: sticky; bottom: 0; z-index: 20;
  margin-top: 18px;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 24px -16px rgba(34,26,51,.4);
}
.prod-savebar-inner {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 14px 18px;
}

/* Tıklanabilir KPI kartı */
.kpi-link { display: block; transition: transform .15s, box-shadow .15s; }
.kpi-link:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(34,26,51,.5); }
.kpi-link.kpi-active { outline: 2px solid var(--brand-pink); outline-offset: 2px; }

/* Admin tablo (ürün listesi vb.) */
.admin-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.admin-table thead th {
  text-align: left; padding: 14px 12px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-muted); font-weight: 800;
  border-bottom: 2px solid var(--border); background: var(--bg-soft);
}
.admin-table tbody td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.admin-table tbody tr { transition: background .15s; }
.admin-table tbody tr:hover { background: var(--bg-soft); }
.sold-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-purple-light); color: var(--brand-purple);
  font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px;
  transition: background .15s, transform .15s;
}
.sold-pill:hover { background: var(--brand-purple); color: #fff; transform: translateY(-1px); }

/* Ayarlar sayfası sticky kaydet çubuğu */
.settings-savebar {
  position: sticky; bottom: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 14px 0; margin-top: 8px; text-align: right;
}

/* Toggle switch (admin) */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 46px; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch .slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #cbd0dd; border-radius: 999px; transition: background .2s;
}
.switch .slider::before {
  content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 2px 5px rgba(0,0,0,.25);
}
.switch input:checked + .slider { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border-soft); font-weight: 700; font-size: 14px;
}
.switch-row:last-of-type { border-bottom: 0; }
.switch-row span i { color: var(--brand-purple); width: 20px; text-align: center; margin-right: 4px; }

/* Öne Çıkan Koleksiyonlar — renkli neon hale + beyaz kart */
.hero-picks-wrap { margin-top: 22px; }
.hero-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.pick-card {
  position: relative;
  border-radius: 34px;
  transition: transform .22s ease;
}
.pick-card:hover { transform: translateY(-5px); }
/* Neon hale — border çizgisinin arkasından yayılır */
.pick-glow {
  position: absolute;
  inset: -5px;
  border-radius: 40px;
  background: linear-gradient(115deg, #22D3EE 0%, #3B82F6 40%, #60A5FA 70%, #2563EB 100%);
  filter: blur(11px);
  opacity: .85;
  pointer-events: none;
  transition: opacity .22s ease, filter .22s ease;
}
.pick-card:hover .pick-glow { opacity: 1; filter: blur(15px); }
/* Beyaz kart + NET gradient neon border (kıvrım belli olsun) */
.pick-body {
  position: relative;          /* hale'nin üstünde boyanır */
  border-radius: 34px;
  padding: 19px 64px 19px 19px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(115deg, #22D3EE 0%, #3B82F6 40%, #60A5FA 70%, #2563EB 100%) border-box;
  border: 3px solid transparent;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 17px;
  align-items: center;
  min-height: 116px;
}
.pick-body .pick-thumb {
  width: 88px; height: 76px;
  background: #F4F8FD center/contain no-repeat;   /* kırpma yok, ürün tam görünür */
  border-radius: 13px;
  display: block;
  box-shadow: 0 3px 12px -5px rgba(34,26,51,.3);
}
.pick-body .pick-info { min-width: 0; }
.pick-body .pick-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 800;
  font-size: 14.5px;
  line-height: 1.32;
  color: var(--text);
  margin-bottom: 9px;
  text-decoration: none;
}
a.pick-name:hover { color: var(--brand-purple); }
.pick-body .pick-price {
  font-weight: 900;
  font-size: 16.5px;
  color: var(--brand-purple);
}
/* Mavi daire butonlar: üstte + (sepete ekle), altta göz (incele) */
.pick-add,
.pick-eye {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 7px 16px -5px rgba(37,99,235,.7);
  transition: transform .15s ease, background .15s ease;
  z-index: 3;
  padding: 0;
}
.pick-add:hover,
.pick-eye:hover { transform: scale(1.12); }
.pick-add.top {
  top: -17px; right: 18px;
  width: 42px; height: 42px;
  font-size: 15px;
  border: 3px solid #fff;
  cursor: pointer;
  line-height: 1;
}
.pick-add.added { background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%); }
.pick-eye.bottom {
  bottom: 15px; right: 19px;
  width: 30px; height: 30px;
  font-size: 12px;
}

@media (max-width: 980px) {
  .hero-picks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hero-picks { grid-template-columns: 1fr; }
}
/* ───────── Mobil slider: görsel üstte (tam sığar) + yazı altta ───────── */
@media (max-width: 768px) {
  .hero { padding: 14px 0 26px; }
  /* Yükseklik aktif slaytın içeriğine göre otomatik */
  .hero-slider { aspect-ratio: auto; min-height: 0; height: auto; border-radius: 18px; background: #122C66; }
  .hero-slide { position: absolute; inset: 0; flex-direction: column; padding: 0; align-items: stretch; }
  .hero-slide.active { position: relative; inset: auto; }   /* aktif slayt yüksekliği belirler */
  /* Görsel üstte, TAM görünür (kırpma yok, ekrana sığar) */
  .hero-slide .slide-image {
    position: relative; inset: auto;
    width: 100%; aspect-ratio: 2.4 / 1;
    background-size: cover; background-position: center;
    border-radius: 18px 18px 0 0;
  }
  .hero-slide .slide-overlay { display: none; }
  /* Yazı görselin ALTINDA */
  .hero-slide .slide-content {
    position: relative; z-index: 2;
    max-width: 100%; width: 100%;
    padding: 16px 18px 58px;         /* alt navigasyon pill'i için boşluk */
    align-items: flex-start; text-align: left !important;
  }
  .hero-eyebrow { margin-bottom: 10px; font-size: 11.5px; }
  .hero-slide h1 { font-size: 1.55rem; margin-bottom: 10px; overflow-wrap: anywhere; word-break: break-word; }
  .hero-slide h1 .accent { white-space: normal; }
  .hero-slide p { font-size: .95rem; margin-bottom: 16px; }
  .hero-slide .slide-mascot { display: none; }
  /* Görselsiz (gradient) slaytta içerik ortalı */
  .hero-slide.no-image { padding: 30px 20px 58px; justify-content: center; }
  .hero-slide.no-image .slide-content { padding: 0; }
  .hero-slide .slide-actions .btn { padding: 11px 16px; font-size: 14px; }

  /* Navigasyon: pill + mini oklar + yuvarlak noktalar */
  .hero-arrow.side { display: none; }
  .hero-arrow.mini { display: inline-flex; }
  .hero-nav {
    bottom: 12px; gap: 10px; padding: 6px 10px; border-radius: 999px;
    background: rgba(10,20,52,.5);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
  }
  .hero-nav .hero-dot {
    width: 9px; height: 9px; border-radius: 50%;
    border: 0; opacity: 1; box-shadow: none;
    background: rgba(255,255,255,.5) !important;
    background-image: none !important;
  }
  .hero-nav .hero-dot.active { width: 24px; border-radius: 6px; background: #fff !important; }
}
@media (max-width: 480px) {
  .hero-slide h1 { font-size: 1.4rem; }
  .hero-slide p { font-size: .9rem; margin-bottom: 14px; }
  .hero-slide .slide-actions { width: 100%; }
  .hero-slide .slide-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* -----------------------------------------------------------------------------
   11) Ürün kartı (kitap dikey / pano yatay)
   ----------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
/* Pano görselleri yatay ve büyük dursun: 3 sütun */
.product-grid.grid-pano { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .product-grid.grid-pano { grid-template-columns: 1fr; } }

.product-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1px 2px rgba(34,26,51,.04);
}
.product-card:hover {
  border-color: var(--brand-purple);
  box-shadow: 0 22px 40px -24px rgba(37,99,235,.45);
  transform: translateY(-6px);
}
.product-card .p-img {
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--bg-softer);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin: 10px 10px 0;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}
.product-card.type-pano .p-img { aspect-ratio: 4 / 3; }
.product-card .p-frame {
  position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.product-card .p-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.product-card .p-type-chip {
  background: rgba(255,255,255,.92);
  color: var(--brand-purple);
  border: 1px solid var(--border-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  padding: 3px 9px;
  border-radius: 7px;
  box-shadow: 0 2px 6px -3px rgba(34,26,51,.25);
  backdrop-filter: blur(2px);
}
.product-card .p-discount {
  position: absolute; top: 10px; right: 10px;
  background: var(--brand-pink);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
}
.product-card .p-body {
  padding: 14px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card .p-cat {
  font-size: 11px;
  color: var(--brand-green-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.product-card .p-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.product-card .p-name a { color: inherit; }
.product-card .p-name a:hover { color: var(--brand-purple); }
.product-card .p-price {
  display: flex; align-items: flex-end; gap: 8px;
  margin-top: auto;
}
.product-card .p-price .p-was-wrap {
  display: flex; flex-direction: column; line-height: 1.1; gap: 2px;
}
.product-card .p-price .p-off {
  align-self: flex-start;
  background: var(--brand-pink); color: #fff;
  font-weight: 800; font-size: 11px;
  padding: 1px 7px; border-radius: 6px;
}
.product-card .p-price .now {
  font-weight: 900;
  font-size: 20px;
  color: var(--brand-purple);
}
.product-card .p-price .was {
  text-decoration: line-through;
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 700;
}
.product-card .p-actions {
  display: flex; gap: 8px;
  padding: 0 12px 14px;
}
.product-card .p-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
  padding: 9px 8px;
  font-size: 12.5px;
}

/* -----------------------------------------------------------------------------
   12) Kategori bantı
   ----------------------------------------------------------------------------- */
.category-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .category-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .category-strip { grid-template-columns: repeat(3, 1fr); } }
.category-strip a {
  background: var(--bg-purple-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
  transition: all var(--transition);
}
.category-strip a:hover {
  background: var(--brand-purple);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* -----------------------------------------------------------------------------
   13) Breadcrumb
   ----------------------------------------------------------------------------- */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 14px; color: var(--text-muted);
  padding: 16px 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-purple); }
.breadcrumb .sep { color: var(--text-faint); }
.breadcrumb .current { color: var(--text); font-weight: 700; }

/* -----------------------------------------------------------------------------
   14) Footer
   ----------------------------------------------------------------------------- */
.site-footer {
  background: var(--paper);
  color: var(--text);
  padding: 0 0 28px;
  margin-top: 72px;
  border-top: 1px solid var(--border);
}
.footer-accent {
  height: 6px;
  background: linear-gradient(90deg, var(--brand-purple) 0 28%, var(--brand-green) 28% 52%, var(--brand-pink) 52% 76%, var(--brand-yellow) 76% 100%);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr .9fr;
  gap: 36px;
  padding: 48px 0 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-logo small { display: block; font-size: 12px; color: var(--text-muted); font-weight: 700; }
.footer-mark {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg,#EAF1FF,#E3F4FD);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-mark img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.footer-mark i { font-size: 26px; color: var(--brand-purple); }
.footer-brand-block p { font-size: 14px; max-width: 360px; }
.footer-contact-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-contact-pills a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}
.footer-contact-pills a:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.site-footer h5 {
  color: var(--brand-purple);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer .footer-cols a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  display: block;
  padding: 5px 0;
}
.site-footer .footer-cols a:hover { color: var(--brand-purple); }
.footer-callbox {
  background: #F7F1FF;
  border: 2px solid #D9C8F4;
  border-radius: 18px;
  padding: 20px;
}
.footer-callbox p { font-size: 13px; margin-bottom: 12px; }
.footer-callbox input {
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
}
.site-footer .footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.site-footer .socials { display: flex; gap: 10px; }
.site-footer .socials a {
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
  padding: 0;
  display: inline;
}
.site-footer .socials a:hover { color: var(--brand-purple); }
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-callbox { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-top, .footer-cols { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------------------
   15) Pagination
   ----------------------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 40px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-round);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}
.pagination a:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.pagination .active { background: var(--brand-purple); border-color: var(--brand-purple); color: #fff; }

/* -----------------------------------------------------------------------------
   16) Utilities
   ----------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }  .mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.d-none  { display: none; }
.d-block { display: block; }
.d-flex  { display: flex; }
.gap-1   { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.rounded { border-radius: var(--radius); }
.shadow  { box-shadow: var(--shadow); }

/* -----------------------------------------------------------------------------
   17) Ürün detay (kitap dikey / pano yatay)
   ----------------------------------------------------------------------------- */
/* ---- Ürün detay ---- */
.pd-hero {
  background:
    radial-gradient(760px 360px at 82% -8%, rgba(37,99,235,.14), transparent 60%),
    radial-gradient(560px 300px at 0% 110%, rgba(14,165,233,.10), transparent 60%),
    var(--bg);
  padding-bottom: 8px;
}
.pd-breadcrumb { padding-top: 20px; }
.pd-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
  padding: 8px 0 36px;
}
.pd-hero.type-pano .pd-layout { grid-template-columns: minmax(300px, 560px) 1fr; }
@media (max-width: 1024px) {
  .pd-layout, .pd-hero.type-pano .pd-layout { grid-template-columns: 1fr; }
}
.pd-media { position: sticky; top: 100px; }
@media (max-width: 1024px) { .pd-media { position: static; } }
.pd-cover-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 30px 60px -30px rgba(34,26,51,.45);
}
.pd-cover {
  aspect-ratio: 3 / 4;
  background: var(--bg-softer) center/cover no-repeat;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
}
.pd-hero.type-pano .pd-cover { aspect-ratio: 4 / 3; }
.pd-cover { position: relative; cursor: zoom-in; }
.pd-zoom-badge {
  position: absolute; left: 12px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--brand-purple);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.45);
  pointer-events: none;
}
/* Görsel büyüteci (zoom lightbox) */
.img-zoom .rd-modal-box { max-width: 94vw; width: auto; }
.img-zoom .iz-stage {
  overflow: hidden; border-radius: 12px; cursor: zoom-in;
  max-height: 80vh; background: #000;
  display: flex; align-items: center; justify-content: center;
}
.img-zoom .iz-stage img { max-width: 100%; max-height: 80vh; display: block; transition: transform .18s ease; }
.img-zoom .iz-stage.zoomed { cursor: zoom-out; }
.img-zoom .iz-stage.zoomed img { transform: scale(2.4); }
.img-zoom .iz-hint { text-align: center; color: #fff; opacity: .85; font-size: 13px; margin-top: 12px; }

/* Gösterişli video butonu */
.pd-video-fab {
  position: absolute;
  right: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.95);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 5px 15px 5px 5px;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(34,26,51,.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pd-video-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(34,26,51,.5); }
.pd-video-fab .pvf-play {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-pink), #D97706);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.pd-thumbs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.pd-thumbs .thumb {
  aspect-ratio: 3 / 4;
  background: var(--paper) center/cover no-repeat;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid var(--border);
  padding: 0;
}
.pd-hero.type-pano .pd-thumbs .thumb { aspect-ratio: 4 / 3; }
.pd-thumbs .thumb.active { border-color: var(--brand-purple); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

.pd-info { padding-top: 6px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pd-chips .chip {
  background: var(--paper);
  color: var(--text-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}
.pd-chips .chip-type { background: var(--brand-purple); color: #fff; border-color: var(--brand-purple); }
.pd-chips .chip-new { background: var(--brand-green); color: #fff; border-color: var(--brand-green); }
.pd-title { font-size: 2.1rem; line-height: 1.15; margin-bottom: 14px; }
.pd-rule { height: 3px; width: 72px; background: linear-gradient(90deg, var(--brand-purple), var(--brand-pink)); border-radius: 3px; margin-bottom: 16px; }
.pd-lead { font-size: 15px; color: var(--text-soft); margin-bottom: 20px; }

/* İkonlu meta */
.pd-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
@media (max-width: 520px) { .pd-meta { grid-template-columns: 1fr; } }
.pd-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  padding: 8px 12px;
}
.pd-meta-ico {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--brand-purple-light);
  color: var(--brand-purple);
  display: inline-flex; align-items: center; justify-content: center;
}
.pd-meta-ico svg { width: 16px; height: 16px; }
.pd-meta-txt { display: flex; flex-direction: column; min-width: 0; }
.pd-meta-txt em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
}
.pd-meta-txt strong { font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; }

/* Z-kitap / Kitabı incele */
.pd-book-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.btn-zbook {
  background: var(--brand-yellow);
  color: #4a3500;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 22px -12px rgba(245,185,22,.9);
}
.btn-zbook:hover { filter: brightness(.96); color: #4a3500; transform: translateY(-1px); }
.btn-zbook svg { width: 18px; height: 18px; }
.btn-flip {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-flip:hover { transform: translateY(-1px); background: #100b1c; }
.btn-flip svg { width: 18px; height: 18px; }

/* Satın alma kutusu */
.pd-purchase {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 40px -30px rgba(34,26,51,.4);
}
.pd-price-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-off {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--brand-pink); color: #fff;
  font-weight: 900; font-size: 18px; line-height: 1;
  padding: 8px 12px; border-radius: 12px;
}
.pd-off small { font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.pd-price-col { display: flex; flex-direction: column; }
.pd-price-col .was { text-decoration: line-through; color: var(--text-faint); font-weight: 700; font-size: 15px; }
.pd-price-col .now { font-size: 2.1rem; font-weight: 900; color: var(--brand-purple); line-height: 1; }
.pd-stock { margin-left: auto; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.pd-stock.ok { color: var(--brand-green-dark); background: var(--brand-green-light); }
.pd-stock.no { color: var(--brand-pink-dark); background: #FCE7EC; }
.pd-buy { display: flex; gap: 12px; }
.pd-buy .pd-add { flex: 1; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.qty button { background: transparent; border: 0; width: 42px; height: 50px; font-size: 18px; color: var(--text); }
.qty input { border: 0; width: 46px; text-align: center; font-weight: 800; height: 50px; }

/* Açıklama & galeri */
.pd-below { padding: 24px 0 48px; }
.pd-desc {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.pd-desc-title {
  font-size: 1.3rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.pd-desc-title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 60px; height: 3px; background: var(--brand-purple); border-radius: 3px;
}
.pd-desc .prose { line-height: 1.8; color: var(--text-soft); }
.pd-desc .prose img { border-radius: 12px; margin: 12px 0; }
.pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.pd-gal-item {
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-softer) center/cover no-repeat;
  cursor: pointer;
  padding: 0;
  transition: transform var(--transition);
}
.pd-gal-item:hover { transform: translateY(-3px); border-color: var(--brand-purple); }

/* ---- Modallar ---- */
.rd-modal[hidden] { display: none !important; }
.rd-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; }
.rd-modal-bg { position: absolute; inset: 0; background: rgba(10,18,45,.78); backdrop-filter: blur(3px); }
.rd-modal-box { position: relative; width: min(960px, 94vw); z-index: 1; }
.rd-modal-video { aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; }
.rd-modal-video iframe, .rd-modal-video video { width: 100%; height: 100%; border: 0; }
.rd-modal-img { display: grid; place-items: center; }
.rd-modal-img img { max-width: 100%; max-height: 86vh; border-radius: 14px; }
.rd-modal-close {
  position: absolute; top: -46px; right: 0;
  background: #fff; border: 0; width: 38px; height: 38px;
  border-radius: 50%; font-size: 24px; font-weight: 800; cursor: pointer;
  line-height: 1;
}
/* Flipbook tam ekran */
.rd-modal-full { padding: 0; }
.rd-modal-full-box {
  position: relative; z-index: 1;
  width: 100vw; height: 100vh;
  display: flex; flex-direction: column;
  background: #14101f;
}
.rd-modal-full-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: #1b1430; color: #fff;
  font-weight: 800;
}
.rd-modal-full-bar .rd-modal-close { position: static; width: 36px; height: 36px; background: rgba(255,255,255,.14); color: #fff; }
.rd-modal-full-frame { flex: 1; }
.rd-modal-full-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---- Katalog şeritleri (Kitap / Pano) ---- */
.type-strips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 520px) {
  .type-strips { grid-template-columns: repeat(2, 1fr); }
}
.type-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 68px;
  border: 2px solid var(--border);
  background: var(--paper);
  color: var(--text);
  border-radius: 18px;
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition);
}
.type-strip i { font-size: 1.25rem; opacity: .9; }
.type-strip::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--brand-purple);
  transition: opacity var(--transition);
}
.type-strip:nth-child(2)::before { background: var(--brand-green); }
.type-strip:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -20px rgba(34,26,51,.45); }
.type-strip.active {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -18px rgba(37,99,235,.6);
}
.type-strip.active::before { opacity: 0; }
.type-strip.active { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); }
.type-strip.active i { opacity: 1; }
.type-strip:nth-child(2).active { background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%); box-shadow: 0 20px 38px -18px rgba(14,165,233,.55); }

/* alt kategoriler — hap şeklinde çipler */
.subcat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.subcat-chip {
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.subcat-chip:hover { border-color: var(--brand-purple); color: var(--brand-purple); transform: translateY(-1px); }
.subcat-chip.active {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(37,99,235,.6);
}
.magaza-page { padding-bottom: 40px; }
.magaza-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.magaza-toolbar .form-select { width: auto; min-width: 180px; }

/* -----------------------------------------------------------------------------
   18) Sepet
   ----------------------------------------------------------------------------- */
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  padding: 24px 0;
}
@media (max-width: 1024px) { .cart-grid { grid-template-columns: 1fr; } }

.cart-items { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr 120px 140px 40px;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row .cimg {
  width: 100px; height: 100px;
  background-color: #fff;
  background-size: contain;            /* ürün görseli tam gözüksün, kırpılmasın */
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}
.cart-row .cname { font-weight: 800; font-size: 15px; }
.cart-row .cmeta { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.cart-row .cprice { font-weight: 900; color: var(--brand-purple); font-size: 16px; text-align: right; }
.cart-row .cremove {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  transition: all var(--transition);
}
.cart-row .cremove:hover { background: #FEE7E7; color: var(--danger); }

.cart-summary {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 108px;
}
.cart-summary h3 { font-size: 1.1rem; margin-bottom: 16px; }
.cart-summary .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: 15px;
}
.cart-summary .row.total {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-purple);
}
.cart-summary .coupon-input {
  display: flex; gap: 8px; margin: 16px 0;
}
.cart-summary .applied-coupon {
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
  margin: 12px 0;
}
.cart-summary .applied-coupon button {
  background: transparent; border: 0; color: var(--brand-green-dark); font-weight: 900;
}

@media (max-width: 768px) {
  .cart-row {
    grid-template-columns: 80px 1fr auto;
    grid-template-areas:
      "img info remove"
      "img qty  price";
    column-gap: 12px;
    row-gap: 12px;
    align-items: start;
  }
  .cart-row .cimg { grid-area: img; width: 80px; height: 80px; }
  .cart-row .cinfo { grid-area: info; }
  .cart-row .cqty { grid-area: qty; display: flex; align-items: center; }
  .cart-row .cprice { grid-area: price; text-align: right; align-self: center; }
  .cart-row .cremove { grid-area: remove; align-self: start; }
  .qty button { width: 38px; height: 44px; }
  .qty input { width: 40px; height: 44px; }
}

/* -----------------------------------------------------------------------------
   19) Empty / boş durum
   ----------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state svg { width: 100px; height: 100px; margin: 0 auto 16px; opacity: .3; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }

/* -----------------------------------------------------------------------------
   20) Toast (JS ile eklenir)
   ----------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand-green);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-weight: 700;
  color: var(--text);
  min-width: 260px;
  pointer-events: auto;
  animation: toastIn 240ms ease;
}
.toast.warning { border-left-color: var(--warning); }
.toast.danger  { border-left-color: var(--danger); }
.toast.info    { border-left-color: var(--info); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* -----------------------------------------------------------------------------
   21) Mobile menu
   ----------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  body.menu-open .main-nav {
    display: flex; flex-direction: column;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 99;
  }
  /* Mobil header düzeni: logo solda, Giriş Yap + sepet + hamburger sağda */
  .site-header .container { gap: 10px; }
  .brand { margin-right: auto; order: 0; }
  .brand-logo { max-width: 180px; }
  .header-actions { order: 1; }
  .mobile-menu-btn { order: 2; }
  .auth-register { display: none; }           /* "Üye Ol" sadece menüde */
  .auth-login { padding: 9px 14px; font-size: 13px; }  /* Giriş Yap kompakt, sepetin solunda */

  /* Hamburger menüdeki renkli butonlar */
  .nav-mobile-only { display: block; text-align: center; margin-top: 8px; }
  .main-nav a.nav-mobile-login  { border: 2px solid var(--brand-purple); color: var(--brand-purple); background: transparent; }
  .main-nav a.nav-mobile-register { background: var(--brand-purple); color: #fff; }
  .main-nav a.nav-mobile-login:hover  { background: var(--brand-purple-light); color: var(--brand-purple); }
  .main-nav a.nav-mobile-register:hover { background: var(--brand-purple-dark); color: #fff; }
}

/* -----------------------------------------------------------------------------
   22) Üye paneli sidebar
   ----------------------------------------------------------------------------- */
.uye-sidebar {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(34,26,51,.04);
}
.uye-side-head {
  text-align: center;
  padding: 26px 20px 20px;
  background: linear-gradient(160deg, #2563EB, #1E3A8A);
  color: #fff;
}
.uye-avatar {
  width: 76px; height: 76px;
  margin: 0 auto 10px;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 900;
}
.uye-name { font-weight: 900; font-size: 16px; }
.uye-phone { opacity: .85; font-size: 13px; margin-top: 3px; }
.uye-nav { display: flex; flex-direction: column; padding: 10px; }
.uye-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  border-bottom: 1px solid var(--border-soft);
  transition: all var(--transition);
}
.uye-nav a:last-child { border-bottom: 0; }
.uye-nav a i { width: 20px; text-align: center; color: var(--brand-purple); }
.uye-nav a:hover { background: var(--bg-soft); color: var(--brand-purple); }
.uye-nav a.active { background: var(--brand-purple); color: #fff; }
.uye-nav a.active i { color: #fff; }
.uye-nav a.danger { color: var(--brand-pink-dark); }
.uye-nav a.danger i { color: var(--brand-pink-dark); }
.uye-nav .uye-cnt {
  margin-left: auto;
  background: var(--bg-softer);
  color: var(--text-soft);
  font-size: 12px; font-weight: 900;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
}
.uye-nav a.active .uye-cnt { background: rgba(255,255,255,.25); color: #fff; }

/* Ödeme yöntemi seçimi */
.pay-methods { display: grid; gap: 12px; margin-top: 12px; }
.pay-method { cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method .pm-box {
  display: flex; align-items: center; gap: 14px;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  transition: all var(--transition);
}
.pay-method .pm-box > i {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 12px;
  background: var(--bg-softer);
  color: var(--brand-purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.pay-method .pm-txt { display: flex; flex-direction: column; }
.pay-method .pm-txt small { color: var(--text-muted); font-weight: 600; }
.pay-method input:checked + .pm-box {
  border-color: var(--brand-purple);
  background: var(--brand-purple-light);
  box-shadow: 0 10px 24px -16px rgba(37,99,235,.6);
}
.pay-method input:checked + .pm-box > i { background: var(--brand-purple); color: #fff; }

/* Havale talimat kutuları */
.iban-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--paper);
  margin-bottom: 12px;
}
.iban-card .bank { font-weight: 900; color: var(--brand-purple); }
.iban-card .iban { font-family: monospace; font-size: 1.05rem; letter-spacing: 1px; margin: 6px 0; word-break: break-all; }
.iban-copy { border:0; background:var(--brand-green); color:#fff; padding:6px 12px; border-radius:8px; font-weight:800; cursor:pointer; font-size:12px; }
