demo/module-federation/product-catalog/src/productCatalog.css
/* Product Catalog MFE Styles */
.product-catalog-container {
  padding: 0;
}

.catalog-header {
  text-align: center;
  margin-bottom: 2rem;
}

.catalog-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.catalog-header p {
  color: #666;
  font-size: 1.1rem;
}

/* Controls */
.catalog-controls {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.search-bar {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.search-bar input:focus {
  outline: none;
  border-color: #667eea;
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.filter-controls {
  display: flex;
  gap: 1rem;
}

.category-filter,
.sort-filter {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s;
}

.category-filter:hover,
.sort-filter:hover {
  border-color: #667eea;
}

/* Results Info */
.results-info {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.product-category {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-rating {
  color: #ffa500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
}

.add-to-cart-btn {
  background: #667eea;
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.add-to-cart-btn:hover {
  background: #5a67d8;
  transform: scale(1.05);
}

/* No Products */
.no-products {
  text-align: center;
  padding: 4rem 2rem;
  color: #999;
}

.no-products p {
  font-size: 1.2rem;
}

/* Communication Info */
.communication-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 3rem;
}

.communication-info h3 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.communication-info p {
  color: #666;
  margin-bottom: 1rem;
}

.communication-info ul {
  list-style: none;
  padding: 0;
}

.communication-info li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.communication-info li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
}
