/* 1Product Listing */
.product-listing {
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure consistent height */
    min-height: 300px; /* You can adjust this */
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    background-color: #ffffff; /* Pure white, same as image background */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;                /* Remove extra spacing */
    height: 200px;              /* Let the image define the height */
}

.product-image.placeholder::after {
    content: 'Product Image';
    color: white;
    font-weight: 500;
}

.product-card h4 {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    margin-top: auto; /* Push it to the bottom of the flex box */
    padding: 10px 20px;
    min-height: 50px; /* Force name area to be same height */
    display: flex;
    align-items: center;
    justify-content: center;
}


.product-card p {
    padding: 0 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-availability-note{
  color: black;
  text-align: center;
  font-size: 20px;
  font-style: Arial;
  font-weight: bold;
}


@media (max-width: 480px) {

  .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.product-card h4 {
  font-size: 1rem;
}

.product-image {
  padding: 5px;
}

}






