/**
 * Loft PMS — module privé [loftpms_private_booking]
 * Déclinaison compacte de la Booking Bar (mono-logement).
 * Scopé sous .loftpms-private-booking-section et #loftpms-private-booking-module.
 */

/* ——— Section réservation premium (conteneur shortcode privé) ——— */
.loftpms-private-booking-section {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: clamp(80px, 9vw, 120px) clamp(20px, 4vw, 32px);
  box-sizing: border-box;
  background: linear-gradient(180deg, #1c1c1c 0%, #181818 48%, #141414 100%);
  overflow: hidden;
}

.loftpms-private-booking-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 62%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 68%);
}

.loftpms-private-booking-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.loftpms-private-booking-section__intro {
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.loftpms-private-booking-section__title {
  margin: 0 0 clamp(22px, 2.8vw, 30px);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.9rem, 4.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff !important;
}

.loftpms-private-booking-section__subtitle {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.0625rem, 2.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.012em;
  color: #d0d0d0;
}

.loftpms-private-booking-section__contact {
  margin: 0.85em 0 0;
  max-width: 100%;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.0625rem, 2.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0.012em;
  color: #d0d0d0;
  text-align: center;
  word-break: normal;
  overflow-wrap: anywhere;
}

.loftpms-private-booking-section__phone {
  color: #d0d0d0 !important;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  white-space: nowrap;
}

.loftpms-private-booking-section__phone:hover,
.loftpms-private-booking-section__phone:focus,
.loftpms-private-booking-section__phone:visited {
  color: #ffffff !important;
}

.loftpms-private-booking-section #loftpms-private-booking-module {
  padding-left: 0;
  padding-right: 0;
  scroll-margin-top: clamp(48px, 6vw, 72px);
}

#loftpms-private-booking-module {
  display: block;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  scroll-margin-top: 32px;
  isolation: isolate;
  contain: layout style;
  box-sizing: border-box;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--loft-gray-dark, #495057);
  text-align: left;
}

#loftpms-private-booking-module *,
#loftpms-private-booking-module *::before,
#loftpms-private-booking-module *::after {
  box-sizing: border-box;
}

#loftpms-private-booking-module button {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

#loftpms-private-booking-module .loftpms-private-booking-error {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff5f5;
  color: #9b1c1c;
}

/* Shell — même carte Booking Bar, hauteur auto */
#loftpms-private-booking-module .loftpms-private-drawer-shell.loft-drawer-inner {
  position: static;
  pointer-events: auto;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
  height: auto;
  min-height: 0;
  max-height: none;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--loft-border, rgba(0, 0, 0, 0.06));
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

#loftpms-private-booking-module .loftpms-private-drawer-shell .loft-drawer-header {
  padding: 18px 28px 0;
  border-bottom: none;
}

#loftpms-private-booking-module .loftpms-private-drawer-shell .loft-drawer-title {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
  color: var(--loft-gray-dark, #495057);
  margin: 0;
}

#loftpms-private-booking-module .loftpms-private-extras-intro {
  margin: 12px 0 0;
  padding: 0;
  max-width: 760px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: #6c757d;
}

#loftpms-private-booking-module .loftpms-private-extras-intro.is-hidden {
  display: none;
}

/* Barre d'étapes — zones Booking Bar, version compacte */
#loftpms-private-booking-module .loftpms-private-zones.loft-bookingbar-inner {
  position: static;
  pointer-events: auto;
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  height: auto;
  min-height: 58px;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

#loftpms-private-booking-module .loftpms-private-zones .loft-booking-zone {
  min-height: 58px;
  padding: 10px 16px;
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: left;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s ease;
}

#loftpms-private-booking-module .loftpms-private-zones .loft-booking-zone:hover:not(:disabled):not([aria-disabled="true"]) {
  background: rgba(184, 155, 84, 0.07);
}

#loftpms-private-booking-module .loftpms-private-zones .loft-booking-zone:disabled,
#loftpms-private-booking-module .loftpms-private-zones .loft-booking-zone[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.45;
}

#loftpms-private-booking-module .loftpms-private-zones .zone-label {
  font-size: 12px;
  margin-bottom: 2px;
}

#loftpms-private-booking-module .loftpms-private-zones .zone-value {
  font-size: 14px;
}

#loftpms-private-booking-module .loftpms-private-drawer-content {
  flex: 1 1 auto;
  overflow: visible;
  padding: 0;
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 0;
  max-height: none;
}

/* Transitions fluides entre étapes */
#loftpms-private-booking-module .loftpms-private-step {
  display: none;
}

#loftpms-private-booking-module .loftpms-private-step.is-active {
  display: block;
  animation: loftpmsPrivateStepIn 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#loftpms-private-booking-module .loftpms-private-drawer-shell[data-step-direction="back"] .loftpms-private-step.is-active {
  animation-name: loftpmsPrivateStepInBack;
}

@keyframes loftpmsPrivateStepIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes loftpmsPrivateStepInBack {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Panels — padding réduit, pas de min-height drawer */
#loftpms-private-booking-module .loft-voyageurs-panel,
#loftpms-private-booking-module .loft-options-panel,
#loftpms-private-booking-module .loft-dates-panel {
  padding: 20px 28px 16px;
  min-height: 0;
  max-height: none;
}

/*
 * Voyageurs compact (~35 % plus petit que la Booking Bar)
 * Booking Bar : icône 140px, svg 64px, padding 20px, gap 44px, titre 20px
 */
#loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  align-items: stretch;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-item {
  padding: 14px 12px 16px;
  min-height: 0;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-icon svg {
  width: 40px;
  height: 40px;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-title {
  font-size: 16px;
  margin-bottom: 4px;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-item:first-child .loft-voyageur-age {
  display: none;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-item:first-child .loft-voyageur-title {
  margin-bottom: 14px;
}

/* Pas de sous-titre d’âge sous Enfants (Lodge Perché) : même respiration qu’Adultes. */
#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-item--children .loft-voyageur-title {
  margin-bottom: 14px;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-age {
  font-size: 12px;
  margin-bottom: 14px;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-btn {
  width: 36px;
  height: 36px;
  font-size: 17px;
  border-radius: 10px;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-count {
  font-size: 16px;
  min-width: 28px;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-max {
  margin-top: 12px;
  font-size: 12px;
}

/* Extras — grille horizontale, cartes Booking Bar, centrées dans le conteneur */
#loftpms-private-booking-module .loft-options-panel .booking-cards,
#loftpms-private-booking-module .booking-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 14px;
  max-height: none;
  overflow: visible;
  padding: 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#loftpms-private-booking-module .loft-options-panel .booking-cards > .booking-card,
#loftpms-private-booking-module .booking-cards > .booking-card {
  flex: 0 0 calc((100% - (4 * 14px)) / 5);
  width: calc((100% - (4 * 14px)) / 5);
  max-width: calc((100% - (4 * 14px)) / 5);
  min-width: 0;
  box-sizing: border-box;
}

#loftpms-private-booking-module .loft-options-panel .booking-card-content {
  padding: 8px 10px 10px;
}

#loftpms-private-booking-module .loft-options-panel .booking-card-title {
  font-size: 13px;
}

/* Calendrier — centré horizontalement dans le module privé */
#loftpms-private-booking-module .loft-dates-panel .loft-dates-panel-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loftpms-private-booking-module .loft-dates-panel .loft-dates-container,
#loftpms-private-booking-module .loft-dates-panel .lpms-cal {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 48px;
}

#loftpms-private-booking-module .loft-dates-panel .lpms-cal-month {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

#loftpms-private-booking-module .loft-dates-panel .loft-dates-legend,
#loftpms-private-booking-module .loft-dates-panel .loft-dates-legend__hours {
  padding-left: 0;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Pied — boutons Booking Bar */
#loftpms-private-booking-module .loftpms-private-footer.loft-mobile-step-footer {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 28px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

#loftpms-private-booking-module .loftpms-private-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  border: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

#loftpms-private-booking-module .loftpms-private-cta--primary,
#loftpms-private-booking-module .loftpms-private-cta--search {
  background: #b3262d;
  color: #fff;
  box-shadow: 0 10px 22px rgba(179, 38, 45, 0.28);
}

#loftpms-private-booking-module .loftpms-private-cta--primary:hover:not(:disabled),
#loftpms-private-booking-module .loftpms-private-cta--search:hover:not(:disabled) {
  background: #a01730;
}

#loftpms-private-booking-module .loftpms-private-cta--search {
  min-width: 220px;
  text-transform: uppercase;
}

#loftpms-private-booking-module .loftpms-private-cta--ghost {
  background: #fff;
  color: var(--loft-gray-dark, #495057);
  border: 1px solid var(--loft-border, rgba(0, 0, 0, 0.06));
  box-shadow: none;
}

#loftpms-private-booking-module .loftpms-private-cta--ghost:hover:not(:disabled) {
  background: var(--loft-beige-light, #faf8f5);
}

#loftpms-private-booking-module .loftpms-private-cta:active:not(:disabled) {
  transform: translateY(1px);
}

#loftpms-private-booking-module .loftpms-private-cta:disabled,
#loftpms-private-booking-module .loftpms-private-cta[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* Aucun affichage tarifaire */
#loftpms-private-booking-module .booking-card-price,
#loftpms-private-booking-module .loft-option-price,
#loftpms-private-booking-module .loftpms-private-booking-summary {
  display: none !important;
}

#loftpms-private-booking-module .loftpms-private-search-error {
  margin: 0;
  padding: 12px 28px;
  background: #fff5f5;
  border-top: 1px solid rgba(196, 30, 58, 0.15);
  border-bottom: 1px solid rgba(196, 30, 58, 0.15);
  color: #9b1c1c;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid.loft-voyageurs-grid--adults-only {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: 16px;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid.loft-voyageurs-grid--adults-only .loft-voyageur-item {
  flex: 0 0 360px;
  width: 360px;
  max-width: 100%;
}

#loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid.loft-voyageurs-grid--adults-only + .loft-voyageurs-max {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid.loft-voyageurs-grid--adults-only {
    justify-content: center;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid.loft-voyageurs-grid--adults-only .loft-voyageur-item {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  #loftpms-private-booking-module .loftpms-private-search-error {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 1100px) {
  #loftpms-private-booking-module .loft-options-panel .booking-cards > .booking-card,
  #loftpms-private-booking-module .booking-cards > .booking-card {
    flex: 0 0 calc((100% - (3 * 14px)) / 4);
    width: calc((100% - (3 * 14px)) / 4);
    max-width: calc((100% - (3 * 14px)) / 4);
  }

  #loftpms-private-booking-module .loft-dates-panel .loft-dates-container,
  #loftpms-private-booking-module .loft-dates-panel .lpms-cal {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid {
    max-width: none;
    gap: 12px;
  }

  #loftpms-private-booking-module .loft-options-panel .booking-cards > .booking-card,
  #loftpms-private-booking-module .booking-cards > .booking-card {
    flex: 0 0 calc((100% - (2 * 14px)) / 3);
    width: calc((100% - (2 * 14px)) / 3);
    max-width: calc((100% - (2 * 14px)) / 3);
  }
}

@media (max-width: 768px) {
  .loftpms-private-booking-section {
    padding-top: clamp(64px, 14vw, 88px);
    padding-bottom: clamp(64px, 14vw, 88px);
  }

  .loftpms-private-booking-section__intro {
    margin-bottom: clamp(28px, 7vw, 40px);
  }

  .loftpms-private-booking-section__title {
    margin-bottom: clamp(16px, 4vw, 22px);
  }

  #loftpms-private-booking-module {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    contain: none;
  }

  /*
   * Neutralise les règles mobile de loft-booking-bar.css (drawer bottom sheet)
   * qui fuient via les classes partagées loft-drawer-inner / loft-drawer-content.
   */
  #loftpms-private-booking-module .loftpms-private-drawer-shell.loft-drawer-inner,
  #loftpms-private-booking-module .loftpms-private-drawer-shell.loft-drawer-inner.open,
  #loftpms-private-booking-module .loftpms-private-drawer-shell.loft-drawer-inner.is-static {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    will-change: auto;
  }

  #loftpms-private-booking-module .loft-drawer-header,
  #loftpms-private-booking-module .loft-drawer-header-main {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    min-height: 0 !important;
  }

  #loftpms-private-booking-module .loft-drawer-header::before {
    display: none !important;
    content: none !important;
  }

  #loftpms-private-booking-module .loft-drawer-title,
  #loftpms-private-booking-module .loft-drawer-header .loft-drawer-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 0 !important;
  }

  #loftpms-private-booking-module .loft-drawer-content,
  #loftpms-private-booking-module .loftpms-private-drawer-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 1 1 auto !important;
    padding-bottom: 0 !important;
  }

  #loftpms-private-booking-module .loftpms-private-step.is-active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #loftpms-private-booking-module .loft-voyageurs-panel,
  #loftpms-private-booking-module .loft-options-panel,
  #loftpms-private-booking-module .loft-dates-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  #loftpms-private-booking-module .loftpms-private-zones.loft-bookingbar-inner {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  #loftpms-private-booking-module .loftpms-private-footer.loft-mobile-step-footer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    pointer-events: auto !important;
  }

  #loftpms-private-booking-module .loftpms-private-cta,
  #loftpms-private-booking-module .loftpms-private-cta--search,
  #loftpms-private-booking-module .loft-tablet-dates-search-cta {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  #loftpms-private-booking-module {
    padding: 0 12px;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }

  #loftpms-private-booking-module .loftpms-private-drawer-shell .loft-drawer-header,
  #loftpms-private-booking-module .loft-voyageurs-panel,
  #loftpms-private-booking-module .loft-options-panel,
  #loftpms-private-booking-module .loft-dates-panel,
  #loftpms-private-booking-module .loftpms-private-footer.loft-mobile-step-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  #loftpms-private-booking-module .loftpms-private-drawer-shell .loft-drawer-title {
    font-size: 18px !important;
  }

  #loftpms-private-booking-module .loftpms-private-extras-intro {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.55;
  }

  #loftpms-private-booking-module .loftpms-private-zones.loft-bookingbar-inner {
    flex-direction: column;
    min-height: 0;
  }

  #loftpms-private-booking-module .loftpms-private-zones .loft-booking-zone {
    width: 100%;
    min-height: 52px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  #loftpms-private-booking-module .loftpms-private-zones .loft-booking-zone:not(:last-of-type)::after {
    display: none;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Lodge Perché (Adultes + Enfants, sans bébés) : 1 colonne sur mobile —
     la règle desktop 1fr 1fr ne doit pas rester active ici. */
  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid--no-babies {
    grid-template-columns: 1fr;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 12px;
    text-align: left;
    padding: 12px 14px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-icon {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
    margin: 0;
    flex-shrink: 0;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-icon svg {
    width: 26px;
    height: 26px;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-title {
    margin-bottom: 0;
    align-self: end;
    font-size: 15px;
    writing-mode: horizontal-tb;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-age {
    margin-bottom: 0;
    align-self: start;
    writing-mode: horizontal-tb;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    min-width: 0;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-controls {
    grid-row: 1 / span 2;
    justify-self: end;
    flex-shrink: 0;
    min-width: 0;
  }

  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-help {
    grid-column: 1 / -1;
    min-width: 0;
  }

  #loftpms-private-booking-module .loft-options-panel .booking-cards,
  #loftpms-private-booking-module .booking-cards {
    gap: 10px;
  }

  #loftpms-private-booking-module .loft-options-panel .booking-cards > .booking-card,
  #loftpms-private-booking-module .booking-cards > .booking-card {
    flex: 0 0 calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
  }

  #loftpms-private-booking-module .loft-dates-panel .loft-dates-container,
  #loftpms-private-booking-module .loft-dates-panel .lpms-cal {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  #loftpms-private-booking-module .loftpms-private-footer.loft-mobile-step-footer {
    flex-direction: column;
    align-items: stretch;
  }

  #loftpms-private-booking-module .loftpms-private-cta,
  #loftpms-private-booking-module .loftpms-private-cta--search {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #loftpms-private-booking-module .loftpms-private-step.is-active {
    animation: none;
  }
}

/* Lodge Perché — aide sous Enfants (15–17) */
#loftpms-private-booking-module .loftpms-private-compact .loft-voyageur-help {
  margin: 10px 0 0;
  padding: 0 4px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.62);
  text-align: left;
}

/* Desktop uniquement : Adultes + Enfants côte à côte (sans bébés).
 * Sur mobile, la grille 1fr du media query ci-dessus reste prioritaire. */
@media (min-width: 769px) {
  #loftpms-private-booking-module .loftpms-private-compact .loft-voyageurs-grid--no-babies {
    grid-template-columns: 1fr 1fr;
  }
}

/*
 * Lodge Perché — mobile étroit (≤767px) :
 * marge basse pour que le widget chat flottant ne masque pas les contrôles.
 */
@media (max-width: 767px) {
  body.loftpms-lodge-perche-flow #loftpms-private-booking-module {
    overflow-x: hidden;
    max-width: 100%;
  }

  body.loftpms-lodge-perche-flow #loftpms-private-booking-module .loft-voyageurs-panel {
    padding-bottom: 28px;
  }

  body.loftpms-lodge-perche-flow #loftpms-private-booking-module .loftpms-private-footer.loft-mobile-step-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
