/*
 * villa-sticky-book.css — floating bottom Book bar on mobile villa pages.
 * Hidden on desktop where the .booking-widget aside already sticks.
 */

.mps-stickybook {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #e6ddc9;
  box-shadow: 0 -6px 20px rgba(53, 71, 102, 0.10);
  padding: 0.75rem 0.85rem calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
  align-items: center;
  gap: 0.6rem;
}

@media (max-width: 900px) {
  .mps-stickybook { display: flex; }
  /* Push the WhatsApp bubble up so it doesn't overlap. */
  #whatsapp-bubble, .whatsapp-bubble, [class*="whatsapp"] {
    margin-bottom: 68px;
  }
  /* Also give the page some bottom padding so the last section isn't
     hidden under the bar. */
  main { padding-bottom: 84px; }
  /* Hide the older mobile-contact-bar (WhatsApp/Call/Email row) so the
     new sticky Book bar owns the mobile bottom safely. */
  .mobile-contact-bar { display: none !important; }
}

.mps-stickybook__price {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}
.mps-stickybook__price-main {
  font-size: 1rem;
  font-weight: 700;
  color: #354766;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mps-stickybook__price-sub {
  font-size: 0.72rem;
  color: #7a8496;
  line-height: 1.1;
  margin-top: 1px;
}

.mps-stickybook__ask {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 140ms ease, background 140ms ease;
}
.mps-stickybook__ask:hover, .mps-stickybook__ask:focus {
  background: #1fbe5b;
  transform: translateY(-1px);
}

.mps-stickybook__book {
  background: #354766;
  color: #f4e7c8;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
  min-height: 44px;
  transition: background 140ms ease, transform 140ms ease;
}
.mps-stickybook__book:hover { background: #263657; }
.mps-stickybook__book:active { transform: scale(0.98); }
