/* Per-Activity mobile form presentation. Desktop remains unchanged. */
.lsp-bm-mobile-activity-cta { display:none; }
.lsp-bm-mobile-activity-dialog { display:none; }
body.lsp-bm-mobile-presentation-off .lsp-ua-mobile-cta { display:none !important; }

@media (max-width: 767px) {
  body.lsp-bm-mobile-presentation-active .hotel-target-book-mobile {
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }

  body.lsp-bm-mobile-presentation-active:not(.lsp-bm-mobile-presentation-off):not(.lsp-bm-expanded-package):not(.lsp-th-composite-pricing):not(.lsp-th-composite-quote-mode) #st-content-wrapper {
    padding-bottom:calc(82px + env(safe-area-inset-bottom, 0px));
  }

  body.lsp-bm-mobile-presentation-active .lsp-bm-mobile-activity-cta {
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:100050;
    width:100%;
    box-sizing:border-box;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background:rgba(255,255,255,.98);
    border-top:1px solid #e5eaf1;
    box-shadow:0 -5px 20px rgba(15,23,42,.10);
  }

  body.lsp-bm-mobile-presentation-active .lsp-bm-mobile-activity-cta-button {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:50px;
    margin:0;
    padding:12px 18px;
    box-sizing:border-box;
    border:0;
    border-radius:9px;
    background:#3867ed;
    color:#fff !important;
    font-size:16px;
    line-height:1.25;
    font-weight:700;
    text-align:center;
    text-decoration:none;
    cursor:pointer;
  }

  body.lsp-bm-mobile-presentation-off .lsp-bm-mobile-activity-cta,
  body.lsp-bm-mobile-activity-dialog-open .lsp-bm-mobile-activity-cta {
    display:none !important;
  }

  body.lsp-bm-mobile-presentation-off.lsp-th-composite-pricing #st-content-wrapper { padding-bottom:24px !important; }

  dialog.lsp-bm-mobile-activity-dialog {
    position:fixed;
    inset:auto 0 0;
    display:flex;
    flex-direction:column;
    width:100%;
    max-width:760px;
    max-height:94vh;
    max-height:94dvh;
    margin:0 auto;
    padding:0;
    border:0;
    border-radius:18px 18px 0 0;
    overflow:hidden;
    background:#fff;
    color:#26324a;
    box-shadow:0 -8px 35px rgba(0,0,0,.20);
  }

  dialog.lsp-bm-mobile-activity-dialog::backdrop {
    background:rgba(12,22,42,.58);
  }

  .lsp-bm-mobile-activity-dialog__header {
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:58px;
    padding:12px 18px;
    border-bottom:1px solid #e8edf3;
    background:#fff;
  }

  .lsp-bm-mobile-activity-dialog__title {
    margin:0;
    color:#17345d;
    font-size:19px;
    line-height:1.3;
    font-weight:700;
  }

  .lsp-bm-mobile-activity-dialog__close {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 40px;
    width:40px;
    height:40px;
    margin:0;
    padding:0;
    border:0;
    border-radius:50%;
    background:#f1f4f8;
    color:#24344d;
    font-size:27px;
    line-height:1;
    cursor:pointer;
  }

  .lsp-bm-mobile-activity-dialog__content {
    flex:1 1 auto;
    min-height:0;
    max-height:calc(94vh - 58px);
    max-height:calc(94dvh - 58px);
    padding:16px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    box-sizing:border-box;
  }

  dialog.lsp-bm-mobile-activity-dialog #booking-request,
  dialog.lsp-bm-mobile-activity-dialog .st-form-book-wrapper,
  dialog.lsp-bm-mobile-activity-dialog .activity-booking-form-wrapper,
  dialog.lsp-bm-mobile-activity-dialog .lsp-ua-form-wrap {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    box-sizing:border-box !important;
  }

  dialog.lsp-bm-mobile-activity-dialog form.activity-booking-form,
  dialog.lsp-bm-mobile-activity-dialog form.lsp-ua-form {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100% !important;
    max-width:100% !important;
  }
}
