.blocked_body{
  overflow: hidden;
}

.modalSelectionGuide .modal-inner{
  border-radius: 16px;
  box-shadow: 3px 5px 15px rgba(0,0,0,.15);
  left: 50%;
  max-height: 600px;
  max-width: 1100px;
  overflow-y: hidden;
  right: inherit;
  transform: translateX(-50%);
  width: 90%;
  min-height: 550px;
  overflow-x: hidden;
}

.modalSelectionGuide .modal-inner .modal-close{
  border: 1px solid #fff;
  right: 10px;
  top: 10px;
  position: fixed;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 10000;
  border: unset;
  background: unset;
  font-family: cursive;
}

.modalSelectionGuide .modal-inner .modal-wrapper{
  overflow: hidden;
}

.fake_history_answers{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.history_answers{
  position: fixed;
  height: 100%;
  width: 0;
  background-color: #F5F5F5;
  transition: width 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
  z-index: 10000;
  padding: 17px;
  visibility: hidden;
}

.history_answers.appear{
  width: 20%;
  visibility: visible;
}

.history_answers_title{
  font-weight: bold;
  font-size: 1.1rem;
  color: #4D4D4D;
  white-space: nowrap;
}

.history_answers > ul{
  padding-left: 17px;
  list-style-type: inherit;
  color: #4D4D4D;
}

.history_answers > ul > li{
  margin: 15px 0;
  cursor : pointer;
  transform: translateX(-20px);
  transition: opacity .4s ease, transform 0.4s ease;
  opacity: 0;
}

.history_answers > ul > li.appear{
  opacity: 1;
  transform: translateX(0);
}

.history_answers > ul > li > span:first-child{
  font-weight: bold;
}

.history_answers > ul > li > span:last-child{
  padding-left: 10px;
}

.content_wrapper_container{
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}

.content_wrapper_container.pane_appear{
  margin-left :calc(20% + 10px);
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}


.fake_content_wrapper_container_header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.content_wrapper_container_header{
  position: fixed;
  text-align: center;
  height: 66px;
  z-index: 9999;
  width: 100%;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}

.content_wrapper_container_header.pane_appear{
  width: 80%;
  margin-left: calc(20% - 25px);
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}

.content_wrapper_container_header .title{
  font-weight: 700;
  text-align: center;
  line-height: 66px;
  font-size: 1.5rem;
  margin: 0;
}

.content_wrapper_container_step{
  margin-top: 40px;
}

.content_wrapper_container_step .progress-circle{
  font-size: 20px;
  margin: 20px;
  position: relative;
  padding: 0;
  width: 3em;
  height: 3em;
  background-color: #F2E9E1;
  border-radius: 50%;
  line-height: 3em;
}

.content_wrapper_container_step .progress-circle.hidden{
  display: none;
}

.content_wrapper_container_step .progress-circle:after{
  border: none;
  position: absolute;
  top: 0.35em;
  left: 0.35em;
  text-align: center;
  display: block;
  border-radius: 50%;
  width: 2.3em;
  height: 2.3em;
  background-color: white;
  content: " ";
}

.content_wrapper_container_step .progress-circle span {
  position: absolute;
  line-height: 3em;
  width: 3em;
  text-align: center;
  display: block;
  color: #99171b;
  z-index: 2;
}
.content_wrapper_container_step .left-half-clipper {
  border-radius: 50%;
  width: 3em;
  height: 3em;
  position: absolute;
  clip: rect(0, 3em, 3em, 1.5em);
}

.content_wrapper_container_step .progress-circle.over50 .left-half-clipper {
  clip: rect(auto,auto,auto,auto);
}
.content_wrapper_container_step .value-bar {
  position: absolute;
  clip: rect(0, 1.5em, 3em, 0);
  width: 3em;
  height: 3em;
  border-radius: 50%;
  border: 0.45em solid #99171b;
  box-sizing: border-box;
  transition : transform .6s ease;
}

.content_wrapper_container_step .progress-circle.over50 .first50-bar {
  position: absolute;
  clip: rect(0, 3em, 3em, 1.5em);
  background-color: #99171b;
  border-radius: 50%;
  width: 3em;
  height: 3em;
}
.content_wrapper_container_step .progress-circle:not(.over50) .first50-bar{ display: none; }


.content_wrapper_container_timeline{
  margin: 30px 0 40px;
}

.content_wrapper_container_timeline.hidden{
  display: none;
}

.timeline{
  height: 5px;
  position: relative;
}


.divider{
  position: absolute;
  height: 100%;
  background-color: #EFF0F7;
  border-radius: 10px;
}

.divider_color{
  position: absolute;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 10px;
  transition: .6s ease;
}

.divider.active .divider_color{
  background-color: #99171b;
  width: 100%;
}

.step{
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  background-color: #EFF0F7;
  transform: translateY(-50%);
  transition: 0.6s ease;
  pointer-events: none;
  color: #8F8DAB;
}

.step.active{
  background-color: #99171b;
  cursor: pointer;
  transition: 0.6s ease;
  transition-delay: 0.5s;
  pointer-events: initial;
  color: white;
}

.parent_for_loader{
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  min-height : 200px;
}


.content_wrapper_container_question{
  width: 100%;
  margin: 0 auto;
}

.content_wrapper_container_question .question{
  font-size: 24px;
  text-align: center;
  line-height: 25px;
}

.custom_loader{
  position: absolute;
}

.content_wrapper_container_question  .answers_body{
  width: 100%;
  display: flex;
  position: relative;
  margin-top: 20px;
}

.content_wrapper_container_question .answers{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, calc(45% - 25px)));
  justify-content: center;
  gap: 25px;
  overflow-y: auto;
  max-height: 300px;
  padding-bottom: 30px;
  overflow-x: hidden;
}

.content_wrapper_container_question .answers .item{
  height: 125px;
  background-color: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 7px;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
  max-width: 340px;
  font-weight: bold;
  justify-self: center;
  cursor: pointer;
  transition : background-color .3s ease;
  margin: 10px 0;
  min-width: inherit;
  width: 100%;
}

.content_wrapper_container_question .answers .item:hover{
  background-color : rgba(1, 167, 183, 0.6);
}

.content_wrapper_container_question .answers .item.disabled{
  filter: contrast(0.5);
  pointer-events: none;
}

.content_wrapper_container_question .answers .item.erased{
  display: none;
}

.content_wrapper_container_question .answers .item .answer{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-direction: column;
  position: relative;
  border-radius: 7px;
}

.content_wrapper_container_question .answers .item .answer.disabled{
  pointer-events : none;
  filter : contrast(0);
}

.content_wrapper_container_question .answers .item .answer .terminals
{
  font-size: 14px;
  position: absolute;
  bottom: 5px;
  text-align: center;
  text-transform: lowercase;
  color: #01a7b7;
}

.content_wrapper_container_question .answers .item .answer .containerTitle{
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.content_wrapper_container_question .answers .item .answer .containerTitle .imgContainer{
  width: 60px;
  border-radius: 50%;
  height: 60px;
  object-fit: cover;
}

.content_wrapper_container_question .answers .item .answer.clicked{
  border : 2px solid #01a7b7;
}

.content_wrapper_container_question .miniature{
  height: 175px;
}

.content_wrapper_container_question.produits .nb_product{
  line-height: 21px;
  font-weight: 600;
  margin: 0 20px 10px 20px;
}

.content_wrapper_container_question.produits .wrapper_products{
  overflow-y: auto;
  max-height: 310px;
  padding-bottom: 30px;
}

.content_wrapper_container_question.produits .products{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0 20px;
  padding: 0 20px;
}

.productMiniSmall .availabilityCart:hover #availabilitySpan {
  transform: translateY(calc(-100% - 20px)) translateX(-30px);
  z-index: 2;
}

.productMiniSmall .availabilityCart:hover #availabilitySpan:after {
  transform: translateX(-40px);
}


.content_wrapper_container_actions{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  height: 120px;
}

.previous-btn, .next-btn{
  position: sticky;
  height: 35px;
  top: 60%;
}

 .previous-btn.hidden, .next-btn.hidden
{
  visibility: hidden;
}

 .previous-btn.disapear, .next-btn.disapear{
   display: none;
 }

.content_wrapper_container_footer
{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.content_wrapper_container_footer_action{
  position: fixed;
  text-align: center;
  background-color: #FFFFFF;
  height: 70px;
  z-index: 9999;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  bottom: 0;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
  padding: 0 35px;
}

.content_wrapper_container_footer_action.pane_appear{
  margin-left: calc(20%);
  width: 80%;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}

.previous-btn-portable,.next-btn-portable{
  cursor: pointer;
}

.previous-btn-portable.hidden,.next-btn-portable.hidden{
  visibility: hidden;
}

@media (max-width: 1200px){
  .content_wrapper_container_question .answers .item{
    height: 150px;
  }
}

@media (max-width: 1024px){
  .modalSelectionGuide{
    z-index : 9999;
  }
}

@media (max-width: 992px) {
  .modalSelectionGuide .modal-inner{
    border-radius: 0;
    height: 100%;
    max-height: 100%;
    top: 0;
    width: 100%;
  }

  .content_wrapper_container_question.produits .products{
    max-height: inherit;
  }

  .content_wrapper_container_question .answers{
    max-height: 550px;
  }
}


@media (max-width: 800px){
  .content_wrapper_container_header .title{
    width: 80%;
    line-height: unset;
    margin: 20px 15px;
    font-size: 1.2rem;
    text-align: left;
  }

  .content_wrapper_container_question{
    width: 100%;
  }
  .content_wrapper_container_question.produits .nb_product {
    margin: 0 0 10px 0;
  }
  .content_wrapper_container_question.produits .products {
    padding: 0;

    .productMiniSmall .availabilityCart:hover .dispo-additionnalText {
      transform: translateY(calc(-100% - 20px)) translateX(-15px);
      z-index: 2;

      &:after {
        transform: translateX(-55px);
      }
    }
  }
  .content_wrapper_container_question.produits .wrapper_products {
    overflow-y: auto;
    height: calc(100vh - 270px);
    max-height: inherit;
    padding-bottom: 0;
  }
  .content_wrapper_container_footer_action {
    padding: 0 15px;
  }

}

@media (max-width: 768px){

  .content_wrapper_container_question .question{
    font-size: 22px;
  }

  .content_wrapper_container_question .answers{
    gap: 15px;
    align-items: center;
  }

  .content_wrapper_container_question .answers .item{
    height: 125px;
  }

}

@media (max-width: 570px){
  .content_wrapper_container_question .answers{
    grid-template-columns: repeat(auto-fit, minmax(165px, calc(50% - 25px)));
    justify-content: space-around;
    gap : unset;
    grid-row-gap: 15px;
  }

  .content_wrapper_container_question .answers .item{
    height: 100px;
    max-width: unset;
    min-width: unset;
    width: 100%;
  }

  .content_wrapper_container_question .answers .item .answer{
    font-size : 15px;
  }

  .content_wrapper_container_question .answers .item .answer .terminals
  {
    font-size : 12px;
    bottom: 10px;
  }

  .content_wrapper_container_question .answers .item .answer .containerTitle {
    gap : 15px;
  }

  .content_wrapper_container_question .answers .item .answer .containerTitle .imgContainer{
    width : 40px;
    height: 40px;
  }

}




/* ---------- selection_guide_link ---------- */

.selection_guide_link {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  max-height: 105px;
  overflow: hidden;
  width: 100%;
  margin-top: 10px;
}

.selection_guide_link-mascotte {
  height: 130px;
  margin-left: 15px;
}


.selection_guide_link-bubble {
  position: relative;
  transform: translateX(-40px);
  transition: all .3s cubic-bezier(.22,.61,.36,1);
}

.selection_guide_link-bubble:before {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 100%;
  position: absolute;
  background-image: url("/themes/domomat/assets/img/logo/bulle-guide-choix-mobile-grey.svg");
  width: 260px;
  z-index: 0;
}

.selection_guide_link-bubble-content {
  display: flex;
  max-width: 260px;
  min-height: 110px;
  padding: 15px 20px 25px 35px;
  width: 260px;
}

.selection_guide_link-bubble-title {
  color: #98252b;
  font-family: Caveat;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .5px;
  line-height: 28px;
  margin: 0;
  position: relative;
  text-align: left;
}

.selection_guide_link-bubble-subtitle {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  margin: 0;
  position: relative;
}

.selection_guide_link-bubble-arrow {
  align-self: flex-end;
  height: 24px;
  min-width: 24px;
  width: 24px;
  position: relative;
  transition: all .3s cubic-bezier(.22,.61,.36,1);
}


.selection_guide_link:hover .selection_guide_link-bubble{
  transform: translateX(-40px) translateY(-3px);
}
.selection_guide_link:hover .selection_guide_link-bubble-title, .selection_guide_link:hover .selection_guide_link-bubble-subtitle{
  text-decoration: underline;
}
.selection_guide_link:hover .selection_guide_link-bubble-arrow{
  transform: translatex(3px);
}