.md-refonte .mdr-details-layout {
  margin-top: 16px;
}

.md-refonte .main-img-wrapper .main-img-ambiance-ctn {
  align-items: flex-start;
  margin-top: -3px;
}

.md-refonte .main-img-wrapper .ambiance-ctn {
  margin-top: 0;
}

.md-refonte .main-img-wrapper .main-img-ctn {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  position: relative;
}

.md-refonte .main-img-wrapper .main-img {
  border: 1px solid #dce4e8;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.md-refonte .main-img-wrapper .mdr-image-number {
  position: absolute;
  top: -27px;
  left: 30px;
  width: calc(100% - 30px);
  margin: 0 0 5px;
  color: #17232b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.md-refonte .main-img-wrapper .mdr-image-title {
  margin: 5px 0 0;
  color: #17232b;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-shadow: none;
}

.md-refonte #modalConfirmation .mdr-confirm-image-number {
  margin: 8px 0 0;
  color: #17232b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

@media (max-width: 767px) {
  .md-refonte .main-img-wrapper .main-img-ambiance-ctn {
    margin-top: 0;
  }

  .md-refonte .main-img-wrapper .ambiance-ctn {
    margin-top: 0;
  }

  .md-refonte .main-img-wrapper .main-img {
    border-radius: 14px;
  }

  .md-refonte .main-img-wrapper .mdr-image-number {
    position: static;
    width: 100%;
  }

  .md-refonte .main-img-wrapper .mdr-image-number {
    margin-bottom: 6px;
    font-size: 15px;
  }

  .md-refonte #modalConfirmation .mdr-confirm-image-number {
    margin: 6px 0 12px;
    font-size: 13px;
  }
}
