/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}



/* Sidebar and product layout */

.container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 8rem;
}

.sidebar {
  flex: 1;
  max-width: 250px;
  padding: 1rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin: 1rem 0;
}

.sidebar li a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.sidebar li a.active, .sidebar li a:hover {
  background-color: #ffcc00;
  color: #fff;
}

.products {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.product-card a {
  display: inline-block;
  text-decoration: none;
  color: #000000;
  border: 1px solid #ffcc00;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.product-card a:hover {
  background-color: #ffcc00;
  color: #fff;
}

/* Responsive styles */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 1rem;
  }

  .sidebar {
    max-width: 100%;
    margin-bottom: 2rem;
  }
}