/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2874f0;
    color: white;
    padding: 15px;
  }
  
  header .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  header .search-bar input {
    padding: 10px;
    width: 300px;
  }
  
  header .search-bar button {
    padding: 10px;
    background-color: #ff9900;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  header .nav-links button {
    padding: 10px;
    background-color: #ff9900;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  nav.categories {
    display: flex;
    justify-content: space-around;
    background-color: #f1f1f1;
    padding: 15px 0;
  }
  
  nav.categories button {
    background-color: transparent;
    border: none;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
  }
  
  main {
    padding: 20px;
    text-align: center;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .product-card:hover {
    transform: scale(1.05);
  }
  
  .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .product-card .product-details {
    padding: 15px;
  }
  
  .product-card .product-details h3 {
    font-size: 1.1rem;
    color: #333;
  }
  
  .product-card .product-details p {
    color: #555;
    font-size: 0.9rem;
  }
  
  .product-card .product-details button {
    width: 100%;
    padding: 10px;
    background-color: #ff9900;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
  }
  
  footer {
    background-color: #232f3e;
    color: white;
    padding: 10px;
    text-align: center;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .product-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 480px) {
    .product-grid {
      grid-template-columns: 1fr;
    }
  }
  