demo/module-federation/cart/src/cart.css
/* Cart MFE Styles */
.cart-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.empty-cart-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-cart h2 {
  color: #666;
  margin-bottom: 1rem;
}

.empty-cart p {
  color: #999;
  margin-bottom: 2rem;
}

.continue-shopping-btn {
  background: #667eea;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.continue-shopping-btn:hover {
  background: #5a67d8;
  transform: scale(1.05);
}

/* Cart Content */
.cart-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
}

@media (max-width: 968px) {
  .cart-content {
    grid-template-columns: 1fr;
  }
}

/* Cart Items */
.cart-items {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.cart-items h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.item-image {
  font-size: 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.item-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.item-price {
  color: #666;
  font-size: 1rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f5f5f5;
  padding: 0.5rem;
  border-radius: 50px;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.quantity-btn:hover {
  background: #667eea;
  color: white;
}

.quantity {
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

.item-total {
  font-size: 1.2rem;
  font-weight: bold;
  color: #667eea;
}

.remove-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.remove-btn:hover {
  opacity: 1;
}

/* Cart Summary */
.cart-summary {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.cart-summary h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

/* Promo Code */
.promo-code-section {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.promo-input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  text-transform: uppercase;
}

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

.apply-btn {
  background: #667eea;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.apply-btn:hover {
  background: #5a67d8;
}

/* Summary Details */
.summary-details {
  border-top: 2px solid #f0f0f0;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #666;
}

.summary-row.discount {
  color: #27ae60;
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  padding-top: 1rem;
  border-top: 2px solid #f0f0f0;
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.checkout-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

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

.event-info h3 {
  color: #667eea;
  margin-bottom: 1rem;
}

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

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

.event-info li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: #667eea;
}
