*{box-sizing:border-box}
    html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.5}
    a{color:inherit;text-decoration:none}
    img{display:block;max-width:100%}
    
    .container{max-width:var(--container);margin:0 auto;padding:0 20px}
    
    .btn{
      padding:12px 20px;
      border-radius:12px;
      border:none;
      background:var(--card);
      cursor:pointer;
      text-decoration:none;
      color:inherit;
      font-size:14px;
      font-weight:600;
      display:inline-flex;
      align-items:center;
      gap:8px;
      transition:all .2s ease;
      border:1px solid var(--line);
    }
    .btn:hover{
      transform:translateY(-1px);
      box-shadow:0 4px 12px rgba(0,0,0,.1);
    }
    .btn.primary{
      background:linear-gradient(135deg,var(--accent),var(--accent2));
      color:#fff;
      border-color:transparent;
      box-shadow:0 4px 14px rgba(29,78,216,.25);
    }
    .btn.primary:hover{
      box-shadow:0 6px 20px rgba(29,78,216,.35);
    }
    
    .breadcrumb{
      margin:20px 0;
      font-size:14px;
      color:var(--muted);
      display:flex;
      align-items:center;
      gap:8px;
      flex-wrap:wrap;
    }
    .breadcrumb a{
      color:var(--accent);
      transition:color .2s ease;
    }
    .breadcrumb a:hover{
      color:var(--accent2);
    }
    
    .pageHeader{
      margin:24px 0 32px;
    }
    .pageHeader h1{
      margin:0 0 8px;
      font-size:clamp(24px, 5vw, 32px);
      font-weight:800;
      line-height:1.2;
    }
    .pageHeader .subtitle{
      color:var(--muted);
      font-size:16px;
    }
    .productsTopBar{
      display:flex;
      flex-direction:column;
      align-items:stretch;
      gap:10px;
      margin-bottom:0;
      padding-bottom:22px;
      border-bottom:1px solid rgba(15,23,42,.08);
    }
    .productsTopBar .pageHeader.productsTopBarHead{ margin:0; }
    .productsTopBarHead h1{
      margin:0;
    }
    .productsTopBarMeta{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      flex-wrap:wrap;
    }
    .productsTopBarMeta .subtitle{ margin:0; }
    .sortWrap{
      display:flex;
      align-items:center;
      gap:8px;
    }
    .sortWrap label{
      font-size:14px;
      color:var(--muted);
      font-weight:500;
    }
    .sortWrap select{
      padding:10px 14px;
      border:1px solid var(--line);
      border-radius:12px;
      font-size:14px;
      background:var(--card);
      color:var(--text);
      cursor:pointer;
      min-width:200px;
    }
    .sortWrap select:focus{ outline:none; border-color:var(--accent); }

    /* Mobil aksiyon barı (Tüm Ürünler altına sticky) */
    .mobileActionBar{
      display:none;
      position:sticky;
      top:8px;
      z-index:16;
      background:rgba(255,255,255,.96);
      border:1px solid rgba(15,23,42,.07);
      border-radius:14px;
      box-shadow:0 6px 28px rgba(15,23,42,.08);
      padding:8px 10px;
      gap:8px;
      align-items:center;
      justify-content:space-between;
      margin:18px 0 26px;
    }
    .mobileActionBar .mab-btn{
      appearance:none;
      border:1px solid rgba(15,23,42,.10);
      background:#f8fafc;
      color:#0f172a;
      border-radius:14px;
      height:44px;
      padding:0 12px;
      font-size:14px;
      font-weight:800;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      cursor:pointer;
      flex:1;
      min-width:0;
      user-select:none;
    }
    .mobileActionBar .mab-btn:active{ transform:translateY(1px); }
    .mobileActionBar .mab-btn.mab-icon{
      flex:0 0 auto;
      width:44px;
      padding:0;
      font-size:18px;
    }

    /* Mobil sıralama bottom-sheet */
    .mobileSheetBackdrop{
      display:none;
      position:fixed;
      inset:0;
      background:rgba(15,23,42,.42);
      z-index:50;
    }
    .mobileSheet{
      display:none;
      position:fixed;
      left:12px;
      right:12px;
      bottom:12px;
      z-index:51;
      background:#fff;
      border:1px solid rgba(15,23,42,.10);
      border-radius:18px;
      box-shadow:0 24px 70px rgba(15,23,42,.24);
      overflow:hidden;
    }
    .mobileSheetHead{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      padding:12px 14px;
      border-bottom:1px solid rgba(15,23,42,.08);
    }
    .mobileSheetHead strong{ font-size:14px; }
    .mobileSheetClose{
      appearance:none;
      border:1px solid rgba(15,23,42,.10);
      background:#f8fafc;
      border-radius:12px;
      height:34px;
      padding:0 10px;
      font-weight:800;
      cursor:pointer;
    }
    .mobileSheetList{ margin:0; padding:6px; list-style:none; max-height:60vh; overflow:auto; }
    .mobileSheetList a{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:12px 12px;
      border-radius:14px;
      color:#0f172a;
      font-weight:800;
      font-size:14px;
      text-decoration:none;
    }
    .mobileSheetList a:hover{ background:#f1f5f9; }
    .mobileSheetList a.is-active{ background:rgba(37,99,235,.10); color:#1d4ed8; }
    
    .productsLayout{
      display:flex;
      gap:36px;
      align-items:flex-start;
    }

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

    .productsSidebar{
      width:300px;
      flex-shrink:0;
      background:#fff;
      border:1px solid rgba(15,23,42,.06);
      border-radius:14px;
      padding:16px 14px 14px;
      position:sticky;
      top:18px;
      box-shadow:0 2px 16px rgba(15,23,42,.05), 0 0 0 1px rgba(255,255,255,.8) inset;
    }

    .mobileFilterHead{
      display:none;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      padding:14px 14px 12px;
      border-bottom:1px solid rgba(15,23,42,.06);
      position:sticky;
      top:0;
      background:#fff;
      z-index:1;
    }
    .mobileFilterHead strong{ font-size:14px; letter-spacing:-.01em; }
    .mobileFilterClose{
      appearance:none;
      border:1px solid rgba(15,23,42,.10);
      background:#f8fafc;
      border-radius:12px;
      height:34px;
      padding:0 10px;
      font-weight:800;
      cursor:pointer;
    }

.productsSidebar form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.productsSidebar .filterHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:12px;
  margin-bottom:2px;
  border-bottom:1px solid rgba(15,23,42,.06);
}

.productsSidebar .filterHeadTitle{
  font-size:15px;
  font-weight:600;
  color:#0f172a;
  letter-spacing:-.02em;
}

.productsSidebar .filterHeadCount{
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:rgba(99,102,241,.1);
  color:#4f46e5;
  font-size:11px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.productsSidebar .filterSection{
  border:none;
  border-radius:0;
  padding:0;
  background:transparent;
}

.productsSidebar .filterSection:not(:last-of-type){
  padding-bottom:14px;
  border-bottom:1px solid rgba(15,23,42,.05);
  margin-bottom:2px;
}

.productsSidebar .filterSection:last-of-type{
  margin-bottom:0;
}

.productsSidebar h3{
  margin:0 0 8px;
  font-size:11px;
  font-weight:600;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.productsSidebar .searchInput{
  width:100%;
  height:40px;
  padding:0 12px;
  border:1px solid rgba(15,23,42,.1);
  border-radius:10px;
  font-size:13px;
  background:#f8fafc;
  color:#0f172a;
  transition:border-color .2s, box-shadow .2s, background .2s;
}

.productsSidebar .searchInput::placeholder{
  color:#94a3b8;
}

.productsSidebar .searchInput:focus{
  outline:none;
  border-color:rgba(99,102,241,.45);
  box-shadow:0 0 0 3px rgba(99,102,241,.12);
  background:#fff;
}

.productsSidebar .priceRangeInputs{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:10px;
  align-items:center;
}

.productsSidebar .priceRangeInputs .priceInput{
  min-width:0;
}

.productsSidebar .priceRangeInputs .priceRangeSep{
  color:#94a3b8;
  font-size:14px;
  font-weight:700;
}

.productsSidebar .checkboxList{
  list-style:none;
  margin:0;
  padding:0;
  max-height:220px;
  overflow-y:auto;
  border:none;
  border-radius:0;
  background:transparent;
  scrollbar-width:thin;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.productsSidebar .checkboxList li{
  margin:0;
  border:none;
  border-radius:8px;
}

.productsSidebar .checkboxList label{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  cursor:pointer;
  font-size:13px;
  color:#334155;
  line-height:1.35;
  border-radius:8px;
  transition:background .15s ease, color .15s ease;
}

.productsSidebar .checkboxList label:hover{
  background:rgba(99,102,241,.06);
  color:#0f172a;
}

.productsSidebar .checkboxList input[type=checkbox]{
  width:16px;
  height:16px;
  accent-color:#6366f1;
  flex-shrink:0;
  cursor:pointer;
  border-radius:4px;
}

.productsSidebar .filterActions{
  display:grid;
  gap:8px;
  margin-top:4px;
  padding-top:12px;
  border-top:1px solid rgba(15,23,42,.06);
  position:sticky;
  bottom:0;
  background:#fff;
}

.productsSidebar .filterSubmit{
  width:100%;
  height:42px;
  border:none;
  border-radius:10px;
  background:linear-gradient(135deg,#6366f1,#4f46e5);
  color:#fff;
  font-size:13px;
  font-weight:600;
  letter-spacing:.01em;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow:0 4px 14px rgba(79,70,229,.22);
}

.productsSidebar .filterSubmit:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(79,70,229,.28);
}

.productsSidebar .clearLink{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:38px;
  border-radius:10px;
  border:1px solid rgba(15,23,42,.1);
  background:transparent;
  color:#64748b;
  font-size:12px;
  font-weight:600;
  text-decoration:none;
  transition:border-color .2s, color .2s, background .2s;
}

.productsSidebar .clearLink:hover{
  border-color:rgba(15,23,42,.18);
  color:#0f172a;
  background:rgba(15,23,42,.03);
}

.productsFiltersToggle{ display:none; }

@media (max-width:900px){
  .productsLayout{
    flex-direction:column;
    gap:16px;
  }

  .productsSidebar{
    width:auto;
    position:fixed;
    left:12px;
    right:12px;
    bottom:12px;
    top:auto;
    max-width:none;
    padding:0;
    margin:0;
    border-radius:16px;
    max-height:78vh;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
    transform:translateY(14px);
    transition:transform .22s ease, opacity .18s ease;
    box-shadow:0 16px 48px rgba(15,23,42,.14);
    z-index:51;
  }

  .productsSidebar.is-open{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }

  .productsSidebar .filterActions{
    position:static;
    background:transparent;
    padding-top:12px;
  }

  .productsSidebar form{
    padding:12px 12px 14px;
    gap:14px;
    overflow:auto;
    max-height:calc(78vh - 56px);
  }

  .mobileFilterHead{ display:flex; }

  /* Mobil: başlık + toplam adet aynı satır */
  .productsTopBar{
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:baseline;
    justify-content:space-between;
    gap:10px;
    margin-bottom:0;
    padding-bottom:16px;
  }
  .productsTopBarHead{
    flex:1;
    min-width:0;
  }
  .productsTopBarMeta{
    flex:0 0 auto;
    width:auto;
    justify-content:flex-end;
  }
  .productsTopBarHead h1{
    margin:0;
    font-size:18px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .productsTopBarMeta .subtitle{
    margin:0;
    font-size:12px;
    white-space:nowrap;
  }
  /* Üstteki sıralama alanını mobilde gizle (altta bar var) */
  .productsTopBar .sortWrap{ display:none; }

  /* Barı mobilde göster */
  .mobileActionBar{ display:flex; }
}


    .productsGrid{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:24px;
      padding:24px 0 40px;
      margin-top:4px;
    }
    @media (max-width:1100px){
      .productsGrid{ grid-template-columns:repeat(3,1fr); gap:20px; }
    }
    @media (max-width:768px){
      .productsGrid{ grid-template-columns:repeat(2,1fr); gap:14px; }
      .productCard .content{ padding:14px; }
      .productCard .price{ font-size:18px; }
    }
    @media (max-width:480px){
      .productsGrid{ grid-template-columns:repeat(2,1fr); gap:12px; }
      .productCard .title{ font-size:13px; margin:0 0 10px; }
      .productCard .brandName{ font-size:11px; }
      .productCard .oldPrice{ font-size:12px; }
    }
    @media (max-width:900px){
      .productsGrid{
        padding-top:22px;
        margin-top:0;
      }
    }
    
    .productCard{
      background:var(--card);
      border:1px solid var(--line);
      border-radius:var(--radius);
      overflow:hidden;
      display:flex;
      flex-direction:column;
      transition:all .3s cubic-bezier(.4,0,.2,1);
      position:relative;
    }
    .productCard:hover{
      transform:translateY(-4px);
      box-shadow:var(--shadow-hover);
      border-color:transparent;
    }
    
    .productCard .imgWrap{
      position:relative;
      aspect-ratio:3/2;
      background:linear-gradient(135deg,#f8fafc,#f1f5f9);
      overflow:hidden;
      isolation:isolate;
    }
    .productCard .imgWrap > a{
      display:block;
      height:100%;
      position:relative;
      z-index:1;
    }
    .productCard .imgWrap img{
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .4s ease;
    }
    .productCard:hover .imgWrap img{
      transform:scale(1.05);
    }
    .productCard .badge{
      position:absolute;
      top:12px;
      right:12px;
      background:linear-gradient(135deg,#ef4444,#dc2626);
      color:#fff;
      padding:4px 8px;
      border-radius:999px;
      font-size:13px;
      font-weight:700;
      z-index:2;
      box-shadow:0 4px 12px rgba(239,68,68,.3);
    }
    .productCard .imgWrap .iconBtn{
      position:absolute;
      top:10px;
      width:30px;
      height:30px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.8);
      background:rgba(255,255,255,.92);
      backdrop-filter:blur(6px);
      display:inline-flex;
      align-items:center;
      justify-content:center;
      font-size:14px;
      cursor:pointer;
      padding:0;
      transition:background .2s, color .2s, border-color .2s, transform .2s;
      box-shadow:0 4px 14px rgba(2,6,23,.16);
      z-index:10;
      pointer-events:auto;
    }
    .productCard .imgWrap .js-favorite-toggle{
      left:10px;
    }
    .productCard .imgWrap .iconBtn:hover{
      transform:translateY(-1px);
      background:#fff;
    }
    .productCard .imgWrap .iconBtn.is-active{
      background:rgba(239,68,68,.12);
      border-color:#ef4444;
      color:#b91c1c;
    }
    .productCard .content{
      padding:18px;
      flex:1;
      display:flex;
      flex-direction:column;
    }
    .productCard .brandName{
      font-size:12px;
      color:var(--muted);
      margin-bottom:6px;
      font-weight:600;
      text-transform:uppercase;
      letter-spacing:.5px;
    }
    .productCard .title{
      margin:0 0 12px;
      font-size:15px;
      line-height:1.4;
      font-weight:600;
      color:var(--text);
      display:-webkit-box;
      -webkit-line-clamp:2;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }
    .productCard .title a{
      color:inherit;
      transition:color .2s ease;
    }
    .productCard .title a:hover{
      color:var(--accent);
    }
    
    .productCard .priceRow{
      display:flex;
      align-items:baseline;
      gap:10px;
      flex-wrap:wrap;
      margin-bottom:16px;
    }
    .productCard .shippingBadge{
      display:inline-flex;
      align-items:center;
      gap:6px;
      margin:-4px 0 14px;
      padding:6px 10px;
      border-radius:999px;
      background:#ecfdf5;
      color:#047857;
      font-size:12px;
      font-weight:700;
      line-height:1;
    }
    .productCard .price{
      font-size:22px;
      font-weight:800;
      color:var(--accent);
    }
    .productCard .oldPrice{
      color:#94a3b8;
      text-decoration:line-through;
      font-size:15px;
      font-weight:600;
    }
    .productCard .discount{
      background:#fef2f2;
      color:#dc2626;
      padding:4px 8px;
      border-radius:6px;
      font-size:12px;
      font-weight:700;
    }
    
    .productCard .actions{
      display:flex;
      gap:8px;
      margin-top:auto;
      align-items:center;
      position:relative;
      z-index:4;
    }
    .productCard .actions .btn{
      flex:1;
      justify-content:center;
      padding:8px 12px;
      font-size:12px;
    }
    .productCard .actions .iconBtn{
      width:32px;
      height:32px;
      border-radius:999px;
      border:1px solid var(--line);
      background:var(--card);
      display:inline-flex;
      align-items:center;
      justify-content:center;
      font-size:14px;
      cursor:pointer;
      padding:0;
      transition:all .2s;
      flex-shrink:0;
    }
    .productCard .actions .iconBtn:hover{
      background:var(--accent);
      color:#fff;
      border-color:var(--accent);
    }
    .productCard .actions .iconBtn.is-active{
      background:rgba(37,99,235,.12);
      border-color:#2563eb;
      color:#1d4ed8;
    }
    .productCard .actions button.cart-icon,
    .productCard .actions .por-cartBtn{ width:32px; height:32px; border-radius:999px; border:1px solid #25d366; padding:0; flex-shrink:0; }
    .productCard .actions .por-cartBtn svg{ width:18px; height:18px; }
    .productCard .actions .js-add-to-cart{
      width:32px;
      height:32px;
      border-radius:999px;
      border:1px solid rgba(239,68,68,.75) !important;
      background:#fff !important;
      color:#ef4444 !important;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      font-size:16px;
      line-height:1;
      cursor:pointer;
      padding:0;
      transition:all .2s;
      flex-shrink:0;
    }
    .productCard .actions .js-add-to-cart svg{
      width:18px;
      height:18px;
      display:block;
    }
    .productCard .actions button.cart-icon:hover,
    .productCard .actions .js-add-to-cart:hover{
      background:#ef4444 !important;
      color:#fff !important;
      transform:translateY(-1px);
      box-shadow:0 4px 12px rgba(239,68,68,.3);
    }
    /* Sepetteki ürün */
    .productCard .actions .js-add-to-cart.is-in-cart{
      background:#16a34a !important;
      border-color:#16a34a !important;
      color:#fff !important;
    }
    .productCard .actions .js-add-to-cart.is-in-cart:hover{
      background:#15803d !important;
      border-color:#15803d !important;
      box-shadow:0 4px 12px rgba(22,163,74,.3);
    }
    .productCard .actions .btn.primary{
      flex:0 1 auto;
      min-width:88px;
    }
    
    .emptyState{
      text-align:center;
      padding:80px 20px;
      background:var(--card);
      border-radius:var(--radius);
      border:1px solid var(--line);
    }
    .emptyState svg{
      width:80px;
      height:80px;
      margin:0 auto 24px;
      opacity:.3;
    }
    .emptyState h2{
      margin:0 0 12px;
      font-size:24px;
      font-weight:700;
    }
    .emptyState p{
      color:var(--muted);
      margin:0 0 24px;
      font-size:16px;
    }

    .paginationWrap{ margin-top:32px; }
    .pagination{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; }
    .pagination a{ display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 12px; border-radius:10px; background:var(--card); border:1px solid var(--line); font-weight:600; font-size:14px; color:var(--text); text-decoration:none; }
    .pagination a:hover{ background:var(--accent); color:#fff; border-color:var(--accent); }
    .pagination a.is-current{ background:var(--accent); color:#fff; border-color:var(--accent); pointer-events:none; }
    
    footer{
      margin-top:60px;
      padding:32px 0;
      border-top:1px solid var(--line);
      text-align:center;
      color:var(--muted);
      font-size:14px;
    }
    footer a{
      color:var(--accent);
    }
