/*
 * storerx-pages.css — v3 (Bootstrap 5.3.3 uyumlu)
 *
 * Özel değişkenler → Bootstrap 5.3.3 CSS değişkenlerine maplendi:
 *   --blue       → --bs-primary
 *   --blue-dark  → --bs-primary  (koyu ton, hover state'lerinde kullanılır)
 *   --gold       → --bs-warning
 *   --orange     → --bs-orange  (tanımlı)
 *   --text       → --bs-body-color
 *   --muted      → --bs-secondary-color
 *   --light      → --bs-tertiary-bg
 *   --line       → --bs-border-color
 *   --radius     → --bs-border-radius
 *
 * Bu dosya yalnızca BS'nin karşılamadığı bileşen stilleri içerir.
 * Temel layout, spacing, flex/grid → Bootstrap sınıflarıyla yapılır.
 */

/* ══════════════════════════════════════════════════
   1. BRAND TOKEN OVERRIDE (BS renk sistemini besle)
   ══════════════════════════════════════════════════ */

:root {
  /* Marka renkleri Bootstrap değişkenlerine map ediliyor */
  --bs-primary:           #2f4bcc;
  --bs-primary-rgb:       47, 75, 204;
  --bs-link-color:        #2f4bcc;
  --bs-link-hover-color:  #1e3ab8;

  /* Marka token'ları (geriye dönük uyumluluk için korunuyor) */
  --blue:       var(--bs-primary);
  --blue-dark:  #1e3ab8;
  --gold:       var(--bs-warning);
  --orange:     #f06a2a;

  /* Typography */
  --bs-font-sans-serif: 'Nunito Sans', sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-color: #222;
  --bs-secondary-color: #777;

  /* Borders & Radius */
  --bs-border-radius:    8px;
  --bs-border-radius-sm: 6px;
  --bs-border-radius-lg: 12px;
  --bs-border-color:     #e9ebf3;

  /* Backgrounds */
  --bs-tertiary-bg: #f3f4f8;
  --bs-body-bg:     #fff;
}

/* ══════════════════════════════════════════════════
   2. NOTICE BAR
   ══════════════════════════════════════════════════ */

.notice-bar {
  background: var(--bs-primary);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 7px;
  font-weight: 700;
}
.notice-bar .badge-new {
  background: #fff;
  color: var(--bs-primary);
  border-radius: 20px;
  font-size: 10px;
  padding: 2px 8px;
  font-weight: 800;
  margin-right: 8px;
}

/* ══════════════════════════════════════════════════
   3. TOP BAR
   ══════════════════════════════════════════════════ */

.top-bar {
  background: #e8ecf8;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #dce0f0;
}
.top-bar a { color: #444; text-decoration: none; margin-right: 18px; }
.top-bar a:hover { color: var(--bs-primary); }

/* ══════════════════════════════════════════════════
   4. HEADER
   ══════════════════════════════════════════════════ */

.main-header { padding: 14px 0; border-bottom: 1px solid var(--bs-border-color); }

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #111;
  text-decoration: none;
}

.search-wrap { position: relative; }
.search-wrap input {
  width: 100%;
  border: 1.5px solid #d0d5e8;
  border-radius: var(--bs-border-radius-sm);
  font-size: 14px;
  background: #f9faff;
  outline: none;
}
.search-wrap input:focus {
  border-color: var(--bs-primary);
  background: #fff;
}
.search-wrap button {
  position: absolute;
  right: 0; top: 0; height: 100%;
  background: var(--bs-primary);
  border: none;
  color: #fff;
  padding: 0 16px;
  border-radius: 0 var(--bs-border-radius-sm) var(--bs-border-radius-sm) 0;
}

.header-icons { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.header-icon { text-align: center; font-size: 12px; color: #555; text-decoration: none; line-height: 1.3; }
.header-icon i { display: block; font-size: 20px; color: #444; }

.cart-btn {
  background: var(--bs-primary);
  color: #fff;
  border: none;
  border-radius: var(--bs-border-radius-sm);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════
   5. NAV
   ══════════════════════════════════════════════════ */

.main-nav { background: var(--bs-primary); }
.nav-inner { display: flex; align-items: center; }
.nav-home-link {
  color: #fff;
  text-decoration: none;
  padding: 13px 16px;
  display: flex; align-items: center; justify-content: center;
  opacity: .94;
}
.nav-home-link:hover,
.nav-links a:hover,
.nav-right a:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.dept-btn {
  background: var(--gold);
  color: #222;
  border: none;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center;
  list-style: none; margin: 0; padding: 0; flex: 1;
}
.nav-links a,
.nav-right a {
  color: #fff;
  text-decoration: none;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  display: block;
  opacity: .94;
}
.nav-right { display: flex; align-items: center; margin-left: auto; }
.contact-nav-btn { background: var(--gold); color: #222 !important; margin-left: 6px; }

/* ══════════════════════════════════════════════════
   6. PAGE HERO / BREADCRUMBS
   ══════════════════════════════════════════════════ */

.page-hero {
  background: linear-gradient(135deg, #f0f3ff 0%, #fff 64%);
  border-bottom: 1px solid var(--bs-border-color);
  padding: 34px 0;
}
.breadcrumbs {
  display: flex; align-items: center; gap: 8px;
  list-style: none;
  padding: 0; margin: 0 0 12px;
  color: var(--bs-secondary-color);
  font-size: 13px; flex-wrap: wrap;
}
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs a { text-decoration: none; color: var(--bs-secondary-color); }
.breadcrumbs a:hover { color: var(--bs-primary); }

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px; line-height: 1.15; margin: 0 0 8px;
}
.page-sub { color: var(--bs-secondary-color); margin: 0; max-width: 760px; }

/* ══════════════════════════════════════════════════
   7. SECTION / HEADING
   ══════════════════════════════════════════════════ */

.section { padding: 34px 0; }
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; margin-bottom: 16px;
}

/* ══════════════════════════════════════════════════
   8. FILTER PANEL
   ══════════════════════════════════════════════════ */

.filter-panel {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 18px; background: #fff;
  position: sticky; top: 16px;
}
.filter-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 10px; }
.filter-list a {
  color: #444; text-decoration: none;
  display: flex; justify-content: space-between; gap: 10px; font-size: 14px;
}
.filter-list a:hover { color: var(--bs-primary); }

/* ══════════════════════════════════════════════════
   9. TOOLBAR
   ══════════════════════════════════════════════════ */

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 12px 14px;
  margin-bottom: 18px;
  color: var(--bs-secondary-color);
  font-size: 14px;
}
.toolbar select {
  border: 1px solid #d7dbea;
  border-radius: var(--bs-border-radius-sm);
  padding: 8px 10px; background: #fff;
}

/* ══════════════════════════════════════════════════
   10. CARDS (product / blog / directory)
   ══════════════════════════════════════════════════ */

.product-card,
.blog-card,
.directory-card {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  overflow: hidden; height: 100%;
  transition: box-shadow .22s, transform .18s;
}
.product-card:hover,
.blog-card:hover,
.directory-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,.1);
  transform: translateY(-3px);
}

.product-img-wrap {
  background: var(--bs-tertiary-bg);
  aspect-ratio: 2/3;
  display: block; position: relative; overflow: hidden;
  color: var(--bs-primary); font-size: 48px;
}
.product-img-wrap::before {
  content: '';
  position: absolute; inset: 14%;
  border: 1px dashed rgba(47,75,204,.28);
  border-radius: var(--bs-border-radius-sm);
  pointer-events: none;
  z-index: 0; /* img z-index'i olmadığında stacking context'e göre önde; resmin arkasında kalması için */
}
/* Resim yüklendiğinde ::before dashed kenarlığı gizle */
.product-img-wrap:has(img:not([src=""])):not(:has(.product-img-placeholder))::before {
  display: none;
}

.badge-new-card,
.discount-badge {
  position: absolute; z-index: 2;
  color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 10px; border-radius: 4px;
}
.badge-new-card { top: 12px; right: 12px; background: var(--bs-primary); }
.discount-badge { bottom: 12px; left: 12px; background: #e63946; }

.product-body { padding: 16px; }
.product-vendor {
  font-size: 11px; color: var(--bs-secondary-color);
  margin-bottom: 7px;
  border-bottom: 1px solid var(--bs-border-color);
  padding-bottom: 7px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.product-vendor a { color: var(--bs-secondary-color); text-decoration: none; }
.product-name {
  color: #222; text-decoration: none; display: block;
  font-size: 15px; font-weight: 800; line-height: 1.32; margin-bottom: 8px;
}
.product-name:hover { color: var(--bs-primary); }

.price-row {
  display: flex; align-items: center; gap: 7px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.product-price { font-size: 17px; font-weight: 900; color: #111; }
.product-price-old { color: var(--bs-secondary-color); text-decoration: line-through; font-weight: 700; }
.product-stars { color: #f5c518; font-size: 12px; }

.product-actions {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--bs-border-color);
  padding-top: 12px; gap: 8px;
}

.btn-add-cart {
  border-radius: var(--bs-border-radius-sm);
  font-size: 13px; font-weight: 800;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px;
  border: none; background: transparent; color: #444; padding: 0;
}
.btn-add-cart:hover { color: var(--bs-primary); }

.btn-icon {
  width: 34px; height: 34px;
  border-radius: var(--bs-border-radius-sm);
  border: 1px solid var(--bs-border-color);
  background: #fff; color: #555;
}
.btn-icon:hover { color: var(--bs-primary); border-color: var(--bs-primary); }

/* ══════════════════════════════════════════════════
   11. PRODUCT DETAIL
   ══════════════════════════════════════════════════ */

.detail-media {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  color: var(--bs-primary); font-size: 78px;
  position: relative; overflow: hidden;
}
.detail-media::before {
  content: '';
  position: absolute; inset: 12%;
  border: 1px dashed rgba(47,75,204,.3);
  border-radius: 8px;
  z-index: 0;
  pointer-events: none;
}
.detail-media:has(img:not([src=""]))::before {
  display: none;
}

.detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px; line-height: 1.15; margin-bottom: 10px;
}
.meta-line {
  display: flex; gap: 14px; flex-wrap: wrap;
  color: var(--bs-secondary-color); font-size: 14px; margin-bottom: 14px;
}
.detail-price {
  display: flex; align-items: baseline; gap: 10px; margin: 20px 0;
}
.detail-price strong { font-size: 28px; }

.qty-row {
  display: flex; gap: 10px; align-items: center;
  margin: 20px 0; flex-wrap: wrap;
}
.qty-row input {
  width: 70px;
  border: 1px solid #d7dbea;
  border-radius: var(--bs-border-radius-sm);
  padding: 10px; text-align: center;
}

.info-table {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  overflow: hidden;
}
.info-table div {
  display: grid; grid-template-columns: 170px 1fr;
  border-bottom: 1px solid var(--bs-border-color);
}
.info-table div:last-child { border-bottom: none; }
.info-table span { padding: 12px 14px; }
.info-table span:first-child { background: #f7f8fc; color: #555; font-weight: 800; }

/* ══════════════════════════════════════════════════
   12. BLOG CARDS & ARTICLE
   ══════════════════════════════════════════════════ */

.blog-img-wrap {
  background: linear-gradient(135deg, #e8ecff, #fff4e9);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  color: var(--bs-primary); font-size: 44px;
}
.blog-body { padding: 18px; }
.blog-meta {
  font-size: 12px; color: var(--bs-secondary-color);
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px;
}
.blog-title { font-size: 18px; font-weight: 900; line-height: 1.28; margin-bottom: 8px; }
.blog-excerpt { color: var(--bs-secondary-color); font-size: 14px; line-height: 1.55; }

.article-body { font-size: 16px; line-height: 1.8; color: #444; }
.article-body h2 { font-family: 'Playfair Display', serif; color: #111; margin-top: 28px; }

/* ══════════════════════════════════════════════════
   13. DIRECTORY / AUTHOR CARDS
   ══════════════════════════════════════════════════ */

.directory-card {
  padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  text-decoration: none;
}
.directory-logo {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: #f0f3ff;
  color: var(--bs-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; flex: 0 0 auto;
}
.directory-card h3 { font-size: 18px; font-weight: 900; margin: 0 0 6px; }
.directory-card p {
  color: var(--bs-secondary-color);
  font-size: 14px; line-height: 1.5; margin-bottom: 12px;
}

.stat-strip {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 12px; margin: 24px 0;
}
.stat-box {
  background: #f7f8fc;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 16px;
}
.stat-box strong { display: block; font-size: 24px; }

.profile-hero-card {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 24px; background: #fff;
}
.profile-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: #f0f3ff;
  color: var(--bs-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 46px; margin-bottom: 16px;
}

/* ══════════════════════════════════════════════════
   14. FOOTER
   ══════════════════════════════════════════════════ */

.main-footer {
  background: #1a1a2e; color: #fff;
  padding: 52px 0 28px; margin-top: 36px;
}
.footer-title { font-size: 16px; font-weight: 800; margin-bottom: 18px; }
.footer-desc,
.footer-links a,
.footer-links li { color: #aaa; font-size: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px; margin-top: 34px;
  text-align: center; color: #888; font-size: 13px;
}
.footer-payments {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 14px;
}
.footer-payments i,
.footer-payment-troy {
  min-width: 44px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #d7d9e6; font-size: 28px;
}
.footer-payment-troy {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px; font-size: 12px; font-weight: 900; letter-spacing: .5px;
}

/* ══════════════════════════════════════════════════
   15. BLOG DETAIL
   ══════════════════════════════════════════════════ */

.blog-detail-section { padding: 60px 0; }

.blog-hero {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #c8d4f0 0%, #e0e8ff 100%);
  border-radius: var(--bs-border-radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 32px; overflow: hidden;
}
.blog-hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-hero-icon { font-size: 64px; color: var(--bs-primary); }

.blog-detail-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700;
  margin-bottom: 20px; line-height: 1.2;
}
.blog-detail-meta {
  font-size: 14px; color: var(--bs-secondary-color);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.blog-detail-meta i { color: var(--bs-primary); }
.blog-category-tag {
  background: var(--orange);
  color: #fff; padding: 4px 12px;
  border-radius: 4px; font-size: 12px; font-weight: 700;
}

.blog-detail-body { font-size: 17px; line-height: 1.9; color: #333; }
.blog-detail-body p { margin-bottom: 24px; }
.blog-detail-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700; margin: 40px 0 20px;
}
.blog-detail-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; margin: 32px 0 16px;
}
.blog-detail-body ul,
.blog-detail-body ol { padding-left: 24px; margin-bottom: 24px; }
.blog-detail-body li { margin-bottom: 8px; }
.blog-detail-body img {
  max-width: 100%;
  border-radius: var(--bs-border-radius);
  margin: 16px 0;
}
.blog-detail-body blockquote {
  border-left: 4px solid var(--bs-primary);
  padding: 24px; margin: 32px 0;
  font-style: italic; color: #555;
  background: #f8f9ff;
  border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
}

/* ── Paylaş butonları ── */
.blog-share { display: flex; gap: 12px; margin: 32px 0; }
.blog-share a {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  transition: transform .2s;
}
.blog-share a:hover { transform: translateY(-3px); }
.blog-share .facebook  { background: #1877f2; }
.blog-share .twitter   { background: #000; }
.blog-share .linkedin  { background: #0a66c2; }
.blog-share .whatsapp  { background: #25d366; }
.blog-share .instagram { background: #e4405f; }

/* ── Yazar kutusu ── */
.author-box {
  background: #f8f9ff;
  border-radius: var(--bs-border-radius-lg);
  padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 32px;
}
.author-box-name { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.author-box-bio  { font-size: 13px; color: var(--bs-secondary-color); line-height: 1.6; }

/* ── Post navigation ── */
.post-nav {
  display: flex; justify-content: space-between;
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid var(--bs-border-color);
  gap: 16px;
}
.post-nav-link {
  flex: 1; font-size: 13px; font-weight: 700;
  color: var(--bs-primary); text-decoration: none;
}
.post-nav-link--next { text-align: right; }

/* ── Yorumlar bölümü ── */
.comments-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bs-border-color);
}

/* ── Sidebar ── */
.blog-sidebar {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 24px;
  position: sticky; top: 20px;
}
.sidebar-widget { margin-bottom: 32px; }
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-widget h4 {
  font-size: 16px; font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--bs-border-color);
  padding-bottom: 12px;
}
.sidebar-post-card {
  display: flex; gap: 12px; padding: 12px;
  background: #f8f9ff;
  border-radius: var(--bs-border-radius-sm);
  margin-bottom: 12px;
  transition: background .2s;
  text-decoration: none;
}
.sidebar-post-card:hover { background: #f0f4ff; }
.sidebar-post-card:last-child { margin-bottom: 0; }
.sidebar-post-img {
  width: 60px; height: 60px;
  border-radius: var(--bs-border-radius-sm);
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, #c8d4f0 0%, #e0e8ff 100%);
  display: flex; align-items: center; justify-content: center;
}
.sidebar-post-img i { font-size: 20px; color: var(--bs-primary); }
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-content { flex: 1; min-width: 0; }
.sidebar-post-title {
  font-size: 14px; font-weight: 600; color: #333;
  text-decoration: none; display: block;
  margin-bottom: 6px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-post-title:hover { color: var(--bs-primary); }
.sidebar-post-meta {
  font-size: 11px; color: var(--bs-secondary-color);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.sidebar-post-meta span { display: flex; align-items: center; gap: 4px; }
.sidebar-post-meta i { font-size: 10px; }

/* ══════════════════════════════════════════════════
   16. SIDEBAR WIDGET (home.php / blog listeleri)
   ══════════════════════════════════════════════════ */

.srx-sidebar-box {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 20px;
}
.srx-sidebar-box-title {
  font-weight: 700; margin-bottom: 14px; font-size: 15px;
}

/* Kategori listesi (home sidebar) */
.srx-cat-list { list-style: none; padding: 0; margin: 0; }
.srx-cat-list li { margin-bottom: 6px; }
.srx-cat-list a {
  color: #555; text-decoration: none; font-size: 14px;
  display: flex; justify-content: space-between;
}
.srx-cat-list a:hover { color: var(--bs-primary); }
.srx-cat-badge {
  background: var(--bs-tertiary-bg);
  border-radius: 10px; padding: 1px 8px;
  font-size: 12px; color: var(--bs-secondary-color);
}

/* Son yazılar (home sidebar) */
.srx-recent-post {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.srx-recent-post:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.srx-recent-post-img {
  width: 60px; height: 60px;
  border-radius: var(--bs-border-radius-sm);
  object-fit: cover; flex-shrink: 0;
}
.srx-recent-post-title {
  font-size: 13px; font-weight: 700; color: #222; text-decoration: none;
}
.srx-recent-post-title:hover { color: var(--bs-primary); }
.srx-recent-post-date { font-size: 12px; color: #aaa; margin-top: 3px; }

/* ══════════════════════════════════════════════════
   17. SEARCH / INDEX HERO
   ══════════════════════════════════════════════════ */

.srx-page-hero {
  text-align: center;
  margin-bottom: 40px; padding: 30px;
  background: #f8f9ff;
  border-radius: var(--bs-border-radius-lg);
}
.srx-page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700; margin-bottom: 10px;
}
.srx-page-hero p { color: #666; font-size: 15px; }

.srx-blog-hero {
  text-align: center;
  margin-bottom: 40px; padding: 40px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--bs-border-radius-lg);
  color: #fff;
}
.srx-blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 700; margin-bottom: 10px;
}
.srx-blog-hero p { opacity: .9; font-size: 16px; }

/* Kategori filtre linkleri (index.php) */
.srx-cat-pills { margin-bottom: 30px; text-align: center; }
.srx-cat-pill {
  display: inline-block; padding: 8px 16px; margin: 4px;
  background: var(--bs-tertiary-bg);
  border-radius: 20px; font-size: 13px; color: #555; text-decoration: none;
}
.srx-cat-pill:hover,
.srx-cat-pill--active { background: #667eea; color: #fff; }

/* Boş durum (empty state) */
.srx-empty-state {
  text-align: center; padding: 80px 20px;
}
.srx-empty-state i {
  font-size: 80px; color: #e0e0e0;
  display: block; margin-bottom: 20px;
}
.srx-empty-state p { color: var(--bs-secondary-color); margin-bottom: 20px; }

/* Etiket linkleri */
.srx-tag-link {
  display: inline-block; padding: 4px 12px;
  background: var(--bs-tertiary-bg);
  border-radius: 20px; font-size: 12px; color: #555;
  text-decoration: none;
}
.srx-tag-link:hover { color: var(--bs-primary); background: #e8ecff; }

/* Tag bölümü başlığı */
.srx-tags-label { font-size: 13px; font-weight: 700; color: #555; }

/* ══════════════════════════════════════════════════
   18. BREADCRUMB (BS5 ile uyumlu, WC/custom)
   ══════════════════════════════════════════════════ */

.srx-breadcrumb-icon { font-size: 10px; color: #ccc; }
.srx-breadcrumb-current { color: var(--bs-body-color); font-weight: 700; }

/* ══════════════════════════════════════════════════
   19. WORDPRESS COMMENTS
   ══════════════════════════════════════════════════ */

#comments { margin-top: 0; }
#comments .comment-list { list-style: none; padding: 0; }
#comments .comment-body {
  display: flex; gap: 16px;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}
#comments .comment-author img { border-radius: 50%; flex-shrink: 0; }
#comments .comment-meta { font-size: 12px; color: var(--bs-secondary-color); margin-bottom: 8px; }
#comments .comment-content p { font-size: 14px; color: #555; line-height: 1.6; margin: 0; }
#comments h2.comments-title,
#comments h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; margin-bottom: 24px;
}
#respond .comment-form input[type="text"],
#respond .comment-form input[type="email"],
#respond .comment-form input[type="url"],
#respond .comment-form textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid #ddd; border-radius: var(--bs-border-radius);
  font-size: 14px; margin-bottom: 12px; font-family: inherit;
}
#respond .comment-form input[type="submit"],
#respond .form-submit input {
  background: var(--bs-primary); color: #fff; border: none;
  padding: 10px 24px; border-radius: var(--bs-border-radius);
  font-weight: 700; font-size: 14px; cursor: pointer;
  transition: opacity .2s;
}
#respond .comment-form input[type="submit"]:hover,
#respond .form-submit input:hover { opacity: .88; }

/* ══════════════════════════════════════════════════
   20. MISC UTILITY CLASSES (özel, BS ile örtüşmez)
   ══════════════════════════════════════════════════ */

.contact-form-wrap,
.about-content-wrap,
.author-hero,
.archive-empty-state {
  width: 100%; margin: 0 auto;
}
.archive-empty-state { text-align: center; padding: 40px 20px; }

/* ══════════════════════════════════════════════════
   21. RESPONSIVE OVERRIDES
   ══════════════════════════════════════════════════ */

@media (max-width: 991.98px) {
  .top-bar, .nav-right, .header-icons { display: none; }
  .main-header { padding: 12px 0; }
  .brand { font-size: 24px; }
  .nav-inner { overflow-x: auto; }
  .nav-links a, .dept-btn, .nav-home-link { white-space: nowrap; }
  .page-title, .detail-title { font-size: 28px; }
  .filter-panel { position: static; margin-bottom: 18px; }
}

@media (max-width: 575.98px) {
  .search-wrap { margin-top: 12px; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .product-actions { align-items: flex-start; flex-direction: column; }
  .info-table div { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .directory-card { flex-direction: column; }
  .post-nav { flex-direction: column; }
}

/* ══════════════════════════════════════════════════
   22. UTILITY TOKENS (PHP şablonlarından üretilen sınıflar)
   ══════════════════════════════════════════════════ */

/* directory-logo / sidebar resim fill */
.img-cover { width: 100%; height: 100%; object-fit: cover; }

/* Büyük empty-state ikonu (ürün/yazar listeleri) */
.srx-empty-icon {
  font-size: 60px; color: #ddd;
  display: block; margin-bottom: 20px;
}

/* Form login küçük link */
.srxreg-link--sm { font-size: 13px; }

/* Checkout step check icon */
.srx-step-check-icon { font-size: 11px; }
