.page-wrap{max-width:1320px;margin:24px auto;padding:0 16px}
  .page-head{display:flex;align-items:last baseline;justify-content:space-between;gap:12px;margin-bottom:16px;padding-left:10px}
  .page-head h1{font-size:22px;font-weight:700;margin:0;}
  .page-sub{color:#6b7280;font-size:13px;margin:8px 0 0;}

  /* DESKTOP FILTER CARD */
  .filters-desktop{
    background:#fff;border:1px solid #e5e7eb;border-radius:14px;
    padding:16px;margin-bottom:14px;
  }
  .filters-desktop form{display:grid;grid-template-columns:repeat(12,1fr);gap:12px}
  .fld{display:flex;flex-direction:column;gap:6px}
  .filters-desktop label{font-size:12px;color:#6b7280}
  .filters-desktop input,.filters-desktop select{
    border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;
    font-size:14px;background:#fff;outline:none
  }
  .filters-desktop .btns{display:flex;gap:10px;align-items:end}

  .btn-primary{background:#10b981;color:#fff;border:none;padding:11px 7px;border-radius:10px;cursor:pointer}
  .btn-secondary{background:#fff;border:1px solid #e5e7eb;color:#374151;padding:6px 7px;border-radius:10px;cursor:pointer}

  /* ACTIVE FILTER CHIPS */
  .active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}
  .chip{display:inline-flex;align-items:center;gap:6px;background:#f5f6f8;color:#111827;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;font-size:12px}
  .chip a{color:#6b7280;text-decoration:none}
  .chip a:hover{text-decoration:underline}

  /* ADS GRID */
  .ads-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:5px;
    padding:0;
  }
  .empty{border:1px dashed #e5e7eb;border-radius:12px;padding:24px;text-align:center;color:#6b7280}
  .ads-loader{
    text-align:center;
    color:#6b7280;
    font-size:13px;
    padding:14px 0 4px;
  }

  /* ------------ MOBİL SEARCH HEADER ------------ */
  .filters-mobile{display:none;margin-bottom:14px;}
  .sr-mobile-summary{
    padding:4px 4px 2px;
    position:relative;
  }

  #saveSearchMobile{
    position:absolute;
    right:0;
    top:0;
    display:block;
  }

  .sr-count{font-size:16px;font-weight:600;}
  .sr-sub{font-size:12px;color:#6b7280;margin-top:2px;}

  /* pills scroll — SCROLLBAR GİZLİ */
  .sr-pills{
    display:flex;
    gap:8px;
    margin-top:10px;
    overflow-x:auto;
    padding-bottom:2px;

    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;          /* Firefox */
    -ms-overflow-style:none;       /* IE/Edge legacy */
  }
  .sr-pills::-webkit-scrollbar{display:none;} /* Chrome/Safari */

  .sr-pill{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:999px;
    padding:8px 12px;
    border:1px solid #e5e7eb;
    background:#fff;
    font-size:13px;
    color:#111827;
    cursor:pointer;
    white-space:nowrap;
  }
  .sr-pill-main{
    border-color:#10b981;
    background:#ecfdf5;
    color:#047857;
    font-weight:600;
  }
  .sr-pill i{font-size:16px;}

  /* ------------ COMMON BOTTOM-SHEET OVERLAY ------------ */
  .mf-overlay{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,0.35);
    z-index:1200;
    display:none;
  }
  .mf-overlay.active{display:block;}
  .mf-sheet{
    position:absolute;
    left:0;right:0;bottom:0;
    max-height:86vh;
    background:#fff;
    border-radius:18px 18px 0 0;
    display:flex;
    flex-direction:column;
    padding:10px 14px 14px;
    box-shadow:0 -10px 25px rgba(15,23,42,0.2);
  }
  .mf-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding-bottom:6px;
  }
  .mf-title{font-size:16px;font-weight:600;}
  .mf-icon-btn{
    width:32px;height:32px;
    border-radius:999px;
    border:none;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:18px;
    color:#374151;
  }
  .mf-body{
    flex:1;
    overflow-y:auto;
    padding-top:6px;
  }
  .mf-field{
    margin-bottom:12px;
    display:flex;
    flex-direction:column;
    gap:4px;
  }
  .mf-field label{font-size:12px;color:#6b7280;}
  .mf-field input,
  .mf-field select{
    border-radius:10px;
    border:1px solid #e5e7eb;
    padding:10px 12px;
    font-size:14px;
    outline:none;
  }

  .mf-footer{
    display:flex;
    gap:10px;
    margin-top:4px;
  }
  .mf-btn{
    flex:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    padding:10px 12px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    border:none;
    text-decoration:none;
  }
  .mf-btn-primary{background:#10b981;color:#fff;}
  .mf-btn-light{background:#fff;border:1px solid #e5e7eb;color:#374151;}

  .mf-list{margin-top:4px;}
  .mf-list-btn{
    width:100%;
    text-align:left;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid #e5e7eb;
    background:#fff;
    font-size:14px;
    margin-bottom:8px;
    cursor:pointer;
  }
  .mf-list-btn.active{
    border-color:#10b981;
    background:#ecfdf5;
    color:#047857;
    font-weight:600;
  }

  /* ------- KATEQORİYA CARD-LARI ------- */
  .cat-scroll-wrap{
    position:relative;
    margin:-4px 9px 12px;
  }
  .cat-scroll-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border:none;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.96);
    color:#0f172a;
    box-shadow:0 12px 26px rgba(15,23,42,.14);
    cursor:pointer;
    z-index:3;
    transition:transform .18s ease, opacity .18s ease, box-shadow .18s ease;
    backdrop-filter:blur(10px);
  }
  .cat-scroll-btn:hover{
    transform:translateY(-50%) scale(1.04);
    box-shadow:0 16px 32px rgba(15,23,42,.18);
  }
  .cat-scroll-btn.is-hidden{
    opacity:0;
    pointer-events:none;
    transform:translateY(-50%) scale(.92);
  }
  .cat-scroll-btn.left{left:-18px;}
  .cat-scroll-btn.right{right:-18px;}
  .cat-scroll-btn i{font-size:18px;}
 
  .cat-card{
    flex:0 0 auto;
    width:116px;
    min-width:116px;
    background:#ffffff;
    border-radius:18px;
    border:1px solid #e5e7eb;
    padding:8px;
    text-decoration:none;
    color:#111827;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    position:relative;
    box-shadow:0 8px 22px rgba(15,23,42,.06);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .cat-card:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(15,23,42,.1);
  }

  .cat-card-icon{
    width:100%;
    aspect-ratio:1/1;
    border-radius:16px;
    background:linear-gradient(180deg,#f2fbf6 0%,#edf7ff 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  }
  .cat-card-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  .cat-card-icon i{
    font-size:34px;
    color:#64748b;
  }

  .cat-card-title{
    width:100%;
    text-align:center;
    font-size:14px;
    font-weight:600;
    line-height:1.25;
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 4px 2px;
  }

  .cat-card-active{
    border-color:#86efac;
    background:#ffffff;
    box-shadow:0 0 0 2px rgba(34,197,94,.18), 0 14px 28px rgba(15,23,42,.1);
  }

  /* RESPONSİVE */
  @media (max-width:1200px){
    .ads-grid{
      grid-template-columns:repeat(3,1fr);
      gap:0;
      padding:0 7px;
    }
  }
  @media (max-width:800px){
    .ads-grid{
      grid-template-columns:repeat(2,1fr);
      gap:0;
      padding:0 3px;
    }
    .filters-desktop form{grid-template-columns:repeat(6,1fr);}
  }
  @media (max-width:520px){
    .ads-grid{
      grid-template-columns:repeat(2,1fr);
      gap:0;
      padding:0 3px;
    }
    .filters-desktop form{grid-template-columns:repeat(2,1fr);}
  }
   .cat-scroll{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:6px 2px 2px;

    -webkit-overflow-scrolling:touch;

  }


  @media (max-width:768px){
    .page-wrap{margin:10px auto;padding:0;}
    .page-head{align-items:last baseline;padding-left:10px;margin-bottom:8px;padding-right:10px;}
    .filters-desktop{display:none;}
    .filters-mobile{display:block;padding:0px 10px;}
    .cat-scroll-btn,
    .cat-scroll-edge{display:none;}
     .cat-scroll{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:6px 2px 2px;

    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;          /* Firefox */
    -ms-overflow-style:none;       /* IE/Edge legacy */
  }
  @media (max-width:640px){
    .cat-card{
      width:102px;
      min-width:102px;
      border-radius:16px;
      padding:7px;
      gap:7px;
    }
    .cat-card-icon{
      border-radius:14px;
    }
    .cat-card-title{
      font-size:12px;
      min-height:30px;
    }
  }
  .cat-scroll::-webkit-scrollbar{display:none;} /* Chrome/Safari */

  }
  
  /* ===== KATEQORİYA SCROLL - SCROLLBAR STİLLƏRİ ===== */
.cat-scroll {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f3f4f6;
}

.cat-scroll::-webkit-scrollbar {
  height: 6px;
}

.cat-scroll::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

.cat-scroll::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 10px;
}

.cat-scroll::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}
