* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

header {
  background-color: #000;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar h1 {
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

.nav-links a:hover {
  color: #3498db;
}

.nav-links a.active {
  color: #3498db;
  font-weight: bold;
}

.badge {
  background-color: #e74c3c;
  color: white;
  border-radius: 50%;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  margin-left: 0.3rem;
}

main {
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.products-grid {
  display: grid;
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 1rem;
  display: block;
  background-color: #f0f0f0;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.product-card .description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-card .price {
  font-size: 1.5rem;
  color: #27ae60;
  font-weight: bold;
  margin-bottom: 1rem;
}

.product-card p {
  margin-bottom: 1rem;
}

.product-card .button,
.product-card .button-secondary {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #3498db;
  color: white;
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-wishlist {
  background-color: #e74c3c;
  color: white;
  width: 100%;
}

.btn-wishlist:hover {
  background-color: #c0392b;
}

.btn-remove {
  background-color: #95a5a6;
}

.btn-remove:hover {
  background-color: #7f8c8d;
}

.btn-remove-item {
  background-color: #e74c3c;
  color: white;
}

.btn-remove-item:hover {
  background-color: #c0392b;
}

.wishlist-indicator {
  text-align: center;
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  height: 1.2rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.product-info .price {
  font-size: 2rem;
  color: #27ae60;
  font-weight: bold;
  margin-bottom: 1rem;
}

.product-info .description {
  color: #555;
  margin-bottom: 2rem;
}

.product-features {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 5px;
  margin-bottom: 2rem;
}

.product-features h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.product-features ul {
  list-style-position: inside;
  color: #555;
}

.product-features li {
  margin-bottom: 0.5rem;
}

.wishlist-status {
  margin-top: 1rem;
  color: #e74c3c;
  font-size: 1.1rem;
}

.wishlist-items {
  display: grid;
  gap: 1.5rem;
}

.wishlist-item {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
}

.wishlist-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.item-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.item-details .price {
  font-size: 1.2rem;
  color: #27ae60;
  font-weight: bold;
}

.empty-message {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 8px;
}

.empty-message p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1.5rem;
}

footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #333;
  color: #fff;
  padding: 10px 20px;
}

.banner a {
  color: #fff;
  margin-right: 10px;
  text-decoration: none;
}

.banner-left a {
  margin-right: 15px;
}

.product-grid {
  display: grid;
  gap: 20px;
}

.button {
  display: inline-block;
  padding: 6px 10px;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.9rem;
  border: none;
}

.button:hover {
  background: #005fa3;
}

.button-secondary {
  display: inline-block;
  padding: 6px 10px;
  background: #e74c3c;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.9rem;
  border: none;
}

.button-secondary:hover {
  background: #c0392b;
}

.error {
  color: red;
}