/* Products Page Styles */
.products-hero {
  background: #f8f9fa;
  color: #333;
  padding: 3rem 0 2rem;
  margin-bottom: 2rem;
  position: relative;
  border-bottom: 1px solid #e9ecef;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(102,126,234,0.03)" cx="200" cy="200" r="100"/><circle fill="rgba(102,126,234,0.02)" cx="800" cy="800" r="150"/></svg>');
  opacity: 0.4;
}

.products-hero .container {
  position: relative;
  z-index: 2;
}

.products-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

.products-hero .lead {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

/* Breadcrumb Styling */
.custom-breadcrumb {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  display: inline-block;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.custom-breadcrumb .breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
}

.custom-breadcrumb .breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
  color: #667eea;
}

.custom-breadcrumb .breadcrumb-item.active {
  color: #333;
  font-weight: 600;
}

/* Category Filters */
.category-filters {
  margin-bottom: 3rem;
  text-align: center;
}

/* SubCategory Filters */
.subcategory-filters {
  margin-bottom: 3rem;
  text-align: center;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #e9ecef;
}

.filter-btn {
  background: white;
  border: 2px solid #e9ecef;
  color: #666;
  padding: 0.75rem 1.5rem;
  margin: 0.25rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
  background: #667eea;
  border-color: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.filter-btn i {
  margin-right: 0.5rem;
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #667eea;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #667eea;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 250px);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.product-quantity {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.product-cta {
  background: #667eea;
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.product-cta:hover::before {
  left: 100%;
}

.product-cta:hover {
  background: #5a6fd8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #666;
}

.empty-state i {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  color: #333;
  margin-bottom: 1rem;
}

/* Search Section */
.search-section {
  background: #f8f9fa;
  padding: 2rem 0;
  margin-bottom: 3rem;
  border-radius: 20px;
}

.search-box {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

/* Stats Section */
.products-stats {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  text-align: center;
}

.stats-item {
  display: inline-block;
  margin: 0 1rem;
  padding: 0.5rem 1rem;
}

.stats-number {
  font-size: 2rem;
  font-weight: 800;
  color: #667eea;
  display: block;
}

.stats-label {
  color: #666;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
  .products-hero h1 {
    font-size: 2.5rem;
  }
  
  .products-hero .lead {
    font-size: 1.1rem;
  }
  
  .filter-btn {
    display: block;
    margin: 0.5rem auto;
    width: 200px;
  }
  
  .product-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .products-hero {
    padding: 2rem 0;
  }
  
  .products-hero h1 {
    font-size: 2rem;
  }
  
  .product-image {
    height: 200px;
  }
} 