body {
    font-family: sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
  }
  
  .navbar {
    background-color: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .navbar-menu {
    display: flex;
    gap: 1rem;
  }
  
  .nav-button {
    background: none;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
  }
  
  .product-grid {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
  }
  
  .product-card {
    background-color: white;
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .product-image {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 0.5rem;
  }
  
  .product-details {
    flex: 1;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .product-title {
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .product-description {
    color: #4b5563;
    margin-bottom: 0.5rem;
  }
  
  .add-to-cart {
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
  }
  
/* 📱 Media query for mobile or smaller screens */
@media (max-width: 768px) {
    .product-card {
      flex-direction: column;
      align-items: center; /* Center content */
      padding: 1rem;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain; /* Avoid cropping */
    }
  
    .product-details {
      margin-left: 0;
      margin-top: 1rem;
      width: 100%;
      text-align: center; /* Optional: Center text */
    }
  
    .add-to-cart {
      align-self: center; /* Center button */
      margin-top: 0.5rem;
    }
  }
  
  