
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  }
  a{
      text-decoration: none;
      color:black;
  }
  
  .product-grid {
  display: grid;
  gap: 20px;
  padding: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Ensure responsive columns */
  }
  
  .product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 15px;
  display: block; /* Ensure it's block-level for proper sizing */
  position: relative;
  }
  
  .product-card img {
    max-width: 100%;
  width: auto;
  height: auto;
  max-height: 200px;
  margin-bottom: 10px;
  }
  .product-card a{
      text-decoration: none;
      height:11px;
  }
  .product-card h3 {
  font-size: 1.1rem;
  color: #333;
  margin: 10px 0;
  color: green;
  border-bottom: #ff5722;

  
  
  
  
  }
  .product-card h6 {
    margin: 0px;
 
    color: #585957;
    align-items: start;
  }
  
  .product-card p {
  color: #666;
  font-size: 0.9rem;
  margin: 5px 0;
  }
  .product-card h4{
    color: green;
    margin-bottom: 0px;
    
  }
  
  .product-card .order-buttons{
  
    display: flex;
    
  }
  .product-card .add-to-cart {
  
    display: none;
      background-color: red;
      color: white;
      border: none;
      
      width: 40%;
      font-size: 14px;
      cursor: pointer;
      position: absolute;
      bottom: 10px;
      left: 0%;
      
     
      margin-left: 1px;
    padding-bottom: 5px;
    border-top-width: 5px;
    padding-top: 7px;
  }
      
      .product-card .order-whatsapp-btn {
      display: none;
      background-color:#8CC63F;
      color: white;
      border: solid;
      
      width: 50%;
      font-size: 14px;
      cursor: pointer;
      position: absolute;
      bottom: 8px;
     right: 0%;
     padding-bottom: 10px;
    
    padding-top: 7px;
     
      
  
  
      }
      .product-card:hover {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }
      
      .product-card:hover .add-to-cart {
     display: block;
    }
  
      .product-card:hover .order-whatsapp-btn {
        display: block;
       
      
  
      }
  
  
  
  .price {
  margin-top: 10px;
  
  }
  
  .price span {
  font-size: 1.2rem;
  color: #ff5722;
  font-weight: bold;
  }
  
  .price del {
  font-size: 0.9rem;
  color: #999;
  margin-left: 10px;
  }
  
  
  
  
  
  
  /* single product page */
  
  .product-info{
  display: flex;
  width: auto;
  
  }
  
  .product-image {
    width: 50%;
    
      border-radius: 4px;
      
      margin-right: 50px;
    }
    .product-image img{
      width: 100%;
    }
    #add-to-cart{
      background-color:green ;
      color: aliceblue;
      padding-top: 12px;
     padding-bottom: 12px;
     padding-left: 60px;
     padding-right:60px ;
     font-size: 20px;
      
      border-radius: 30px;
      font-weight: bolder;
      font-size: 20px;
      align-self: baseline;
     margin-bottom: 0%;
    }
    .whatsapps-btn{
      background-color:green ;
      color: aliceblue;
      border: solid;
      font-size: 20px; 
     border-color: #333;
     font-weight: bolder;
     padding-top: 12px;
     padding-bottom: 12px;
     padding-left: 20px;
     padding-right:20px ;
     font-size: 20px;
     text-align: center;
  
     
     border-radius: 30px;
    
    }
    .product-descriptions{
      width: 100%;
      
    
   
      
  
      
  
  
  }
  .product-description{
      margin-left:30px;
      
    
   
      
  
      
  
  
  }
    .long-description {
      text-align: left;
      margin-top: 20px;
      padding: auto;
      margin-right:15px ;
      padding: 20px;
      
     
     
  
    }
    .product-features{
  
      text-align: left;
      margin-top: 20px;
      padding: 10px;
      margin-right:15px ;
      width: 90%;
    }
    
    .long-description h2{
      text-align: left;
      
     
  
    }
  
  
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
  
   .product-description{
      margin-left:10px;
      
    
   
      
  
      
  
  
  }
  
   .product-card .order-buttons{
  
    display: flex;
    width:30px;}
  
  .product-grid{
      gap: 5px;
     padding: 5px;}
  
  
  .product-card h3 {
   font-size: 10PX;
       margin: 1px 0;
      
  }
  
  .product-card p {
   font-size: 0.8rem;
  }
  
  .price span {
   font-size: 1rem;
  }
  /* Responsive thumbnails for smaller screens */
  
    .thumbnail {
        width: 60px; /* Smaller size for tablets */
        height: 60px;
    }
    #add-to-cart{
      display: block;
      background-color: #fff;
      color: #8CC63F;
      padding-top: 12px;
   padding-bottom: 12px;
   padding-left: 20px;
   padding-right:40px ;
   font-size: 20px;
   width: 100%;
   margin-bottom: 20px;
    }
    .whatsapps-btn{
      display: block;
    }
  }
  
  @media (max-width: 480px) {
      #product{
         display: inline-block;
      }
      .product-image {
        width: 100%;
        
          border-radius: 4px;
          
          margin-right: 50px;
        }
      .product-grid {
       grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust for smaller screens */
      }
      .product-card{
        display: inline-block;
       min-width: 40%;
      
      
     
     gap: 5px;
     padding: 5px;}
     
      .product-card h3 {
       font-size: 1rem;
       font-weight:400;
        display: -webkit-box;
  -webkit-line-clamp: 2;   /* 👈 limits to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
       
      }
      
      .product-card p {
       font-size: 0.8rem;
      }
      
      .price span {
       font-size: 1rem;
      }
  
      .product-info{
          display: block;
          padding: 5px;
          
          }
          .product-description{
             text-align: center;
             display: inline-block;
  
              
  
  
          }
          .product-descriptions{
              text-align: center;
             display: inline-block;
              display: -webkit-box;
  -webkit-line-clamp: 4;   /* 👈 ONLY affects cards */
  -webkit-box-orient: vertical;
  overflow: hidden;
  
              
  
  
          }
      #add-to-cart{
        display: block;
        background-color: #fff;
        color: #8CC63F;
        padding-top: 12px;
     padding-bottom: 12px;
     padding-left: 20px;
     padding-right:40px ;
     font-size: 20px;
     width: 100%;
      }
      .whatsapps-btn{
        display: block;
      }
  .long-description{
   
      display: inline-block;
  }
          .product-image {
             display: block;
              
              margin-right: 50px;
            }
  
  
  
            .product-card .add-to-cart {
  
             display: none;
                background-color: red;
                color: white;
                border: none;
                
               
                font-size: 14px;
                cursor: pointer;
                position: absolute;
                bottom: 10px;
                left: 0%;
                height:39px;
               
                margin-left: 1px;
              
            }
                
                .product-card .order-whatsapp-btn {
              display: none;
                background-color:#8CC63F;
                color: white;
                border: solid;
                
                width: 40%;
                font-size: 14px;
                cursor: pointer;
                position: absolute;

               right: 0%;
                  height: 32px;
    padding-right: 6px;
    padding-left: 7px;
    padding-top: 6px;
    padding-bottom: 1px;
               
                
            
            
                }
                .product-card img {
                
                
                
                }

                 
                 
                 }
  
      }
  
  
  
  
  