/* Basic Reset and Body Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.product-detail {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.product-detail h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #333;
}

.product-detail p {
  font-size: 1.2em;
  margin: 8px 0;
}

.product-detail .price {
  font-size: 1.5em;
  color: #e74c3c;
  font-weight: bold;
}

.product-detail .category, .product-detail .tags {
  font-size: 1.1em;
  color: #7f8c8d;
}

.product-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
}

.product-detail .description {
  font-size: 1.1em;
  margin-top: 20px;
  color: #555;
  line-height: 1.6;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card .product-info {
  font-size: 1.1em;
}

.product-card .product-info h2 {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 10px;
}

.product-card .price {
  font-size: 1.2em;
  color: #e74c3c;
  font-weight: bold;
}

.product-card .description {
  font-size: 1em;
  color: #555;
  margin-top: 10px;
}

.product-card .tags {
  font-size: 0.9em;
  color: #7f8c8d;
  margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .product-detail {
    padding: 15px;
  }

  .product-detail h1 {
    font-size: 2em;
  }

  .product-detail p {
    font-size: 1em;
  }

  .product-cards {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .product-card {
    padding: 10px;
  }

  .product-card .product-info h2 {
    font-size: 1em;
  }

  .product-card .price {
    font-size: 1em;
  }
}




/* Search Bar Styling */
.search-bar {
  margin-bottom: 20px;
  text-align: center;
}

.search-bar input {
  padding: 10px;
  font-size: 1.2em;
  width: 100%;
  max-width: 500px;
  border: 2px solid #ccc;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s;
}

.search-bar input:focus {
  border-color: #e74c3c;
}
