body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}
header {
  background: #333;
  color: #fff;
  padding: 10px 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
header h1 { font-size: 20px; margin: 0; }
nav a {
  color: #fff;
  margin: 5px;
  text-decoration: none;
  font-size: 14px;
}
nav a:hover { text-decoration: underline; }

.search-bar input {
  padding: 5px 10px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
}

.wishlist-counter, .cart-counter {
  background: #ff1493;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 12px;
  margin-left: 8px;
}

main { padding: 15px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s;
  overflow: hidden;
}
.card:hover { transform: scale(1.03); }
.card img { width: 100%; height: 220px; object-fit: cover; }

.btn { padding: 6px 10px; border-radius: 6px; cursor: pointer; border: none; margin: 3px; font-size: 13px; }
.btn.buy { background: #28a745; color: white; }
.btn.wishlist, .btn.addcart { background: #ff69b4; color: white; }
.btn.buy:hover { background: #1e7e34; }
.btn.wishlist:hover, .btn.addcart:hover { background: #ff1493; }

/* Page Content Styles */
.page-content {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 20px auto;
  max-width: 1000px;
}

.about-section, .service-section, .contact-section {
  margin-bottom: 30px;
}

.about-section h3, .service-section h3, .contact-section h3 {
  color: #ff1493;
  border-bottom: 2px solid #ff1493;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.stat-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #ff1493;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #ff1493;
  margin-bottom: 5px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid #28a745;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cart-item {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 4px solid #ff1493;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
}

.checkout-btn {
  background: #28a745;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.contact-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  color: #ff1493;
  margin-bottom: 10px;
}

#about-page, #service-page, #contact-page, #cart-page { 
  display: none; 
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-100px); }
}

@media (max-width: 600px) {
  header { flex-direction: column; align-items: flex-start; }
  nav a { font-size: 13px; }
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .search-bar { width: 100%; margin-top: 8px; }
  .stats-grid, .service-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
}