.hero {
  background: #2c3e50;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.heroContent {
  max-width: 800px;
  margin: 0 auto;
}

.heroContent h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.heroContent p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.95;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.searchSection {
  margin-bottom: 40px;
}

.searchInput {
  width: 100%;
  padding: 15px 20px;
  font-size: 1.1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.searchInput:focus {
  outline: none;
  border-color: #667eea;
}

.resultCount {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #666;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.cardImage {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

.cardImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardContent {
  padding: 20px;
}

.cardTitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.cardTextArea {
  cursor: pointer;
  margin-bottom: 16px;
}

.cardTextArea:hover {
  opacity: 0.8;
}

.cardDescription {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cardFooter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.productCount {
  font-size: 0.9rem;
  color: #667eea;
  font-weight: 600;
}

.viewLink {
  font-size: 0.9rem;
  color: #667eea;
  font-weight: 500;
}

.loading,
.error,
.noResults {
  text-align: center;
  padding: 60px 20px;
  font-size: 1.1rem;
  color: #666;
}

.error {
  color: #e53e3e;
}

/* Responsive */
@media (max-width: 768px) {
  .heroContent h1 {
    font-size: 2rem;
  }

  .heroContent p {
    font-size: 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}


