


   /* Full-screen product card styles */
  .product-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: white;
      z-index: 1000;
      overflow-y: auto;
  }
  
  .product-container {
      width: 100%;
      height: 100%;
      padding: 20px;
      position: relative;
  }

  .fullscreen-card {
      background-color: white;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
  }
  
  .fullscreen-card .card-image {
      height: 60vh;
      width: 100%;
      border-radius: 0;
  }
  
  .fullscreen-card .product-info {
      flex: 1;
      
      overflow-y:auto;
  }


  
  @media (min-width: 768px) {
      
      .product-overlay {
	  
	  background-color:white;
	  height: 100%;
	  border-radius:20px;
	  justify-items: center;
	  padding: 15px;
	  //box-shadow: 0px 0px 13px 8px rgba(0,0,0,0.1);
	  //border: 0.1rem solid #d8dbdd;
	  position:relative;
	  display: flex;
	  flex-direction: column;
	  //max-width: 270px; /* Instead of fixed width */
	  flex-direction: row;
	  max-width: 100%;
	  gap: 10%;
   
      }
      
      
      .fullscreen-card {
	  flex-direction: row;
      }
      
      .fullscreen-card .card-image {
	  width: 50%;
	  height: 300px;
	  border-radius: 20px;
	  
	  border: 0.02rem solid #d8dbdd;
      
	  width: 100%;
	  border-radius: 20px;
	  padding: 5px;
	  position:relative;
	  justify-items:end;
	  overflow:hidden;
	  
 

    }
    
    .fullscreen-card .product-info {
	width: 50%;
	padding: 0 20px;
    }
  }

   /* Reset container padding if needed */
  
  .card-body{
      
      background-color:white;
      height: 100%;
      border-radius:0px;
      justify-items: center;
      padding: 15px;
      box-shadow: 0px 0px 13px 8px rgba(0,0,0,0.1);
      position:relative;
      display: flex;
      flex-direction: column;
      
  }
  
  .detail-card-image{

      border: 0.02rem solid #d8dbdd;
      width: 100%;
      height: 400px;
      border-radius: 0px;
      padding: 5px;
      position:relative;
      justify-items:end;
      overflow:hidden;
      
      
  }

  .product-image {
      width: 100%;
      height: 100%;
      object-fit: contain; /* Changed from 'cover' to 'contain' */
      display: block;
      margin: 0 auto; /* Center the image */
      background-color: white; /* If image has transparency */
  }
  
  
  h2{
      font-family:"inter" ,sans-serif;
      font-weight:600;
      color:#00000;
  }
  p{
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #666666;
  }


  .product-info{
      display: flex;
      position: relative;
      flex-direction:column;
      gap:10px;   
  }

  .bottom-sheet{
      display: none;
  }

  .product-box btn-price{

      padding-bottom: 80px;
  }
  .product-box{
      display:flex;
      gap:15px;
      margin:10px;
  
      
 }
  
  .box{
      display:grid;
      grid-template-columns:repeat(3, 38px);
      grid-template-rows:repeat(4 ,30px);
      width:50%;
      
  }
  .item-box{
   height: 25px;
   width:28px;
   border-radius:3px;
   font-size: 10px;
   font-weight: 700;
   text-align: center;
   }

   .active{
   background:#d8dbdd;
   }

.active-color{
    border:solid #bdbdc5;	
}
.price{
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    padding-top:9px;
    white-space: nowrap;

}


.btn-container{
    display: flex;
    flex-direction: row;
    width: 300px;
    
}

.btn{
    
    background-color:#eeeef0;
    color: #222224;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 800;
    padding: 10px;
    width:100%;
    border-radius: 0px;
    border: none;
    cursor: pointer;
}



.comment-icon{
    background:#eeeef0;
    width:50px;
    height:50px;
    border-radius:50%;
    position:absolute;
    inset-inline-end: 10px;/*right:10px;*/
    top:10px;
    display: flex;
    color:#222224;
    align-items:center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

   .product-tags{
    width:50%;
   position:absolute;
   right:10px;
   bottom:5px;
   justify-items:end;
   }

    .tag-badge{


   padding: 0.3em 0.8em;
   background-color:#acacb6;
   color: #111112;
   border-radius: 999px;
   font-size: 0.875rem;
   
  
   }

@media (min-width: 768px) {
    
    .card-body {
	flex-direction: row;
	max-width: 100%;
	gap: 10%;
    }
    
    .detail-card-image {
	height: 400px;
	border-radius: 20px;
    }
    

    .detail-card-image, 
    .product-info {
	display: flex;
	width:200px;
	/*gap:15%;*/
	flex-direction: column;
	/*height: 100%;*/
    }

    .product-box{
	align-items:end;
	gap:10%;
    }
    .btn{
	width:200px;
	
    }
    .btn-price{
	position: absolute;
	bottom: 10px;
	right:3px;
    }
    p{
	/*font-size: 20px;*/
    }
}




/* Comment System Styles */
  .comment-toggle {
    position: fixed;
    bottom: 20px;
   
   inset-inline-end: 20px; /* This replaces 'right: 20px;' */
    background: #2F1C0B;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  }

  .comment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: none;
    overflow-y: auto;
  }

  .comment-container {
    background: white;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
  }

   .close-comments {
   position: absolute;
   top: 10px;
   inset-inline-end:10px;
   font-size: 24px;
   cursor: pointer;
   }
   
   .comment-form {
      margin-bottom: 30px;
   }
  
  .comment-list {
    max-height: 60vh;
    overflow-y: auto;
  }

  .comment-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
  }

  .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
  }

  .comment-actions {
    margin-top: 10px;
  }

  .comment-actions button {
    background: none;
    border: none;
    color: #2F1C0B;
    margin-right: 10px;
    cursor: pointer;
    font-size: 12px;
  }

  @media (max-width: 768px) {
    .comment-container {
      margin: 10px;
      padding: 15px;
    }
    
    .comment-form textarea {
      height: 100px;
    }

    
  }

  .lower{

      //position: relative;
      
     
  }
  
   .item-discrib{
       max-height: 50px;
       overflow-y: auto; /* Enables vertical scrolling */
       padding-right: 8px; /* Prevents text from touching scrollbar */
   }
   

   .back-btn-container{
   display:none;
   }


   @media(max-width:780px){

   
   .back-btn-container{
   width:40px;
   height:40px;
   border-radius:50%;
   border:;
   background-color:;
   position:fixed;
   top:3px;
   inset-inline-start:5px;/*insted left:5px;*/
   z-index:9999;
   display:flex;
   justify-content:center;
   align-content:center;
   }

   [dir="rtl"] .back-btn-container{
   transform:scaleX(-1);
   }

   }
