/* ==========================================================================
   KATEGORI / TUR LISTESI SAYFASI
   Kompakt filtre paneli + sabit yukseklikli liste satiri + izgara secenegi
   ========================================================================== */

/* ==========================================================================
   1. IKI KOLONLU YERLESIM
   ========================================================================== */
.kt { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: var(--s7); align-items: start; }

.kt__yan { position: sticky; top: calc(var(--hd-h-s) + var(--s4)); }
.kt__yan-bas { display: none; }

@media (max-width: 1024px) {
  .kt { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .kt__yan {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: var(--z-dr);
    max-height: 86vh; display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--r4) var(--r4) 0 0;
    box-shadow: var(--sh4); transform: translateY(101%); transition: transform var(--t3);
  }
  .kt__yan.on { transform: translateY(0); }
  .kt__yan-bas {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line-soft); flex: none;
  }
  .kt__yan-bas span { font-size: var(--fs-h4); font-weight: var(--fw-700); color: var(--tx); }
  .kt__perde {
    position: fixed; inset: 0; z-index: var(--z-ov);
    background: rgba(16,30,54,.5); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity var(--t2), visibility var(--t2);
  }
  .kt__perde.on { opacity: 1; visibility: visible; }
}


/* ==========================================================================
   2. MOBIL FILTRE TETIGI
   ========================================================================== */
.kt__flt-ac {
  display: none; align-items: center; justify-content: center; gap: var(--s2);
  width: 100%; min-height: 46px; margin-bottom: var(--s4);
  font-size: var(--fs-xs); font-weight: var(--fw-700); color: var(--tx);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r2);
}
.kt__flt-ac svg { color: var(--brand); }
.kt__flt-n { display: inline-flex; align-items: center; justify-content: center;
             min-width: 20px; height: 20px; padding: 0 6px; font-size: 11px;
             color: var(--white); background: var(--brand); border-radius: var(--rp); }
@media (max-width: 1024px) { .kt__flt-ac { display: flex; } }


/* ==========================================================================
   3. FILTRE PANELI
   --------------------------------------------------------------------------
   DOLGU KURALI: acilir kutunun animasyonu grid-template-rows 0fr -> 1fr ile
   yapilir. Dolgu, animasyonlu kutunun KENDISINE verilirse kutu tam
   kapanmaz; cocuklara margin verilirse width:100% olan alanlar tasar
   (ekran goruntusundeki kayma buydu). Bu yuzden dolgu, en ictegi
   .flt__p sarmalayicisinda durur.
   ========================================================================== */
.flt { background: var(--white); border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; }
@media (max-width: 1024px) {
  .flt { border: 0; border-radius: 0; overflow-y: auto; flex: 1; }
}

.flt__bas { display: flex; align-items: center; justify-content: space-between;
            padding: var(--s4) var(--s5); border-bottom: 1px solid var(--line-soft); }
.flt__bas-b { display: inline-flex; align-items: center; gap: var(--s2);
              font-size: var(--fs-xs); font-weight: var(--fw-700); color: var(--tx); }
.flt__bas-b svg { color: var(--brand); }
.flt__sil { font-size: var(--fs-3xs); font-weight: var(--fw-600); color: var(--brand);
            text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .flt__bas { display: none; } }

.flt__g { border-bottom: 1px solid var(--line-soft); }
.flt__g:last-of-type { border-bottom: 0; }

.flt__gb {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  width: 100%; padding: var(--s4) var(--s5);
  font-size: var(--fs-2xs); font-weight: var(--fw-700); letter-spacing: .02em;
  color: var(--tx); text-align: left; transition: color var(--t1);
}
.flt__gb:hover { color: var(--brand); }
.flt__gb svg { flex: none; color: var(--tx-faint); transition: transform var(--t2); }
.flt__g.acik .flt__gb svg { transform: rotate(180deg); }

.flt__gv    { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t2); }
.flt__g.acik .flt__gv { grid-template-rows: 1fr; }
.flt__gv-ic { overflow: hidden; min-height: 0; }
.flt__p     { padding: 0 var(--s5) var(--s4); }   /* dolgu YALNIZCA burada */

/* Secenek listesi */
.flt__ls { display: flex; flex-direction: column; gap: 1px; }
.flt__ls--kaydir { max-height: 196px; overflow-y: auto; margin-right: calc(var(--s2) * -1);
                   padding-right: var(--s2); }

.onay { display: flex; align-items: center; gap: var(--s3);
        padding: 6px var(--s2); margin-inline: calc(var(--s2) * -1);
        border-radius: var(--r1); font-size: var(--fs-2xs); color: var(--tx-soft);
        cursor: pointer; transition: background var(--t1), color var(--t1); }
.onay:hover { background: var(--mist); color: var(--tx); }
.onay input { flex: none; width: 16px; height: 16px; margin: 0; cursor: pointer; accent-color: var(--brand); }
.onay > span:first-of-type { flex: 1; min-width: 0; }
.flt__n { flex: none; font-size: 11px; font-weight: var(--fw-600); color: var(--tx-faint); }

/* Kategori baglantilari */
.flt__kat { display: flex; align-items: center; gap: var(--s3);
            padding: 7px var(--s2); margin-inline: calc(var(--s2) * -1);
            border-radius: var(--r1); font-size: var(--fs-2xs); color: var(--tx-soft);
            transition: background var(--t1), color var(--t1); }
.flt__kat:hover { background: var(--brand-50); color: var(--brand-700); }
.flt__kat.on { background: var(--brand-50); color: var(--brand-700); font-weight: var(--fw-700); }
.flt__kat > span:first-child { flex: 1; min-width: 0; }

/* Cip secenekler */
.flt__cip { display: flex; flex-wrap: wrap; gap: var(--s2); }
.cipf { position: relative; cursor: pointer; }
.cipf input { position: absolute; opacity: 0; width: 0; height: 0; }
.cipf > span {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px var(--s3);
  font-size: var(--fs-3xs); font-weight: var(--fw-600); color: var(--tx-soft);
  background: var(--mist); border: 1px solid transparent; border-radius: var(--rp);
  transition: all var(--t1);
}
.cipf > span small { font-size: 10px; color: var(--tx-faint); }
.cipf > span svg { color: var(--tx-faint); }
.cipf:hover > span { background: var(--mist-2); }
.cipf input:checked + span { color: var(--white); background: var(--brand); border-color: var(--brand); }
.cipf input:checked + span small,
.cipf input:checked + span svg { color: rgba(255,255,255,.8); }
.cipf input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Grup ici arama */
.flt__ara { position: relative; display: flex; align-items: center; margin-bottom: var(--s3); }
.flt__ara svg { position: absolute; left: var(--s3); color: var(--tx-faint); pointer-events: none; }
.flt__ara input {
  width: 100%; padding: 7px var(--s3) 7px var(--s7);
  font-size: var(--fs-2xs); color: var(--tx);
  background: var(--mist); border: 1px solid transparent; border-radius: var(--r2);
}
.flt__ara input:focus { background: var(--white); border-color: var(--brand); outline: none; }

/* Dönem seçici — yerli takvim alani tarayicilar arasi farkli davranir,
   bu yuzden sabit yukseklik ve tam genislik verilir. */
.flt__ay {
  display: block; width: 100%; min-height: 40px;
  padding: var(--s2) var(--s3); font-size: var(--fs-2xs);
  font-family: var(--font); color: var(--tx);
  background: var(--mist); border: 1px solid transparent; border-radius: var(--r2);
}
.flt__ay:focus { background: var(--white); border-color: var(--brand); outline: none; }
.flt__ay::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .5; }
.flt__ay:hover::-webkit-calendar-picker-indicator { opacity: 1; }

.flt__mob { display: none; gap: var(--s3); padding: var(--s4) var(--s5);
            border-top: 1px solid var(--line-soft); background: var(--white); }
@media (max-width: 1024px) { .flt__mob { display: flex; position: sticky; bottom: 0; } }


/* ==========================================================================
   4. ARAC CUBUGU
   ========================================================================== */
.kt__bar { display: flex; align-items: center; justify-content: space-between;
           gap: var(--s5); flex-wrap: wrap; padding-bottom: var(--s4);
           margin-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.kt__bar-sol { font-size: var(--fs-2xs); color: var(--tx-mute); }
.kt__bar-sol strong { font-size: var(--fs-h4); font-weight: var(--fw-800);
                      color: var(--tx); margin-right: 4px; }
.kt__bar-sag { display: flex; align-items: center; gap: var(--s3); }

.kt__sirala { position: relative; display: inline-flex; align-items: center; gap: var(--s2);
              padding-left: var(--s3); background: var(--white);
              border: 1px solid var(--line); border-radius: var(--r2); }
.kt__sirala svg { color: var(--tx-faint); flex: none; }
.kt__sirala select {
  min-height: 40px; padding: 0 var(--s7) 0 0; font-size: var(--fs-2xs);
  font-weight: var(--fw-600); color: var(--tx); background: transparent;
  border: 0; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23F47D18' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s3) center;
}
.kt__sirala select:focus { outline: none; }

.kt__gor { display: flex; gap: 2px; padding: 3px; background: var(--mist); border-radius: var(--r2); }
.kt__gor-b { display: inline-flex; align-items: center; justify-content: center;
             width: 36px; height: 34px; color: var(--tx-faint); border-radius: var(--r1);
             transition: all var(--t1); }
.kt__gor-b:hover { color: var(--tx); }
.kt__gor-b.on { color: var(--brand); background: var(--white); box-shadow: var(--sh1); }
@media (max-width: 560px) { .kt__gor { display: none; } }


/* ==========================================================================
   5. AKTIF FILTRE CIPLERI
   ========================================================================== */
.kt__aktif { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s5); }
.acip { display: inline-flex; align-items: center; gap: var(--s2); padding: 5px var(--s3);
        font-size: var(--fs-3xs); font-weight: var(--fw-600); color: var(--brand-700);
        background: var(--brand-50); border: 1px solid var(--brand-200);
        border-radius: var(--rp); transition: all var(--t1); }
.acip:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.acip svg { opacity: .7; }
.acip--sil { color: var(--tx-mute); background: transparent; border-color: var(--line); }
.acip--sil:hover { color: var(--no); background: var(--no-bg); border-color: var(--no); }


/* ==========================================================================
   6. SONUC KAPSAYICISI
   ========================================================================== */
.kt__sonuc--liste  { display: flex; flex-direction: column; gap: var(--s4); }
/* grid-auto-rows:1fr TUM satirlari en uzun kartin yuksekligine esitler;
   .kart{height:100%} ile birlesince butun kartlar birebir ayni boyda olur.
   Sabit bir px degeri yerine bu yontem secildi — icerik degisirse kart
   kirpilmaz, hepsi birlikte buyur. */
.kt__sonuc--izgara { display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
                     grid-auto-rows: 1fr; gap: var(--s5); }
.kt__sonuc--izgara .kt__oge    { display: flex; min-width: 0; }
.kt__sonuc--izgara .kt__izgara { display: flex; flex: 1; min-width: 0; }

.kt__sonuc--izgara .kt__liste  { display: none; }
.kt__sonuc--liste  .kt__izgara { display: none; }
.kt__oge.gizli { display: none !important; }

@media (max-width: 1280px) { .kt__sonuc--izgara { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px)  { .kt__sonuc--izgara { grid-template-columns: minmax(0,1fr); } }


/* ==========================================================================
   7. LISTE SATIRI — SABIT YUKSEKLIK
   --------------------------------------------------------------------------
   Tum satirlar ayni yukseklikte olur; icerik uzunlugu satiri buyutmez.
   Fiyat kolonu dar tutulur, kazanilan alan bilgi kolonuna verilir.
   ========================================================================== */
.str {
  --str-h: 208px;
  position: relative;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr) 164px;
  height: var(--str-h);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  overflow: hidden;
  transition: box-shadow var(--t2), border-color var(--t2), transform var(--t2);
}
.str:hover { box-shadow: var(--sh3); border-color: var(--brand-200); transform: translateY(-2px); }

/* Sol kenarda ince marka vurgusu — hover'da acilir */
.str::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--g-brand); transform: scaleY(0); transform-origin: top;
  transition: transform var(--t2); z-index: var(--z-2);
}
.str:hover::before { transform: scaleY(1); }

.str--dolu { opacity: .9; }
.str--dolu .str__gor img { filter: grayscale(.65); }

/* -- Görsel -- */
.str__medya { position: relative; overflow: hidden; }
.str__gor { display: block; width: 100%; height: 100%; }
/* transform ve filter birlikte — tek basina transform yazilirsa iskelet
   kuralindaki kisayol bu satiri ezip hover gecisini iptal eder. */
.str__gor img { width: 100%; height: 100%; object-fit: cover; object-position: center;
                transform: scale(1.001);
                transition: transform 1.15s cubic-bezier(.16,.68,.32,1),
                            filter .35s var(--e); }
.str:hover .str__gor img { transform: scale(1.07); }
.str__perde { position: absolute; inset: 0; background: var(--veil-card); pointer-events: none; }

.str__rz-ust { position: absolute; top: var(--s3); left: var(--s3); z-index: var(--z-2);
               display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.str__fav { position: absolute; top: var(--s3); right: var(--s3); z-index: var(--z-2);
            width: 32px; height: 32px; }

/* -- Bilgi kolonu -- */
.str__gov { display: flex; flex-direction: column; gap: var(--s2);
            padding: var(--s4) var(--s5); min-width: 0; overflow: hidden; }

.str__meta { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
             font-size: var(--fs-3xs); font-weight: var(--fw-600); color: var(--tx-mute); }
.str__meta span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.str__meta svg { color: var(--brand); }

.str__bas { font-size: var(--fs-h4); font-weight: var(--fw-700); line-height: 1.3;
            color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.str__bas a { transition: color var(--t1); }
.str__bas a:hover { color: var(--brand); }

.str__rota { font-size: var(--fs-2xs); color: var(--tx-mute); line-height: 1.45; }

.str__trh { margin-top: auto; display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.str__trh .trh__ls { flex-wrap: nowrap; overflow: hidden; }

/* -- Fiyat kolonu — dar -- */
.str__fiy {
  display: flex; flex-direction: column; align-items: stretch; justify-content: center;
  gap: 1px; padding: var(--s4); text-align: center;
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
  border-left: 1px solid var(--line-soft);
}
.str__esk { font-size: var(--fs-3xs); color: var(--tx-faint); text-decoration: line-through; }
.str__tut { display: block; font-size: 1.375rem; font-weight: var(--fw-800);
            letter-spacing: var(--ls-tt); color: var(--brand); line-height: 1.1; }
.str__tut small { font-size: var(--fs-2xs); font-weight: var(--fw-700); margin-left: 2px; }
.str__on  { font-size: 10px; color: var(--tx-mute); margin-bottom: var(--s3); }
.str__sor { font-size: var(--fs-3xs); font-weight: var(--fw-600); color: var(--tx-mute);
            line-height: 1.35; margin-bottom: var(--s3); }
.str__bt  { width: 100%; }

/* -- Duyarlı -- */
@media (max-width: 1100px) {
  .str { grid-template-columns: 200px minmax(0, 1fr) 148px; --str-h: 196px; }
}
@media (max-width: 860px) {
  .str { grid-template-columns: 156px minmax(0, 1fr); height: auto; --str-h: auto; }
  .str__fiy { grid-column: 1 / -1; flex-direction: row; align-items: center;
              justify-content: space-between; text-align: left; gap: var(--s4);
              border-left: 0; border-top: 1px solid var(--line-soft); padding: var(--s3) var(--s4); }
  .str__on { margin-bottom: 0; }
  .str__sor { margin-bottom: 0; }
  .str__bt { width: auto; flex: none; }
  .str__gov { padding: var(--s4); }
  .str__medya { min-height: 190px; }
}
@media (max-width: 560px) {
  .str { grid-template-columns: minmax(0, 1fr); }
  .str__medya { min-height: 170px; }
  .str__meta { gap: var(--s3); }
}


/* ==========================================================================
   8. SONUC YOK
   ========================================================================== */
.kt__yok { display: flex; flex-direction: column; align-items: center; gap: var(--s4);
           padding: var(--s10) var(--s5); text-align: center;
           background: var(--mist); border-radius: var(--r3); }
.kt__yok h3 { font-size: var(--fs-h3); }
.kt__yok p { font-size: var(--fs-s); color: var(--tx-mute); }


/* ==========================================================================
   9. SAYFALAMA — "DAHA FAZLA GÖSTER"
   --------------------------------------------------------------------------
   12 turdan sonrasi HTML'de kalir, yalnizca gorunumden cikar. Arama motoru
   tum katalogu okur; kullanici sayfayi bir bakista tarayabilir.
   ========================================================================== */
.kt__oge--fazla { display: none !important; }

.dfz { display: flex; flex-direction: column; align-items: center; gap: var(--s3);
       margin-top: var(--s7); padding-top: var(--s6); border-top: 1px solid var(--line); }

.dfz__cbk { width: 220px; height: 5px; background: var(--mist-2);
            border-radius: var(--rp); overflow: hidden; }
.dfz__dolu { display: block; height: 100%; background: var(--g-brand);
             border-radius: var(--rp); transition: width var(--t3); }

.dfz__bilgi { font-size: var(--fs-2xs); color: var(--tx-mute); }
.dfz__bilgi strong { font-weight: var(--fw-800); color: var(--tx); }

.dfz__bt { margin-top: var(--s2); }
.dfz__bt svg { transition: transform var(--t1); }
.dfz__bt:hover svg { transform: translateY(2px); }


/* ==========================================================================
   10. LISTE ALTI ACIKLAMA (SEO METNI)
   ========================================================================== */
.syz { background: var(--mist); border-top: 1px solid var(--line); }
.syz__ic { max-width: 100%; }
.syz__b { margin-top: var(--s6); margin-bottom: var(--s3);
          font-size: var(--fs-h4); font-weight: var(--fw-700); color: var(--tx); }
.syz__b:first-child { margin-top: 0; }
.syz__ic p { margin-bottom: var(--s4); font-size: var(--fs-s);
             line-height: 1.75; color: var(--tx-soft); }
.syz__ic p:last-child { margin-bottom: 0; }

.syz__bag { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; }
.syz__bag a { display: inline-flex; padding: 6px var(--s4);
              font-size: var(--fs-2xs); font-weight: var(--fw-600); color: var(--koyu);
              background: var(--white); border: 1px solid var(--line);
              border-radius: var(--rp); transition: all var(--t1); }
.syz__bag a:hover { color: var(--white); background: var(--brand); border-color: var(--brand); }

/* ==========================================================================
   11. ISKELET YERLESIMLERI
   --------------------------------------------------------------------------
   Gercek .str satiri ve .kart ile AYNI izgara/olculere sahiptir; icerik
   yerine oturdugunda sayfa kaymaz.
   ========================================================================== */
.isk-str {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr) 164px;
  height: 208px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  overflow: hidden;
}
.isk-str__gov { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4) var(--s5); }
.isk-str__st  { display: flex; gap: var(--s4); }
.isk-str__pil { display: flex; gap: 5px; }
.isk-str__fiy { display: flex; flex-direction: column; align-items: stretch; justify-content: center;
                gap: var(--s3); padding: var(--s4);
                background: var(--mist); border-left: 1px solid var(--line-soft); }

.isk-kart {
  display: flex; flex-direction: column; height: 100%; width: 100%;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r3); overflow: hidden;
}
.isk-kart .isk--gor { aspect-ratio: 4/3; height: auto; flex: none; }
.isk-kart__gov { display: flex; flex-direction: column; flex: 1; gap: var(--s3); padding: var(--s4); }
.isk-kart__alt { margin-top: auto; display: flex; align-items: flex-end;
                 justify-content: space-between; gap: var(--s3);
                 padding-top: var(--s4); border-top: 1px solid var(--line-soft); }
.isk-kart__alt .isk--bt { width: 96px; }

@media (max-width: 1100px) {
  .isk-str { grid-template-columns: 200px minmax(0, 1fr) 148px; height: 196px; }
}
@media (max-width: 860px) {
  .isk-str { grid-template-columns: 156px minmax(0, 1fr); height: auto; min-height: 190px; }
  .isk-str__fiy { grid-column: 1 / -1; flex-direction: row; align-items: center;
                  border-left: 0; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 560px) {
  .isk-str { grid-template-columns: minmax(0, 1fr); }
  .isk-str .isk--gor { min-height: 170px; }
}

/* Filtre / siralama gecisi — sonuclar kisaca soluklasir */
.kt__sonuc { transition: opacity var(--t2); }
.kt__sonuc.yenile { opacity: .45; pointer-events: none; }




/* ==========================================================================
   13. ACILIS ISKELETI
   --------------------------------------------------------------------------
   Kartlar hazir olana kadar (gorseller yuklenene kadar) iskelet gorunur.
   .js olmadan iskelet hic basilmaz ve gercek kartlar dogrudan gelir —
   icerik hicbir kosulda kaybolmaz, arama motoru her zaman kartlari gorur.
   ========================================================================== */
.kt__isk { display: none; }
.js .kt__isk { display: flex; }
.js .kt__isk.kt__sonuc--izgara { display: grid; }
.js .kt__isk.bitti { display: none; }

/* Iskelet gorunurken gercek sonuclar yer kaplamadan bekler */
.js .kt__sonuc:not(.kt__isk):not(.hazir) {
  opacity: 0; height: 0; overflow: hidden; pointer-events: none;
}
.js .kt__sonuc.hazir { animation: kt-gir .34s var(--e); }
@keyframes kt-gir {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .js .kt__sonuc.hazir { animation: none; } }

/* Sonuc yok kutusunda iki butonlu eylem satiri */
.kt__yok-bt { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
