/* Only the template's explicitly mobile branch uses these classes. */
.sp-mobile-booking {
  padding-bottom: var(--sp-price-space, 180px) !important;
}
.sp-mobile-booking .sp-mobile-price {
  position: fixed !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 0 !important;
  width: auto !important;
  max-height: 55vh;
  max-height: 55dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 12px !important;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  border: 1px solid #ddd !important;
  border-radius: 10px 10px 0 0 !important;
  background: #fff !important;
  box-shadow: 0 -3px 14px rgba(0,0,0,.12);
  z-index: 1000 !important;
}
.sp-mobile-booking .sp-native-form {
  scroll-margin-bottom: var(--sp-price-space, 180px);
}
.sp-mobile-booking .sp-native-form :is(button,input,a,select,textarea) {
  scroll-margin-bottom: var(--sp-price-space, 180px);
}

.sp-mobile-calendar.sp-calendar-collapsed > :not(summary) {
  display: none !important;
}
.sp-mobile-booking .sp-price-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sp-mobile-booking .sp-price-content[hidden] { display:none !important; }
.sp-mobile-booking .sp-price-toggle {
  flex: 0 0 auto;
  width: 100%;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 8px 12px;
  color: #222;
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}
.sp-mobile-booking .sp-price-collapsed .sp-price-toggle { margin-bottom:0; }
