/* The professional profile and a scheduling enquiry stay within IFABER. */
.if-booking[hidden] { display: none !important; }
.if-booking {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; box-sizing: border-box;
  background: #281b22a8;
  color: #382c2d; font-family: Manrope, Arial, sans-serif;
}
.if-booking *, .if-booking *::before, .if-booking *::after { box-sizing: border-box; }
.if-booking-panel {
  width: 940px; max-width: 100%; max-height: calc(100vh - 48px); max-height: calc(100svh - 48px);
  overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #d8c8c4; border-radius: 18px;
  background: #fbf7ee; box-shadow: 0 20px 80px #21141b33;
}
.if-booking-bar {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 28px; border-bottom: 1px solid #d8c8c4; background: #fbf7ee;
}
.if-booking-bar p { margin: 0; color: #702b40; font-size: 12px; font-weight: 600; }
.if-booking-close {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 8px 14px; border: 1px solid #d8c8c4;
  border-radius: 8px; color: #702b40; background: transparent; font: inherit; font-size: 12px; cursor: pointer;
}
.if-booking-close span { font-size: 22px; line-height: 1; }
.if-booking-content { display: grid; grid-template-columns: 1fr 1.15fr; }
.if-booking-profile { padding: 32px; background: #eee6d8; }
.if-booking-person { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.if-booking-person img { width: 96px; height: 112px; flex: none; border-radius: 10px; object-fit: cover; }
.if-booking h2 { margin: 0 0 8px; color: #702b40; font: 400 28px/1.2 Manrope,Arial,sans-serif; letter-spacing: -.04em; }
.if-booking-person p { margin: 0; font-size: 12px; line-height: 1.7; }
.if-booking-details > summary { display: none; }
.if-booking-details > p { margin: 0 0 20px; font-size: 14px; line-height: 1.85; }
.if-booking-facts { display: grid; gap: 16px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid #cfbdb7; }
.if-booking-facts dt { margin-bottom: 5px; color: #702b40; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.if-booking-facts dd { margin: 0; font-size: 13px; line-height: 1.8; }
.if-booking-enquiry { padding: 32px; }
.if-booking-enquiry h3 { margin: 0 0 16px; color: #702b40; font: 400 29px/1.25 Manrope,Arial,sans-serif; letter-spacing: -.04em; }
.if-booking-enquiry > p { font-size: 14px; line-height: 1.85; margin: 0 0 24px; }
.if-booking-field { display: grid; gap: 9px; margin-bottom: 20px; font-size: 13px; font-weight: 600; }
.if-booking-field small { font-size: 11px; font-weight: 400; line-height: 1.7; color: #75615f; }
.if-booking-field select, .if-booking-field textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px;
  border: 1px solid #cdbcb6; border-radius: 8px; background: #fffdf8;
  color: #382c2d; font: 400 16px/1.6 Manrope,Arial,sans-serif;
}
.if-booking-field textarea { min-height: 102px; resize: vertical; }
.if-booking .if-booking-email {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 52px; width: 100%; padding: 14px 18px;
  border: 1px solid #702b40; border-radius: 8px;
  background: #702b40; color: #fbf7ee; text-decoration: none; font-size: 13px; font-weight: 600;
}
.if-booking .if-booking-email:hover { background: #572034; }
.if-booking .if-booking-help { margin: 16px 0 0; font-size: 11px; line-height: 1.75; color: #75615f; }
.if-booking .if-booking-address { display: inline-block; margin-top: 16px; color: #702b40; font-size: 12px; overflow-wrap: anywhere; word-break: break-word; }
.if-booking :is(a,button,textarea,select):focus-visible { outline: 2px solid #702b40; outline-offset: 4px; }
@media(max-width:700px) {
  .if-booking { padding: 12px; }
  .if-booking-panel { max-height: calc(100vh - 24px); max-height: calc(100svh - 24px); border-radius: 12px; }
  .if-booking-bar { padding: 10px 18px; }
  .if-booking-content { grid-template-columns: minmax(0,1fr); }
  .if-booking-profile,.if-booking-enquiry { padding: 26px 22px; }
  .if-booking-person { gap: 16px; }
  .if-booking h2 { font-size: 27px; }
  .if-booking-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: #702b40; border-top: 1px solid #cfbdb7; cursor: pointer; font-size: 12px; list-style: none; }
  .if-booking-details > summary::-webkit-details-marker { display: none; }
  .if-booking-details > summary span { font-size: 21px; }
  .if-booking-details[open] > summary span { transform: rotate(45deg); }
  .if-booking-details > p { padding-top: 14px; }
  .if-booking-person { margin-bottom: 14px; }
}
@media(max-width:360px) {
  .if-booking { padding: 8px; }
  .if-booking-panel { max-height: calc(100vh - 16px); max-height: calc(100svh - 16px); }
  .if-booking-profile,.if-booking-enquiry { padding: 22px 18px; }
  .if-booking-person img { width: 72px; height: 88px; }
  .if-booking h2 { font-size: 24px; }
}
@media print { .if-booking { display: none !important; } }
