/* MODAL */
div#mc-start-modal div#mc-modal-depart-wrapper {
  z-index: 2;
}

div#mc-start-modal div#mc-modal-arrivee-wrapper {
  z-index: 1;
}

/* ===== Styles minimaux de la modale ===== */
/* ==== état caché ==== */
.mc-modal.hidden {
  display: none;
}

/* ==== conteneur pleine fenêtre, centré ==== */
.mc-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex; /* centrage */
  align-items: center; /* vertical */
  justify-content: center; /* horizontal */
  padding: clamp(12px, 3vw, 32px); /* espace bord écran responsive */
}

/* ==== backdrop ==== */
.mc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  animation: mc-fade-in 0.18s ease-out;
}

/* ==== boîte modale ==== */
.mc-modal__dialog {
  display: flex;
  position: relative;
  width: min(800px, 100%);
  min-height: 500px;
  max-height: 500px;
  overflow: visible;
  background: #fff;
  border-radius: 14px;
  /* padding: clamp(18px, 2.5vw, 100px); */
  padding: 50px 100px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  outline: none;
  z-index: 1;
  animation: mc-scale-in 0.18s ease-out;
  -webkit-overflow-scrolling: touch;
  align-items: center;
  justify-content: center;
}

form#mc-start-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#mc-start-form .mapboxgl-ctrl-geocoder {
  border: 1px solid #d1d5db;
  border-radius: 5px;
}

input#mc-modal-date {
  border: 1px solid #d1d5db;
  border-radius: 5px;
}

/* titre */
.mc-modal__title {
  margin: 0 0 16px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
}

/* évite le scroll de l’arrière-plan */
body.mc-modal-open {
  overflow: hidden;
}

div#mc-start-modal .mc-submit {
  background: #fbbf24;
}

div#mc-start-modal .mc-submit:hover {
  background: #000;
}

/* champs plein largeur si besoin (au cas où) */
.mc-modal .mc-field .mc-input-wrapper,
.mc-modal .mc-field input[type='text'],
.mc-modal .mc-field input[type='search'],
.mc-modal .mc-field input[type='date'] {
  width: 100%;
}

/* bouton : étirement propre */
.mc-modal .mc-submit {
  width: 100%;
  height: 44px;
}

/* ==== petits écrans ==== */
@media (max-width: 480px) {
  .mc-modal__dialog {
    border-radius: 12px;
    padding: 16px;
    max-height: 92vh;
  }
}

/* ==== écrans moyens (tablettes) ==== */
@media (min-width: 481px) and (max-width: 1024px) {
  .mc-modal__dialog {
    width: min(640px, 100%);
    padding: 32px;
  }
}

/* ==== animations discrètes ==== */
@keyframes mc-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mc-scale-in {
  from {
    transform: translateY(6px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* fin MODAL   */

/* Loader step 1 */
/* cache le contenu tant que loading est actif */
.mc-container.loading {
  display: none;
}

/* affiche le loader tant que loading est actif */
.mc-container.loading #mc-loader {
  display: block;
}

/* inverse : quand loading est retiré, on masque le loader */
#mc-loader:has(~ .mc-container:not(.loading)) {
  display: none;
}

/* style du spinner */
.mc-global-loader {
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid #eee;
  border-top-color: #fcb90f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 4rem auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* STEP 0 */

.mc-form-step-0 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: Inter;
}

.mc-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mc-field label {
  color: #374151;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.mc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.mc-input-wrapper .mc-icon {
  position: absolute;
  left: 12px;
  pointer-events: none;
}

.mc-input-wrapper .mc-icon i {
  color: #adaebc;
}

.mc-input-wrapper input {
  padding-left: 36px;
  border: none;
  border-radius: 5px;
}

.mc-input-wrapper input::placeholder {
  color: #adaebc;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

button.mc-submit {
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
}

button.mc-submit:hover {
  background-color: #000;
}

.mapboxgl-ctrl-geocoder {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 40px !important;
  box-shadow: none !important;
  border-radius: 5px !important;
}

.mc-input-wrapper input {
  min-height: 40px !important;
}

button.mapboxgl-ctrl-geocoder--button {
  background: none;
  padding: 0 !important;
  padding-right: 10px !important;
}

.mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--pin-right > * {
  top: 10px !important;
}

.mapboxgl-ctrl button:not(:disabled):hover {
  background: none !important;
}

.mapboxgl-ctrl button:not(:disabled):hover svg {
  fill: #000 !important;
}

.mc-input-wrapper {
  position: relative;
  overflow: visible;
}

.mapboxgl-ctrl-geocoder--suggestions {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

/* STEPS STATE */

.mc-steps {
  display: flex;
  align-items: center;
  width: 100%;
  font-family: 'Microsoft JhengHei';
}

.mc-step {
  display: flex;
  align-items: center;
}

.mc-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fcf2f2;
  border: 1px solid #fcb90f;
  color: #a0a0a0;
  font-weight: normal;
  margin-right: 8px;
  flex-shrink: 0;
  user-select: none;
}

.mc-step-label {
  color: #a0a0a0;
  font-size: 16px;
  user-select: none;
}

.mc-step-active .mc-step-number {
  background-color: #fcb90f;
  color: #ffffff;
}

.mc-step-active .mc-step-label {
  color: #fcb90f;
}

.separator {
  flex: 1;
  height: 2px;
  background-color: #e0e0e0;
  margin: 0 12px;
}

/* STEP 1 */
.step {
  display: none;
}
.step[aria-hidden='false'] {
  display: block;
}

section.step {
  min-height: 614px;
}

section.step[data-step='1'] .cart-list {
  min-height: 95px;
}

section.step[data-step='1'] {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

section.step[data-step='1'] .left {
  width: 75%;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  padding-right: 3px;
}

section.step[data-step='1'] .left-content {
  padding: 20px;
  max-height: 614px;
  overflow-y: auto;
}

section.step[data-step='1'] .right {
  width: 25%;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#mc_search {
  padding-left: 40px;
  width: 80%;
  height: 45px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fafafb;
}

.input-wrapper .mc_search_button {
  position: absolute;
  left: 12px;
  pointer-events: none;
}

.pieces-tabs {
  display: flex;
  gap: 2rem;
  padding-left: 10px;
}

button.mc-piece-tab {
  background: none;
  color: #1f2937;
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border: none;
  padding: 0;
}

.mc-meuble.mc-meuble-bundle {
  display: flex;
  border-radius: 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  justify-content: space-between;
  align-items: start;
  padding: 20px;
}

.mc-meuble-bundle-infos img {
  width: 200px;
}

.mc-meuble {
  width: calc(50% - 1.5rem);
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: animateMeuble 0.3s ease-in-out;
}

.mc-meuble.hidden {
  display: none;
}

@keyframes animateMeuble {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.meubles-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 35px;
}

.mc-meuble-bundle-infos {
  display: flex;
  gap: 1rem;
}

span.mc-meuble-title {
  overflow: hidden;
  color: #28251b;
  text-overflow: ellipsis;
  font-family: 'Inter';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

ul.mc-meuble-bundle-list {
  padding: 0px 20px;
}

span.mc-meuble-add {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid#FCB90F;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

span.mc-meuble-add:hover {
  background-color: #fcb90f;
}

span.mc-meuble-add i {
  font-size: 13px;
}

button.mc-piece-tab {
  text-decoration-color: #fcb90f;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

button.mc-piece-tab.active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
  text-decoration-color: #fcb90f;
}

button.mc-piece-tab:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
  text-decoration-color: #fcb90f;
}

.mc-meuble {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  padding: 20px;
}

.mc-meuble-infos {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.mc-meuble-infos img {
  width: 80px;
  height: 80px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity input[type='number'] {
  width: 50px; /* largeur fixe pour un ou deux chiffres */
  padding: 0.5rem;
  text-align: center;
  border: none;
  border: 1.5px solid rgba(0, 0, 0, 0);
  background: rgba(114, 99, 49, 0.09);
  appearance: textfield;
  -moz-appearance: textfield;
  border-radius: 10px;
  animation: animateQuantity 0.3s ease-in-out;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

button.plus-icon,
button.minus-icon {
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border: 2px solid #fcb90f !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: background 0.2s ease-in-out !important;
  padding: 0 !important;
  background-color: transparent !important;
  animation: animateQuantity 0.3s ease-in-out !important;
}

button.minus-icon:hover,
button.minus-icon:focus,
button.plus-icon:hover,
button.plus-icon:focus {
  background: transparent !important;
}

button.plus-icon i,
button.minus-icon i {
  font-size: 13px !important;
  color: #1f2937 !important;
}

.quantity.hide-elements .quantity-input,
.quantity.hide-elements .minus-icon {
  display: none !important;
}

@keyframes animateQuantity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.left {
  scrollbar-width: thin;
  scrollbar-color: #000 #ffff;
}

.left::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.left::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 10px;
}

.left::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.left::-webkit-scrollbar-thumb:hover {
  background: #555;
}

section.step[data-step='1'] .right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section.step[data-step='1'] .right .top {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
}

section.step[data-step='1'] .right .bottom {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
}

button.mc-next-step {
  background-color: #fcb90f;
  color: white;
  border: none;
  padding: 14px 0px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #fff;
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  flex: 1;
}

button.mc-next-step:hover {
  background-color: #e0a800;
}

button.mc-next-step[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

.cart-title {
  color: #1e3a8a !important;
  font-family: Inter !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 15px;
  max-height: 95px;
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-width: thin;
  scrollbar-color: #000 #ffff;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  font-family: Inter;
  color: #4b5563;
  font-size: 14px;
}

.cart-item div {
  display: flex;
  gap: 0.5rem;
  color: #1f2937;
}

.cart-separator {
  width: 100%;
  height: 2px;
  background-color: #e5e7eb;
  margin-top: 20px;
}

.volume-total-estimated {
  display: flex;
  justify-content: space-between;
  font-family: Inter;
  color: #1f2937;
  font-size: 16px;
  font-weight: 500;
  margin-top: 15px;
}

.cart-list::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.cart-list::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 10px;
}

.cart-list::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}

.cart-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.formule-title {
  color: #1e3a8a !important;
  font-family: Inter !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: normal !important;
  margin-bottom: 5px !important;
}

.formule-title span {
  color: rgba(0, 0, 0, 0.5);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.formule-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #fcb90f;
}

.formule-info-text {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-size: 12px !important;
  color: #fcb90f !important;
}

.formule-info-icon {
  width: 18px;
  height: 18px;
  border: 2px solid #fcb90f;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.formule-info-icon i {
  font-size: 9px;
  text-decoration: none;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 15px;
}

.radio-card {
  display: block;
  cursor: pointer;
}

.radio-card input[type='radio'] {
  display: none;
}

.radio-card .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fdfbfb;
  padding: 1.4rem;
  transition: all 0.2s ease;
  text-align: center;
}

.radio-card .icon {
  color: #efc100;
  margin-bottom: 0.5rem;
}

.radio-card .icon svg {
  width: 24px;
  height: 24px;
}

.radio-card .text {
  color: #1e3a8a;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  font-size: 12px;
  user-select: none;
}

.radio-card input[type='radio']:checked + .content {
  background: #ffffff;
  border-color: #b0b0b0;
}

span.minus-icon:hover,
span.plus-icon:hover {
  background-color: #fcb90f;
}

.formule-info span {
  cursor: pointer;
}

.search-message.hidden {
  display: none;
}

.search-message {
  margin-top: 50px;
}

/* RESPONSIVE STEP 1 */

.mc-carousel {
  margin-top: 2rem;
}

.mc-meuble-tq {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.mc-meuble.mc-meuble-bundle {
  position: relative;
}

span.mc-meuble-add {
  position: absolute;
  top: 15px;
  right: 10px;
}

.mc-chevron-next,
.mc-chevron-prev {
  display: none;
}

span.mc-tab-counter {
  pointer-events: none;
}

.mc-chevron-prev,
.mc-chevron-next {
  display: inline-block;
  cursor: pointer;
}

.mc-chevron-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

.mc-carousel {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.mc-meuble-infos img,
span.mc-chevron-prev.mc-chevron-disabled,
span.mc-chevron-prev,
span.mc-chevron-next.mc-chevron-disabled,
span.mc-chevron-next {
  user-select: none;
}

@media all and (max-width: 1480px) {
  .mc-meuble.mc-meuble-bundle {
    position: relative;
    width: 100%;
  }

  section.step[data-step='1'] .left {
    width: 70%;
  }
  section.step[data-step='1'] .right {
    width: 30%;
  }

  .mc-chevron-prev,
  .mc-chevron-next {
    display: inline-block;
  }

  .mc-chevron-disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
  }

  .mc-carousel {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
  }
}

@media all and (max-width: 1225px) {
  .mc-meuble {
    width: 100%;
  }
}

@media all and (max-width: 1024px) {
  section.step[data-step='1'] {
    flex-direction: column;
  }

  section.step[data-step='1'] .left {
    flex-direction: column;
    width: 100%;
  }

  section.step[data-step='1'] .right {
    width: 100%;
  }

  .mc-meuble {
    width: 100%;
  }

  #mc_search {
    width: 100%;
  }

  .pieces-tabs {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media all and (max-width: 767px) {
  .mc-meuble-bundle-infos {
    flex-direction: column;
    width: 100%;
  }

  .mc-meuble-bundle-infos img {
    width: 250px;
    object-fit: contain;
  }

  ul.mc-meuble-bundle-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0px;
    list-style: none;
    margin-top: 1rem;
  }
  ul.mc-meuble-bundle-list li {
    border: 2px solid #f2eee9;
    padding: 0.1rem 1rem;
    border-radius: 50px;
    color: #626262;
  }

  .mc-meuble.mc-meuble-bundle {
    flex-direction: column-reverse;
    align-items: end;
  }

  .mc-meuble.mc-meuble-bundle {
    position: relative;
  }

  span.mc-meuble-add {
    position: absolute;
    top: 15px;
    background-color: #fcb90f;
  }

  .minus-icon,
  .plus-icon {
    background-color: #fcb90f;
  }

  span.mc-meuble-add i {
    color: white;
  }

  .mc-meuble {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .mc-meuble-tq {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
  }
  .bundle-infos {
    display: flex;
    flex-direction: column;
  }

  .mc-steps {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 1rem;
  }

  .pieces-tabs {
    gap: 1rem;
  }

  .mc-meuble-infos img {
    width: 50px;
    height: 50px;
  }

  button.minus-icon {
    width: 25px !important;
    height: 25px !important;
  }

  button.minus-icon i {
    font-size: 12px !important;
  }

  button.plus-icon {
    width: 25px !important;
    height: 25px !important;
  }

  button.plus-icon i {
    font-size: 12px !important;
  }

  .mc-meuble {
    padding: 10px;
  }

  .mc-meuble-tq {
    gap: 0.5rem;
  }
}

.pieces-tabs {
  flex-wrap: nowrap;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-height: 30px;
}

.pieces-tabs::-webkit-scrollbar {
  display: none;
}

/* STEP 2 */

section.step[data-step='2'] {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

section.step[data-step='2'] .left {
  width: 75%;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  padding-right: 3px;
}

section.step[data-step='2'] .left-content {
  padding: 20px;
  max-height: 614px;
  overflow-y: auto;
}

section.step[data-step='2'] .right {
  width: 25%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  height: fit-content;
}

.resume {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section.step[data-step='2'] .cart-separator {
  margin: 10px 0px;
}

.info-cart,
.info-cart-total {
  display: flex;
  justify-content: space-between;
}

span.item-count-label {
  color: #4b5563;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

span.item-count-value {
  color: #1f2937;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

span.step-title {
  color: #1f2937;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.priceEstimate {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 64px;
  padding: 12px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 0 solid #e5e7eb;
  background: #eff6ff;
}

span.price-estimate-icon {
  display: flex;
  width: 40px;
  height: 40px;
  padding: 12px 10px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 0 solid #e5e7eb;
  background: #dbeafe;
}

span.price-estimate-icon i {
  font-size: 16px;
  color: #213988;
}

.price-estimate-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

span.price-estimate-label {
  color: #1e3a8a;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}

span.price-estimate-value {
  color: #1f2937;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
}

span.price-value {
  color: #1f2937;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 14px;
}

.buttonsWrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 30px;
}

button.mc-previous-step {
  display: flex;
  padding: 15px 54px 15px 53px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #4b5563;
  text-align: center;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

button.mc-previous-step:hover {
  background: #fcb90f;
}

.container-inventory {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

details.piece-details {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  overflow: hidden;
}

.container-inventory summary {
  background: #f9fafb;
  padding: 20px;
  color: #374151;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}
.container-inventory summary span {
  color: #1e3a8a;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  background: #e5e7eb;
  padding: 5px 10px;
  border-radius: 50px;
}

.piece-meubles-list {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 1rem;
}

.inventory-meuble-item {
  width: calc(50% - 1rem);
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: rgba(0, 0, 0, 0);
  padding: 25px;
}

.inventory-meuble-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inventory-meuble-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.inventory-meuble-infos {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

img.mc-meuble-thumbnail {
  width: 40px;
  height: 40px;
}

.thumbnailWrapper {
  height: 40px;
}

span.inventory-meuble-title {
  color: #1f2937;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px; /* 100% */
}

span.inventory-meuble-volume {
  color: #6b7280;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px; /* 100% */
}

.inventory-meuble-quantity-w {
  display: flex;
  gap: 1rem;
  align-items: center;
}

span.inventory-meuble-quantity {
  color: #1e3a8a;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

.inventory-meuble-quantity-w i {
  color: rgba(239, 68, 68, 1);
  cursor: pointer;
}

.inventory-meuble-quantity-w i:hover {
  color: rgba(239, 68, 68, 0.7);
}

details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

details.piece-details summary {
  position: relative;
  cursor: pointer;
}

details.piece-details summary::after {
  content: '\f077';
  font-family: 'fontawesome';
  position: absolute;
  right: 20px;
  color: #9ca3af;
}

details.piece-details[open] summary::after {
  content: '\f078';
  font-family: 'fontawesome';
  position: absolute;
  right: 20px;
  color: #9ca3af;
}

span.item-formule-value {
  color: #1f2937;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

span.item-total-volume-value {
  color: #1f2937;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

.info-cart-total span.item-count-label {
  color: #1f2937;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

@media all and (max-width: 1182px) {
  .inventory-meuble-item {
    width: 100%;
  }

  section.step[data-step='2'] {
    flex-direction: column;
  }

  section.step[data-step='2'] .left {
    width: 100%;
  }

  section.step[data-step='2'] .right {
    width: 100%;
  }
}

/* STEP 3 */

.priceFull {
  display: none;
}

section.step[data-step='3'] {
  background: white;
  padding: 20px;
  border-radius: 8px;
  gap: 50px;
}

section.step[data-step='3'] .step-title {
  color: #1e3a8a;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

section.step[data-step='3'] .left {
  width: 60%;
}

section.step[data-step='3'] .right {
  width: 40%;
}

.onQuote {
  display: inline-flex;
  width: 100%;
  padding: 16px 26px 16px 26px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  border-radius: 8px;
  border: 0 solid #e5e7eb;
  background: #fffbeb;
}

.priceFull {
  display: none;
  width: 100%;
  padding: 16px 26px 16px 26px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  border-radius: 8px;
  border: 0 solid #e5e7eb;
  background: #fffbeb;
}

.priceFull .price-value {
  color: #1f2937;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

span.answer {
  color: #1f2937;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

strong.getPrice {
  color: #1f2937;
  font-family: Inter;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

span.team {
  color: #000;
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

section.step[data-step='3'] .top {
  border-radius: 8px;
  padding: 25px 67px 25px 43px;
  border: 0 solid #e5e7eb;
  background: #eff6ff;
}

section.step[data-step='3'] .info-cart {
  flex-direction: column;
  gap: 10px;
  width: 50%;
}

section.step[data-step='3'] .cart-informations {
  display: flex;
  flex-wrap: wrap;
  margin-top: 18px;
  row-gap: 18px;
}

section.step[data-step='3'] span.item-total-volume-value,
section.step[data-step='3'] span.item-count-value,
section.step[data-step='3'] span.item-formule-value {
  color: #1f2937;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
}

section.step[data-step='3'] span.item-volume-label,
section.step[data-step='3'] span.item-count-label,
section.step[data-step='3'] span.item-formule-label {
  color: #4b5563;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}

#map {
  width: 100%;
  height: 400px;
}

.mapboxgl-canvas {
  height: 400px !important;
  width: 100% !important;
  border-radius: 8px;
}

#map .mapboxgl-ctrl-bottom-right {
  display: none !important;
}

section.step[data-step='3'] .bottom {
  margin-top: 25px;
}

#map .mapboxgl-ctrl {
  display: none !important;
}

.priceEstimate.hidden {
  display: none;
}

.onQuote.hidden {
  display: none;
}

.onQuote.hidden ~ .priceFull {
  display: inline-flex;
}

section.step[data-step='3'] .left {
  display: flex;
  flex-direction: column;
}

section.step[data-step='3'] .left .step-title ~ div {
  flex: 2;
}

section.step[data-step='3'] .left .formContainer {
  height: 100%;
}

@media all and (max-width: 1171px) {
  section.step[data-step='3'] {
    flex-direction: column;
  }

  section.step[data-step='3'] .left {
    width: 100%;
  }

  section.step[data-step='3'] .right {
    display: inline-flex;
    flex-direction: column;
    width: 100%;
  }

  section.step[data-step='3'] .right .top {
    width: 100%;
    height: fit-content;
  }

  section.step[data-step='3'] .right .bottom {
    width: 100%;
  }
}

@media all and (max-width: 767px) {
  section.step[data-step='3'] .info-cart {
    width: 100%;
  }
}

/* Thank you step */

.showThankYou section.step[data-step='3'] .right,
.showThankYou section.step[data-step='3'] .left .elementor-form-fields-wrapper,
.showThankYou section.step[data-step='3'] .step-title {
  display: none;
}

body:has(.elementor-message-success) section.step[data-step='3'] .left {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

body:not(.showThankYou) .thankYou {
  display: none;
}

.showThankYou .thankYou {
  display: block;
}

.showThankYou .formContainer {
  display: none;
}

.mc-container button:focus {
  background: var(--e-global-color-primary);
}

button.mc-piece-tab:focus {
  background: none;
}

.mc-submit:focus {
  background: var(--e-global-color-primary) !important;
}

/*PLANS MODAL */

.comptabilityRA-table .tdColor {
  color: #858ba0;
}

.comptabilityRA-table table.comptabilityRA-table th {
  width: 250px;
}

.comptabilityRA-table {
  overflow: hidden;
}

.comptabilityRA-table table {
  border-color: #e6e9f5;
}

.comptabilityRA-table td {
  text-align: center;
  background-color: white;
}

.comptabilityRA-table ul li {
  font-size: 0.9rem;
  color: #858ba0;
}

.comptabilityRA-table td i {
  font-size: 1.3rem;
}

.comptabilityRA-table td i.fa-circle-check {
  color: #4bae4f;
}
.comptabilityRA-table td i.fa-circle-xmark {
  color: #e03e36;
}

.comptabilityRA-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comptabilityRA-table ul i {
  font-size: 0.8rem;
}

.comptabilityRA-table td.list {
  padding: 0;
}

.comptabilityRA-table li {
  padding: 5px 10px;
}

.comptabilityRA-table li:nth-child(2) {
  border-top: solid #e6e9f5 1px;
  border-bottom: solid #e6e9f5 1px;
}

.comptabilityRA-table thead {
  background-color: #1f2937;
  color: white;
}

/**/

.comptabilityRA-table th {
  text-align: center;
  font-family: 'KoHo', Sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1em;
}

@media all and (max-width: 1024px) {
  .comptabilityRA-table th {
    font-size: 1rem;
    line-height: 1.2rem;
  }
}

.comptabilityRA-table {
  overflow: auto !important;
}

.comptabilityRA-table .essentiel {
  text-align: center;
  font-family: 'KoHo', Sans-serif;
  font-weight: 700;
  line-height: 1em;
  font-size: 11px;
  text-transform: uppercase;
  color: #858ba0;
  display: block;
  margin-bottom: -10px;
}

/**/

.comptabilityRA-table .feature-name {
  color: #000000;
  font-family: 'Inter', Sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: none;
  line-height: 1.3em;
  text-align: left;
}

.comptabilityRA-table th {
  min-width: 250px !important;
}

.mc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 41, 59, 0.7); /* bleu foncé transparent */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(30, 41, 59, 0.2);
  max-width: 95%;
  width: 95%;
  padding: 32px 24px 24px 24px;
  position: relative;
  animation: modalFadeIn 0.3s;
  overflow: auto;
  max-height: 90vh;
}

@keyframes modalFadeIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mc-modal-close {
  position: fixed;
  top: 45px;
  right: 60px;
  background: none;
  border: none;
  padding: 5px 15px !important;
  color: white !important;
  background: #fbbf24 !important;
  cursor: pointer;
  transition: color 0.2s;
}

.mc-modal-close:hover {
  color: #ef4444;
}

.mc-modal-body {
  margin-top: 16px;
  max-height: 90vh;
}

.mc-back-home {
  width: fit-content;
  padding: 10px 20px;
  background-color: #fcb90f00;
  fill: #1f2937;
  color: #1f2937;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #d1d5db;
  border-radius: 8px 8px 8px 8px;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif;
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  transition: background 0.3s ease-in-out;
}

.mc-back-home:hover {
  background-color: #fbbf24;
}

.container:not(.inline).show {
  z-index: 99999999 !important;
}
