/* Ürün ve Kategori Detay Sayfaları */

.breadcrumb-custom {
  background: var(--white);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.breadcrumb-custom .breadcrumb {
  margin: 0;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.product-detail-container {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.product-images {
  position: relative;
}

.main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.image-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  border-color: var(--primary-color);
}

.product-info-detail {
  padding-left: 2rem;
}

.product-title-detail {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.product-price-detail {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-rating-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.rating-stars {
  color: #ffc107;
  font-size: 1.2rem;
}

.rating-count {
  color: var(--text-light);
}

.product-meta {
  margin-bottom: 2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.meta-item i {
  width: 20px;
  color: var(--primary-color);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quantity-input {
  width: 80px;
  text-align: center;
}

.btn-quantity {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-to-cart-section {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-add-cart {
  flex: 1;
  padding: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-buy-now {
  flex: 1;
  padding: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.product-tabs {
  margin-top: 3rem;
}

.tab-content {
  padding: 2rem;
  background: var(--white);
  border-radius: 0 0 8px 8px;
}

.specifications-table {
  width: 100%;
}

.specifications-table th {
  background: var(--bg-light);
  font-weight: 600;
  padding: 1rem;
  width: 30%;
}

.specifications-table td {
  padding: 1rem;
}

.reviews-section {
  margin-top: 2rem;
}

.review-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.review-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-dark);
}

.review-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.similar-products {
  margin-top: 3rem;
}

.similar-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.category-filters {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.price-range {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.price-input {
  flex: 1;
}

@media (max-width: 768px) {
  .product-info-detail {
    padding-left: 0;
    margin-top: 2rem;
  }
  
  .product-title-detail {
    font-size: 1.5rem;
  }
  
  .product-price-detail {
    font-size: 2rem;
  }
  
  .main-image {
    height: 300px;
  }
  
  .add-to-cart-section {
    flex-direction: column;
  }
  
  .similar-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}