/* css/sayfa/vitrin.css — genel/vitrin.blade.php içindeki gömülü <style>'dan taşındı (2026-09-30, aciklama.md #11).
   Bu dosya artık TEK kaynak: stili burada değiştirin. */
* { margin:0; padding:0; box-sizing:border-box; font-family:'Segoe UI', Tahoma, sans-serif; }
:root {
  --mor:#A621D8; --mor-koyu:#8A1AB5; --magenta:#E6358F; --magenta-koyu:#C41F75;
  --sari:#FFD23F; --sari-koyu:#E0AE1C; --gri:#f7f7f7;
  --koyu:#1a1a1a; --beyaz:#fff; --golge:0 4px 20px rgba(166,33,216,.12);
  --text-hafif:#666680; --shadow:0 2px 12px rgba(26,26,46,.08); --shadow-hover:0 6px 20px rgba(26,26,46,.14); --r:12px;
  --gradient:linear-gradient(135deg,var(--mor),var(--magenta));
}
body { background:var(--gri); color:var(--koyu); line-height:1.6; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
.container { max-width:1280px; margin:0 auto; padding:0 20px; }

/* HEADER: css/ortak/site-header.css (ana sayfayla ortak üst kısım, 2026-10-06) */

/* BREADCRUMB */
.breadcrumb {
  max-width:1280px; margin:20px auto; padding:0 20px;
  font-size:13px; color:#888; display:flex; flex-wrap:wrap; gap:6px;
}
.breadcrumb a { color:var(--mor); transition:.3s; }
.breadcrumb a:hover { color:var(--magenta); }
.breadcrumb span.sep { color:#ccc; }
.breadcrumb-yol { display:flex; flex-wrap:wrap; gap:6px; min-width:0; }
.sort-select-mobil { display:none; }

/* KATEGORİ HERO */
.category-hero {
  max-width:1280px; margin:0 auto 30px; padding:0 20px;
}
.category-hero-inner {
  background:var(--gradient); border-radius:20px; padding:40px;
  color:#fff; position:relative; overflow:hidden; display:flex;
  align-items:center; justify-content:space-between;
}
.category-hero-inner::before {
  content:''; position:absolute; right:-60px; top:-60px;
  width:300px; height:300px; border-radius:50%;
  background:rgba(255,255,255,.08);
}
.category-hero-inner::after {
  content:''; position:absolute; right:100px; bottom:-80px;
  width:200px; height:200px; border-radius:50%;
  background:rgba(255,255,255,.05);
}
.category-hero-text h1 { font-size:36px; margin-bottom:10px; }
.category-hero-text p { font-size:15px; opacity:.95; margin-bottom:15px; max-width:500px; }
.category-hero-stats { display:flex; gap:25px; margin-top:15px; }
.category-hero-stats .stat { text-align:center; }
.category-hero-stats .stat .num { font-size:22px; font-weight:800; }
.category-hero-stats .stat .label { font-size:12px; opacity:.9; }
.category-hero-img {
  width:200px; height:200px; border-radius:50%; overflow:hidden;
  border:4px solid rgba(255,255,255,.3); position:relative; z-index:2;
}
.category-hero-img img { width:100%; height:100%; object-fit:cover; }

/* MAIN LAYOUT */
.category-layout {
  max-width:1280px; margin:0 auto 40px; padding:0 20px;
  display:grid; grid-template-columns:260px 1fr; gap:16px;
}
.category-layout.tek-sutun { grid-template-columns:1fr; }

/* FİLTRE SİDEBAR (2026-09-03, kullanıcı talimatı — kategoriye özel gerçek filtreler) */
.filter-sidebar { background:var(--beyaz); border-radius:15px; padding:20px; box-shadow:var(--golge); align-self:start; }
.filter-sidebar-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.filter-sidebar-header h3 { font-size:15px; }
.filter-clear { font-size:12px; color:var(--mor); background:none; border:none; cursor:pointer; }
.filter-group { margin-bottom:18px; padding-bottom:16px; border-bottom:1px solid var(--gri); }
.filter-group:last-of-type { border-bottom:none; }
.filter-group-title { font-size:13px; font-weight:700; margin-bottom:10px; }
.filter-check { display:flex; align-items:center; gap:8px; font-size:13px; padding:5px 0; cursor:pointer; }
.filter-check input { accent-color:var(--mor); width:15px; height:15px; }
.fiyat-aralik { display:flex; align-items:center; gap:8px; }
.fiyat-aralik input { width:0; flex:1; padding:8px 10px; border:1.5px solid #eee; border-radius:8px; font-size:12.5px; }
.fiyat-aralik input:focus { border-color:var(--mor); outline:none; }
.filter-uygula-btn { width:100%; padding:10px; background:var(--gradient); color:#fff; border:none; border-radius:10px; font-weight:600; cursor:pointer; font-size:13px; margin-top:6px; }

/* AÇILIR-KAPANIR FİLTRE GRUPLARI (2026-09-05, kullanıcı talebi) */
.filtre-accordion { margin-bottom:18px; padding-bottom:16px; border-bottom:1px solid var(--gri); }
.filtre-accordion:last-of-type { border-bottom:none; }
.filtre-accordion-baslik {
  width:100%; background:none; border:none; padding:0; margin-bottom:0; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; text-align:left;
}
.filtre-chevron { width:14px; height:14px; stroke:#999; fill:none; transition:transform .2s; flex-shrink:0; }
.filtre-accordion.open .filtre-chevron { transform:rotate(180deg); }
.filtre-accordion-govde { display:none; margin-top:10px; }
.filtre-accordion.open .filtre-accordion-govde { display:block; }
.filtre-arama {
  width:100%; padding:8px 10px; border:1.5px solid #eee; border-radius:8px;
  font-size:12.5px; margin-bottom:8px;
}
.filtre-arama:focus { border-color:var(--mor); outline:none; }
.filtre-secenek-listesi { max-height:240px; overflow-y:auto; scrollbar-width:none; }
.filtre-secenek-listesi::-webkit-scrollbar { display:none; }

/* ÜST BAR */
.products-toolbar {
  background:var(--beyaz); border-radius:15px; padding:15px 20px;
  margin-bottom:20px; box-shadow:var(--golge);
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:15px;
}
.result-count { font-size:14px; color:#666; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.result-count strong { color:var(--magenta); font-size:16px; }
.hizli-filtreler { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.hizli-filtre-pill {
  display:inline-flex; align-items:center; gap:5px; padding:6px 14px;
  border:1.5px solid #eee; border-radius:20px; font-size:12px; font-weight:600;
  color:var(--koyu); white-space:nowrap; transition:.2s;
}
.hizli-filtre-pill:hover { border-color:var(--mor); color:var(--mor); }
.hizli-filtre-pill.active { background:var(--gradient); border-color:transparent; color:#fff; }
.toolbar-right { display:flex; align-items:center; gap:12px; }
.secili-filtreler-cubugu { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.secili-filtreler-baslik { font-size:12.5px; font-weight:700; color:var(--koyu); }
.secili-filtre-rozeti {
  display:inline-flex; align-items:center; gap:8px; padding:6px 8px 6px 14px;
  border:1.5px solid var(--mor); border-radius:20px; font-size:12px; background:#faf5fc;
}
.secili-filtre-rozeti .rozet-etiket { color:#888; font-weight:600; }
.secili-filtre-rozeti .rozet-deger { color:var(--koyu); font-weight:700; }
.secili-filtre-rozeti .rozet-kaldir {
  width:18px; height:18px; border-radius:50%; background:var(--gri); display:flex;
  align-items:center; justify-content:center; font-size:12px; line-height:1; color:#666; flex-shrink:0;
}
.secili-filtre-rozeti .rozet-kaldir:hover { background:var(--magenta); color:#fff; }
.tum-filtreleri-temizle { font-size:12.5px; font-weight:700; color:var(--magenta); text-decoration:underline; white-space:nowrap; }

/* ÜRÜN GRID */
.products-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:10px;
}
.sort-select {
  padding:9px 14px; border:1.5px solid #eee; border-radius:10px; font-size:13px;
  background:var(--beyaz); cursor:pointer; color:var(--koyu); font-weight:500;
}
.sort-select:focus { border-color:var(--mor); outline:none; }

/* ORTAK ÜRÜN KARTI (2026-09-06) — ana sayfadaki .urun-kart ile BİREBİR aynı görsel dil */
.urun-kart { background:var(--beyaz); border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow); transition:transform .25s,box-shadow .25s; display:flex; flex-direction:column; }
.urun-kart:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.urun-kart:hover .urun-gorsel img { transform:scale(1.08); }
.urun-gorsel { aspect-ratio:3/4; position:relative; display:flex; align-items:center; justify-content:center; font-size:2.4rem; overflow:hidden; background:#f5f0f8; }
.urun-gorsel img { width:100%; height:100%; object-fit:cover; transition:transform .5s,opacity .3s; position:absolute; top:0; left:0; }
.urun-etiket { position:absolute; top:8px; left:8px; font-size:.62rem; font-weight:700; padding:3px 9px; border-radius:999px; z-index:2; }
.etiket-yeni { background:var(--mor); color:#fff; }
.etiket-indirim { background:#ff3a3a; color:#fff; }
.favori-btn { position:absolute; top:7px; right:7px; width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; z-index:2; transition:background .2s; border:none; cursor:pointer; }
.favori-btn:hover { background:#fff; }
.favori-btn svg { width:15px; height:15px; stroke:var(--magenta); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:fill .2s; }
.favori-btn.aktif svg { fill:var(--magenta); }
.urun-canli-rozet { position:absolute; bottom:7px; right:7px; background:rgba(230,53,143,.92); color:#fff; font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:999px; z-index:2; display:flex; align-items:center; gap:3px; }
.urun-canli-rozet::before { content:''; width:5px; height:5px; border-radius:50%; background:#7CFC7C; }
.urun-bilgi { padding:12px 12px 14px; display:flex; flex-direction:column; gap:4px; flex:1; }
.urun-kat { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--mor); }
.urun-isim { font-weight:600; font-size:14px; color:var(--koyu); line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.urun-puan { display:flex; align-items:center; gap:4px; font-size:12px; color:var(--text-hafif); font-weight:600; }
.urun-puan svg { width:12px; height:12px; fill:var(--sari); stroke:var(--sari-koyu); stroke-width:1; }
.urun-satici { font-size:12px; color:var(--mor); font-weight:500; }
.urun-satici a:hover { text-decoration:underline; }
.urun-etiket-satir { display:flex; flex-wrap:wrap; gap:4px; }
.mini-tag { font-size:10.5px; font-weight:700; padding:3px 9px; border-radius:999px; display:inline-flex; align-items:center; gap:2px; }
.tag-kargo { background:#e6f7ec; color:#1c8a4a; }
.urun-stok-satir { font-size:11.5px; font-weight:700; color:#e0433f; }
.urun-sosyal-kanit { font-size:11px; color:var(--text-hafif); display:flex; align-items:center; gap:4px; }
.urun-sosyal-kanit svg { width:12px; height:12px; stroke:var(--text-hafif); fill:none; stroke-width:2; }
.urun-alt { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 10px; margin-top:auto; padding-top:8px; }
.urun-fiyat { display:flex; flex-direction:column; align-items:flex-start; gap:1px; font-weight:800; font-size:17px; color:var(--koyu); line-height:1.15; white-space:nowrap; }
.urun-fiyat .eski { font-size:11.5px; color:var(--text-hafif); text-decoration:line-through; font-weight:600; }
.urun-sepet-tam { width:100%; max-width:140px; padding:9px 14px; background:var(--gradient); color:#fff; border:none; border-radius:10px; font-weight:600; cursor:pointer; transition:.3s; font-size:12.5px; flex-shrink:0; }
.urun-sepet-tam:hover { opacity:.9; transform:translateY(-1px); }
.urun-sepet-tam:disabled { opacity:.5; cursor:not-allowed; }
.urun-sepet { width:30px; height:30px; border-radius:50%; background:var(--mor); color:#fff; display:flex; align-items:center; justify-content:center; transition:background .2s,transform .2s; flex-shrink:0; border:none; cursor:pointer; }
.urun-sepet:hover { background:var(--mor-koyu); transform:scale(1.1); }
.urun-sepet:disabled { opacity:.4; cursor:not-allowed; }
.urun-sepet svg { width:14px; height:14px; stroke:#fff; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }

/* PAGINATION */
.pagination {
  max-width:1280px; margin:40px auto; padding:0 20px;
  display:flex; justify-content:center; align-items:center; gap:6px; flex-wrap:wrap;
}
.page-btn {
  min-width:40px; height:40px; border:1.5px solid #eee; background:var(--beyaz);
  border-radius:10px; cursor:pointer; font-size:14px; font-weight:600;
  display:flex; align-items:center; justify-content:center; transition:.3s;
}
.page-btn:hover { border-color:var(--mor); color:var(--mor); }
.page-btn.active { background:var(--gradient); color:#fff; border-color:transparent; }
.page-btn.disabled { opacity:.4; cursor:not-allowed; pointer-events:none; }

/* BOŞ DURUM */
.bos { max-width:1280px; margin:60px auto; padding:0 20px; text-align:center; color:#888; }

/* FOOTER */
footer { background:var(--koyu); color:#ccc; padding:50px 0 20px; margin-top:60px; }
.footer-grid {
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1fr; gap:32px;
  max-width:1280px; margin:0 auto; padding:0 20px 30px;
}
.footer-col h4 { color:#fff; margin-bottom:18px; font-size:16px; }
.footer-col p { font-size:13px; line-height:1.8; margin-bottom:15px; }
.footer-col a { display:block; font-size:13px; margin-bottom:10px; transition:.3s; }
.footer-col a:hover { color:var(--sari); }
.footer-logo {
  font-size:28px; font-weight:800; margin-bottom:15px;
  background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.social-icons { display:flex; gap:10px; margin-top:15px; }
.social-icons a {
  width:38px; height:38px; background:rgba(255,255,255,.1); border-radius:50%;
  display:flex; align-items:center; justify-content:center; transition:.3s;
}
.social-icons a:hover { background:var(--gradient); }
.social-icons a svg { width:18px; height:18px; fill:#fff; }
.footer-bottom {
  max-width:1280px; margin:0 auto; padding:20px 20px 0;
  border-top:1px solid rgba(255,255,255,.1); text-align:center; font-size:13px;
}
.footer-yasal { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:6px 14px; margin-bottom:14px; font-size:12.5px; }
.footer-yasal a { display:inline; margin-bottom:0; color:#aaa; }
.footer-yasal a:hover { color:var(--sari); }
.footer-yasal .ayirac { color:#555; }

/* TOAST — "Ürün sepete eklendi" vb. bildirim (2026-10-06, kullanıcı talebi: daha ince ve şık).
   Tek satır, ince koyu şerit: solda yeşil onay yuvarlağı, ortada yazı, sağda küçük "Sepeti Gör" düğmesi.
   Ana sayfadaki telefon bildirimiyle aynı görsel dil. */
.toast {
  position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(16px);
  width:max-content; max-width:calc(100vw - 24px);
  background:rgba(26,26,46,.94); color:#fff; padding:6px 6px 6px 8px; border-radius:999px;
  font-size:13px; font-weight:600; line-height:1.2; z-index:2000; opacity:0; transition:opacity .25s, transform .25s;
  box-shadow:0 8px 22px rgba(26,26,46,.25); display:flex; align-items:center; gap:10px;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.toast:not(.show){pointer-events:none} /* gizliyken altındaki düğmelere dokunmayı engellemesin (2026-10-03) */
.toast.show { transform:translateX(-50%) translateY(0); opacity:1; }
.toast svg { width:22px; height:22px; padding:4px; border-radius:50%; background:#22a565; stroke:#fff; fill:none; stroke-width:3.5; flex-shrink:0; }
#toastText { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; padding-right:4px; }
.toast-action { padding:6px 12px; background:var(--sari); color:var(--koyu); border-radius:999px; font-size:12px; font-weight:700; white-space:nowrap; flex-shrink:0; }

/* RESPONSIVE */
@media (max-width:1024px) {
  .products-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:repeat(3,1fr); }
  .category-hero-img { width:150px; height:150px; }
  .category-hero-text h1 { font-size:28px; }
}
@media (max-width:768px) {
  .category-layout { grid-template-columns:1fr; }
  .category-hero-inner { flex-direction:column; text-align:center; padding:30px 20px; }
  .category-hero-img { width:120px; height:120px; margin-bottom:15px; }
  .category-hero-text h1 { font-size:24px; }
  .category-hero-stats { justify-content:center; }
  .products-grid { grid-template-columns:repeat(2,1fr); gap:12px; }
  .footer-grid { grid-template-columns:repeat(2,1fr); gap:25px; }
}
@media (max-width:480px) {
  .products-grid { grid-template-columns:1fr 1fr; gap:10px; }
}

/* YUKARI ÇIK düğmesi — ana sayfadakiyle aynı (css/sayfa/ana-sayfa-1.css .yukari-btn), 2026-10-06 */
.yukari-btn{position:fixed;right:16px;bottom:16px;width:44px;height:44px;border-radius:50%;border:none;cursor:pointer;background:var(--mor);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-hover);opacity:0;visibility:hidden;transform:translateY(10px);transition:all .25s;z-index:210}
.yukari-btn.gorunur{opacity:1;visibility:visible;transform:translateY(0)}
.yukari-btn svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2.5}

/* Telefondaki alt menü: css/ortak/mobil-menu-5li.css (2026-10-06) */
@media(max-width:767px){
  .toast{bottom:calc(74px + env(safe-area-inset-bottom)); font-size:12.5px}
  .yukari-btn{bottom:78px}
}

/* ===== Aşağı kaydırdıkça yükleme (sayfa numaraları yerine, 2026-10-06) ===== */
.sonsuz-yukleniyor { display:flex; align-items:center; justify-content:center; gap:10px; padding:26px 0 10px; font-size:13px; color:var(--text-hafif); }
.sonsuz-yukleniyor[hidden], .pagination[hidden] { display:none; }
.sonsuz-donen { width:18px; height:18px; border-radius:50%; border:2.5px solid #eadcf3; border-top-color:var(--mor); animation:sonsuzDon .8s linear infinite; }
@keyframes sonsuzDon { to { transform:rotate(360deg); } }

.filtre-kapat { display:none; }

/* ===== TELEFON (5d, 2026-10-06) =====
   - Filtre kenar çubuğu, alttaki menünün "Filtre" düğmesiyle soldan açılan çekmece olur; içeriği bilgisayardaki
     sol alanla birebir aynı (Kategoriler listesi dahil — kullanıcı netleştirmesi, 2026-10-06).
   - Ürün sayısı gizli; sıralama kutusu ekmek kırıntısının sağında; araç çubuğunda sadece hızlı filtreler.
   - Kartta fiyat üstte, "Sepete Ekle" altında tam genişlik.
   - Kategori tanıtım kutusu (başlık, açıklama, ürün/mağaza sayıları, görsel) gizli. */
@media (max-width:767px) {
  .category-hero { display:none; } /* kategori tanıtım kutusu telefonda gösterilmez (kullanıcı talebi, 2026-10-06) */
  .header .kat-nav { display:none; } /* arama altındaki "Kadın · Erkek · …" satırı sadece bu sayfada telefonda gizli (ana sayfada duruyor), 2026-10-06 */
  .category-layout { display:block; }
  .filter-sidebar.mm-dr { align-self:stretch; border-radius:0; box-shadow:none; padding:0 16px 16px; overflow-y:auto; display:block; font-family:inherit; }
  .filter-sidebar-header { position:sticky; top:0; z-index:2; background:var(--beyaz); margin:0 -16px 12px; padding:14px 16px; border-bottom:1px solid #eee; gap:12px; }
  .filter-sidebar-header h3 { flex:1; font-size:16px; }
  .filtre-kapat { display:block; font-size:22px; line-height:1; background:none; border:none; cursor:pointer; color:var(--koyu); }
  .filter-uygula-btn { position:sticky; bottom:0; padding:13px; font-size:14px; box-shadow:0 -8px 16px #fff; }

  /* Ekmek kırıntısı solda (tek satır), sıralama kutusu sağa yaslı */
  .breadcrumb { flex-wrap:nowrap; align-items:center; gap:10px; margin:12px auto; padding:0 16px; }
  .breadcrumb-yol { flex:1; flex-wrap:nowrap; white-space:nowrap; overflow-x:auto; scrollbar-width:none; }
  .breadcrumb-yol::-webkit-scrollbar { display:none; }
  .sort-select-mobil { display:block; flex-shrink:0; margin-left:auto; width:112px; padding:6px 6px; font-size:12px; }
  /* Araç çubuğunda ürün sayısı ve sıralama yok; sadece hızlı filtreler (sığmazsa yana kayar) */
  .products-toolbar { padding:0; background:none; box-shadow:none; margin-bottom:12px; }
  .sonuc-sayi, .toolbar-right { display:none; }
  .result-count { flex:1; min-width:0; }
  /* Üç hızlı filtre satırı eşit paylaşır, hepsi tam görünür */
  .hizli-filtreler { flex:1; flex-wrap:nowrap; gap:6px; min-width:0; }
  .hizli-filtre-pill { flex:1 1 0; min-width:0; justify-content:center; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding:7px 4px; font-size:11.5px; background:var(--beyaz); }

  .urun-alt { flex-direction:column; align-items:stretch; }
  .urun-fiyat { flex-direction:row; flex-wrap:wrap; align-items:baseline; gap:2px 6px; font-size:15px; }
  .urun-sepet-tam { max-width:none; padding:9px 8px; }
}

/* Dar telefonlarda (380px ve altı) üç hızlı filtre yazısı kesilmeden sığsın (2026-10-06) */
@media (max-width:380px) {
  .hizli-filtreler { gap:4px; }
  .hizli-filtre-pill { font-size:10.5px; gap:3px; padding:7px 2px; }
}
