html:has(> body.blocked_body),
body.blocked_body {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.modalSelectionGuide {
  --selection-red: #99171b;
  --selection-blue: #01a7b7;
  --selection-grey: #EFF0F7;
  --selection-dark-grey: #4D4D4D;

  place-items: center;
}

.modalSelectionGuide.modal--disable,
.content_wrapper_container_step .progress-circle.hidden,
.content_wrapper_container_timeline.hidden,
.content_wrapper_container_question .answers .item.erased {
  display: none;
}

.modalSelectionGuide .modal-inner {
  border-radius: 1rem;
  width: 90%;
  height: 80%;
  max-height: 80%;
  left: unset;
  right: unset;
  overflow: hidden;
}

.modalSelectionGuide .modal-inner .modal-close {
  align-items: center;
  display: flex;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1%;
  top: 1%;
  width: 2.5rem;
  z-index: 10001;
  border: unset;
  font-family: cursive;
}

.modalSelectionGuide .modal-inner .modal-wrapper {
  position: static;
  overflow: hidden;
}

.history_answers {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background-color: #F5F5F5;
  transition: width 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
  z-index: 10000;
  padding: 1%;
  visibility: hidden;
}

.history_answers.appear {
  width: 20%;
  visibility: visible;
  overflow-y: auto;
}

.history_answers_title,
.history_answers > ul {
  color: var(--selection-dark-grey);
}

.history_answers_title {
  font-weight: bold;
  font-size: 1.1rem;
  white-space: nowrap;
}

.history_answers > ul {
  padding-left: 5.6%;
  list-style-type: inherit;
}

.history_answers > ul > li {
  margin: 5.2% 0;
  cursor: pointer;
  transform: translateX(-20px);
  transition: opacity .4s ease, transform 0.4s ease;
}

.history_answers > ul > li.appear{
  opacity: 1;
  transform: translateX(0);
}

.history_answers > ul > li > span:first-child {
  font-weight: bold;
}

.content_wrapper_container {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}

.content_wrapper_container.pane_appear {
  margin-left: 20%;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}

.fake_content_wrapper_container_header,
.content_wrapper_container_footer {
  position: absolute;
  left: 0;
  right: 0;
}

.content_wrapper_container_footer {
  bottom: 0;
  height: 10%;
}

.content_wrapper_container_header,
.content_wrapper_container_footer_action {
  width: 100%;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
  text-align: center;
}

.content_wrapper_container_header.pane_appear {
  width: 80%;
  margin-left: 20%;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}

.content_wrapper_container_header .title {
  font-weight: 700;
  line-height: 2em;
  font-size: 1.5rem;
}

.content_wrapper_container_step {
  margin-top: 2.5%;
}

.content_wrapper_container_step .value-bar {
  clip: rect(0, 1.5em, 3em, 0);
  border: 0.45em solid var(--selection-red);
  box-sizing: border-box;
  transition: transform .6s ease;
}

.content_wrapper_container_timeline {
  margin: 2.8em 0 2em;
  width: 100%;
  height: 1%;
}

.timeline {
  height: 100%;
  position: relative;
  justify-self: center;
}

.divider,
.divider_color {
  position: absolute;
  height: 0.6vh;
  border-radius: 1rem;
}

.divider {
  background-color: var(--selection-grey);
}

.divider_color {
  left: 0;
  width: 0;
  transition: .6s ease;
}

.divider.active .divider_color {
  background-color: var(--selection-red);
  width: 100%;
}

.step {
  width: 10%;
  position: absolute;
  top: 50%;
  text-align: center;
  line-height: 2.1em;
  border-radius: 50%;
  background-color: var(--selection-grey);
  transform: translateY(-50%);
  transition: 0.6s ease;
}

.step.active {
  background-color: var(--selection-red);
  cursor: pointer;
  transition: 0.6s ease;
  transition-delay: 0.5s;
  color: white;
}

.parent_for_loader {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.content_wrapper_container_question {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 87%;
}

.content_wrapper_container_question .question {
  font-size: 1.7em;
  text-align: center;
  line-height: 100%;
  margin: 1.5%;
}

.custom_loader {
  position: absolute;
}

.content_wrapper_container_question .answers_body {
  display: flex;
  flex: 1 1 auto;
  overflow-y: auto;
}

.content_wrapper_container_question .answers {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(2%, 100%), 45%));
  justify-content: center;
  gap: 2%;
  padding-bottom: 2%;
  height: max-content;
  min-height: 100%;
}

.content_wrapper_container_question .answers .item {
  border: 1px solid #e9e9e9;
  border-radius: 2%;
  box-shadow: 0 0.3em 0.9em rgba(0, 0, 0, .15);
  font-weight: bold;
  justify-self: center;
  cursor: pointer;
  transition : background-color .3s ease;
  margin: 1.2% 0;
  display: flex;
  width: 100%;
  height: 17vh;
  align-self: center;
}

.content_wrapper_container_question .answers .item:hover,
.modalSelectionGuide .content_wrapper_container_question .answers .item .answer.clicked {
  background-color: rgba(1, 167, 183, .6);
}

.content_wrapper_container_question .answers .item.disabled {
  filter: contrast(.5);
  pointer-events: none;
}

.content_wrapper_container_question .answers .item .answer {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  position: relative;
  padding: 5% 6% 9%;
  width: 100%;
}

.content_wrapper_container_question .answers .item .answer.disabled {
  pointer-events: none;
  filter: contrast(0);
}

.content_wrapper_container_question .answers .item .answer .terminals {
  position: absolute;
  bottom: 5%;
  color: var(--selection-blue);
}

.content_wrapper_container_question .answers .item .answer .containerTitle {
  --answer-image-gap: 3%;
  --answer-image-size: 3em;
  position: relative;
  min-width: 0;
  width: 100%;
}

.content_wrapper_container_question .answers .item .answer .answer_entitled {
  display: block;
  text-align: center;
}

.content_wrapper_container_question .answers .item .answer .containerTitle .answer_entitled {
  padding: 0 calc(var(--answer-image-size) + var(--answer-image-gap));
}

.content_wrapper_container_question .answers .item .answer .containerTitle .imgContainer {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: var(--answer-image-size);
  border-radius: 50%;
  object-fit: cover;
}

.content_wrapper_container_question .answers .item .answer.clicked {
  box-shadow: inset 0 0 0 2px var(--selection-blue);
  border-radius: 2%;
}

.content_wrapper_container_question .miniature {
  height: 175px;
}

.content_wrapper_container_question.produits .nb_product {
  font-weight: 600;
  margin: 0 1.5% 0.9%;
}

.content_wrapper_container_question.produits .wrapper_products {
  overflow-y: auto;
  overflow-x: hidden;
}

.content_wrapper_container_question.produits .products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(25%, 100%), 1fr));
  gap: 0 1.5%;
  padding: 0 1.5%;
}

.content_wrapper_container_question.produits .productMiniSmall .availabilityCart:hover .dispo-additionnalText {
  left: 40%;
}

.content_wrapper_container_question.produits .productMiniSmall .availabilityCart:hover .dispo-additionnalText:after {
  left: 19%;
}

.previous-btn.hidden,
.next-btn.hidden,
.previous-btn-portable.hidden,
.next-btn-portable.hidden {
  visibility: hidden;
}

.previous-btn.disapear,
.next-btn.disapear {
  display: none;
}

.content_wrapper_container_footer_action {
  bottom: 0;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
  padding: 0 2.1%;
}

.content_wrapper_container_footer_action.pane_appear{
  transition: margin-left 0.4s cubic-bezier(0.25, 0.1, 0.37, 1.01);
}

.previous-btn-portable {
  margin-left: 20%;
}

.previous-btn-portable,
.next-btn-portable {
  cursor: pointer;
  width: 8vw;
  height: 5vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
}

.modalSelectionGuide .next-btn-portable.btn-domo-disabled,
.modalSelectionGuide .next-btn-portable.btn-domo-disabled:focus,
.modalSelectionGuide .next-btn-portable.btn-domo-disabled:active,
.modalSelectionGuide .next-btn-portable.btn-domo-disabled.active,
.modalSelectionGuide .next-btn-portable.btn-domo-disable,
.modalSelectionGuide .next-btn-portable.btn-domo-disable:focus,
.modalSelectionGuide .next-btn-portable.btn-domo-disable:active,
.modalSelectionGuide .next-btn-portable.btn-domo-disable.active {
  background-color: #b1b5c0;
  border-color: #b1b5c0;
  color: #ecedf0;
}

.selection_guide_link {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  justify-content: center;
  max-height: 6.6rem;
  overflow: hidden;
  width: 100%;
  margin-top: 3%;
  position: relative;
}

.selection_guide_link-mascotte {
  height: 8.1rem;
  margin-left: 4.7%;
  position: absolute;
  left: 0;
}

.selection_guide_link-bubble,
.selection_guide_link-bubble-arrow {
  position: relative;
  transition: all .3s cubic-bezier(.22, .61, .36, 1);
}

.selection_guide_link-bubble {
  margin-left: 11%;
  width: 70%;
}

.selection_guide_link-bubble:before {
  background-image: url("/themes/domomat/assets/img/logo/bulle-guide-choix-mobile-grey.svg");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 100%;
  position: absolute;
  width: 260px;
  z-index: 0;
}

.selection_guide_link-bubble-content {
  display: flex;
  padding: 6% 7.6% 9% 16%;
  width: 16.3rem;
}

.selection_guide_link-bubble-title,
.selection_guide_link-bubble-subtitle {
  margin: 0;
  position: relative;
}

.selection_guide_link-bubble-title {
  color: #98252b;
  font-family: Caveat;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.03rem;
  line-height: 1.8rem;
}

.selection_guide_link-bubble-subtitle {
  color: #333;
  font-size: 100%;
  line-height: 1.4rem;
}

.selection_guide_link-bubble-arrow {
  align-self: flex-end;
  min-width: 13%;
  margin-left: 3%;
  transition: all .3s cubic-bezier(.22,.61,.36,1);
}

.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);
}

@media (max-width: 1000px) {
  .modalSelectionGuide .modal-inner {
    border-radius: 0;
    top: 0;
    height: 100%;
    max-height: 100%;
    width: 100%;
  }

  .modalSelectionGuide .fake_content_wrapper_container_header,
  .modalSelectionGuide .content_wrapper_container_header,
  .modalSelectionGuide .content_wrapper_container_footer,
  .modalSelectionGuide .content_wrapper_container_footer_action {
    position: static;
  }

  .modalSelectionGuide .content_wrapper_container_step {
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  .previous-btn-portable {
    margin-left: 0;
  }

  .next-btn-portable,
  .previous-btn-portable {
    width: 30%;
  }

  .content_wrapper_container_header .title {
    line-height: 1.5rem;
    margin: 8% 5% 4.5%;
    font-size: 1.2rem;
  }

  .content_wrapper_container_question {
    height: 100%;
  }

  .content_wrapper_container_footer {
    padding-top: 6%;
  }

  .content_wrapper_container_question .question {
    font-size: 1.07rem;
    line-height: 1.6rem;
    padding: 0 4%;
  }

  .content_wrapper_container_question .answers_body {
    margin-top: 4.5%;
    flex: 1 1 auto;
  }

  .content_wrapper_container_question .answers {
    grid-auto-rows: auto;
    grid-template-columns: 1fr;
  }

  .content_wrapper_container_question .answers:after {
    content: "";
    height: 0.3rem;
  }

  .content_wrapper_container_question .answers .item {
    margin: 0;
    height: 15.4vh;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
    width: 95%;
  }

  .content_wrapper_container_question .answers .item .answer {
    align-items: flex-start;
    gap: 7.4%;
    padding: 10.5% 15% 8%;
    display: grid;
    align-content: center;
    font-size: unset;
  }

  .content_wrapper_container_question .answers .item .answer .containerTitle {
    --answer-image-size: 3.8em;
    width: 18rem;
  }

  .content_wrapper_container_question .answers .item .answer .terminals {
    width: 100%;
    text-align: center;
  }

  .content_wrapper_container_question.produits .products {
    grid-template-columns: 1fr;
  }

  .content_wrapper_container_step .progress-circle.over50 .first50-bar {
    background-color: var(--selection-red);
    clip: rect(0, 3em, 3em, 1.5em);
    position: absolute;
    width: 3em;
    height: 3em;
    border-radius: 50%;
  }

  .content_wrapper_container_step .progress-circle:not(.over50) .first50-bar {
    display: none;
  }

  .content_wrapper_container_step .progress-circle.over50 .left-half-clipper {
    clip: rect(auto, auto, auto, auto);
  }

  .content_wrapper_container_step .left-half-clipper,
  .content_wrapper_container_step .value-bar {
    width: 3em;
    height: 3em;
    border-radius: 50%;
  }

  .content_wrapper_container_step .left-half-clipper,
  .content_wrapper_container_step .value-bar {
    position: absolute;
  }

  .content_wrapper_container_step .left-half-clipper {
    clip: rect(0, 3em, 3em, 1.5em);
  }

  .content_wrapper_container_step .progress-circle span {
    position: absolute;
    line-height: 3em;
    width: 3em;
    text-align: center;
    display: block;
    color: var(--selection-red);
    z-index: 2;
  }

  .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 {
    font-size: 1.24rem;
    margin: 5%;
    position: relative;
    padding: 0;
    background-color: #F2E9E1;
    line-height: 3em;
    width: 3em;
    height: 3em;
    border-radius: 50%;
  }

  .selection_guide_link-bubble {
    margin-left: 4em;
    width: unset;
  }

  .selection_guide_link-mascotte {
    position: absolute;
    margin-left: 0;
  }

  .selection_guide_link {
    justify-content: unset;
  }

  .content_wrapper_container_question .answers .item .answer .answer_entitled {
    margin-bottom: 8%;
  }
}
