/* ==== Ümumi Stil ==== */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.product-section {
  padding: 40px 0;
  background-color: #f8f8f8;
}

.product-full-width {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.product-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* ==== Kateqoriya Sidebar (desktop) ==== */
.category-sidebar {
  flex: 0 0 220px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.category-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.category-list li.active {
  color: #007bff;
  font-weight: bold;
}

.category-list li:hover {
  color: #007bff;
}

/* ==== Məhsul Kartları ==== */
.product-display-area {
  flex: 1;
}

.product-cards-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.product-card img {
  max-width: 100%;
  height: 130px;
  object-fit: contain;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

.product-card .specs-grid {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 13px;
  color: #777;
}

.spec-value {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

/* ==== Pagination ==== */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination-container button {
  padding: 8px 12px;
  border: none;
  background-color: #eaeaea;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.pagination-container button.active {
  background-color: #007bff;
  color: white;
}

/* ==== Responsive / Mobil Qaydalar ==== */
@media (max-width: 1024px) {
  .product-cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-sidebar {
    flex: 0 0 180px;
  }
}

@media (max-width: 768px) {
  .product-layout {
    flex-direction: column;
  }
  .category-sidebar {
    display: none !important;
  }
  .product-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0; /* Açıq boz xətt */
  font-size: 16px;
  color: #333;
  cursor: pointer;
}

/* Sonuncu elementin altında cizgi olmasın */
.category-list li:last-child {
  border-bottom: none;
}
