body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
  }
  
  .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .product {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  
  .product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  
  .product h3 {
    margin: 10px 0 5px;
  }
  
  .rating {
    color: #ffc107;
    margin-bottom: 5px;
  }
  
  .description {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
  }
  
  .price {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }
  
  .stock {
    font-weight: bold;
    color: green;
  }
  
  .quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
  }
  
  .quantity button {
    padding: 5px 10px;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    font-size: 16px;
  }
  
  .quantity input {
    width: 50px;
    text-align: center;
    margin: 0 5px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .add-to-cart {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .add-to-cart:hover {
    background-color: #0056b3;
  }
  .bottom-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.bottom-buttons .btn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
}

.bottom-buttons .btn:hover {
    background-color: #ffcc00;
    color: #333;
    transform: scale(1.1);
}
