/* =============================================================================
   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: #6A2FBB;
  --brand-purple-dark: #4E1E96;
  --brand-purple-light: #F4EDFF;
  --brand-green: #1AAE86;
  --brand-green-dark: #148A6A;
  --brand-green-light: #E4F7F0;
  --brand-pink: #E94B6A;
  --brand-pink-dark: #C73653;
  --brand-yellow: #E8B931;
  --ink: #2A2140;

  /* Nötr renkler */
  --text: #2A2140;
  --text-soft: #4B445C;
  --text-muted: #6B6478;
  --text-faint: #9A93A8;
  --border: #E4DCD0;
  --border-soft: #EDE6DC;
  --bg: #F3EEE6;
  --bg-soft: #FAF7F2;
  --bg-softer: #EFE8DC;
  --bg-purple-soft: #F3ECFB;
  --paper: #FFFDF9;

  /* 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(106, 47, 187, .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; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.section-title h2 .accent { color: var(--brand-purple); }
.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 small { display: block; font-size: 12px; color: var(--text-muted); font-weight: 600; letter-spacing: 0; }

.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; }
.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(106,47,187,.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(26,174,134,.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; }
.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(106,47,187,.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: #FFE5EB; color: var(--brand-pink-dark); }
.badge-yellow { background: #FFF4CC; color: #7A5A00; }
.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)
   ----------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 24px 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: stretch;
}
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  background: linear-gradient(135deg, #7C3AED, #6A2FBB 60%, #4C1D95);
  box-shadow: var(--shadow-md);
}
.hero-slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  padding: 48px 56px;
  color: #fff;
  opacity: 0;
  transition: opacity 500ms ease;
  align-items: center;
}
.hero-slide.active { opacity: 1; 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;
  background: linear-gradient(90deg, rgba(30,10,60,.72) 0%, rgba(30,10,60,.35) 60%, rgba(30,10,60,.15) 100%);
  z-index: 1;
}
.hero-slide .slide-content {
  position: relative; z-index: 2;
  max-width: 520px;
}
.hero-slide h1 {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 900;
}
.hero-slide h1 .accent { color: var(--brand-green); }
.hero-slide p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.hero-slide .slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-nav {
  position: absolute; bottom: 20px; left: 56px;
  display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 0; padding: 0;
  transition: all var(--transition);
}
.hero-dot.active { background: #fff; width: 32px; border-radius: 6px; }

.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background var(--transition);
}
.hero-arrow:hover { background: rgba(255,255,255,.28); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-arrow svg { width: 22px; height: 22px; }

/* Slider sağı — 4 revactaki ürün (dikey kartlar) */
.hero-side {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}
.hero-side .mini-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 10px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.hero-side .mini-card:hover {
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
.hero-side .mini-card .mini-img {
  width: 68px; height: 90px;
  background: var(--bg-soft);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.hero-side .mini-card.pano .mini-img { height: 51px; width: 68px; }
.hero-side .mini-card .mini-info { min-width: 0; }
.hero-side .mini-card .mini-name {
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  min-height: 2.6em;
}
.hero-side .mini-card .mini-price {
  color: var(--brand-purple);
  font-weight: 900;
  font-size: 14px;
  margin-top: 4px;
}
.hero-side .mini-card .mini-add {
  border: 0;
  background: var(--brand-green);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 4px;
}
.hero-side .mini-card .mini-add:hover { background: var(--brand-green-dark); }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: unset; grid-template-columns: repeat(4, 1fr); }
  .hero-side .mini-card { grid-template-columns: 1fr; text-align: center; }
  .hero-side .mini-card .mini-img { width: 100%; height: 100px; }
}
@media (max-width: 768px) {
  .hero-slide { padding: 32px 24px; }
  .hero-slide h1 { font-size: 1.8rem; }
  .hero-slide .slide-content { max-width: 100%; }
  .hero-arrow { display: none; }
  .hero-nav { left: 50%; transform: translateX(-50%); }
  .hero-side { grid-template-columns: repeat(2, 1fr); }
}

/* -----------------------------------------------------------------------------
   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); } }

.product-card {
  background: var(--paper);
  border: 2px solid #D9CFC0;
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 0 rgba(42,33,64,.04);
}
.product-card:hover {
  border-color: var(--brand-purple);
  box-shadow: 0 16px 0 rgba(106,47,187,.08);
  transform: translateY(-6px);
}
.product-card .p-img {
  display: block;
  aspect-ratio: 3 / 4;
  background: #EDE6DC;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin: 10px 10px 0;
  border-radius: 12px;
  border: 1px solid #E4DCD0;
}
.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: var(--paper);
  color: var(--brand-purple);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 8px;
}
.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: baseline; gap: 8px;
  margin-top: auto;
}
.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: 6px;
  padding: 0 12px 14px;
}
.product-card .p-actions .btn { flex: 1; }

/* -----------------------------------------------------------------------------
   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: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-purple);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  letter-spacing: .04em;
}
.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)
   ----------------------------------------------------------------------------- */
.pd-stage {
  background:
    radial-gradient(900px 280px at 10% -10%, rgba(106,47,187,.18), transparent 60%),
    linear-gradient(180deg, #E9DFF8 0%, var(--bg) 72%);
  padding-bottom: 28px;
}
.pd-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 12px;
}
.pd-stage.type-pano .pd-layout { grid-template-columns: minmax(280px, 560px) 1fr; }
@media (max-width: 1024px) {
  .pd-layout, .pd-stage.type-pano .pd-layout { grid-template-columns: 1fr; }
}
.pd-cover-wrap {
  position: relative;
  background: var(--paper);
  border: 3px solid #C9B8EC;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 12px 12px 0 rgba(106,47,187,.12);
}
.pd-cover {
  aspect-ratio: 3 / 4;
  background: #EDE6DC center/cover no-repeat;
  border-radius: 14px;
  border: 1px solid #E4DCD0;
}
.pd-stage.type-pano .pd-cover { aspect-ratio: 4 / 3; }
.pd-video-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1A1228;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px 10px 10px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.pd-video-btn .play {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-pink);
  position: relative;
}
.pd-video-btn .play::after {
  content: "";
  position: absolute;
  left: 11px; top: 8px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}
.pd-video-btn:hover { transform: translateY(-1px); }
.pd-thumbs {
  margin-top: 12px;
  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 #D9CFC0;
  padding: 0;
}
.pd-stage.type-pano .pd-thumbs .thumb { aspect-ratio: 4 / 3; }
.pd-thumbs .thumb.active { border-color: var(--brand-purple); }

.pd-panel {
  background: var(--paper);
  border: 2px solid #D9CFC0;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 0 rgba(42,33,64,.04);
}
.pd-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pd-kicker span {
  background: #F7F1FF;
  color: var(--brand-purple);
  border: 1px solid #D9C8F4;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.pd-panel h1 { font-size: 2rem; margin-bottom: 18px; }
.pd-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.meta-tile {
  border: 1.5px solid #D9CFC0;
  background: #FAF7F2;
  border-radius: 12px;
  padding: 10px 12px;
}
.meta-tile em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
}
.meta-tile strong { font-size: 14px; }
.pd-lead { font-size: 15px; margin-bottom: 18px; }
.pd-buybar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #F7F1FF;
  border: 2px solid #D9C8F4;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price .now { font-size: 2rem; font-weight: 900; color: var(--brand-purple); }
.pd-price .was { text-decoration: line-through; color: var(--text-faint); font-weight: 700; }
.pd-price .off {
  background: var(--brand-pink); color: #fff;
  padding: 4px 8px; border-radius: 8px; font-size: 12px; font-weight: 800;
}
.pd-stock { font-weight: 800; font-size: 13px; }
.pd-stock.ok { color: var(--brand-green-dark); }
.pd-stock.no { color: var(--brand-pink-dark); }
.pd-actions { display: flex; gap: 12px; }
.qty {
  display: inline-flex; align-items: center;
  border: 2px solid #D9CFC0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.qty button { background: transparent; border: 0; width: 40px; height: 48px; font-size: 18px; color: var(--text); }
.qty input { border: 0; width: 48px; text-align: center; font-weight: 800; }
.pd-below { padding: 8px 0 40px; }
.pd-desc-box {
  background: var(--paper);
  border: 2px solid #D9CFC0;
  border-radius: 22px;
  padding: 28px;
}
.pd-desc-box h2 { font-size: 1.25rem; margin-bottom: 12px; }
.pd-desc-box .prose { line-height: 1.75; }

.video-modal[hidden] { display: none !important; }
.video-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(20,12,36,.72); }
.video-modal-box {
  position: relative;
  width: min(920px, 92vw);
  z-index: 1;
}
.video-modal-frame { aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; }
.video-modal-frame iframe, .video-modal-frame video { width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute; top: -42px; right: 0;
  background: #fff; border: 0; width: 36px; height: 36px;
  border-radius: 50%; font-size: 22px; font-weight: 800;
}

/* Katalog şeritleri */
.type-strips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.type-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border: 2px solid #D9CFC0;
  background: var(--paper);
  color: var(--text);
  border-radius: 16px;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.type-strip.active, .type-strip:hover {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #fff;
}
.subcat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.subcat-chip {
  border: 1.5px solid #D9CFC0;
  background: var(--paper);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.subcat-chip.active, .subcat-chip:hover {
  background: #1AAE86;
  border-color: #1AAE86;
  color: #fff;
}
.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: var(--bg-soft);
  background-size: cover; background-position: center;
  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 40px;
    grid-template-areas:
      "img info remove"
      "img price price";
  }
  .cart-row .cimg { grid-area: img; width: 80px; height: 80px; }
  .cart-row .cinfo { grid-area: info; }
  .cart-row .cqty { display: none; }
  .cart-row .cprice { grid-area: price; text-align: left; }
  .cart-row .cremove { grid-area: remove; }
}

/* -----------------------------------------------------------------------------
   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;
  }
}
