/* Floating book bar — fixed-position pill, always visible on property pages.
   Matches v3 mockup. Body padding-bottom is set in base.css to reserve space. */

.float-book {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  z-index: 40;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 14px 14px 36px;
  display: flex;
  align-items: center;
  gap: 36px;
  box-shadow: 0 24px 60px rgba(31, 30, 27, 0.20);
  border: 1px solid var(--line);
  max-width: 900px;
  width: calc(100vw - 48px);
}

.float-book-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
  min-width: 120px;
}
.float-book-price strong {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.float-book-price small {
  font-size: 14px;
  color: var(--ink-2);
}

.float-book-divider {
  width: 1px;
  height: 44px;
  background: var(--line);
  flex-shrink: 0;
}

.float-book-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
}
.float-book-field-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}
.float-book-field-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-book-field-value.placeholder { color: var(--ink-3); font-weight: 400; }

.float-book-cta {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 18px 36px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.float-book-cta:hover { background: var(--terracotta-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(199, 98, 44, 0.35); }
.float-book-cta::after { content: "→"; font-size: 16px; }

@media (max-width: 900px) {
  .float-book {
    bottom: 16px;
    left: 16px;
    right: 16px;
    transform: none;
    max-width: none;
    width: auto;
    border-radius: 12px;
    padding: 12px 12px 12px 24px;
    gap: 12px;
  }
  .float-book-price strong { font-size: 24px; }
  .float-book-price { min-width: auto; }
  .float-book-divider,
  .float-book-field { display: none; }
  .float-book-cta {
    margin-left: auto;
    padding: 14px 28px;
    font-size: 12px;
  }
}
