/* =====================================================================
   v4 - yildizlar, yorumlar, favoriler, galeri zoom, sepet onerileri,
        WhatsApp, "Neden AlNokta", kategori aciklamasi
   ===================================================================== */

/* Yildizlar */
.yildiz { position: relative; display: inline-block; color: #d1d5db; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.yildiz::before { content: '★★★★★'; position: absolute; left: 0; top: 0; width: var(--y, 0%); overflow: hidden; color: #f59e0b; }
.urun-puan { margin: 0 0 6px; font-size: 0.78rem; color: var(--metin-soluk); display: flex; align-items: center; gap: 4px; }
.urun-puan small { font-size: 0.72rem; }
.urun-puan-satir { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; margin: -2px 0 10px; color: var(--metin); }
.urun-puan-satir span:last-child { color: var(--metin-soluk); font-size: 0.82rem; }
.urun-puan-satir.bos { color: var(--metin-soluk); font-size: 0.84rem; text-decoration: underline; }

/* Favori (kalp) */
.fav-btn {
  position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.92); box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  font-size: 1.15rem; line-height: 1; cursor: pointer; color: #6b7280; display: flex; align-items: center; justify-content: center;
  transition: transform .15s, color .15s;
}
.fav-btn:hover { transform: scale(1.1); color: #ef4444; }
.fav-btn.acik, .fav-btn-buyuk.acik { color: #ef4444; }
.fav-btn-buyuk {
  width: 48px; flex: 0 0 48px; border: 1.5px solid var(--cizgi); background: #fff; border-radius: 12px;
  font-size: 1.4rem; cursor: pointer; color: #6b7280; transition: border-color .15s, color .15s;
}
.fav-btn-buyuk:hover { border-color: #ef4444; color: #ef4444; }
.favori-not { color: var(--metin-soluk); font-size: 0.8rem; margin-top: 18px; }

/* Galeri yakinlastirma + tam ekran */
.galeri-ana.zoomlu { cursor: zoom-in; }
.galeri-ana img { transition: transform .12s ease-out; will-change: transform; }
.galeri-ana:not(.zoomlu) img { cursor: zoom-in; }
.lb {
  position: fixed; inset: 0; z-index: 300; background: rgba(10,15,25,0.94);
  display: none; align-items: center; justify-content: center; overflow: hidden;
}
.lb.acik { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; cursor: zoom-in; transition: transform .2s; background: #fff; }
.lb-kapat, .lb-ok {
  position: absolute; border: none; background: rgba(255,255,255,0.14); color: #fff; cursor: pointer;
  border-radius: 50%; width: 46px; height: 46px; font-size: 1.5rem; line-height: 1; z-index: 2;
}
.lb-kapat { top: 16px; right: 16px; }
.lb-ok { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lb-onceki { left: 14px; } .lb-sonraki { right: 14px; }
.lb-kapat:hover, .lb-ok:hover { background: rgba(255,255,255,0.28); }
.lb.tek .lb-ok, .lb.tek .lb-sayac { display: none; }
.lb-sayac { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: 0.85rem; opacity: .8; }
body.lb-acik { overflow: hidden; }

/* WhatsApp */
.wa-yuzen {
  position: fixed; right: 16px; bottom: 18px; z-index: 80; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,0.5); transition: transform .15s;
}
.wa-yuzen:hover { transform: scale(1.08); }
.wa-ikon { font-size: 1.6rem; line-height: 1; filter: grayscale(1) brightness(10); }
.wa-soru-btn {
  display: block; text-align: center; margin-top: 16px; padding: 11px; border-radius: 12px;
  background: #e9fbf0; color: #0b7a3b; font-weight: 700; font-size: 0.88rem; border: 1px solid #bfeccf;
}
.wa-soru-btn:hover { background: #d6f6e2; }

/* Yorumlar */
.yorum-bolum { background: #fff; border: 1px solid var(--cizgi); border-radius: 16px; padding: 26px 30px; margin-bottom: 30px; scroll-margin-top: 140px; }
.yorum-bolum > h2 { margin: 0 0 16px; font-size: 1.15rem; padding-bottom: 12px; border-bottom: 2px solid var(--turuncu); display: inline-block; }
.yorum-yerlesim { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; align-items: start; }
.yorum-ozet { text-align: center; background: #fff8f1; border-radius: 14px; padding: 20px 12px; }
.yorum-ort { font-size: 2.6rem; font-weight: 800; color: var(--lacivert); line-height: 1; margin-bottom: 6px; }
.yorum-ozet .yildiz { font-size: 1.2rem; }
.yorum-ozet p { margin: 8px 0 0; font-size: 0.82rem; color: var(--metin-soluk); }
.yorum-ilk { line-height: 1.5; }
.yorum { border-bottom: 1px solid var(--cizgi); padding: 14px 0; }
.yorum-ust { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; }
.yorum-ust span:last-child { color: var(--metin-soluk); margin-left: auto; font-size: 0.78rem; }
.yorum h3 { margin: 8px 0 2px; font-size: 0.95rem; }
.yorum p { margin: 6px 0 0; font-size: 0.9rem; line-height: 1.6; color: #374151; }
.yorum-yaz { margin-top: 18px; }
.yorum-yaz summary { cursor: pointer; font-weight: 700; color: var(--turuncu-koyu); padding: 8px 0; }
.yorum-yaz form { display: grid; gap: 10px; margin-top: 8px; max-width: 520px; }
.yorum-yaz input[type=text], .yorum-yaz textarea {
  width: 100%; border: 1.5px solid var(--cizgi); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16px; outline: none;
}
.yorum-yaz input:focus, .yorum-yaz textarea:focus { border-color: var(--turuncu); }
.yorum-yaz small { color: var(--metin-soluk); }
.bal-kupu { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.yildiz-sec { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.yildiz-sec input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.yildiz-sec label { font-size: 2rem; color: #d1d5db; cursor: pointer; line-height: 1; transition: color .1s; }
.yildiz-sec label:hover, .yildiz-sec label:hover ~ label, .yildiz-sec input:checked ~ label { color: #f59e0b; }
.yorum-mesaj { border-radius: 10px; padding: 11px 14px; font-size: 0.88rem; margin-bottom: 16px; }
.yorum-mesaj.ok { background: #e9fbf0; color: #0b7a3b; }
.yorum-mesaj.hata { background: #fef2f2; color: #b91c1c; }

/* Sepet cekmecesi onerileri */
.cekmece-oneri { padding: 12px 16px; border-top: 1px solid var(--cizgi); background: #fafafa; }
.cekmece-oneri-baslik { margin: 0 0 8px; font-size: 0.82rem; font-weight: 800; }
.cekmece-oneri-satir { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.cekmece-oneri-foto { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--cizgi); display: flex; align-items: center; justify-content: center; }
.cekmece-oneri-foto img { width: 100%; height: 100%; object-fit: contain; }
.cekmece-oneri-ad { flex: 1; min-width: 0; font-size: 0.76rem; line-height: 1.3; overflow: hidden; color: var(--metin); }
.cekmece-oneri-ad b { font-size: 0.84rem; color: var(--lacivert); }
.cekmece-oneri-ekle { flex: 0 0 auto; border: 1.5px solid var(--turuncu); background: #fff; color: var(--turuncu-koyu); font-weight: 700; font-size: 0.76rem; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.cekmece-oneri-ekle:hover { background: var(--turuncu); color: #fff; }

/* Neden AlNokta */
.neden-bolum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 36px 0 10px; }
.neden-kutu { background: #fff; border: 1px solid var(--cizgi); border-radius: 16px; padding: 18px 16px; text-align: center; }
.neden-ikon { font-size: 1.9rem; display: block; margin-bottom: 8px; }
.neden-kutu strong { display: block; font-size: 0.92rem; margin-bottom: 4px; color: var(--lacivert); }
.neden-kutu span:last-child { font-size: 0.78rem; color: var(--metin-soluk); line-height: 1.45; }

/* Kategori aciklamasi */
.kategori-aciklama { background: #fff; border: 1px solid var(--cizgi); border-radius: 16px; padding: 22px 26px; margin-top: 30px; line-height: 1.75; font-size: 0.92rem; color: #374151; }
.kategori-aciklama h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--lacivert); }
.kategori-aciklama p { margin: 0 0 10px; }
.kategori-aciklama ul { padding-left: 22px; margin: 0 0 10px; }

@media (max-width: 900px) {
  .neden-bolum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yorum-yerlesim { grid-template-columns: 1fr; gap: 16px; }
  .yorum-bolum { padding: 18px; }
}
@media (max-width: 700px) {
  .mobil-alt-menu { grid-template-columns: repeat(5, 1fr); }
  .wa-yuzen { width: 48px; height: 48px; bottom: 76px; right: 12px; }
  body.alt-menu-yok .wa-yuzen { bottom: 84px; }
  .fav-btn { width: 30px; height: 30px; font-size: 1rem; top: 6px; right: 6px; }
  .lb-ok { width: 38px; height: 38px; }
  .header-ikonlar .header-ikon span.ikon { font-size: 1.2rem; }
}

/* Odeme logolari (footer) - resmi iyzico logo bandi, beyaz zemin uzerinde */
.odeme-logolar { display: inline-flex; background: #fff; border-radius: 12px; padding: 10px 18px; margin-bottom: 10px; max-width: 100%; }
.odeme-logolar img { height: 32px; width: auto; max-width: 100%; }
.footer-odeme p { margin: 0; font-size: 0.76rem; }
@media (max-width: 480px) { .odeme-logolar { padding: 8px 10px; } .odeme-logolar img { height: 26px; } }
