/* Return button container */
#return{
    padding-left: 0.8%;              /* Slight horizontal offset */
    position: fixed;                 /* Always visible on screen */
    z-index: 10;                     /* Stays on top */
    cursor: pointer;
    margin-top: 70px;                /* Vertical position */
}

/* Return button style */
#button_return{
    background-color: #9da584;
    padding: 2px 6px;
    cursor: pointer;
    border: 1px solid white;
    border-radius: 5px;
    color:white;
}


/* ---------------- MAIN PRODUCT SECTION ---------------- */

#section_product {
  margin-top: 60px;                 /* Spacing from top */
  padding: 20px;
  position: relative;
}


/* Flex container for product page content */
#containter_fiche {
  display: flex;
  width: 100%;
  align-items: flex-start;
  margin-top: 80px;
}


/* Left-side info container */
#container_info {
  margin-left: 0;
  display: flex;
  width: 55%;                       /* Product info column width */
}


/* ---------------- FIXED REVIEW BADGE ---------------- */

.stars_product{
    width: 15px;                    /* Star icon size */
}

#contianer_avis_fiexed_prod{
    font-size: clamp(13px, 1vw, 20px); /* Adaptive scalable text */
}

#avis_fiexed_prod{
    width: 120px;
    text-align: center;
    position: fixed;                  /* Always visible in bottom-right */
    height:fit-content;
    padding: 10px;
    bottom: 2vh;
    right : 20px;
    z-index: 9999;                    /* Highest priority to stay on top */
    background-color: rgb(255, 255, 255);
}


/* Review grid override */
.grid_avis{
    height: auto!important;          /* Forces automatic height */
}

/* First section title */
#titre_first_section{
  margin-top: 5%;
  position: relative;
  z-index: 999;
}



/* ---------------- MEDIA QUERIES ---------------- */

@media (max-width: 1366px){
  #return{
    margin-top: 50px;               /* Adjust return button on smaller screens */
  }
}

@media (max-width: 1152px){
  #section_product{
    margin-top: 120px;              /* More spacing on tablet screens */
    padding: 0;
  }
  #return{
    margin-top: 0px;
  }
}

@media (max-width: 800px){
  #section_product{
    margin-top: 95px;               /* Adjust margin for mobile */
  }
}