

/* bookmark icon and container styles/ cart */
#bookmark-icon-container{
  position: absolute;
  top: 15px ;
  right: 15px;
  height: 40px;
  width: 40px;
  z-index: 1000;
  border-radius: 50%; 
  background-color: #fff !important;
  transition: transform 0.3s, background-color 0.3s; 

}

#bookmark-icon-container:hover {
  cursor: pointer;
  transform: scale(1.2); /* Zoom in effect */
  background-color: #eeeee6; 
}


#bookmark-icon {
    cursor: pointer;
    right: 6.5px;
    font-size: 1.6em;
    position: absolute;
    padding: 5px; 
    border-radius: 50%;
  }

  #total-bookmark{
    cursor: pointer;
    font-weight: bold;
    color: #000000;
    position: absolute;
    top: 6px; 
    right: 14px; 
    z-index: 1000; 
    transition: transform 0.3s, background-color 0.3s; 
    /* background-color: #fff; */
    padding: 2px;
    border-radius: 50%; 
  }


  
  /* Bookmark container styles */
  .bookmark-container {
    display: none;
    position: fixed; 
    top: 12px;
    right: 15px;
    width: 300px;
    padding: 20px;
    height: 80%;
    margin: 40px 20px 0 0;
    border-radius: 10px;
    background-color: #999;
    /* opacity: 0.9;  */
    backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px); 
    overflow-y: auto; /* Enable vertical scrolling */
    z-index: 1000;
    border-top: 1.5px solid #eee; /* Top border for the cart container */
    border-bottom: 1.5px solid #eee; /* Top border for the cart container */
    padding-top: 10px; /* Padding to separate the top border from the content */
  }
  
  
  .bookmark-container h2 {
    margin-bottom: 10px;
    text-align: center;
    margin-top: 0;
    font-weight: bold;
  }
  
  /* Bookmark items styling ----------------*/
  .bookmark-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 8px;
    max-width: 100%; 
    height: 70px;
  }
  
  .bookmark-item img {
    grid-column: 1;
    height: 70px;
    width: auto;
    
  }
  
  .bookmark-item .title {
    grid-column: 2;
    justify-content: center;
    text-align: center;
    /* font-size: 15px; */
    margin: 0;
    white-space: normal; /* Allow text to wrap */
  }
  
  .bookmark-item .delete-item {
    grid-column: 3;
    position: absolute;
    background: none;
    width: 35px;
    right: 20px;
    color: #000;
    cursor: pointer;
    font-size: 20px;
  }
  
  

   /* .bookmark-item p {
    margin-bottom: 0;
    color: #000;
    align-self: center;
  } */
 

  #bookmark .deleteall {
    cursor: pointer;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%);
    background-color: rgb(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
    margin-top: 15px;
    padding: 7px;
    color: #000;
    z-index: 1; /* Ensure text is above the pseudo-element */
    font-weight: bold;
    border-radius: 20px;
    width: 250px;
    position: relative;
    justify-content: center;
    text-align: center;
    align-items: center;
  }
  
  #bookmark .deleteall:hover {
    background-color: rgb(255, 255, 255, 0.7);
  }



/* Bookmark css for smaller screen */
@media (max-width: 768px){
  #bookmark-icon-container{
    top: 2px;
    right: 60px;
  }
  .bookmark-container {
    top: 1px;
    right: 40px;
  }
}