    .book-card {
      border: 1px solid #ccc;
      margin: 5px;
	  padding: 5px;
	  flex: 0 1 calc(16% - 10px);
    }
    .book-container {
      display: flex;
      flex-wrap: wrap;
	  justify-content: center;
    }
	header {
    background-color: #222;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 1px;
  }
  
  .image-container {
  display: flex;
  flex-wrap: wrap; /* allows wrapping on small screens */
  gap: 10px;       /* space between images */

}

.image-container img {
  max-width: 100%;  /* side by side on larger screens */
  height: auto;    /* maintain aspect ratio */
  object-fit: cover;
}

@media (max-width: 600px) {
  .image-container img {
    max-width: 100%; /* stack images on small screens */
  }
}



  .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
  }
.cart-link {
    display: block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: #E8E5DE;
    font-size: 18px;
  }

  .cart-link:hover {
    text-decoration: underline;
  }
  .product {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    text-align: left;
    padding: 10px;
  }
  .product h1 {
    font-size: 40px;
    margin: 10px 0;
    color: #333;
  }
  
  .product h2 {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
  }
  .discount{
	  font-size:20px;
	  color:red;
  }
	 

  .product p {
    color: #555;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .product button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
  }

  .product button:hover {
    background-color: grey;
  }
.product img {
    object-fit: contain;
    margin-bottom: 10px;
  }

  @media (max-width: 768px) {
	  header {
    text-align: left;
    font-size: 20px;
}
	.book-card {
      border: 1px solid #ccc;
      margin: 5px;
	  padding: 5px;
	  flex: 0 1 calc(33% - 10px);
    }

    .container {
      grid-template-columns: 1fr;
      padding: 10px;
    }
	
	.cart-link {
    text-align: right;
    font-weight:normal;
    text-decoration: none;
	color: #E8E5DE;
    font-size: 20px;
  }
  }
  
   @media (max-width: 480px) {
	  header {
    text-align: left;
    font-size: 16px;
}
	.book-card {
      border: 1px solid #ccc;
      margin: 5px;
	  padding: 5px;
	  flex: 0 1 calc(45% - 10px);
    }
	
	
    .container {
      grid-template-columns: 1fr;
      padding: 10px;
    }
	
	.cart-link {
    text-align: right;
    font-weight:normal;
    text-decoration: none;
	color: #E8E5DE;
    font-size: 16px;
  }
  }