/*
 * Chef Juan's Booking styling.
 * Brand: matte black + brass gold + off-white cream. Matches chefjuans-brand.
 */

:root {
  --cj-bk-paper: #0d0d0d;
  --cj-bk-paper-2: #1a1614;
  --cj-bk-ink: #f4ede0;
  --cj-bk-ink-muted: #a09989;
  --cj-bk-brass: #c9a44a;
  --cj-bk-brass-hi: #dbb85a;
  --cj-bk-divider: #2a231e;
  --cj-bk-serif: "Cormorant Garamond", Georgia, serif;
  --cj-bk-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ========== inline embed section ========== */
.cj-booking-inline {
  background: var(--cj-bk-paper-2);
  color: var(--cj-bk-ink);
  padding: 56px clamp(20px, 4vw, 56px);
  margin: 48px auto 0;
  border-top: 1px solid var(--cj-bk-divider);
  border-bottom: 1px solid var(--cj-bk-divider);
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .cj-booking-inline {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
}
.cj-booking-inline-copy .cj-booking-h {
  font-family: var(--cj-bk-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  color: var(--cj-bk-brass);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.cj-booking-inline-copy .cj-booking-desc {
  font-family: var(--cj-bk-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cj-bk-ink);
  margin: 0 0 20px;
  max-width: 40ch;
}
.cj-booking-inline-copy .cj-booking-fine {
  font-family: var(--cj-bk-sans);
  font-size: 14px;
  color: var(--cj-bk-ink-muted);
  margin: 0;
}
.cj-booking-inline-copy .cj-booking-fine a {
  color: var(--cj-bk-brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cj-booking-inline-copy .cj-booking-fine a:hover {
  color: var(--cj-bk-brass-hi);
}

/* Frame around the injected iframe. Height rules ensure a usable calendar
   even before cal.com's own sizing kicks in. */
.cj-booking-embed {
  background: var(--cj-bk-paper);
  border: 1px solid var(--cj-bk-divider);
  border-radius: 4px;
  min-height: 640px;
  overflow: hidden;
  position: relative;
}
.cj-booking-embed iframe {
  width: 100%;
  min-height: 640px;
  border: 0;
  display: block;
}

/* ========== modal button (data-cal-link) ========== */
.cj-booking-button-wrap {
  margin: 24px 0;
  text-align: center;
}
.cj-booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--cj-bk-brass);
  color: var(--cj-bk-paper) !important;
  border-radius: 3px;
  font-family: var(--cj-bk-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  min-width: 240px;
}
.cj-booking-btn:hover,
.cj-booking-btn:focus-visible {
  background: var(--cj-bk-brass-hi);
  outline: none;
}

/* Prevent theme wrappers from cramping the inline embed. */
body.cj-brand .entry-content .cj-booking-inline {
  max-width: 1200px;
}
