/* Usta Pazarı, Makine Pazarı, ilan sayfası ve il akış sayfası (dondurma.css'ten sonra yüklenir) */
.arama [hidden], .ilan-ozet [hidden] { display: none !important; }

/* Menü "YENİ" rozeti */
.menu-yeni { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: #02abcf; color: #fff; font-size: 10px; font-weight: 700; line-height: 1.6; vertical-align: 2px; letter-spacing: .3px; }

/* Üst menü masaüstünde tek satır (7 başlık + YENİ rozetleri logonun yanına sığsın) */
@media (min-width: 992px) {
  .header-area .navbar .nav .nav-item { margin-right: 17px; }
  .header-area .navbar .nav .nav-item:last-child { margin-right: 0; }
  .header-area .navbar .nav .nav-item .nav-link { font-size: 13px; white-space: nowrap; }
  .header-area .navbar .menu_nav { flex-wrap: nowrap; padding-left: 20px; }
  .menu-yeni { font-size: 9px; padding: 1px 5px; margin-left: 3px; vertical-align: 1px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .header-area .navbar .nav .nav-item { margin-right: 9px; }
  .header-area .navbar .nav .nav-item .nav-link { font-size: 12px; }
  .header-area .navbar .menu_nav { padding-left: 10px; }
  .menu-yeni { display: none; }
}

/* ---- Paylaşım formu: ilan türü sekmeleri ve alanlar ---- */
.ilan-sekmeler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
.ilan-sekme { min-height: 44px; padding: 6px 8px; border: 1px solid #d7e3e8; border-radius: 8px; background: #fff; color: #0d1f3c; font-size: 14px; font-weight: 600; cursor: pointer; line-height: 1.2; }
.ilan-sekme:hover { border-color: #02abcf; }
.ilan-sekme.aktif { background: #02abcf; border-color: #02abcf; color: #fff; }
.ilan-alt-secim { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.ilan-alt { flex: 1 1 140px; min-height: 42px; padding: 6px 10px; border: 1px solid #d7e3e8; border-radius: 8px; background: #fff; color: #0d1f3c; font-size: 14px; font-weight: 500; cursor: pointer; }
.ilan-alt.aktif { border: 2px solid #02abcf; background: #e6f6fd; color: #0279a0; font-weight: 700; }
.ilan-alanlar-form, .ilan-konum { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 0 0 10px; }
.ilan-alan { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 13px; font-weight: 600; color: #0d1f3c; }
.ilan-alan em { color: #c0392b; font-style: normal; }
.ilan-alan .form-control { height: 42px; font-size: 14px; font-weight: 400; }
.ilan-foto-sec input[type=file] { font-size: 13px; font-weight: 400; padding: 8px 0; }
@media (max-width: 575px) {
  .ilan-sekme { font-size: 13px; }
}

/* ---- Akış kartındaki ilan özeti ---- */
.ilan-ozet { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 6px; }
.ilan-foto { flex: 0 0 160px; max-width: 100%; }
.ilan-foto img { display: block; width: 160px; height: 120px; object-fit: cover; border-radius: 8px; background: #eef3f5; }
.ilan-ozet-metin { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ilan-tur { display: inline-block; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .3px; line-height: 1.3; }
.ilan-tur-usta_ariyor { background: #e0f6fb; color: #016f87; }
.ilan-tur-is_ariyor { background: #e6f5ea; color: #1f6b35; }
.ilan-tur-makine_satilik { background: #fff1e0; color: #8a4300; }
.ilan-tur-makine_alinir { background: #f1e8fb; color: #5b2a8c; }
.ilan-baslik { color: #0d1f3c !important; font-size: 17px; font-weight: 700; line-height: 1.3; text-decoration: none !important; }
.ilan-baslik:hover { color: #0279a0 !important; }
.ilan-alanlar { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ilan-alanlar li { padding: 4px 9px; border: 1px solid #e1eaee; border-radius: 6px; background: #f6fafb; font-size: 12px; color: #0d1f3c; line-height: 1.4; }
.ilan-alanlar li span { color: #5a6f78; }
.right-comments a + a { margin-left: 10px; }
@media (max-width: 575px) {
  .ilan-foto, .ilan-foto img { flex-basis: 100%; width: 100%; height: 190px; }
}

/* ---- Liste sayfaları (Usta Pazarı, Makine Pazarı, /akis/<il>) ---- */
.ilan-sayfa-baslik { font-size: 1.6rem; font-weight: 700; line-height: 1.3; color: #0d1f3c; margin: 0 0 10px; }
.ilan-giris { color: #4a5a62; font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.ilan-tur-filtre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.ilan-tur-filtre a { min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px 8px; border: 1px solid #d7e3e8; border-radius: 8px; background: #fff; color: #0d1f3c; font-size: 14px; font-weight: 600; text-decoration: none; }
.ilan-tur-filtre a:hover { border-color: #02abcf; }
.ilan-tur-filtre a.aktif { background: #02abcf; border-color: #02abcf; color: #fff; }
.ilan-ilceler { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.ilan-ilceler a { padding: 7px 11px; border: 1px solid #e1eaee; border-radius: 8px; background: #fff; color: #0d1f3c; font-size: 13px; text-decoration: none; }
.ilan-ilceler a span { opacity: .7; font-size: 12px; }
.ilan-ilceler a:hover { border-color: #02abcf; }
.ilan-ilceler a.aktif { background: #0d1f3c; border-color: #0d1f3c; color: #fff; }
.ilan-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 20px 0 0; }
.ilan-cta-ust { margin: 0 0 14px; }
.ilan-cta a:not(.msjbuton) { color: #0279a0; font-weight: 600; }
.ilan-ver-dugme, .ilan-ver-dugme:hover { color: #fff !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; }

/* ---- İlan sayfası ---- */
.ilan-detay { background: #fff; border: 1px solid #e1eaee; border-radius: 12px; padding: 20px; }
.ilan-detay-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.ilan-no { margin-left: auto; color: #5a6f78; font-size: 13px; }
.ilan-galeri { display: grid; gap: 8px; margin: 6px 0 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ilan-galeri-1 { grid-template-columns: 1fr; }
.ilan-galeri-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ilan-galeri a:first-child { grid-column: 1 / -1; }
.ilan-galeri img { display: block; width: 100%; height: 130px; object-fit: cover; border-radius: 8px; background: #eef3f5; }
.ilan-galeri a:first-child img { height: auto; max-height: 420px; }
.ilan-bilgi, .ilan-sahibi { margin: 0 0 18px; }
.ilan-detay h2, .ilan-benzer h2 { font-size: 1.15rem; font-weight: 700; color: #0d1f3c; margin: 0 0 10px; }
.ilan-bilgi dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid #e1eaee; border-radius: 8px; overflow: hidden; }
.ilan-bilgi dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #edf3f5; font-size: 14px; }
.ilan-bilgi dt { font-weight: 400; color: #5a6f78; }
.ilan-bilgi dd { margin: 0; font-weight: 700; color: #0d1f3c; text-align: right; }
.ilan-aciklama { font-size: 15px; line-height: 1.65; color: #2b3e46; margin: 0; }
.ilan-sahibi p { margin: 0 0 8px; display: flex; flex-direction: column; gap: 2px; }
.ilan-sahibi-ad { font-size: 16px; font-weight: 700; color: #0d1f3c !important; }
.ilan-sahibi p span { color: #5a6f78; font-size: 13px; }
.ilan-profil { display: inline-block; margin: 6px 0 0; color: #0279a0; font-weight: 600; }
.ilan-guvenlik { margin: 14px 0 0 !important; display: block !important; padding: 10px 12px; border-radius: 8px; background: #f6fafb; color: #4a5a62; font-size: 13px; line-height: 1.5; }
.ilan-benzer { margin: 24px 0 0; }
.ilan-benzer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.ilan-benzer li a { height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border: 1px solid #e1eaee; border-radius: 10px; background: #fff; color: #0d1f3c; text-decoration: none; }
.ilan-benzer li a:hover { border-color: #02abcf; }
.ilan-benzer li strong { font-size: 14px; line-height: 1.35; }
.ilan-benzer-konum { color: #5a6f78; font-size: 12px; }
@media (max-width: 575px) {
  .ilan-bilgi dl { grid-template-columns: 1fr; }
  .ilan-sayfa-baslik { font-size: 1.35rem; }
  .ilan-no { margin-left: 0; width: 100%; }
  .ilan-detay { padding: 14px; }
}

/* ---- Yeni kart tasarımıyla uyum (ilan-kart yazma kutusu, ilan-k akış kartı) ---- */
.ilan-kart [hidden] { display: none !important; }
.ilan-kart .ik-secim { padding: 0 16px 12px; }
.ilan-kart .ik-secim > :last-child { margin-bottom: 0; }
.ilan-k .ilan-ozet-metin { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 8px; }
.ilan-k .ilan-baslik { font-size: 16.5px; }
.ilan-k .ilk-sag .ilk-profil + .ilk-profil { margin-left: 0; }

/* ---- Paylaşım kutusu: tür + kategori düğmeleri tek satır (sağa kayar), logo simgesi, telefonda alt satır tek sıra ---- */
.ilan-kart .ilan-sekmeler { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 10px; padding-bottom: 2px; }
.ilan-kart .ilan-sekmeler::-webkit-scrollbar { display: none; }
.ilan-kart .ilan-sekme { flex: 0 0 auto; min-height: 40px; padding: 0 14px; white-space: nowrap; border-radius: 999px; font-size: 14px; }
.ilan-kart .ilan-sekme.ilan-kat { font-weight: 500; }
.ik-avatar.ik-logo { background: #fff; box-shadow: inset 0 0 0 1px #e6e9ef; overflow: hidden; }
.ik-avatar.ik-logo img { width: 30px; height: 30px; object-fit: contain; display: block; }
@media (max-width: 575px) {
  .ik-alt-satir { flex-wrap: nowrap !important; gap: 8px; padding: 10px 10px 12px 12px; }
  .ik-alt-satir select { flex: 1 1 auto !important; min-width: 0; }
  .ik-sayac { margin-left: auto; font-size: 12px; }
  .ik-alt-satir select:not([hidden]) ~ .ik-sayac { margin-left: 0; }
  .ik-alt-satir .msjbuton { margin-left: 0 !important; padding: 0 14px !important; }
  .ilan-kart .ilan-alanlar-form, .ilan-kart .ilan-konum { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .ilan-kart .ilan-foto-sec { grid-column: 1 / -1; }
  .ilan-kart .ilan-alt { min-height: 40px; font-size: 13.5px; }
}
/* Tür ve kategori düğmeleri Yayınla gibi: hafif köşeli */
.ilan-kart .ilan-sekme { border-radius: 8px; min-height: 38px; }
/* Canlı Akışta Paylaş simgesi: mavi zemin üzerinde beyaz kalem */
.ik-avatar.ik-simge { background: #02abcf; color: #fff; }
.ik-avatar.ik-simge svg { display: block; }

/* ---- Kural: görseller asla kırpılmaz ve çevresinde boş alan kalmaz.
   Kutu sabit ölçüde değil; görselin kendi en-boy oranını alır (genişlik sınırlı, yükseklik otomatik). ---- */
.ilk-gorsel, #paylasimlar .ilk-gorsel, .firma-k .ilk-gorsel { flex: 0 0 auto !important; align-self: flex-start; }
.ilk-gorsel img, #paylasimlar .ilk-gorsel img, .firma-k .ilk-gorsel img {
  width: auto !important; height: auto !important; aspect-ratio: auto !important;
  max-width: 200px; max-height: 260px; object-fit: contain !important; background: transparent !important; }
@media (max-width: 575px) {
  .ilk-gorsel img, #paylasimlar .ilk-gorsel img, .firma-k .ilk-gorsel img { max-width: 110px; max-height: 160px; }
}
/* İlan sayfası galerisi */
.ilan-galeri { align-items: start; }
.ilan-galeri img, .ilan-galeri a:first-child img { width: 100%; height: auto !important; max-height: none !important; object-fit: contain; background: transparent; }
/* Sağ sütun firma görselleri ve telefondaki firma şeridi */
.rail-firmalar .portfolio-item { aspect-ratio: auto !important; background: transparent !important; }
.rail-firmalar .portfolio-item img { width: 100% !important; height: auto !important; object-fit: contain !important; }
.mfs-liste { align-items: flex-start; }
.mfs-kart { aspect-ratio: auto !important; background: transparent !important; }
.mfs-kart img { width: 100% !important; height: auto !important; object-fit: contain !important; }
/* Firma sayfası: kapak, galeri, ürünler; eski firma galerisi, ürün ve haber kartları */
.fd-kapak { background: #fff !important; }
.fd-kapak img { width: auto !important; max-width: 100%; height: auto !important; max-height: 520px !important; margin: 0 auto; }
.fd-galeri { align-items: start; }
.fd-galeri img { aspect-ratio: auto !important; height: auto !important; background: transparent !important; }
.fd-urun img { height: auto !important; max-height: 120px; background: transparent !important; }
.firma-galeri { align-items: flex-start; }
.firma-galeri a img, .urun-kart img, .haber-kart img { height: auto !important; object-fit: contain !important; }
.ilk-avatar.resimli img { object-fit: cover !important; background: #fff; }
.ilk-avatar.resimli.saydam img { object-fit: contain !important; }

/* ---- Akış ve liste kartları: görsel kutusu her paylaşımda aynı boyut ----
   Masaüstü 200×112, telefon 120×68 (16:9, telefon fotoğraflarının çoğunun oranı). Görsel kutuyu boşluksuz tam doldurur (cover; oranı farklıysa kenardan kırpılır).
   Saydam arka planlı logolar (.saydam) kırpılmadan beyaz zemine sığar. */
.ilk-gorsel, #paylasimlar .ilk-gorsel, .firma-k .ilk-gorsel {
  flex: 0 0 200px !important; align-self: flex-start; position: relative; display: block; overflow: hidden;
  width: 200px; height: 112px; border-radius: 8px; border: 1px solid #eef0f4; background: #fff; }
.ilk-gorsel img, #paylasimlar .ilk-gorsel img, .firma-k .ilk-gorsel img {
  position: relative; z-index: 1; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
  aspect-ratio: auto !important; object-fit: cover !important; object-position: center !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.ilk-gorsel.saydam img, #paylasimlar .ilk-gorsel.saydam img, .firma-k .ilk-gorsel.saydam img { object-fit: contain !important; }
@media (max-width: 575px) {
  .ilk-gorsel, #paylasimlar .ilk-gorsel, .firma-k .ilk-gorsel { flex: 0 0 120px !important; width: 120px; height: 68px; }
}

/* ---- Sekme ve düğme köşeleri: ilk düğme (Tümü / Genel / Firma Ekle) 8px köşe kalır, devamındakiler tam yuvarlak ---- */
.akis-sekmeler a:not(:first-child) { border-radius: 999px !important; }
.akis-sekmeler a:not(:first-child) span { border-radius: 999px; }
.ilan-kart .ilan-sekme { border: 0 !important; background: #fff; box-shadow: inset 0 0 0 .5px rgba(15, 23, 42, .129), 0 1px 2.15px rgba(0, 0, 0, .06); font-weight: 600; }
.ilan-kart .ilan-sekme.aktif { background: #02abcf; color: #fff; box-shadow: none; }
.ilan-kart .ilan-sekme:not(:first-child) { border-radius: 999px !important; }
.rail-sekmeler .rail-sekme:not(.rail-firma-ekle) { border-radius: 999px !important; }

/* ---- Sağ sütun firma görselleri: evdennakliyateve.com/defter ile aynı ----
   Masaüstünde sağ sütun sabit 308 px, firma kutuları her ekranda 248×116 px; görsel kutuyu boşluksuz doldurur. */
.rail-firmalar { gap: 6px; }
.rail-firmalar .portfolio-item { aspect-ratio: 320 / 150 !important; width: 100%; border: 1px solid #eaecf0; border-radius: 8px; overflow: hidden; background: #fff !important; display: block; }
/* Sağ sütun: tüm kutular aynı boy (553×259 oranı). Görsel sunucuda akıllı kırpılır (/kirp/firmalar/…):
   oranı farklıysa ayrıntısı az olan boş kenar kesilir, cisim ve yazı korunur; saydam logolar beyaz zemine sığar. */
.rail-firmalar .portfolio-item { aspect-ratio: 553 / 259 !important; height: auto !important; }
.rail-firmalar .portfolio-item img { position: relative; z-index: 1; width: 100% !important; height: 100% !important; object-fit: cover !important; background: transparent !important; display: block; }
@media (min-width: 992px) {
  .row > .col-lg-4:has(.rail-aside) { flex: 0 0 308px; max-width: 308px; }
  .row:has(> .col-lg-4 .rail-aside) > .col-lg-8 { flex: 0 0 calc(100% - 308px); max-width: calc(100% - 308px); min-width: 0; }
  /* Sağ sütunun kaydırma çubuğu kutuyu daraltmasın; kaydırma tekerlekle çalışır */
  .sabit-sutun { scrollbar-width: none !important; }
  .sabit-sutun::-webkit-scrollbar { display: none; }
}

/* ---- /premium sayfası ---- */
.premium-sayfa { color: #0d1f3c; }
.prm-ust { background: linear-gradient(135deg, #fff8e1 0%, #fffdf5 60%, #e6f6fd 100%); border: 1px solid #f1dc8a; border-radius: 14px; padding: 26px 24px; margin: 0 0 22px; }
.prm-etiket { display: inline-block; padding: 4px 12px; border-radius: 999px; background: linear-gradient(180deg, #ffe58a, #f5c84c); color: #6b4d00; font-size: 12px; font-weight: 800; letter-spacing: .3px; margin: 0 0 10px; }
.prm-ust h1 { font-size: 1.7rem; line-height: 1.3; font-weight: 800; margin: 0 0 10px; color: #0d1f3c; }
.prm-ust p { font-size: 15.5px; line-height: 1.6; color: #3d4f58; margin: 0 0 18px; }
.prm-dugmeler { display: flex; flex-wrap: wrap; gap: 10px; }
.prm-dugme, .prm-dugme:hover { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #02abcf; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.prm-dugme:hover { background: #0294b3; }
.prm-dugme-ikincil, .prm-dugme-ikincil:hover { background: #fff; color: #0279a0 !important; border: 1px solid #b9e4f0; }
.prm-dugme-ikincil:hover { background: #f2fbfe; }
.prm-bolum { margin: 0 0 26px; }
.prm-bolum h2 { font-size: 1.25rem; font-weight: 800; margin: 0 0 12px; color: #0d1f3c; }
.prm-avantajlar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prm-avantajlar li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid #e6ebee; border-radius: 12px; background: #fff; }
.prm-avantajlar svg { flex: 0 0 20px; margin-top: 1px; }
.prm-avantajlar strong { display: block; font-size: 15px; margin: 0 0 3px; }
.prm-avantajlar span { display: block; font-size: 13.5px; line-height: 1.55; color: #4a5a62; }
.prm-ornek .ilan-k { margin: 0; }
.prm-tablo-kap { overflow-x: auto; border: 1px solid #e6ebee; border-radius: 12px; background: #fff; }
.prm-tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.prm-tablo th, .prm-tablo td { padding: 11px 14px; border-bottom: 1px solid #eef2f4; text-align: center; }
.prm-tablo th:first-child, .prm-tablo td:first-child { text-align: left; }
.prm-tablo tr:last-child td { border-bottom: 0; }
.prm-tablo th { font-weight: 800; background: #f7fafb; }
.prm-tablo .prm-sutun { background: #fffbea; }
.prm-tablo th.prm-sutun { color: #6b4d00; background: #fff3c4; }
.prm-var { color: #1f8a46; font-weight: 800; font-size: 17px; }
.prm-yok { color: #a3b0b7; font-weight: 700; }
.prm-adimlar { list-style: none; counter-reset: adim; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.prm-adimlar li { counter-increment: adim; position: relative; padding: 46px 14px 14px; border: 1px solid #e6ebee; border-radius: 12px; background: #fff; }
.prm-adimlar li::before { content: counter(adim); position: absolute; top: 12px; left: 14px; width: 26px; height: 26px; border-radius: 50%; background: #02abcf; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.prm-adimlar strong { display: block; font-size: 14.5px; margin: 0 0 4px; }
.prm-adimlar span { display: block; font-size: 13px; line-height: 1.5; color: #4a5a62; }
.prm-sss details { border: 1px solid #e6ebee; border-radius: 10px; background: #fff; margin: 0 0 8px; }
.prm-sss summary { cursor: pointer; padding: 13px 16px; font-weight: 700; font-size: 15px; list-style-position: inside; }
.prm-sss p { margin: 0; padding: 0 16px 14px; font-size: 14px; line-height: 1.6; color: #3d4f58; }
.prm-son { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 14px; background: #0d1f3c; color: #fff; }
.prm-son strong { font-size: 16px; }
@media (max-width: 767px) {
  .prm-ust { padding: 20px 16px; }
  .prm-ust h1 { font-size: 1.35rem; }
  .prm-dugme { flex: 1 1 100%; }
  .prm-avantajlar { grid-template-columns: 1fr; }
  .prm-adimlar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prm-son { flex-direction: column; align-items: stretch; text-align: center; }
}
.prm-fiyat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 18px; }
.prm-fiyat b { font-size: 2rem; font-weight: 800; color: #0d1f3c; line-height: 1; }
.prm-fiyat span { font-size: 14px; font-weight: 600; color: #6b4d00; }
.prm-tablo th small { display: block; font-size: 12px; font-weight: 600; color: #6b7c85; margin-top: 2px; }
.prm-tablo th.prm-sutun small { color: #8a6500; }

/* ---- Anasayfa Premium tanıtımı: sağ sütun kutusu (masaüstü) ve şerit (mobil / tablet) ---- */
.prm-rail { display: block; margin: 0 0 12px; padding: 14px 14px 12px; border: 1px solid #f1dc8a; border-radius: 12px; background: linear-gradient(160deg, #fff6d6 0%, #fffdf5 70%); text-decoration: none !important; color: #0d1f3c !important; box-shadow: inset 0 3px 0 #e8b923; }
.prm-rail:hover { border-color: #e8b923; }
.prm-rail-rozet, .prm-serit-rozet { display: inline-block; padding: 2px 9px; border-radius: 999px; background: linear-gradient(180deg, #ffe58a, #f5c84c); color: #6b4d00; font-size: 11px; font-weight: 800; letter-spacing: .4px; }
.prm-rail strong { display: block; font-size: 16px; line-height: 1.3; margin: 8px 0 4px; }
.prm-rail-alt { display: block; font-size: 12.5px; line-height: 1.5; color: #4a5a62; }
.prm-rail-fiyat { display: block; margin: 10px 0; font-size: 12.5px; color: #4a5a62; }
.prm-rail-fiyat b { font-size: 20px; color: #0d1f3c; font-weight: 800; margin-right: 4px; }
.prm-rail-dugme { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: 999px; background: #02abcf; color: #fff; font-weight: 700; font-size: 14px; }
.prm-serit { display: none; }
@media (max-width: 991px) {
  .prm-serit { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid #f1dc8a; border-radius: 12px; background: linear-gradient(160deg, #fff6d6, #fffdf5); text-decoration: none !important; color: #0d1f3c !important; box-shadow: inset 3px 0 0 #e8b923; }
  .prm-serit-rozet { flex: 0 0 auto; font-size: 10.5px; padding: 2px 8px; }
  .prm-serit-metin { flex: 1 1 auto; font-size: 13px; line-height: 1.35; }
  .prm-serit-metin b { font-weight: 800; }
  .prm-serit-ok { flex: 0 0 auto; color: #0279a0; font-weight: 700; font-size: 13px; white-space: nowrap; }
}
.prm-dukkan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prm-dukkan li { padding: 16px 14px; border: 1px solid #cfeaf3; border-radius: 12px; background: #f2fbfe; }
.prm-dukkan-ikon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #02abcf; color: #fff; margin: 0 0 10px; }
.prm-dukkan strong { display: block; font-size: 15.5px; margin: 0 0 4px; }
.prm-dukkan li > span:last-child { display: block; font-size: 13.5px; line-height: 1.55; color: #3d4f58; }
@media (max-width: 767px) { .prm-dukkan { grid-template-columns: 1fr; } }

/* ---- Firma sayfası: yol tarifi ve aynı ildeki diğer firmalar ---- */
.fd-yol-dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid #b9e4f0; background: #fff; color: #0279a0 !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.fd-yol-dugme:hover { background: #f2fbfe; border-color: #02abcf; }
.fd-harita-linkler { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.fd-harita-linkler a { color: #0279a0; font-size: 14px; font-weight: 600; }
.fd-harita-linkler .fa { margin-right: 4px; }
.fd-yakin-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fd-yakin-kart { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e6ebee; border-radius: 12px; background: #fff; color: #0d1f3c !important; text-decoration: none !important; }
.fd-yakin-kart:hover { border-color: #02abcf; }
.fd-yakin-kart.premium { border-color: #f1dc8a; box-shadow: inset 3px 0 0 #e8b923; }
.fd-yakin-logo { flex: 0 0 72px; width: 72px; height: 54px; border: 1px solid #eef1f4; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fd-yakin-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fd-yakin-logo span { font-size: 22px; font-weight: 800; color: #02abcf; }
.fd-yakin-govde { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fd-yakin-govde strong { font-size: 15px; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fd-yakin-govde small { font-size: 12.5px; color: #5a6f78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-yakin-kart > .fa { color: #a3b0b7; font-size: 20px; }
.fd-yakin-tumu { display: inline-block; margin-top: 12px; color: #0279a0; font-weight: 600; }
@media (max-width: 767px) {
  .fd-yakin-liste { grid-template-columns: 1fr; }
  .fd-yol-dugme { flex: 1 1 auto; }
}
/* "Sipariş Ver" düğmesine basınca sipariş formu kutusu kısa süre parlayarak dikkat çeker */
@keyframes fd-vurgu { 0% { box-shadow: 0 0 0 0 rgba(2, 171, 207, .55); border-color: #02abcf; } 70% { box-shadow: 0 0 0 14px rgba(2, 171, 207, 0); border-color: #02abcf; } 100% { box-shadow: 0 0 0 0 rgba(2, 171, 207, 0); } }
.fd-siparis.fd-vurgu { animation: fd-vurgu 1.4s ease-out 2; }

/* ---- Canlı akış: bugün paylaşılanlarda zamanın yanında kırmızı nabız noktası (evdennakliyateve.com/defter gibi) ---- */
.ilk-bugun { position: relative; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: #d7002f; flex-shrink: 0; vertical-align: 1px; }
.ilk-bugun::after { content: ""; position: absolute; left: -7px; top: -7px; width: 20px; height: 20px; box-sizing: border-box; border: 1.5px solid #d7002f; border-radius: 50%; opacity: 0; transform: scale(.3); animation: ilk-nabiz 2s cubic-bezier(.2, .6, .4, 1) infinite; pointer-events: none; }
@keyframes ilk-nabiz { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ilk-bugun::after { animation: none; content: none; } }

/* Saydam arka planlı görseller (logolar): zemin beyaz (SiteShell → saydamKontrol) */
.ilk-gorsel.saydam, .rail-firmalar .portfolio-item.saydam { background: #fff !important; }

/* Telefonda canlı akışın arasındaki "Firmalar" şeridi kaldırıldı */
.mobil-firma-serit { display: none !important; }
.prm-deger { font-weight: 700; font-size: 14px; color: #0d1f3c; }
.prm-sutun .prm-deger { color: #6b4d00; }

/* ---- Öne çıkan ilan (99 TL / 3 gün): akışın üstündeki kart, sağ sütundaki ilk kutu, sahibine "Öne Çıkar" düğmesi ---- */
/* Paylaşım kutusu ile öne çıkan ilan arasında boşluk (masaüstü, tablet ve mobil) */
.onecikan-blok { margin: 16px 0 6px !important; }
.ilan-k.ilan-k-onecikan { position: relative; border: 2px solid #e8b923 !important; background: linear-gradient(180deg, #fffaea 0%, #fff 60%) !important; box-shadow: 0 4px 14px rgba(232, 185, 35, .18) !important; padding-top: 30px; }
.onecikan-etiket { position: absolute; top: -1px; left: 16px; padding: 3px 10px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #ffe58a, #f5c84c); color: #6b4d00; font-size: 11px; font-weight: 800; letter-spacing: .4px; }
.ilk-onecikar { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #f1dc8a; background: #fff8e1; color: #6b4d00; font-size: 14px; font-weight: 700; cursor: pointer; }
.ilk-onecikar:hover { background: #ffe58a; }
.oc-rail { position: relative; display: block; margin: 0 0 8px; border: 2px solid #e8b923; border-radius: 10px; overflow: hidden; background: #fff; color: #0d1f3c !important; text-decoration: none !important; box-shadow: 0 3px 10px rgba(232, 185, 35, .18); }
.oc-rail:hover { border-color: #d4a514; }
.oc-etiket { position: absolute; top: 0; left: 0; z-index: 2; padding: 3px 9px; border-radius: 0 0 8px 0; background: linear-gradient(180deg, #ffe58a, #f5c84c); color: #6b4d00; font-size: 10.5px; font-weight: 800; letter-spacing: .4px; }
.oc-gorsel { display: block; aspect-ratio: 553 / 259; background: #f4f6f8; }
.oc-gorsel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oc-govde { display: block; padding: 8px 10px 9px; }
.oc-govde strong { display: block; font-size: 14px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.oc-govde span { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; color: #b07d00; }
.oc-rail-yazi { background: linear-gradient(160deg, #fff6d6, #fffdf5); }
.oc-rail-yazi .oc-govde { padding: 30px 12px 14px; min-height: 116px; display: flex; flex-direction: column; justify-content: center; }
.oc-rail-yazi .oc-govde strong { font-size: 16px; }

/* ---- Standart ilan kartı: her ilanda aynı düzen — satıcı profili, fotoğraf, fiyat, ilan tarihi / numarası ---- */
.ilan-std .std-avatar { text-decoration: none !important; overflow: visible; }
.ilan-std .std-govde { align-items: flex-start; }
#paylasimlar .ilan-std .ilk-gorsel.std-bos, .ilan-std .ilk-gorsel.std-bos { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px dashed #d5dde3; background: #f6fafb; color: #8fb6c4 !important; text-decoration: none !important; font-size: 12px; }
.ilan-std .ilk-gorsel.std-bos svg { display: block; }
.ilan-std .ilan-tur { margin-bottom: 4px; }
.ilan-std .ilan-baslik { display: block; margin: 0 0 6px; }
.std-fiyat { display: flex; align-items: baseline; gap: 6px; margin: 0 0 8px; }
.std-fiyat b { font-size: 21px; font-weight: 800; color: #0d7a3b; letter-spacing: -.2px; line-height: 1.2; }
.std-fiyat span { font-size: 13px; color: #667085; font-weight: 600; }
.std-fiyat span + b { font-size: 16px; color: #0d1f3c; font-weight: 700; }
.std-fiyat-sor b { font-size: 16px; color: #0287ab; }
.std-detay { margin-top: 10px; }
.ilan-std .std-detay .ilan-alanlar { margin: 0 0 8px; }
.ilan-std .std-fiyat { margin: 0; }
.std-bilgi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: #f7f9fb; font-size: 13px; color: #667085; }
.std-bilgi .fa { color: #02abcf; margin-right: 3px; }
.std-bilgi .trh { float: none; display: inline; padding: 0; }
.std-no b { color: #0d1f3c; }
@media (max-width: 575px) {
  .ilan-std .std-satici { flex-wrap: wrap; }
  .ilan-std .std-satici .ilk-kim { flex: 1 1 calc(100% - 50px); min-width: 0; }
  .ilan-std .paylasim-kategori { margin-left: 50px !important; }
  .ilan-std .ilan-baslik { font-size: 15px; }
  .ilan-std .ilk-gorsel.std-bos span { display: none; }
  .ilan-std .ilk-gorsel.std-bos svg { width: 28px; height: 28px; }
  .std-fiyat b { font-size: 19px; }
  .std-bilgi { font-size: 12.5px; padding: 7px 10px; }
}

/* ---- İlan detay sayfası: standart düzen — fotoğraf + özet (fiyat, tarih, ilan no, konum) ve satıcı profili ---- */
.ilan-detay-std .ilan-detay-ust .paylasim-kategori { margin: 0; }
.ids-ust { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; margin: 6px 0 20px; align-items: start; }
.ids-ana { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid #e6e9ef; background: #f6fafb; }
.ids-ana img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* Görsel kutuyu boşluksuz tam doldurur (logo dahil); yalnız saydam arka planlı görseller kırpılmadan beyaz zemine sığar */
.ids-ana.saydam img, .ids-b-gorsel.saydam img { object-fit: contain; background: #fff; }
.ids-bos { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8fb6c4; font-size: 13px; }
.ids-kucukler { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.ids-kucukler a { display: block; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; border: 1px solid #e6e9ef; }
.ids-kucukler img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ids-kucukler a { cursor: pointer; opacity: .75; transition: opacity .15s, box-shadow .15s; }
.ids-kucukler a:hover { opacity: 1; }
.ids-kucukler a.secili { opacity: 1; box-shadow: 0 0 0 2px #02abcf; border-color: #02abcf; }
.ids-ozet { display: flex; flex-direction: column; gap: 12px; }
.ids-fiyat { padding: 12px 14px; border-radius: 10px; background: #f1faf4; border: 1px solid #d5efdf; }
.ids-fiyat .std-fiyat { margin: 0; }
.ids-fiyat .std-fiyat b { font-size: 26px; }
.ids-fiyat .std-fiyat span + b { font-size: 18px; }
.ids-fiyat .std-fiyat-sor b { font-size: 18px; }
.ids-liste { margin: 0; border: 1px solid #e6e9ef; border-radius: 10px; overflow: hidden; }
.ids-liste > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #f0f2f5; font-size: 14px; }
.ids-liste > div:last-child { border-bottom: 0; }
.ids-liste dt { font-weight: 400; color: #667085; white-space: nowrap; }
.ids-liste dd { margin: 0; font-weight: 700; color: #0d1f3c; text-align: right; }
.ids-liste dd small { display: block; font-weight: 400; color: #667085; font-size: 12px; }
.ids-liste dd small .trh { float: none; display: inline; padding: 0; }
.ids-satici { padding: 12px; border: 1px solid #e6e9ef; border-radius: 10px; }
.ids-satici .ilk-ust { align-items: center; flex-wrap: nowrap !important; }
.ids-satici .ilk-kim { flex: 1 1 auto !important; min-width: 0; }
.ids-dugmeler { margin-top: 12px; }
.ids-dugmeler .ilan-dugmeler { display: flex; gap: 8px; margin: 0; }
.ids-dugmeler .ilan-dugmeler > * { flex: 1 1 0; justify-content: center; white-space: nowrap; font-size: 15px; padding-left: 10px; padding-right: 10px; }
@media (min-width: 768px) { .ids-dugmeler .ilan-dugmeler { flex-direction: column; } .ids-dugmeler .ilan-dugmeler > * { flex: 0 0 auto; width: 100%; } }
.ids-profil { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #02abcf !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.ilan-detay-std .ilan-guvenlik { margin-top: 4px !important; }
.ids-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ids-mini li a { height: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 0; overflow: hidden; gap: 0; border: 1px solid #e1eaee; border-radius: 10px; background: #fff; color: #0d1f3c; text-decoration: none; }
.ids-mini li a:hover { border-color: #02abcf; }
.ids-mini li strong { font-size: 14px; line-height: 1.35; }
.ids-b-gorsel { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #f6fafb; border-bottom: 1px solid #eef0f4; }
.ids-b-gorsel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ids-b-govde { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 10px 12px 12px; }
.ids-b-fiyat .std-fiyat { margin: 0; }
.ids-b-fiyat .std-fiyat b { font-size: 16px; }
.ids-b-fiyat .std-fiyat span + b { font-size: 14px; }
@media (max-width: 767px) {
  .ids-ust { grid-template-columns: 1fr; gap: 12px; }
  .ids-kucukler { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ids-fiyat .std-fiyat b { font-size: 23px; }
}
@media (max-width: 575px) {
  .ids-mini { grid-template-columns: 1fr; }
  .ids-mini li a { flex-direction: row; align-items: stretch; }
  .ids-b-gorsel { flex: 0 0 112px; width: 112px; aspect-ratio: auto; min-height: 96px; border-bottom: 0; border-right: 1px solid #eef0f4; }
  .ids-b-govde { padding: 10px 12px; }
}

/* ---- Premium firma ilanı: altın şerit, büyük logo, güven satırı, büyük fotoğraf + küçük fotoğraflar ---- */
.ilan-std.prm-kart { padding-top: 0; overflow: hidden; border: 2px solid #e8b923 !important; box-shadow: 0 6px 22px rgba(232, 185, 35, .22) !important; }
.ilan-std.prm-kart.ilan-k-onecikan { padding-top: 30px; }
.prm-bant { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 -18px 14px; padding: 7px 18px; background: linear-gradient(90deg, #fff1c2, #ffe08a 60%, #f5c84c); font-weight: 800; font-size: 12px; line-height: 1.2; letter-spacing: .4px; color: #6b4d00; }
.prm-bant-rozet { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .55); }
.prm-bant-dogru { font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.ilan-std .ilk-avatar.prm-avatar { box-shadow: 0 0 0 2px #f5c84c, 0 0 0 4px #fff4cc; }
.prm-guven { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; font-size: 12.5px; color: #6b4d00; font-weight: 600; }
.prm-acik { color: #0d7a3b; }
.prm-kapali { color: #98a2b3; }
.prm-foto-say { position: absolute; z-index: 2; right: 6px; bottom: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12px; font-weight: 700; }
.prm-profil-dugme { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 8px; background: linear-gradient(180deg, #ffe58a, #f5c84c); color: #6b4d00 !important; font-weight: 800; text-decoration: none !important; white-space: nowrap; }
.prm-diger { display: block; margin: 12px -18px -14px; padding: 10px 18px; background: #fffaea; border-top: 1px solid #f6e7b0; color: #6b4d00 !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.prm-diger:hover { background: #fff3cc; }
@media (max-width: 575px) {
  .prm-bant { margin: 0 -14px 12px; padding: 7px 14px; }
  .prm-diger { margin: 12px -14px -12px; padding: 10px 14px; }
  .prm-profil-dugme { display: none; }
}
/* Firma sayfası: firmanın ilanları */
.fd-ilanlar .ids-mini { margin-top: 4px; }
