body {
  background: #2c2c2c; /* Fallback for older browsers */
  background: -webkit-linear-gradient(180deg, #2c2c2c 0%, #3a3a3a 100%);
  background: -moz-linear-gradient(180deg, #2c2c2c 0%, #3a3a3a 100%);
  background: -o-linear-gradient(180deg, #2c2c2c 0%, #3a3a3a 100%);
  background: linear-gradient(180deg, #2c2c2c 0%, #3a3a3a 100%);
  color: #fff;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 18px; /* Genel yazı boyutu artırıldı */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === SAYFA BAŞLIĞI === */
.page-title h1 {
  font-size: 48px !important; /* Başlık boyutu artırıldı */
  font-weight: 700;
  margin-bottom: 20px;
}

.page-title .title-wrapper p {
  font-size: 20px !important; /* Açıklama metni boyutu artırıldı */
  line-height: 1.6;
}

.breadcrumb {
  font-size: 16px !important; /* Breadcrumb boyutu artırıldı */
}

.breadcrumb a {
  font-size: 16px !important;
}

/* === FİLTRE ALANI === */
/* <section class="filter-bar">
  <div class="container text-center">
    Kategoriler JS tarafından eklenecek
  </div>
</section> */

/* === FİLTRE BUTONLARI === */
.filter-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 12px 30px;
  margin: 8px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 17px; /* Filtre buton yazı boyutu artırıldı */
  letter-spacing: 0.3px;
}

.filter-btn:hover,
.filter-btn.active {
  background: #b3201f;
  border-color: #b3201f;
  color: #fff;
  box-shadow: 0 4px 10px rgba(179, 32, 31, 0.4);
}

.filter-btn:active {
  transform: scale(0.97);
}

/* === KATEGORİ SİDEBAR === */
.category-sidebar {
  padding: 20px 15px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.category-sidebar-wrapper {
  background: rgba(0, 0, 0, 0.4); /* Fallback for browsers without backdrop-filter */
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  padding: 25px 20px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.category-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === FİLTRE BUTONLARI (Dikey Sidebar için) === */
.category-list .filter-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 14px 20px;
  margin: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.3px;
  text-align: left;
  width: 100%;
  display: block;
}

.category-list .filter-btn:hover,
.category-list .filter-btn.active {
  background: #b3201f;
  border-color: #b3201f;
  color: #fff;
  box-shadow: 0 4px 10px rgba(179, 32, 31, 0.4);
  transform: translateX(5px);
}

.category-list .filter-btn:active {
  transform: translateX(5px) scale(0.98);
}

/* === ÜRÜN GRID (Sidebar ile uyumlu) === */
.product-section {
  padding: 40px 0;
}

.product-section .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 0 120px;
}

/* === ÜRÜN KARTI === */
.product-card {
  background: rgba(255, 255, 255, 0.08); /* Fallback for browsers without backdrop-filter */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  padding: 22px;
  text-align: center;
  -webkit-transition: all 0.35s ease;
  -moz-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.product-card:hover {
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  -o-transform: translateY(-6px);
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.product-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 14px;
}

.product-card h3 {
  font-size: 24px; /* Ürün başlığı boyutu artırıldı */
  font-weight: 600;
  color: #b3201f;
}

/* === ÜRÜN AÇIKLAMA METNİ (okunabilir hale getirildi) === */
.product-card p {
  font-size: 17px; /* Ürün açıklama metni boyutu artırıldı */
  color: rgba(12, 0, 0, 0.85); /* ✔️ açık gri yerine beyaz ton, koyu fonda net */
  min-height: 60px;
  overflow: hidden;
  margin-bottom: 10px;
  line-height: 1.6;
}


.product-card .category {
  font-size: 16px; /* Kategori yazı boyutu artırıldı */
  color: #b3201f;
  margin-top: 4px;
  font-weight: 500;
}

.add-cart {
  margin-top: 14px;
  background: #b3201f;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 500;
  font-size: 16px; /* Sepete ekle butonu yazı boyutu artırıldı */
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-cart:hover {
  background: #8f1817;
  box-shadow: 0 4px 12px rgba(179, 32, 31, 0.4);
}

/* === FOOTER YAZILARI === */
.footer h4 {
  font-size: 22px !important; /* Footer başlıkları boyutu artırıldı */
}

.footer p,
.footer a,
.footer li {
  font-size: 17px !important; /* Footer metinleri boyutu artırıldı */
}

.footer-bottom {
  font-size: 16px !important; /* Footer alt metin boyutu artırıldı */
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .category-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }
  
  .category-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .category-list .filter-btn {
    flex: 1 1 auto;
    min-width: 150px;
    text-align: center;
  }
}
