/* ===================== GLOBAL ===================== */
:root {
  --gold:  #c9a84c;
  --gold2: #e8c870;
  --dark:  #1a1a2e;
  --dark2: #16213e;
}

body { font-family: 'Segoe UI', sans-serif; background: #f8f8f8; color: #333; }

/* ===================== TOP BAR ===================== */
.top-bar { background: var(--dark2); color: #aaa; font-size: .78rem; }

/* ===================== HEADER ===================== */
.site-header { background: var(--dark); border-bottom: 3px solid var(--gold); }
.logo-icon { color: var(--gold); }
.site-logo-name { color: var(--gold); font-size: 1.3rem; font-weight: 800; letter-spacing: 2px; line-height: 1; }
.site-logo-sub  { color: #aaa; font-size: .65rem; letter-spacing: 4px; }
.search-input   { border: 2px solid var(--gold); background: rgba(255,255,255,.05); color: #fff; }
.search-input::placeholder { color: #888; }
.search-input:focus { background: #fff; color: #333; box-shadow: 0 0 0 .2rem rgba(201,168,76,.25); border-color: var(--gold2); }

/* ===================== NAV ===================== */
.site-nav { background: var(--dark2); }
.site-nav .nav-link { color: #ccc !important; font-size: .9rem; transition: color .2s; }
.site-nav .nav-link:hover { color: var(--gold) !important; }
.site-nav .dropdown-menu { background: #1e2a3a; border: 1px solid var(--gold); }
.site-nav .dropdown-item { color: #ccc; }
.site-nav .dropdown-item:hover { background: var(--gold); color: #111; }

/* ===================== BUTTONS ===================== */
.btn-gold { background: var(--gold); border-color: var(--gold); color: #111; font-weight: 600; }
.btn-gold:hover { background: var(--gold2); border-color: var(--gold2); color: #111; }
.btn-outline-gold { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #111; }
.text-gold { color: var(--gold) !important; }

/* ===================== HERO BANNER ===================== */
.hero-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #0f3460 100%);
  border: 2px solid var(--gold) !important;
}

/* ===================== CATEGORY CARDS ===================== */
.category-card { border: 1px solid #ddd; transition: all .2s; color: #333 !important; }
.category-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 6px 15px rgba(201,168,76,.2); color: var(--gold) !important; }

/* ===================== PRODUCT CARDS ===================== */
.product-card {
  border: 1px solid #e5e5e5;
  transition: all .25s;
  overflow: hidden;
  background: #fff;
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.product-img-wrap { position: relative; overflow: hidden; background: #f5f5f5; padding-top: 100%; }
.product-img      { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img { transform: scale(1.06); }
.no-image         { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #ccc; }

.badge-indirim {
  position: absolute; top: 8px; right: 8px;
  background: #e53935; color: #fff; font-size: .7rem;
  font-weight: 700; padding: 4px 7px; border-radius: 4px; z-index: 2;
}
.stok-yok-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.6); color: #fff;
  text-align: center; font-size: .75rem; padding: 4px; z-index: 2;
}

.product-title { font-size: .88rem; font-weight: 600; color: #333; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.old-price { font-size: .8rem; color: #999; text-decoration: line-through; display: block; }
.new-price { font-size: 1rem; font-weight: 700; color: #e53935; }
.price-wrap { min-height: 36px; }

/* ===================== PRODUCT DETAIL ===================== */
.main-image-wrap { border: 1px solid #eee; border-radius: 8px; overflow: hidden; text-align: center; background: #fafafa; }
.main-product-img { max-height: 450px; object-fit: contain; width: 100%; }
.thumb-img { width: 72px; height: 72px; object-fit: cover; border: 2px solid #ddd; border-radius: 6px; cursor: pointer; transition: border-color .2s; }
.thumb-img:hover, .thumb-img.active { border-color: var(--gold); }
.no-image-big { display: flex; align-items: center; justify-content: center; height: 350px; background: #f5f5f5; border-radius: 8px; }
.price-box { border-left: 4px solid var(--gold); }

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
  background: linear-gradient(90deg, #1a1a2e, #16213e);
  border: 1px solid #c9a84c33;
  border-radius: 30px;
  padding: .5rem 1.2rem;
  display: inline-flex;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.breadcrumb-item a {
  background: rgba(201,168,76,.12);
  color: var(--gold);
  text-decoration: none;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid rgba(201,168,76,.3);
  transition: all .2s;
}
.breadcrumb-item a:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.breadcrumb-item.active {
  color: #ccc;
  font-size: .82rem;
  padding: 3px 10px;
  font-weight: 500;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: #c9a84c88;
  content: "›";
  font-size: 1rem;
  font-weight: 700;
  padding: 0 4px;
}

/* ===================== PAGINATION ===================== */
.page-link { color: var(--dark); border-color: #ddd; }
.page-item.active .page-link { background: var(--gold); border-color: var(--gold); color: #111; }
.page-link:hover { background: var(--gold2); color: #111; }

/* ===================== FOOTER ===================== */
.site-footer-bottom { background: var(--dark); color: #ccc; }
.site-footer-bottom p,
.site-footer-bottom li,
.site-footer-bottom small,
.site-footer-bottom .text-muted { color: #bbb !important; }
.footer-link { color: #bbb !important; }
.footer-link:hover { color: var(--gold) !important; }

/* ===================== ADMIN ===================== */
.admin-sidebar { width: 250px; min-height: 100vh; background: var(--dark); color: #ccc; }
.admin-sidebar .nav-link { color: #ccc !important; padding: .6rem 1.2rem; border-radius: 6px; margin-bottom: 2px; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: var(--gold); color: #111 !important; }
.admin-main { flex: 1; background: #f0f2f5; min-height: 100vh; }
.admin-header { background: var(--dark); color: #fff; padding: .75rem 1.5rem; border-bottom: 3px solid var(--gold); }
.stat-card { border-left: 5px solid var(--gold); }

/* ===================== HIZLI FİLTRE ÇUBUĞU ===================== */
.hizli-filtre-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
}
.hizli-filtre-baslik {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-right: 4px;
}
.hizli-filtre-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #555;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .17s;
  white-space: nowrap;
}
.hizli-filtre-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.06);
}

/* ===================== ANA SAYFA MARKA PİLLERİ ===================== */
.marka-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.marka-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
}
.marka-pill:hover {
  background: var(--gold);
  color: #111;
  box-shadow: 0 3px 10px rgba(201,168,76,.3);
}
.marka-pill-more {
  border-style: dashed;
  opacity: .75;
}
.marka-pill-more:hover { opacity: 1; }

/* ===================== MARKA SAYFASI ===================== */
.marka-sayfa-baslik { border-bottom: 2px solid var(--gold); padding-bottom: .75rem; }

.cinsiyet-tab-grup { display: flex; gap: 8px; flex-wrap: wrap; }
.cinsiyet-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 30px;
  border: 2px solid var(--gold); color: var(--gold);
  text-decoration: none; font-weight: 600; font-size: .88rem;
  transition: all .2s;
}
.cinsiyet-tab:hover {
  background: var(--gold); color: var(--tab-yazi, #111);
}
.cinsiyet-tab-aktif {
  background: var(--gold); color: var(--tab-yazi, #111) !important;
}
.cinsiyet-tab-sayi {
  background: rgba(0,0,0,.14); border-radius: 20px;
  padding: 1px 8px; font-size: .75rem; font-weight: 700;
}
.cinsiyet-tab-aktif .cinsiyet-tab-sayi { background: rgba(0,0,0,.2); }

.marka-siralama-select { min-width: 170px; }

/* Nav marka dropdown genişliği */
.nav-marka-dropdown { min-width: 220px; max-height: 400px; overflow-y: auto; }
.nav-marka-dropdown::-webkit-scrollbar { width: 4px; }
.nav-marka-dropdown::-webkit-scrollbar-thumb { background: var(--gold); }

/* ===================== FİLTRE PANELİ ===================== */
.filtre-kart {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1rem;
}
.filtre-baslik {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #777;
  margin-bottom: .75rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
}
.filtre-fiyat-ipucu {
  font-size: .75rem;
  color: #aaa;
}
.filtre-input {
  border-radius: 6px;
}
.filtre-marka-liste {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}
.filtre-renk-liste { max-height: 200px; overflow-y: auto; padding-right: 2px; }
.filtre-renk-liste::-webkit-scrollbar { width: 4px; }
.filtre-renk-liste::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.renk-nokta {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(0,0,0,.18); display: inline-block;
}
.filtre-marka-liste::-webkit-scrollbar { width: 4px; }
.filtre-marka-liste::-webkit-scrollbar-track { background: #f0f0f0; }
.filtre-marka-liste::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.filtre-sayi {
  font-size: .72rem;
  background: #f0f0f0;
  color: #888;
  padding: 1px 6px;
  border-radius: 20px;
  font-weight: 600;
}
.aktif-filtre-etiketi {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: #555;
  font-size: .78rem;
  padding: 3px 8px;
  border-radius: 20px;
}
.aktif-filtre-etiketi a {
  color: #888;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}
.aktif-filtre-etiketi a:hover { color: #e53935; }

.btn-filtre-mobil {
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  font-weight: 600;
}
.btn-filtre-mobil:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 767px) {
  .product-title { font-size: .8rem; }
  .new-price { font-size: .9rem; }
  .hero-banner { padding: 2rem 1rem !important; }
  .hero-banner h1 { font-size: 1.5rem !important; }
}
