/* Professional consulting booker */
.book-page {
  background: linear-gradient(180deg, #f4f8f6 0%, #fff 28%);
  min-height: 60vh;
  padding: 1.75rem 0 3.5rem;
}
.book-container { max-width: 1040px; }
.book-hero-row {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
@media (max-width: 860px) {
  .book-hero-row { grid-template-columns: 1fr; }
}
.book-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c6b66;
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.book-hero-copy h1 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  margin: 0 0 0.4rem;
  color: #0b3d2e;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.book-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0b3d2e;
  margin: 0 0 0.55rem;
}
.book-desc {
  color: #3d4f49;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  max-width: 36rem;
}
.book-meta {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #3d4f49;
  font-weight: 500;
}
.book-meta-quiet { color: #6b7c76; font-weight: 400; font-size: 0.82rem; }

.book-host-card {
  background: #fff;
  border: 1px solid #d5e2db;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(11, 61, 46, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.book-host-photo {
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  background: #e8f0ec;
}
.book-host-text { text-align: center; }
.book-host-text strong {
  display: block;
  font-size: 1.05rem;
  color: #0b3d2e;
}
.book-host-title {
  display: block;
  font-size: 0.78rem;
  color: #5c6b66;
  margin: 0.2rem 0 0.45rem;
}
.book-host-blurb {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #4a5c56;
  margin: 0;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
@media (max-width: 860px) {
  .book-grid { grid-template-columns: 1fr; }
}
.book-card {
  background: #fff;
  border: 1px solid #d5e2db;
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.35rem;
  box-shadow: 0 6px 20px rgba(11, 61, 46, 0.05);
}
.book-card h2 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c6b66;
  margin: 0 0 0.65rem;
  font-weight: 700;
}
.book-card h2 + h2,
.book-card .dur-pills + h2,
.book-card .book-date-input + h2,
.book-card .slot-list + h2 {
  margin-top: 1.15rem;
}

.dur-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.dur-pills button,
.slot-chip {
  border: 1px solid #c5d4ce;
  background: #f7faf8;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: #0b3d2e;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
  max-width: 100%;
  height: auto;
  text-align: center;
  line-height: 1.3;
}
.dur-pills button:hover,
.slot-chip:hover {
  border-color: #0b3d2e;
  background: #eef6f1;
}
.dur-pills button.active,
.slot-chip.active {
  background: #0b3d2e;
  color: #fff;
  border-color: #0b3d2e;
}

.book-date-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: #334;
}
/* Weekday-only calendar (Mon–Fri; weekends never shown) */
.book-cal {
  border: 1px solid #d5e2db;
  border-radius: 12px;
  background: #fbfdfc;
  padding: 0.65rem 0.7rem 0.75rem;
  max-width: 22rem;
}
.book-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.book-cal-month {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0b3d2e;
}
.book-cal-nav-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid #c5d4ce;
  border-radius: 8px;
  background: #fff;
  color: #0b3d2e;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
}
.book-cal-nav-btn:hover { background: #eef6f1; border-color: #0b3d2e; }
.book-cal-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.book-cal-dow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.3rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6b7c76;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.book-cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
}
.book-cal-day {
  aspect-ratio: 1;
  min-height: 2.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #0b3d2e;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.book-cal-day:hover:not(:disabled):not(.is-empty) {
  border-color: #0b3d2e;
  background: #eef6f1;
}
.book-cal-day.is-empty {
  background: transparent;
  cursor: default;
  visibility: hidden;
}
.book-cal-day.is-disabled,
.book-cal-day:disabled {
  color: #b7c4be;
  background: #f3f6f4;
  cursor: not-allowed;
  font-weight: 500;
}
.book-cal-day.is-selected {
  background: #0b3d2e !important;
  color: #fff !important;
  border-color: #0b3d2e !important;
}
.book-cal-day.is-today:not(.is-selected) {
  border-color: #0b3d2e;
  box-shadow: inset 0 0 0 1px #0b3d2e;
}
.book-cal-selected {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: #3d4f49;
  font-weight: 600;
  min-height: 1.2em;
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2.5rem;
}
.slot-chip { min-width: 5.75rem; text-align: center; }
.book-status {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #6b7c76;
  min-height: 1.2em;
}
.book-status.is-error { color: #b42318; font-weight: 600; }

.book-summary {
  background: #f0f7f3;
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #234;
  border: 1px solid #dceae3;
}
.book-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (max-width: 520px) {
  .book-name-row { grid-template-columns: 1fr; }
}
.book-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.55rem 0 0.25rem;
  color: #334;
}
.book-form label .req {
  color: #b42318;
  font-weight: 800;
}
.book-form label .opt {
  color: #8a9a94;
  font-weight: 500;
  font-size: 0.75rem;
}
.book-form input,
.book-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #c5d4ce;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font: inherit;
}
.book-form input:focus,
.book-form textarea:focus {
  outline: 2px solid rgba(11, 61, 46, 0.2);
  border-color: #0b3d2e;
}
.btn-pay {
  width: 100%;
  max-width: 100%;
  border: 0;
  background: #0b3d2e;
  color: #fff;
  font: inherit;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  margin-top: 0.85rem;
  letter-spacing: 0.01em;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
  text-align: center;
  line-height: 1.35;
  height: auto;
}
.btn-pay:hover:not(:disabled) { background: #0a3327; }
.btn-pay:disabled { opacity: 0.5; cursor: not-allowed; }
.book-policy {
  font-size: 0.78rem;
  color: #6b7c76;
  margin: 0.85rem 0 0;
  line-height: 1.45;
}
/* Checkbox + policy text on one continuous row (text wraps beside the box, not under it alone) */
.book-form label.book-policy-check {
  display: grid !important;
  grid-template-columns: 1.1rem 1fr;
  column-gap: 0.55rem;
  align-items: start;
  margin: 0.85rem 0 0 !important;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
  color: #334 !important;
  cursor: pointer;
  line-height: 1.45;
}
.book-form label.book-policy-check input[type="checkbox"] {
  width: 1.05rem !important;
  height: 1.05rem !important;
  min-width: 1.05rem !important;
  max-width: 1.05rem !important;
  margin: 0.15rem 0 0 0 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  accent-color: #0b3d2e;
}
.book-form label.book-policy-check span,
.book-form label.book-policy-check #bookPolicy {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  color: #0b3d2e;
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1.45;
}
.hidden { display: none !important; }
.book-upsell {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid #d5e2db;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f7f3 0%, #fff 55%);
}
.book-upsell h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: #0b3d2e;
}
.book-upsell .lead {
  color: #3d4f49;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}
.book-upsell-grid {
  display: grid;
  gap: 0.75rem;
}
.book-upsell-card {
  border: 1px solid #d5e2db;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}
.book-upsell-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  color: #0b3d2e;
}
.book-upsell-card .price {
  font-weight: 700;
  color: #0b3d2e;
}
.book-upsell-card .price s {
  color: #8a9a94;
  font-weight: 500;
  margin-right: 0.35rem;
}
.book-upsell-card .badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: #0b3d2e;
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}
.book-upsell-card button {
  border: 0;
  background: #0b3d2e;
  color: #fff;
  font: inherit;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
  max-width: 100%;
  height: auto;
  text-align: center;
}
.book-error {
  color: #b42318;
  font-size: 0.88rem;
  margin: 0.5rem 0 0;
  min-height: 1.2em;
}

.confirm-box {
  max-width: 560px;
  margin: 2rem auto;
  padding: 1.5rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e5ebe8;
  padding: 0.4rem 0.5rem;
  text-align: left;
}
