/* RRC booking plugin surface only — Kush Mediterranean form chrome (no site chrome) */
#rrc-booking-root {
  --rrc-teal: #0d6e7a;
  --rrc-teal-dark: #0a5963;
  --rrc-gold: #c4a35a;
  --rrc-ink: #1e2a3a;
  --rrc-muted: #6b7280;
  --rrc-cream: #fdfbf7;
  --rrc-card: #ffffff;
  --rrc-border: #e8e2d9;
  --rrc-error: #a33;
  --rrc-radius: 1.25rem;
  --rrc-radius-sm: 999px;
  max-width: 32rem;
  margin: 0 auto;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  color: var(--rrc-ink);
  line-height: 1.45;
}

#rrc-booking-root .rrc-booking-card {
  background: var(--rrc-card);
  border: 1px solid var(--rrc-border);
  border-radius: var(--rrc-radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 8px 28px rgba(30, 42, 58, 0.07);
}

#rrc-booking-root .rrc-brand {
  text-align: center;
  margin: 0 0 1.5rem;
}

#rrc-booking-root .rrc-brand-mark {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rrc-gold);
  font-weight: 600;
}

#rrc-booking-root .rrc-brand-line {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--rrc-gold);
  margin: 0.45rem auto 0;
  border-radius: 1px;
}

#rrc-booking-root h2 {
  margin: 0 0 1.15rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rrc-ink);
  letter-spacing: -0.01em;
  text-align: center;
}

#rrc-booking-root .rrc-step-note {
  text-align: center;
  color: var(--rrc-muted);
  font-size: 0.95rem;
  margin: -0.5rem 0 1.25rem;
}

#rrc-booking-root .rrc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.1rem;
}

@media (max-width: 520px) {
  #rrc-booking-root .rrc-row {
    grid-template-columns: 1fr;
  }
}

#rrc-booking-root .rrc-field {
  display: block;
  margin-bottom: 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rrc-muted);
}

#rrc-booking-root .rrc-field.rrc-field-plain {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--rrc-ink);
}

#rrc-booking-root .rrc-field input[type="text"],
#rrc-booking-root .rrc-field input[type="tel"],
#rrc-booking-root .rrc-field input[type="email"],
#rrc-booking-root .rrc-field input[type="date"],
#rrc-booking-root .rrc-field textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rrc-border);
  border-radius: 0.65rem;
  background: var(--rrc-cream);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rrc-ink);
  box-sizing: border-box;
  text-transform: none;
  letter-spacing: normal;
}

#rrc-booking-root .rrc-field input:focus,
#rrc-booking-root .rrc-field textarea:focus {
  outline: 2px solid rgba(13, 110, 122, 0.35);
  outline-offset: 1px;
  border-color: var(--rrc-teal);
  background: #fff;
}

/* Party size: unified segmented strip */
#rrc-booking-root .rrc-party-strip {
  display: flex;
  width: 100%;
  margin-top: 0.45rem;
  border: 1.5px solid var(--rrc-teal);
  border-radius: 0.65rem;
  overflow: hidden;
  background: var(--rrc-cream);
}

#rrc-booking-root .rrc-party-seg {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.5rem 0.15rem;
  border: 0;
  border-right: 1px solid var(--rrc-teal);
  border-radius: 0;
  background: transparent;
  color: var(--rrc-teal);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

#rrc-booking-root .rrc-party-seg:last-child {
  border-right: 0;
}

#rrc-booking-root .rrc-party-seg:hover {
  background: rgba(13, 110, 122, 0.08);
}

#rrc-booking-root .rrc-party-seg.is-selected {
  background: var(--rrc-teal);
  color: #fff;
}

#rrc-booking-root .rrc-party-seg:focus-visible {
  outline: 2px solid var(--rrc-gold);
  outline-offset: -2px;
  z-index: 1;
}

#rrc-booking-root .rrc-row-datetime {
  align-items: end;
}

#rrc-booking-root .rrc-row-datetime .rrc-field {
  margin-bottom: 0;
}

#rrc-booking-root .rrc-field select {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rrc-border);
  border-radius: 0.65rem;
  background: var(--rrc-cream);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rrc-ink);
  box-sizing: border-box;
  text-transform: none;
  letter-spacing: normal;
  min-height: 2.85rem;
}

#rrc-booking-root .rrc-field select:disabled {
  opacity: 0.65;
  cursor: wait;
}

#rrc-booking-root .rrc-field select:focus {
  outline: 2px solid rgba(13, 110, 122, 0.35);
  outline-offset: 1px;
  border-color: var(--rrc-teal);
  background: #fff;
}

#rrc-booking-root .rrc-status {
  text-align: center;
  font-size: 0.9rem;
  color: var(--rrc-muted);
  margin: 0.5rem 0 0;
}

#rrc-booking-root .rrc-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#rrc-booking-root .rrc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem 0.35rem 0.35rem 0;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid var(--rrc-teal);
  border-radius: var(--rrc-radius-sm);
  background: #fff;
  color: var(--rrc-teal);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

#rrc-booking-root .rrc-btn:hover {
  background: rgba(13, 110, 122, 0.08);
}

#rrc-booking-root .rrc-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

#rrc-booking-root .rrc-btn-primary {
  display: flex;
  width: 100%;
  margin: 0.75rem 0 0;
  padding: 0.9rem 1.25rem;
  background: var(--rrc-teal);
  color: #fff;
  border-color: var(--rrc-teal);
}

#rrc-booking-root .rrc-btn-primary:hover {
  background: var(--rrc-teal-dark);
  border-color: var(--rrc-teal-dark);
}

#rrc-booking-root .rrc-btn-block {
  display: flex;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  justify-content: center;
}

#rrc-booking-root .rrc-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.25rem;
  justify-content: center;
}

#rrc-booking-root .rrc-slot {
  min-width: 4.25rem;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--rrc-teal);
  border-radius: var(--rrc-radius-sm);
  background: #fff;
  color: var(--rrc-teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.12s ease, color 0.12s ease;
}

#rrc-booking-root .rrc-slot:hover {
  background: rgba(13, 110, 122, 0.08);
}

#rrc-booking-root .rrc-slot.is-selected {
  background: var(--rrc-teal);
  color: #fff;
  border-color: var(--rrc-teal);
}

#rrc-booking-root .rrc-muted {
  color: var(--rrc-muted);
  font-size: 0.95rem;
  text-align: center;
}

#rrc-booking-root .rrc-error {
  color: var(--rrc-error);
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.95rem;
}

#rrc-booking-root .rrc-offline {
  font-size: 1.05rem;
  margin: 0.5rem 0 1rem;
  text-align: center;
}

#rrc-booking-root .rrc-test-code {
  background: #fff8e6;
  border: 1px dashed var(--rrc-gold);
  padding: 0.55rem 0.8rem;
  border-radius: 0.65rem;
  text-align: center;
  margin: 0 0 0.85rem;
}

#rrc-booking-root .rrc-summary {
  text-align: center;
  margin: 0 0 1.15rem;
  color: var(--rrc-ink);
}

#rrc-booking-root .rrc-confirmed h2 {
  color: var(--rrc-teal);
}

#rrc-booking-root .rrc-manage-handoff {
  background: #f4faf9;
  border: 1px solid #b7d4d0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  text-align: left;
}

#rrc-booking-root .rrc-manage-handoff .rrc-secret {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  word-break: break-all;
  background: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--rrc-border);
}

#rrc-booking-root .rrc-msg {
  text-align: center;
  color: var(--rrc-muted);
  padding: 1.5rem;
}

/* ---- Book a Table page composition (plugin-owned, outside #rrc-booking-root card) ---- */
/* Clip 100vw full-bleed so scrollbar width does not create horizontal scroll. */
html:has(body.rrc-booking-page),
html body.rrc-booking-page {
  overflow-x: hidden;
  max-width: 100%;
}

/* Title hide: page-11 parity — one-pixel accessible clip (not display:none).
   Prefer mu-plugin hello_elementor_page_title=false on page 18; CSS is belt-and-suspenders. */
body.page-id-18 .entry-title,
body.page-id-18 h1.entry-title,
body.rrc-booking-page .entry-title,
body.rrc-booking-page h1.entry-title,
body.rrc-booking-page .wp-block-post-title {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
}

body.page-id-18 .entry-header,
body.rrc-booking-page .entry-header {
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0;
}

body.rrc-booking-page .entry-content > .rrc-book-page,
body.rrc-booking-page .entry-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.rrc-book-page {
  --rrc-teal: #0d6e7a;
  --rrc-teal-dark: #0a5963;
  --rrc-gold: #c4a35a;
  --rrc-navy: #1a2744;
  --rrc-cream: #f7f1e8;
  --rrc-muted: #6b7280;
  color: var(--rrc-navy);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  /* Full-bleed past theme content column; body overflow-x clips scrollbar artifact. */
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--rrc-cream);
  box-sizing: border-box;
}

.rrc-book-hero {
  position: relative;
  background: var(--rrc-cream);
  padding: 2.75rem 1.25rem 5.75rem;
  overflow: hidden;
  isolation: isolate;
}

/* Food image as decorative CSS background — right-anchored with left cream fade */
.rrc-book-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--rrc-hero-image);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 28%,
    rgba(0, 0, 0, 0.35) 48%,
    rgba(0, 0, 0, 0.85) 68%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 28%,
    rgba(0, 0, 0, 0.35) 48%,
    rgba(0, 0, 0, 0.85) 68%,
    #000 100%
  );
}

.rrc-book-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--rrc-cream) 0%,
    var(--rrc-cream) 32%,
    rgba(247, 241, 232, 0.55) 48%,
    rgba(247, 241, 232, 0.12) 62%,
    transparent 78%
  );
}

.rrc-book-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  display: block;
}

.rrc-book-hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rrc-gold);
  font-weight: 600;
}

.rrc-book-hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--rrc-navy);
  font-family: Georgia, "Times New Roman", serif;
}

.rrc-book-hero-ornament {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--rrc-gold);
  margin: 0.85rem 0 1rem;
}

.rrc-book-hero-lead {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--rrc-muted);
}

.rrc-book-card-wrap {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  width: calc(100% - 2rem);
  margin: -4.5rem auto 0;
  padding: 0 0 2rem;
}

.rrc-book-card-wrap #rrc-booking-root {
  max-width: none;
}

.rrc-book-info {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

.rrc-book-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 2rem;
}

.rrc-book-info-col {
  text-align: center;
  padding: 0.5rem 0.75rem;
}

.rrc-book-info-icon {
  display: inline-flex;
  color: var(--rrc-gold);
  margin-bottom: 0.65rem;
}

.rrc-book-info-title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rrc-navy);
  font-weight: 700;
}

.rrc-book-info-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rrc-muted);
}

.rrc-book-handoff {
  max-width: 72rem;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}

.rrc-book-handoff-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid #e8e2d9;
  border-radius: 0.85rem;
  background: #fff;
}

.rrc-book-handoff-icon {
  color: var(--rrc-teal);
  flex: 0 0 auto;
}

.rrc-book-handoff-text {
  margin: 0;
  flex: 1 1 14rem;
  font-size: 0.95rem;
  color: var(--rrc-muted);
}

.rrc-book-handoff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--rrc-teal);
  border-radius: 999px;
  color: var(--rrc-teal);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rrc-book-handoff-btn:hover {
  background: rgba(13, 110, 122, 0.08);
  color: var(--rrc-teal-dark);
}

@media (max-width: 900px) {
  .rrc-book-hero {
    padding-bottom: 4.5rem;
  }
  .rrc-book-hero--photo::before {
    background-position: 70% center;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 12%,
      rgba(0, 0, 0, 0.25) 38%,
      #000 78%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 12%,
      rgba(0, 0, 0, 0.25) 38%,
      #000 78%
    );
  }
  .rrc-book-hero--photo::after {
    background: linear-gradient(
      to right,
      var(--rrc-cream) 0%,
      var(--rrc-cream) 45%,
      rgba(247, 241, 232, 0.75) 62%,
      transparent 90%
    );
  }
  .rrc-book-card-wrap {
    margin-top: -3rem;
  }
  .rrc-book-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 520px) {
  .rrc-book-hero {
    padding: 1.75rem 1rem 4rem;
  }
  .rrc-book-card-wrap {
    width: calc(100% - 1.25rem);
    margin-top: -2.5rem;
  }
  .rrc-book-handoff-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .rrc-book-handoff-btn {
    width: 100%;
  }
}
