/* Booking gate modal. Tokens fall back to Brooklyn Qi palette standalone. */
.bq-gate { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(32, 33, 36, 0.6); overflow-y: auto; }
.bq-gate[hidden] { display: none; }
.bq-gate-card { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 2rem); overflow-y: auto; margin: auto; background: var(--bq-cream, #F5F0E8); color: var(--bq-charcoal, #2C2825); border-radius: 1rem; padding: 2rem; box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35); }
.bq-gate-close { position: absolute; top: 0.5rem; right: 0.75rem; background: none; border: none; font-size: 1.75rem; line-height: 1; color: var(--bq-charcoal-lt, #4A4540); cursor: pointer; }
.bq-gate h3 { font-family: var(--bq-font-display, Georgia, serif); font-weight: 300; font-size: 1.5rem; margin: 0 0 0.5rem; color: var(--bq-charcoal, #2C2825); }
.bq-gate p { font-size: 0.875rem; line-height: 1.6; color: var(--bq-charcoal-lt, #4A4540); margin: 0 0 1rem; }
.bq-gate label { display: block; font-size: 0.8125rem; font-weight: 500; margin-bottom: 0.75rem; color: var(--bq-charcoal, #2C2825); }
.bq-gate input[type="email"], .bq-gate input[type="text"] { display: block; width: 100%; margin-top: 0.25rem; padding: 0.75rem 1rem; border: 1px solid var(--bq-mist, #D4CEC6); border-radius: 0.75rem; font-size: 1rem; box-sizing: border-box; background: #fff; color: var(--bq-charcoal, #2C2825); }
.bq-gate .bq-btn-primary { width: 100%; justify-content: center; text-decoration: none; border: none; cursor: pointer; }
.bq-gate-error { color: #9B2C2C; font-size: 0.8125rem; min-height: 1.25rem; margin: 0 0 0.5rem; }
.bq-gate .bq-gcal-target + button.qxCTlb { width: 100%; }
.bq-book[data-location="mobile"] { margin: 1rem 0 0.5rem; }
.bq-book[data-location="mobile"] .bq-book-btn,
.bq-book[data-location="contact"] .bq-book-btn { width: 100%; justify-content: center; }

/* ── Google launcher buttons (moved from theme) ──
 * Google inserts its button as the target's NEXT SIBLING, hence the
 * adjacent-sibling selectors. Base .bq-btn-primary comes from the theme;
 * these rules beat Google's own .qxCTlb stylesheet by specificity. */
[id^="bq-gcal"] + button.qxCTlb,
[id^="bq-gcal"] button.qxCTlb,
a[href*="calendar.google.com/calendar/appointments"] {
  background-color: #9B5E3C !important;
  color: #F5F0E8 !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 1rem 2rem !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  word-break: normal !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
[id^="bq-gcal"] + button.qxCTlb:hover,
[id^="bq-gcal"] button.qxCTlb:hover,
a[href*="calendar.google.com/calendar/appointments"]:hover {
  background-color: #B5623E !important;
  color: #F5F0E8 !important;
}
/* Google's button is the target's next sibling; hide it with the
 * desktop launcher on mobile (theme hides #bq-gcal-header itself). */
@media (max-width: 1023px) {
  #bq-gcal-header + .qxCTlb { display: none !important; }
}
@media (max-width: 768px) {
  [id^="bq-gcal"] + button.qxCTlb,
  [id^="bq-gcal"] button.qxCTlb,
  a[href*="calendar.google.com/calendar/appointments"] {
    width: 100%;
  }
}

/* ── Booking overlay fallback (mirrors Google's scrim) ── */
.hur54b {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: rgba(32, 33, 36, 0.6);
  padding: 72px;
  z-index: 9999;
}
.mmGMM {
  border: none;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.Xfsokf {
  position: fixed;
  top: 26px;
  right: 72px;
  z-index: 10000;
}
@media (max-width: 768px) {
  .hur54b { padding: 24px 12px; }
  .Xfsokf { top: 12px; right: 12px; }
}
