
/* ==========================================================
   SCI LemMarket — V22.13 COHERENCE FIX
   ========================================================== */

/* 1) FOOTER: move content safely to the right on mobile */
@media(max-width:760px){
  html body footer.site-footer{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
    box-sizing:border-box!important;
    padding-left:30px!important;
    padding-right:22px!important;
    overflow:hidden!important;
  }
  html body footer.site-footer .footer-columns,
  html body footer.site-footer .footer-bottom,
  html body footer.site-footer .footer-brand,
  html body footer.site-footer .footer-columns>div{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
  html body footer.site-footer a,
  html body footer.site-footer p,
  html body footer.site-footer h3,
  html body footer.site-footer span{
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  html body footer.site-footer a{
    display:block!important;
    margin:0 0 10px!important;
  }
}

/* 2) Remove duplicate old "Biens par ville" after V22.13 JS identifies it */
.lm2213-old-city-block{display:none!important}

/* 3) Booking price card */
.lm2213-price-card{
  align-self:start!important;
}
.lm2213-rate-note{
  margin:0 0 12px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  background:#f2f8f3!important;
  color:#31513a!important;
  font-size:12px!important;
  font-weight:800!important;
}
.lm2213-booking-page .rent-total-row{
  padding-top:10px!important;
  margin-top:8px!important;
  border-top:2px solid #0d6b37!important;
}
.lm2213-booking-page .rent-total-row b{
  font-size:19px!important;
}

/* 4) Booking tracking */
.lm2213-confirm-box{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:14px!important;
  margin:0 0 14px!important;
  border-radius:18px!important;
  background:#ecf8ef!important;
  border:1px solid #b9d8c0!important;
}
.lm2213-confirm-icon{
  width:44px!important;
  height:44px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:#0d6b37!important;
  color:#fff!important;
  font-size:22px!important;
  font-weight:900!important;
}
.lm2213-confirm-box p{margin:3px 0 0!important}
.lm2213-reference-card{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  padding:14px 16px!important;
  margin:0 0 14px!important;
  border-radius:18px!important;
  background:#0b4f2b!important;
  color:#fff!important;
}
.lm2213-reference-card span{
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}
.lm2213-reference-card strong{
  font-size:22px!important;
  letter-spacing:.04em!important;
  flex:1 1 auto!important;
}
.lm2213-reference-card button{
  border:1px solid rgba(255,255,255,.35)!important;
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:7px 11px!important;
  font:inherit!important;
  font-size:11px!important;
  font-weight:900!important;
}
.lm2213-status-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:12px 0 16px!important;
}
.lm2213-status-grid>div{
  padding:10px!important;
  border-radius:14px!important;
  background:#f4f8f5!important;
}
.lm2213-status-grid span{
  display:block!important;
  color:#738078!important;
  font-size:10px!important;
}
.lm2213-status-grid strong{
  display:block!important;
  margin-top:3px!important;
  color:#0d6b37!important;
  font-size:13px!important;
}
.lm2213-track-steps{
  padding-left:20px!important;
  line-height:1.5!important;
}
.lm2213-message{
  padding:10px 0!important;
  border-bottom:1px solid #e5ece6!important;
}
.lm2213-message p{margin:4px 0!important}
.lm2213-message small{color:#778279!important}

/* Mobile booking/tracking */
@media(max-width:699px){
  .lm2213-booking-page,
  .lm2213-track-page{
    width:100%!important;
    box-sizing:border-box!important;
    padding:0 10px!important;
  }
  .lm2213-reference-card strong{
    flex-basis:100%!important;
    font-size:20px!important;
  }
  .lm2213-status-grid{
    grid-template-columns:1fr 1fr!important;
  }
}
