 /* Base styles */
 body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0 8px;
    background-color: #f5f5f5;
  }
  
  h1 {
    text-align: center;
    margin: 16px 0;
  }
  
  .category {
    margin-bottom: 40px;
  }
  
  /* Style for category titles */
  .category h2 {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px solid #ccc;
    padding-bottom: 8px;
  }
  
  /* Product grid layout */
  .product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Product card styling */
  .product-card {
    background-color: white;
    border: 1px solid #ddd;
    padding: 16px;
    text-align: center;
    transition: box-shadow 0.3s;
    border-radius: 20px;
  }
  
  .product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  /* Image container */
  .product-card .image-container {
    width: 100%;
    height: 200px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff; /* Optional: Matches the card background */
  }
  
  /* Image styling */
  .product-card img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
  }
  
  /* Product name styling */
  .product-card h3 {
    margin: 12px 0;
    font-size: 18px;
    color: #555;
  }
  
  /* Product details styling */
  .product-card p {
    font-size: 16px;
    color: #777;
  }
  
  /* Button styling (if applicable) */
  .btn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 24px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
  }
  
  .btn:hover {
    background-color: #218838;
  }
  

  
  /* Responsive layout adjustments */
  @media (min-width: 600px) {
    .product-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 900px) {
    .product-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }