/* ═══════════════════════════════════════════════════════════
   Storefront — tema temel stilleri
   Renkler storefront.js tarafından :root'a yazılır.
   ═══════════════════════════════════════════════════════════ */

/* ── Hero yükseklikleri ─────────────────────────────── */
.hero-small  { height: 320px; }
.hero-medium { height: 440px; }
.hero-large  { height: 560px; }

@media (max-width: 768px) {
  .hero-small  { height: 240px; }
  .hero-medium { height: 320px; }
  .hero-large  { height: 380px; }
}

.hero-slide { pointer-events: none; }
.hero-slide.is-active { pointer-events: auto; }

/* ── Kategori görsel biçimleri ──────────────────────── */
.cat-circle { border-radius: 50%; }
.cat-square { border-radius: 10px; }
.cat-card   { border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }

/* ── Duyuru şeridi görünümleri ──────────────────────── */
.cta-accent {
  background: var(--accent);
  color: #fff;
}

.cta-surface {
  background: var(--surface);
  color: var(--text);
}

.cta-dark {
  background: var(--primary);
  color: #fff;
}

/* ── Yatay kaydırma çubuğu ──────────────────────────── */
.scrollbar-thin {
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
}

.scrollbar-thin::-webkit-scrollbar { height: 6px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }

.scrollbar-thin::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 3px;
  opacity: .4;
}

/* ── Satır kırpma ───────────────────────────────────── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Sayfalama ──────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3e7ec;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
  transition: background .15s, border-color .15s;
}

.pagination a:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.pagination .is-current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.pagination .is-gap {
  border: none;
  min-width: 20px;
  color: var(--muted);
}

/* ── Sıralama seçici ────────────────────────────────── */
.sort-select {
  padding: 7px 12px;
  border: 1px solid #e3e7ec;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ── Modül hata durumu ──────────────────────────────── */
[data-error] { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
