.kategori-top{
    position:relative;
    min-height:220px;
    background:url("../images/index-adiyaman.webp") center center/cover no-repeat;
    overflow:hidden;
    margin:0px;
}
.kategori-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgb(0 0 0 / 80%), rgba(0, 0, 0, .35));
}
.kategori-container{
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 60px auto;
    min-height: 100px;
    padding: 0px;
}
.kategori-bilgi{
	width:35%;
	height:150px;
	background-color:transparent;
	float:left;
	margin-left:10px;
	margin-bottom:50px;
}
.kategori-bilgi h1{
	font-size:32px;
	color:#fff;
	font-weight:600;
}
.kategori-bilgi p{
	font-size:14px;
	color:#fff;
	float:left;
	padding-top:0px;
	padding-right:5px;
	font-weight:400;
}
.kategori-bilgi a{
	text-decoration:none;
	color:#fff;
}
.kategori-bilgi label{
	font-size:15px;
	color:#fff;
	float:left;
	padding-top:20px;
	font-weight:400;
}

.kategori-bilgi-s{
	min-width:45%;
	height:100px;
	background-color:#fff;
	float:right;
	margin-top:20px;
	border-radius:15px;
}
#divici{
	float:left;
	width:29%;
	background:transparent;
	min-height:60px;
	overflow:hidden;
	margin:20px 2%;
	border-right:1px solid #cccccc47;
	padding:7px 4px;
}
#divici-res{
	float: left;
    min-width: 52px;
    background: transparent;
    min-height: 50px;
    margin: 0px 2px;
    border: 1px solid #cccccc47;
    overflow: hidden;
    padding: 9px;
    border-radius: 6px;
    font-size: 30px;
    position: relative;
    justify-content: center;
    text-align: center;
}
#divici-title{
	float:left;
	width:50%;
	background:transparent;
	overflow:hidden;
	min-height:30px;
	margin:0px 10px;
}
#divici-title p{
	font-size:20px;
	color:#222;
	    line-height: 1.2;
	font-weight:600;
}
#divici-title label{
	font-size:15px;
	color:#666;
	font-weight:400;
}












/* ANA ALAN */

.isletme-arsama{
    width:100%;
    max-width:1320px;
    margin:30px auto;
    display:grid;
    grid-template-columns:265px 1fr;
    gap:35px;
    align-items:start;
}


/* =========================
   SOL SIDEBAR
========================= */

.arama-sidebar{
    width:100%;
}

.filtre-karti{
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:12px;
    padding:16px;
    box-sizing:border-box;
    margin-bottom:12px;
    box-shadow:0 3px 12px rgba(0,0,0,.04);
}

.filtre-karti h3{
    margin:0 0 14px;
    font-size:15px;
    font-weight:600;
    color:#222;
}


/* KATEGORİLER */

.kategori-listesi{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.kategori-item{
	min-height: 27px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    font-weight: 400;
    transition: .2s;
    transition: .2s;
    box-sizing: border-box;
}

.kategori-item:hover{
    background:#fff2f3;
}

.kategori-item.active{
    color:#d9272e;
    background:#fff2f3;
    font-weight:600;
}

.kategori-item span{
    min-width: 26px;
    height: 20px;
    padding: 0 6px;
    float: left;
    color: #222;
    font-size: 13px;
    font-weight: 5	00;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}
.kategori-item b{
    min-width:26px;
    height:20px;
    padding:0 6px;
	float:right;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #e5e5e5;
    border-radius:5px;
    background:#fff;
    color:#777;
    font-size:11px;
    font-weight:500;
}

.kategori-item.active b{
    background:#d9272e;
    color:#fff;
    border-color:#d9272e;
}


/* =========================
   FİLTRELER
========================= */

.filtreler{
    padding-top:17px;
}

.filtre-grup{
    margin-top:20px;
}

.filtre-baslik{
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    margin-bottom: 5px;
}


/* FİYAT SLIDER */

.fiyat-slider{
    display:flex;
    align-items:center;
    gap:8px;
    color:#333;
    font-size:11px;
    font-weight:600;
}

.slider-cizgi{
    height:4px;
    background:#ddd;
    flex:1;
    position:relative;
    border-radius:10px;
}

.slider-dolgu{
    position:absolute;
    left:0;
    top:0;
    height:100%;
    width:58%;
    background:#d9272e;
    border-radius:10px;
}

.slider-nokta{
    width:11px;
    height:11px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:50%;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    box-sizing:border-box;
}

.nokta-sol{
    left:0;
}

.nokta-orta{
    left:58%;
}

.nokta-sag{
    right:0;
}


/* PUAN */

.puan-secim{
    display: flex;
    align-items: center;
    gap: 7px;
    height: 23px;
    color: #222;
    cursor: pointer;
    font-size: 14px;
}

.puan-secim input{
    display:none;
}

.radio{
    width:14px;
    height:14px;
    border:1px solid #bbb;
    border-radius:50%;
    position:relative;
    flex-shrink:0;
}

.puan-secim input:checked + .radio{
    border-color:#d9272e;
}

.puan-secim input:checked + .radio:after{
    content:"";
    width:6px;
    height:6px;
    background:#d9272e;
    border-radius:50%;
    position:absolute;
    left:3px;
    top:3px;
}

.yildizlar{
    color:#ffae00;
    letter-spacing:1px;
    font-size:18px;
}

.puan-secim small{
    color:#555;
}


/* CHECKBOX */

.checkbox-secim{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:13px;
    height:25px;
    cursor:pointer;
    position:relative;
}

.checkbox-secim input{
    display:none;
}

.checkbox{
    width:14px;
    height:14px;
    border:1px solid #bbb;
    border-radius:3px;
    box-sizing:border-box;
}

.checkbox-secim input:checked + .checkbox{
    background:#d9272e;
    border-color:#d9272e;
}

.checkbox-secim input:checked + .checkbox:after{
    content:"✓";
    color:#fff;
    font-size: 14px;
    position: absolute;
    left: 2px;
    font-weight: 900;
    top: 3px;
}

.durum-noktasi{
    width:5px;
    height:5px;
    border-radius:50%;
}

.yesil{
    background:#56c85b;
}

.checkbox-secim em{
    margin-left:auto;
    font-style:normal;
    padding:2px 6px;
	border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #fff;
    color: #777;
    font-size: 11px;
    font-weight: 500;
}


/* SEMT */

.semt-select{
    width:100%;
    height:38px;
    border:1px solid #ddd;
    border-radius:7px;
    padding:0 10px;
    background:#fff;
    color:#666;
    outline:none;
    font-size:13px;
}


/* FİLTRE BUTONLARI */

.filtre-buttons{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:20px;
}

.filtre-uygula{
    flex:1;
    height:35px;
    border:none;
    border-radius:6px;
    background:#d9272e;
    color:#fff;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
}

.filtre-temizle{
    border:none;
    background:none;
    color:#777;
    font-size:11px;
    cursor:pointer;
}


/* =========================
   SAĞ SONUÇ ALANI
========================= */

.arama-sonuclari{
    min-width:0;
}

.sonuc-ust{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:25px;
    min-height:38px;
}

.sonuc-sayi{
    color:#f63b54;
    font-size:14px;
    font-weight:600;
}

.sonuc-aksiyonlar{
    display:flex;
    align-items:center;
    gap:20px;
}

.siralama{
        height: 36px;
    min-width: 190px;
    padding: 0 12px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    background: #fff;
    font-weight: 500;
    font-size: 14px;
    color: #222;
    outline: none;
}

.gorunum-switch{
    display:flex;
    border:1px solid #e5e5e5;
    border-radius:7px;
    overflow:hidden;
    background:#fff;
}

.gorunum-btn{
    height: 36px;
    padding: 0 20px;
    border: none;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.gorunum-btn + .gorunum-btn{
    border-left:1px solid #eee;
}

.gorunum-btn.active{
    color:#d9272e;
    font-weight:600;
    background:#fffafa;
}

.gorunum-btn i{
    margin-right:7px;
}


/* =========================
   İŞLETME GRID
========================= */

.isletme-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:22px;
}


/* KART */

.isletme-card{
    background:#fff;
    border:1px solid #e9e9e9;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 3px 13px rgba(0,0,0,.06);
    transition:.25s;
}

.isletme-card:hover{
    transform:translateY(-3px);
    box-shadow:0 9px 25px rgba(0,0,0,.10);
}


/* FOTOĞRAF */

.isletme-image{
    height:165px;
    position:relative;
    overflow:hidden;
}

.isletme-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.35s;
}

.isletme-card:hover .isletme-image img{
    transform:scale(1.04);
}


/* DURUM */

.isletme-durum{
    position:absolute;
    left:12px;
    top:12px;
    padding:5px 12px;
    border-radius:6px;
    color:#fff;
        font-size: 12px;
    font-weight: 500;
}

.isletme-durum.acik{
    background:#61d84e;
}

.isletme-durum.kapali{
    background:#d9272e;
}


/* FAVORİ */

.favori-btn{
    position:absolute;
    right:12px;
    top:12px;
    width:32px;
    height:32px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.95);
    color:#555;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:15px;
    transition:.2s;
}

.favori-btn:hover{
    color:#d9272e;
    transform:scale(1.08);
}


/* İŞLETME BİLGİ */

.isletme-info{
    padding:12px 13px 11px;
}

.isletme-info h3{
    margin:0 0 5px;
    font-size:16px;
    font-weight:600;
    color:#222;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.isletme-info h3 i{
    color:#1877f2;
    font-size:12px;
    margin-left:3px;
}


/* PUAN */

.isletme-puan{
    display:flex;
    align-items:center;
    gap:4px;
    font-size:14px;
    margin-bottom:3px;
}

.isletme-puan > span{
    color:#ffad00;
    font-size:15px;
}

.isletme-puan strong{
    font-weight:600;
    color:#333;
}

.isletme-puan small{
    color:#888;
}


/* KATEGORİ */

.isletme-kategori{
	color: #666;
    font-size: 13px;
    margin-bottom: 4px;
}


/* KONUM */

.isletme-konum{
    color:#777;
    font-size:12px;
}

.isletme-konum i{
    color:#d9272e;
    margin-right:6px;
}


/* ALT BAR */

.isletme-alt{
    border-top:1px solid #eee;
    min-height:36px;
    padding:0 13px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
        font-size: 13px;
    font-weight: 600;
    color: #666;
}

.isletme-alt span i{
    color:#d9272e;
    margin-right:5px;
}

.isletme-alt a{
    color:#555;
    text-decoration:none;
}

.isletme-alt a i{
    color:#d9272e;
    margin-right:5px;
}


/* =========================
   SAYFALAMA
========================= */

.sayfalama{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    margin-top:25px;
}

.sayfa,
.sayfa-ok{
    min-width: 36px;
    height: 36px;
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 6px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.sayfa:hover,
.sayfa-ok:hover{
    border-color:#d9272e;
    color:#d9272e;
}



.sayfa.active{
    background:#d9272e;
    color:#fff;
    border-color:#d9272e;
    font-weight:600;
}

.sayfa-ok.disabled, .sayfa-ok[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.sayfa-nokta{
    padding:0 5px;
    color:#777;
    font-size:13px;
}


/* =========================
   TABLET
========================= */

@media(max-width:1100px){

    .isletme-arsama{
        grid-template-columns:230px 1fr;
        gap:20px;
        padding:0 15px;
    }

    .isletme-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


/* =========================
   MOBİL
========================= */

@media(max-width:768px){

    .isletme-arsama{
        display:block;
        padding:0 12px;
    }

    .arama-sidebar{
        margin-bottom:20px;
    }

    .sonuc-ust{
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }

    .sonuc-aksiyonlar{
        width:100%;
        gap:8px;
    }

    .siralama{
        flex:1;
        min-width:0;
    }

    .gorunum-switch{
        flex-shrink:0;
    }

    .isletme-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

    .isletme-image{
        height:210px;
    }

    .sayfalama{
        flex-wrap:wrap;
    }

}




.toggle-btn {
    display: none; /* Masaüstünde aç/kapat butonunu gizle */
}
.left-sidebar {
    width: 280px;
    flex-shrink: 0;
}


/* KÜÇÜK TELEFON */

@media(max-width:480px){
	.kategori-bilgi label {margin-bottom:40px;}
	.left-sidebar {
        width: 100%;
    }
	.toggle-btn {
        display: block;
        width: 100%;
        padding: 12px 16px;
        background-color: #dc2626;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        margin-bottom: 10px;
    }
	.left-sidebar .left-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
    }

    /* Butona Tıklanınca (active Sınıfı Gelince) Genişlet */
    .left-sidebar.active .left-content {
        max-height: 2000px; /* İçeriğin rahat sığacağı yükseklik */
        opacity: 1;
        margin-top: 10px;
    }
	.kategori-bilgi {width:90%; height: 30%; margin:0px 5%;}
	.kategori-bilgi-s {display:none; }
    .sonuc-aksiyonlar{flex-direction:column; align-items:stretch;}

    .siralama{
        width:100%;
    }

    .gorunum-switch{
        width:100%;
    }

    .gorunum-btn{
        flex:1;
    }

    .isletme-image{
        height:190px;
    }

    .isletme-alt{
        font-size:10px;
    }

    .sayfa:nth-of-type(n+5){
        display:none;
    }

}