.search-box-wrapper {
      margin-bottom: 15px;
    }
    .select2-container .select2-selection--single {
      height: 42px !important;
      border-radius: 8px;
      border: 1px solid #ccc;
      padding: 8px 12px;
    }
    .select2-selection__rendered {
      line-height: 26px !important;
      font-size: 14px;
    }
    .select2-selection__arrow {
      height: 36px !important;
      right: 6px !important;
    }


      :root{
      --bg:#ffffff; --ink:#222; --muted:#757575;
      --brand:#0A74DA; --brand-weak:#EAF3FF;
      --row:#F7F7F7; --line:#eee; --chip:#f1f1f1;
    }
    *{box-sizing:border-box}
    body{padding-bottom:80px;margin:0;background:var(--bg);color:var(--ink);font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial}
    a{color:inherit;text-decoration:none}
    .wrap{max-width:1200px;margin:0 auto;padding:16px}
    header{display:flex;align-items:center;gap:16px;margin-bottom:16px}
    header .logo img{height:36px;width:auto}
    header h1{font-size:18px;margin:0;color:var(--muted);font-weight:600}
    .scroll-hint{display: none;font-weight: 100}
    .layout{display:grid;grid-template-columns:260px 1fr;gap:16px}
    @media (max-width:980px){.layout{grid-template-columns:1fr}}

    .filters{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff;position:sticky;top:12px}
    .filters h3{margin:8px 0 12px;font-size:15px}
    .filter{margin-bottom:14px}
    .filter label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
    .filter select,.filter input{width:100%;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff}
    .filter .row{display:flex;gap:8px}
    .filter .row input{flex:1}

    .filter-toggle{
      display:none;
      margin-bottom:12px;
      padding:10px 14px;
      border:0;border-radius:8px;
      background:var(--brand);color:#fff;font-weight:700;
      cursor:pointer;
    }
    .score-badge{display: none;}
    .list{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
    .list .thead,
    .list .row {
      display: grid;
      grid-template-columns:
      minmax(400px, 2fr)  /* Ürün Adı */
      120px                /* Fiyat */
      100px                /* Ekran Boyutu */
      100px                /* Çözünürlük */
      100px                /* Ses Gücü */
      80px;                /* Puan */
      align-items: center;
    }
    .list .cell.scorewrap {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    .list .thead{background:#fafafa;font-weight:600;border-bottom:1px solid var(--line)}
    .list .thead div{padding:10px 12px;font-size:13px;color:#555}
    .list .row{border-bottom:1px solid var(--line)}
    .list .row:nth-child(even){background:var(--row)}
    .cell{padding:10px 12px}

    .namecell{display:flex;gap:2;align-items:center;}
    .namecell .thumb{flex:0 0 72px; height: 120px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
    .namecell .thumb img{max-width:100%;max-height:100%}
    .meta .title{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .meta .vtag{display:inline-block;margin-top:4px;padding:3px 8px;border-radius:999px;background:var(--chip);font-size:12px;color:#444}

    .price strong{display:block;font-size:14px}
    .chip{display:inline-block;padding:5px 8px;border-radius:8px;background:var(--chip);font-size:12px;font-weight:600}
    .muted{color:var(--muted)}

    .scorewrap{display:flex;justify-content:center}
    .score{--p:0;width:70px;height:70px;border-radius:50%;background:conic-gradient(var(--brand) calc(var(--p)*1%), var(--brand-weak) 0);display:flex;align-items:center;justify-content:center;}
    .score span{width:54px;height:54px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;}

    .pager{display:flex;justify-content:center;gap:6px;padding:14px;margin-top:20px;}
    .pager a,.pager span{min-width:34px;height:34px;border:1px solid #ddd;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 10px;font-size:14px;background:#fff;}
    .pager .active{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600;}

    .topnav{background:#fff;border-bottom:1px solid #eee;box-shadow:0 1px 4px rgba(0,0,0,.05);position:sticky;top:0;z-index:1000;}
    .topnav .container{width:1200px;padding:8px 16px;display:flex;align-items:center;justify-content:space-between;}
    .brand{display:flex;align-items:center;gap:8px;font-weight:700;color:#222;font-size:15px;text-decoration:none;}
    .brand img{display:block}
    .menu-toggle{display:none;font-size:22px;background:none;border:0;cursor:pointer;margin-left:auto;}
    @media(max-width:768px){
      .menu-toggle{display:block}
      .topnav nav{display:none;position:absolute;top:56px;right:12px;background:#fff;border:1px solid #eee;border-radius:8px;padding:10px;box-shadow:0 2px 6px rgba(0,0,0,.1);}
      .topnav nav ul{flex-direction:column;gap:10px}
      .topnav.open nav{display:block}
    }
.compare-btn,.compare-clear{margin-left:8px;padding:6px 12px;border:none;border-radius:4px;cursor:pointer;}
    .compare-btn{background:#fff;color:var(--brand);font-weight:bold;}
    .compare-clear{background:#333;color:#fff;}
    .compare-btn .compare-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--brand);color:#fff;font-size:16px;font-weight:bold;}
    .compare-btn.active{color:#2e7d32;font-weight:600;}
    .compare-btn.active .compare-icon{background:#2e7d32;}
    @media (max-width:980px){
      .scroll-hint{display:flex;align-items:center;justify-content:center;gap:8px;position:sticky;top:62px;z-index:20;margin:0 0 8px;padding:10px 12px;background:var(--brand-weak);border:1px solid #BFDFFF;border-radius:10px;color:var(--brand-dark);font-size:14px;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.06)}
      .scroll-hint::before,.scroll-hint::after{content:"⇆";font-size:18px;font-weight:900}
      .filter-toggle{display:block}
      .filters{display:none;position:static;margin-bottom:16px}
      .filters.open{display:block}
    }
    .namecell .thumb {
      flex: 0 0 90px;
      width: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      overflow: hidden;
    }
    .namecell .thumb img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .list .thead,
    .list .row {
      display: grid;
      grid-template-columns:
      minmax(400px, 2fr)  /* Ürün Adı */
      110px                /* Fiyat */
      100px                /* Ekran Boyutu */
      100px                /* Çözünürlük */
      100px                /* Ses Gücü */
      80px;                /* Puan */
      align-items: center;
    }

    .cell.scorewrap {
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding-right: 8px;
    }
    .score {
      --p: 0;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: conic-gradient(var(--brand) calc(var(--p)*1%), var(--brand-weak) 0);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .score span {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 15px;
    }
    @media (max-width: 980px) {
      .list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
      }
      .list::-webkit-scrollbar { display: none; }

      .list .thead, .list .row {
        display: flex;
        min-width: 1000px; /* tablo genişliği */
      }
      .list .thead div,
      .list .row .cell {
        flex: 0 0 auto;
        min-width: 120px;
        white-space: nowrap;
      }
      .list .thead div:first-child,
      .list .row .cell:first-child {
        min-width: 420px; /* Ürün Adı sütunu geniş */
      }
    }
/* --- SADECE MOBİLDE PUANLAR GÖRÜNSÜN (resmin üstünde) --- */
/* --- Mobilde puanı resmin sağ üstüne getir --- */
@media (max-width: 980px) {
  .namecell .thumb {
    position: relative;
  }

}


/* 781px–1100px arası düzenleme */
@media (min-width: 781px) and (max-width: 1100px) {

  .namecell {
    flex-wrap: wrap;
  }

  .compare-btn {
    margin-top: 6px;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cell.price {
    white-space: nowrap;
  }
}
/* Dropdown container */
    .dropdown {
      position: relative;
    }

    .dropdown-toggle {
      cursor: pointer;
      font-weight: 600;
    }

    /* Menü */
    .dropdown-menu {
      display: none;
      position: absolute;
      top: 28px;
      left: 0;
      background: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
      min-width: 200px;
      padding: 8px 0;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      z-index: 999;
    }

    .dropdown-menu li a {
      display: block;
      padding: 8px 14px;
      color: #222;
      white-space: nowrap;
    }

    .dropdown-menu li a:hover {
      background: #f5f5f5;
    }

    /* Hover mode - desktop */
    @media (min-width: 768px) {
      .dropdown:hover .dropdown-menu {
        display: block;
      }
    }

    /* Açılır menü mobilde de çalışsın */
    @media (max-width: 768px) {
      .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 0;
        padding-left: 16px;
      }
    }
    .brand-filter {
    margin-bottom: 20px;
}

.brand-list {
    max-height: 300px; /* çok marka varsa scroll */
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    background: #fafafa;
}

.brand-item {
    display: block;
    padding: 6px 0;
    font-size: 15px;
    cursor: pointer;
}

.brand-item input {
    margin-right: 8px;
    cursor: pointer;
}
/* Checkbox filtre container */
.checkbox-group {
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 12px;
    border-radius: 8px;
    max-height: 260px;
    overflow-y: auto;
}

/* Her bir satır */
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    cursor: pointer;
}

/* Checkbox'ın kendisi */
.checkbox-row input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    margin: 0;
}/* Tüm başlıklar */
.sort-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    cursor: pointer;
    color: #444;
    text-decoration: none;
    position: relative;
}

/* Pasif ikon (hover olmadan gizli) */
.sort-icon {
    opacity: 0;
    font-size: 12px;
    transition: opacity 0.2s;
    color: #999;
}

/* Hover olduğunda ikon göster */
.sort-link:hover .sort-icon {
    opacity: 1;
}

/* Aktif sıralama (ikon her zaman görünür ve renkli) */
.sort-icon.active {
    opacity: 1 !important;
    color: var(--brand, #0A74DA);
    font-weight: bold;
}
.seo-content {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 24px 28px;
  background: #fafafa;
  border-top: 1px solid #eee;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.seo-content h2 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #222;
}

.seo-content h3 {
  font-size: 15px;
  margin: 18px 0 8px;
  color: #333;
}

.seo-content p {
  margin-bottom: 10px;
}

.seo-content ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.seo-content li {
  margin-bottom: 6px;
  font-size: 13.5px;
}

/* Mobilde daha da kompakt */
@media (max-width: 768px) {
  .seo-content {
    padding: 18px 16px;
    font-size: 13.5px;
  }

  .seo-content h2 {
    font-size: 16px;
  }

  .seo-content h3 {
    font-size: 14px;
  }
}

.search-model-select{width:100%}
.brand-search-input{width:100%;padding:8px 10px;margin-bottom:8px;border:1px solid var(--line);border-radius:8px}
.filter-submit-button{width:100%;padding:10px;border:0;border-radius:8px;background:var(--brand);color:#fff;font-weight:700;cursor:pointer}
.namecell{gap:12px}
.namecell .meta{min-width:0;flex:1}
.namecell .meta .title{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}
.namecell > .compare-btn{flex:0 0 auto;align-self:center;max-width:150px}
@media(min-width:981px){.filters{max-height:calc(100vh - 90px);overflow-y:auto;scrollbar-width:thin}}


/* Akıllı saat projesindeki gibi kompakt açılır filtre grupları */
.filter-accordion{
  margin:12px 0;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}

.filter-accordion > summary{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:12px 38px 12px 12px;
  cursor:pointer;
  list-style:none;
  user-select:none;
  background:#fafafa;
}

.filter-accordion > summary::-webkit-details-marker{
  display:none;
}

.filter-accordion > summary::after{
  content:"⌄";
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  color:var(--brand);
  font-size:18px;
  font-weight:800;
  transition:transform .2s ease;
}

.filter-accordion[open] > summary::after{
  transform:translateY(-50%) rotate(180deg);
}

.filter-accordion > summary span{
  color:#222;
  font-size:14px;
  font-weight:750;
}

.filter-accordion > summary small{
  color:var(--muted);
  font-size:11px;
  font-weight:500;
}

.filter-accordion[open] > summary{
  border-bottom:1px solid var(--line);
  background:var(--brand-weak);
}

.filter-accordion-content{
  padding:12px;
}

.filter-accordion-content > .filter:first-child{
  margin-top:0;
}

.filter-accordion-content > .filter:last-child{
  margin-bottom:0;
}

.brand-checkbox-group{
  max-height:280px;
}

.brand-search-empty{
  padding:10px 4px 0;
  color:var(--muted);
  font-size:12px;
}

.filter-submit-wrap{
  position:sticky;
  bottom:0;
  z-index:5;
  margin:14px -1px -1px;
  padding:10px 0 0;
  background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 24%);
}

.filters form{
  min-width:0;
}

.filters input,
.filters select{
  max-width:100%;
}

@media(max-width:980px){
  .filters{
    max-height:none;
    overflow:visible;
  }

  .filter-submit-wrap{
    position:static;
    background:none;
  }
}


/* Marka arama görünürlük düzeltmesi
   .checkbox-row display:flex kullandığı için HTML hidden attribute bazı
   kurallarda ezilebiliyor. Arama sonucu gizleme durumunu zorunlu kıl. */
.brand-checkbox-group .checkbox-row.is-filtered-out,
.brand-checkbox-group .checkbox-row[hidden]{
  display:none !important;
}
