/* ============================================
   Restaurant Booking Pro - Public Styles v5.5.2
   ============================================ */
.rbp-booking-wrap {
  width: 880px;          /* explicit width — overridden by design CSS when customized */
  max-width: 880px;      /* BUG FIX v3.14.0: was 100%, capped by theme container  */
  box-sizing: border-box;
  margin: 0 auto;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
}
/* Responsive: shrink to viewport on screens narrower than 880px */
@media (max-width: 880px) {
  .rbp-booking-wrap { width: 100% !important; max-width: 100% !important; }
}
.rbp-booking-header {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
  padding: 20px 28px;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}
.rbp-booking-header h3 { margin: 0; font-size: 20px; font-weight: 700; }

.rbp-booking-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.rbp-field {
  margin-bottom: 18px;
}
.rbp-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.rbp-req { color: #c0392b; }

.rbp-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 7px;
  font-size: 14px;
  color: #333;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
  appearance: none;
}
.rbp-input:focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.rbp-input::placeholder { color: #aaa; }
.rbp-textarea { resize: vertical; min-height: 80px; }

.rbp-input-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.rbp-input-icon > span:first-child {
  position: absolute;
  left: 12px;
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}
.rbp-input-icon .rbp-input { padding-left: 38px; }
.rbp-input-icon.rbp-icon-top { align-items: flex-start; }
.rbp-input-icon.rbp-icon-top > span:first-child { top: 10px; }

/* Phone */
.rbp-phone-group { display: flex; gap: 8px; }
.rbp-phone-code  { width: 130px; flex-shrink: 0; padding: 10px 10px; border: 1.5px solid #d0d0d0; border-radius: 7px; font-size: 13px; background: #fff; }
.rbp-phone-num   { flex: 1; }

/* Select */
.rbp-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M0 0l6 7 6-7z' fill='%23888'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.rbp-select.rbp-input-icon .rbp-select { padding-left: 38px; }

/* Country dropdown */
.rbp-country-wrap { position: relative; width: 100%; }
.rbp-country-dropdown {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 200;
  background: #fff; border: 1.5px solid #d0d0d0; border-top: none;
  border-radius: 0 0 8px 8px; max-height: 220px; overflow-y: auto;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.rbp-country-item { padding: 9px 14px; cursor: pointer; font-size: 13px; }
.rbp-country-item:hover { background: #fef0ee; color: #c0392b; }

/* Two col */
.rbp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .rbp-two-col { grid-template-columns: 1fr; } .rbp-booking-wrap { max-width: 100%; } }
/* ── Desktop form scale +20% (v3.3.6) ─────────────────────────────── */
@media (min-width: 481px) {
  .rbp-booking-header        { padding: 24px 34px; }
  .rbp-booking-header h3     { font-size: 22px; }
  .rbp-booking-form          { padding: 28px 34px; }
  .rbp-slot-grid             { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; }
  .rbp-slot-btn              { padding: 14px 12px; font-size: 14px; }
  .rbp-input, .rbp-select    { font-size: 15px; padding: 10px 14px; }
  .rbp-label                 { font-size: 14px; }
  .rbp-pay-option            { padding: 14px 18px; font-size: 14px; }
  .rbp-btn-primary           { font-size: 16px; padding: 14px 28px; max-width: 340px; }
  .rbp-step-num              { width: 34px; height: 34px; font-size: 15px; line-height: 34px; }
  .rbp-step-label            { font-size: 12px; }
  .rbp-review-table td       { font-size: 14px; padding: 9px 12px; }
  .rbp-summary-box           { padding: 20px 24px; }
  /* rbp-success-icon removed in v4.7.10 — mobile override no longer needed */
  .rbp-alert-ok-heading      { font-size: 18px; }
  .rbp-alert                 { font-size: 14px; padding: 14px 18px; }
}


/* Slot full message */
.rbp-slot-full-msg {
  background: #fff3cd; border: 1px solid #ffc107; border-radius: 6px;
  padding: 10px 14px; margin-top: 8px; font-size: 13px; color: #856404;
}
.rbp-slot-status-wrap { margin-top: 4px; }

/* Alerts */
.rbp-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.rbp-alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.rbp-alert-success:has(.rbp-bp-card) { background:transparent; color:inherit; border:none; padding:0; }
.rbp-alert-success:has(.rbp-confirm-card) { background:transparent; border:none; padding:0; max-width:none; }
/* v4.7.10: Centered editable heading (replaces inline icon + <strong>) */
.rbp-alert-ok-heading {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #155724;
  letter-spacing: .01em;
}
/* v4.7.6: When boarding pass is active, hide the heading above ok-detail
   (boarding card has its own title — no need to duplicate) */
.rbp-bp-mode > .rbp-alert-ok-heading,
.rbp-bp-mode > .rbp-success-icon,
.rbp-bp-mode > strong { display:none !important; }
.rbp-bp-mode { background:transparent !important; border:none !important; padding:0 !important; }
.rbp-alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Submit button */
.rbp-form-footer { margin-top: 24px; text-align: center; }
.rbp-btn-book {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff; border: none; border-radius: 8px;
  padding: 14px 40px; font-size: 16px; font-weight: 700;
  cursor: pointer; width: 100%; max-width: 300px;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(192,57,43,.35);
}
.rbp-btn-book:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(192,57,43,.45); }
.rbp-btn-book:disabled { opacity: .7; transform: none; }

/* Availability calendar */
.rbp-cal-wrap { font-family: 'Segoe UI', Arial, sans-serif; }
.rbp-cal-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 16px; }
.rbp-slot-card {
  border: 1.5px solid #e0e0e0; border-radius: 8px; padding: 14px;
  text-align: center; cursor: pointer; transition: all .2s;
}
.rbp-slot-card:hover { border-color: #c0392b; }
.rbp-slot-card.full  { border-color: #e74c3c; background: #fff5f5; cursor: default; }
.rbp-slot-name  { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.rbp-slot-time  { font-size: 22px; font-weight: 800; color: #c0392b; }
.rbp-slot-type  { font-size: 11px; color: #888; text-transform: uppercase; margin-top: 2px; }
.rbp-slot-avail { margin-top: 8px; font-size: 12px; }
.rbp-slot-avail.full { color: #e74c3c; font-weight: 700; }
.rbp-slot-avail.ok   { color: #27ae60; }

/* Table layout public */
.rbp-table-layout { font-family: 'Segoe UI', Arial, sans-serif; }
.rbp-tl-floor { margin-bottom: 28px; }
.rbp-tl-floor-name { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: #333; }
.rbp-tl-room  { margin-bottom: 20px; }
.rbp-tl-room-name { font-size: 13px; color: #888; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.rbp-tl-grid  { display: flex; flex-wrap: wrap; gap: 10px; }
.rbp-tl-table {
  border: 2px solid #e0e0e0; border-radius: 8px; padding: 12px 18px;
  text-align: center; min-width: 90px; font-size: 13px;
  transition: all .2s;
}
.rbp-tl-table.available { border-color: #27ae60; background: #f0fff4; }
.rbp-tl-table.occupied  { border-color: #e74c3c; background: #fff5f5; cursor: not-allowed; }
.rbp-tl-table.locked    { border-color: #e67e22; background: #fff9f0; cursor: not-allowed; }
.rbp-tl-table .tbl-num  { font-weight: 700; font-size: 16px; }
.rbp-tl-table .tbl-cap  { font-size: 11px; color: #888; }
.rbp-tl-table .tbl-lbl  { font-size: 10px; margin-top: 4px; font-weight: 600; padding: 2px 8px; border-radius: 10px; display: inline-block; }
.available .tbl-lbl { background: #d4edda; color: #155724; }
.occupied  .tbl-lbl { background: #f8d7da; color: #721c24; }
.locked    .tbl-lbl { background: #ffe5cc; color: #c0392b; }

/* ── Step wizard ── */
.rbp-steps {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 28px 0; background: linear-gradient(135deg,#c0392b,#e74c3c);
  border-radius: 10px 10px 0 0;
}
.rbp-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 90px;
}
.rbp-step-num {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.3);
  color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.5); transition: all .3s;
}
.rbp-step.active .rbp-step-num,
.rbp-step.done   .rbp-step-num { background: #fff; color: #c0392b; border-color: #fff; }
.rbp-step-label { font-size: 11px; color: rgba(255,255,255,.7); white-space: nowrap; }
.rbp-step.active .rbp-step-label,
.rbp-step.done   .rbp-step-label { color: #fff; font-weight: 600; }
.rbp-step-line { flex: 1; height: 2px; background: rgba(255,255,255,.3); max-width: 60px; }

/* ── Slot grid ── */
.rbp-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
/* button mode: apply CSS variable sizing */
.rbp-slot-mode-button .rbp-slot-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.rbp-slot-btn {
  border: 2px solid #e0e0e0;
  border-radius: var(--rbp-slot-btn-radius, 8px);
  padding: var(--rbp-slot-btn-pad, 11px 16px);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  font-size: var(--rbp-slot-btn-fnt, 14px);
}
.rbp-slot-btn:hover:not(:disabled) {
  border-color: var(--rbp-slot-primary, #c0392b);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.rbp-slot-btn.selected {
  border-color: var(--rbp-slot-primary, #c0392b);
  background: rgba(192,57,43,.06);
  color: var(--rbp-slot-primary, #c0392b);
}
.rbp-slot-btn.rbp-slot-full { border-color: #e74c3c; background: #fff5f5; opacity: .7; cursor: not-allowed; }
.sl-name  { font-weight: 700; font-size: 13px; color: #333; }
.sl-time  { font-size: 22px; font-weight: 800; color: #c0392b; line-height: 1; }
.sl-type  { font-size: 16px; }
.sl-desc  { font-size: 11px; color: #888; font-style: italic; white-space: normal; line-height: 1.4; }
.sl-avail { font-size: 11px; color: #27ae60; font-weight: 500; }
.sl-avail-low { color: #e67e22 !important; font-weight: 700 !important; animation: rbp-pulse .8s ease infinite alternate; }
@keyframes rbp-pulse { from { opacity:.7; } to { opacity:1; } }
.sl-full-lbl { font-size: 11px; color: #e74c3c; font-weight: 700; }

/* ── Step panels ── */
.rbp-panel { padding: 24px 28px; }
.rbp-step-title { margin: 0 0 18px; font-size: 16px; font-weight: 700; color: #333; }
.rbp-step-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #f0f0f0; }

/* ── Summary box ── */
.rbp-summary-box { background: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.rbp-sum-table { width: 100%; border-collapse: collapse; }
.rbp-sum-table td { padding: 6px 8px; font-size: 13px; border-bottom: 1px solid #eee; }
.rbp-sum-table td:first-child { width: 24px; font-size: 16px; }
.rbp-sum-table td:nth-child(2) { width: 130px; }
.rbp-sum-table td:last-child { font-weight: 500; }

/* ── Guest warning ── */
.rbp-guest-warn { background: #fff3cd; border: 1px solid #ffc107; border-radius: 6px;
  padding: 8px 12px; margin-top: 6px; font-size: 13px; color: #856404; }
.rbp-slot-full-msg { background: #fff3cd; border: 1px solid #ffc107; border-radius: 6px;
  padding: 10px 14px; margin-top: 8px; font-size: 13px; color: #856404; }

/* ── Booking form wrapper adjustments ── */
.rbp-booking-form { padding: 0 !important; }
.rbp-booking-header { display: none; }

/* ── Step nav buttons (v5.6.1) ── */
.rbp-btn-next {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .2s;
  box-shadow: 0 3px 10px rgba(192,57,43,.3);
}
.rbp-btn-next:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(192,57,43,.45);
}
.rbp-btn-next:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.rbp-btn-outline {
  background: #fff;
  color: #555;
  border: 1.5px solid #d0d0d0;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.rbp-btn-outline:hover {
  border-color: #c0392b;
  color: #c0392b;
}

/* ── Step indicator active/done states ── */
.rbp-step.active .rbp-step-num,
.rbp-step.done   .rbp-step-num  { background: #fff; color: #c0392b; border-color: #fff; }
.rbp-step.active .rbp-step-label,
.rbp-step.done   .rbp-step-label { color: #fff; font-weight: 600; }

/* ── Slot card selected ── */
.rbp-slot-btn.selected {
  border-color: #c0392b !important;
  background: #fef0ee !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.18);
}

/* ── v5.6.1 additions ── */
.rbp-loading-msg { color:#888; padding:10px 0; font-size:14px; }

/* ══════════════════════════════════════════
   v5.6.5 — Payment Step + 4-step indicator
   ══════════════════════════════════════════ */

/* 4-step indicator adjustments */
.rbp-steps { padding-bottom: 16px; }
.rbp-step   { min-width: 64px; }
.rbp-step-label { font-size: 10px; white-space: nowrap; text-align: center; }
@media (max-width: 520px) {
  .rbp-step-label { display: none; }
  .rbp-step       { min-width: 36px; }
}

/* Payment option cards */
.rbp-pay-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }

.rbp-pay-card {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  display: block;
}
.rbp-pay-card:hover { border-color: #c0392b; box-shadow: 0 3px 10px rgba(192,57,43,.12); }
.rbp-pay-card.selected {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.15);
  background: #fff9f8;
}
.rbp-pay-card input[type=radio] { display: none; }

.rbp-pay-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
}
.rbp-pay-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.rbp-pay-info {
  flex: 1;
}
.rbp-pay-info strong { display: block; font-size: 14px; color: #222; margin-bottom: 4px; }
.rbp-pay-info small  { display: block; font-size: 12px; color: #777; line-height: 1.5; }
.rbp-pay-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #d0d0d0; display: flex; align-items: center; justify-content: center;
  color: transparent; font-size: 13px; flex-shrink: 0; transition: all .2s; margin-top: 2px;
}
.rbp-pay-card.selected .rbp-pay-check {
  background: #c0392b; border-color: #c0392b; color: #fff;
}

.rbp-pay-badge {
  background: #27ae60; color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 10px; margin-left: 6px; vertical-align: middle;
}

/* QR section */
.rbp-qr-section {
  border-top: 1px solid #f0e0de;
  background: #fffaf9;
  padding: 16px;
  animation: rbpFadeIn .25s ease;
}
.rbp-qr-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.rbp-qr-img-wrap {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rbp-qr-img      { width: 160px; height: 160px; object-fit: contain; }
.rbp-qr-loading  { color: #888; font-size: 13px; text-align: center; padding: 8px; }
.rbp-qr-details  { flex: 1; min-width: 160px; }
.rbp-qr-row      { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.rbp-qr-row span { color: #888; }
.rbp-qr-row strong { color: #222; text-align: right; }
.rbp-qr-amount   { color: #c0392b !important; font-size: 15px; }
.rbp-qr-note     { font-size: 12px; color: #856404; background: #fff3cd; border-radius: 5px; padding: 8px 10px; margin-top: 10px; }

/* Deposit banner */
.rbp-deposit-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.rbp-deposit-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.rbp-deposit-banner strong { display: block; color: #856404; margin-bottom: 4px; }
.rbp-deposit-banner p { margin: 0; font-size: 13px; color: #856404; }

/* Deposit hint (below guests field) */
.rbp-deposit-hint {
  background: #fff3cd; border: 1px solid #ffc107; border-radius: 6px;
  padding: 8px 12px; margin-top: 8px; font-size: 13px; color: #856404;
}

/* Prepaid notice */
.rbp-prepaid-notice {
  background: #d4edda; border: 1px solid #c3e6cb; border-radius: 6px;
  padding: 10px 14px; font-size: 13px; color: #155724;
}

/* Prepaid section */
.rbp-prepaid-section {
  border-top: 1px solid #f0f0f0;
  padding: 12px 16px;
  background: #f8fff8;
  font-size: 13px;
  color: #333;
  animation: rbpFadeIn .25s ease;
}

@keyframes rbpFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Summary box enhancement */
.rbp-sum-table td { vertical-align: top; }

/* Step nav full width on mobile */
@media (max-width: 480px) {
  .rbp-step-nav { flex-direction: column-reverse; }
  .rbp-step-nav button { width: 100%; }
  .rbp-qr-img-wrap { width: 130px; height: 130px; }
  .rbp-qr-img { width: 130px; height: 130px; }
}


/* ══════════════════════════════════════════
   v5.6.8 — Payment Step + Widget
   ══════════════════════════════════════════ */

/* 4-step indicator tweaks */
.rbp-steps { padding-bottom: 16px; gap: 0; }
.rbp-step  { min-width: 60px; }
.rbp-step-label { font-size: 10px; white-space: nowrap; text-align: center; }
@media (max-width: 520px) { .rbp-step-label { display: none; } .rbp-step { min-width: 32px; } }

/* Success */
.rbp-success-icon { font-size: 36px; display: block; margin-bottom: 6px; }
.rbp-status-ok   { color: #155724; font-weight: 700; }
.rbp-status-pend { color: #856404; font-weight: 700; }

/* ── STEP 3: Payment choice list ── */
.rbp-pay-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1.5px solid #e0e0e0; border-radius: 10px;
  overflow: hidden; margin-bottom: 4px;
}
.rbp-pay-row {
  display: block; cursor: pointer;
  border-bottom: 1.5px solid #e8e8e8;
  transition: background .15s; user-select: none;
}
.rbp-pay-row:last-child { border-bottom: none; }
.rbp-pay-row:hover      { background: #fafafa; }
.rbp-pay-row.selected   { background: #fff9f8; }
.rbp-pay-row input[type=radio] { display: none; }

.rbp-pay-row-inner {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
}
.rbp-pay-row-icon { font-size: 26px; flex-shrink: 0; }
.rbp-pay-row-text { flex: 1; }
.rbp-pay-row-text strong { display: block; font-size: 14px; color: #222; margin-bottom: 3px; }
.rbp-pay-row-text span   { font-size: 12px; color: #777; line-height: 1.5; }
.rbp-pay-radio-dot {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #ccc;
  flex-shrink: 0; transition: all .2s; position: relative;
}
.rbp-pay-row.selected .rbp-pay-radio-dot { border-color: #c0392b; background: #c0392b; }
.rbp-pay-row.selected .rbp-pay-radio-dot::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
}

/* Badges */
.rbp-badge-auto { background: #27ae60; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; margin-left: 6px; }
.rbp-badge-deal { background: #e67e22; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; margin-left: 6px; }

/* Sub-payment area inside each payment row (Step 3 preview) */
.rbp-pay-sub {
  border-top: 1.5px solid #f0e8e8; background: #fff9f8;
  padding: 14px 16px; animation: rbpSlideDown .2s ease;
}
.rbp-sub-opt {
  background: #fff; border: 1.5px solid #eee;
  border-radius: 8px; padding: 12px 14px; margin-bottom: 10px;
}
.rbp-sub-opt:last-child { margin-bottom: 0; }
.rbp-sub-opt-head { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 10px; gap: 6px; }
.rbp-sub-opt-head strong { font-size: 13px; }

/* Deposit required banner */
.rbp-dep-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff3cd; border: 1.5px solid #ffc107; border-radius: 8px;
  padding: 12px 14px; margin-bottom: 14px; font-size: 13px;
}
.rbp-dep-banner > span { font-size: 20px; flex-shrink: 0; }
.rbp-dep-banner strong { display: block; color: #856404; margin-bottom: 3px; }
.rbp-dep-banner p { margin: 0; color: #856404; }

/* Deposit hint below guests input */
.rbp-deposit-hint {
  background: #fff3cd; border: 1px solid #ffc107; border-radius: 6px;
  padding: 8px 12px; margin-top: 8px; font-size: 13px; color: #856404;
}

/* Info notes in step 4 summary */
.rbp-info-note {
  border-radius: 7px; padding: 10px 14px; margin-top: 10px;
  font-size: 13px; line-height: 1.6;
}
.rbp-dep-note { background: #fff3cd; border: 1px solid #ffc107; color: #856404; }
.rbp-pre-note { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }

/* ── POST-SUBMIT PAYMENT WIDGET ── */
.rbp-pay-widget-outer {
  margin-top: 16px;
}
.rbp-pay-widget {
  background: #fff;
  border: 2px solid #c0392b;
  border-radius: 12px;
  padding: 20px 20px 16px;
  box-shadow: 0 4px 20px rgba(192,57,43,.12);
}
.rbp-pay-widget-title {
  margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #c0392b;
}
.rbp-pay-widget-sub { margin: 0 0 14px; font-size: 13px; color: #666; }

/* Payment gateway tabs */
.rbp-pay-tabs {
  display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap;
}
.rbp-pay-tab {
  padding: 7px 16px; border: 1.5px solid #d0d0d0;
  border-radius: 20px; background: #fff; font-size: 13px;
  cursor: pointer; transition: all .15s;
}
.rbp-pay-tab.active  { background: #c0392b; color: #fff; border-color: #c0392b; font-weight: 700; }
.rbp-pay-tab:hover:not(.active) { border-color: #c0392b; color: #c0392b; }

/* VietQR */
.rbp-qr-wrap     { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 10px; }
.rbp-qr-left     { flex-shrink: 0; }
.rbp-qr-box {
  width: 160px; height: 160px; border: 1.5px solid #e0e0e0;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: #f8f8f8; overflow: hidden;
}
.rbp-qr-img  { width: 160px; height: 160px; object-fit: contain; display: block; }
.rbp-qr-right { flex: 1; min-width: 160px; }
.rbp-qr-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid #f0f0f0; font-size: 12px; }
.rbp-qr-row span  { color: #888; }
.rbp-qr-row b     { color: #222; text-align: right; word-break: break-all; }
.rbp-qr-amt       { color: #c0392b !important; font-size: 13px; }
.rbp-qr-tip       { font-size: 11px; color: #856404; background: #fff3cd; border-radius: 5px; padding: 6px 10px; margin: 6px 0 0; }
.rbp-pay-note     { font-size: 12px; color: #777; margin: 6px 0 0; }

/* OnePay button (large, in widget) */
.rbp-btn-onepay {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff; border: none; border-radius: 8px;
  padding: 12px 24px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
  box-shadow: 0 3px 10px rgba(192,57,43,.3);
  width: 100%; margin-top: 4px;
}
.rbp-btn-onepay:hover     { transform: translateY(-2px); box-shadow: 0 5px 16px rgba(192,57,43,.4); }
.rbp-btn-onepay:disabled  { opacity: .6; cursor: wait; transform: none; }
.rbp-btn-onepay-lg        { font-size: 15px; padding: 14px 28px; }

/* Payment confirmed message */
.rbp-pay-confirmed {
  text-align: center; padding: 20px;
  background: #d4edda; border-radius: 8px; color: #155724;
}
.rbp-pay-confirmed strong { font-size: 16px; }
.rbp-pay-confirmed p      { margin: 6px 0 0; font-size: 13px; }

/* PayPal placeholder */
.rbp-paypal-placeholder { padding: 16px; text-align: center; }

@keyframes rbpSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 480px) {
  .rbp-step-nav { flex-direction: column-reverse; }
  .rbp-step-nav button { width: 100%; }
  .rbp-qr-wrap  { flex-direction: column; }
  .rbp-qr-right { min-width: 0; width: 100%; }
  .rbp-pay-widget { padding: 16px 14px 12px; }
}

/* ════════════════════════════════════════════
   Payment Widget — post-submit (v5.6.8)
   Appears below success banner after booking
   ════════════════════════════════════════════ */

/* Outer container */
.rbp-pay-widget-outer {
  margin-top: 18px;
}

/* Widget card */
.rbp-pay-widget {
  background: #fff;
  border: 1.5px solid #d5e8d4;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(39,174,96,.10);
}

.rbp-pw-title {
  margin: 0 0 6px;
  font-size: 16px;
  color: #155724;
  font-weight: 700;
}

.rbp-pw-sub {
  margin: 0 0 16px;
  font-size: 13px;
  color: #555;
}

/* Tab bar */
.rbp-pw-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 2px solid #e8e8e8;
  padding-bottom: 0;
}

.rbp-pw-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #777;
  border-radius: 6px 6px 0 0;
  transition: color .15s, border-color .15s;
}
.rbp-pw-tab:hover  { color: #333; }
.rbp-pw-tab.active { color: #c0392b; border-bottom-color: #c0392b; }

/* Panels */
.rbp-pw-panel { animation: rbpFadeIn .2s ease; }

/* Post-pay confirmed state */
.rbp-pay-confirmed {
  background: #d4edda; border: 1.5px solid #c3e6cb; border-radius: 10px;
  padding: 18px 20px; text-align: center; color: #155724; font-size: 15px;
}
.rbp-pay-confirmed p { margin: 6px 0 0; font-size: 13px; }

/* PayPal loading placeholder */
.rbp-paypal-loading {
  color: #888; font-size: 13px; padding: 12px 0; text-align: center;
}

/* OnePay button (large, widget version) */
.rbp-btn-onepay-lg {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 8px;
  margin-bottom: 4px;
}

@keyframes rbpFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Summary table in Step 4 — v4.1.14 FIX: fixed col widths + aligned baseline */
/* v4.1.19: Summary info rows — flex layout matching Price Breakdown style */
.rbp-sum-rows { margin-bottom: 0; }
.rbp-sum-rows .rbp-pb-row { font-size: 13px; padding: 4px 0; align-items: baseline; }
.rbp-sum-rows .rbp-pb-row:not(:last-child) { border-bottom: 1px dashed #e0e0e0; }
/* Label: muted, smaller — mirrors .rbp-pbd-muted approach */
.rbp-sum-lbl { color: #888; font-size: 12px; font-weight: 400; flex-shrink: 0; min-width: 90px; }
/* Value: same weight/size as Price Breakdown values */
.rbp-sum-val  { color: #222; font-size: 13px; font-weight: 500; text-align: right; word-break: break-word; }
/* Info box container — mirrors .rbp-pbd border/radius/padding */
.rbp-sum-info-box {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 0;
}

/* Keep table styles for any legacy usage */
.rbp-sum-table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.rbp-sum-table tr { border-bottom: 1px solid #f0f0f0; }
.rbp-sum-table tr:last-child { border-bottom: none; }
.rbp-sum-table td { padding: 7px 6px; vertical-align: middle; word-break: break-word; }

/* v4.1.19 — Step 4 Review two-column layout (summary left, custom panel right) */
.rbp-review-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 16px;
}
.rbp-review-left { min-width: 0; }
.rbp-review-right { min-width: 0; }
.rbp-review-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  height: 100%;
  box-sizing: border-box;
}
.rbp-review-panel h1,
.rbp-review-panel h2,
.rbp-review-panel h3,
.rbp-review-panel h4 { margin-top: 0; }
.rbp-review-panel p:last-child { margin-bottom: 0; }
.rbp-review-panel img { max-width: 100%; height: auto; border-radius: 6px; }
.rbp-review-panel a { color: inherit; }
.rbp-review-panel ul,
.rbp-review-panel ol { padding-left: 20px; margin: 8px 0; }
@media (max-width: 680px) {
  .rbp-review-layout { grid-template-columns: 1fr; }
}

/* Pay row note (badges in radio list) */
.rbp-pay-row-note { display: block; margin-top: 4px; }

/* Info notes below summary */
.rbp-info-note {
  margin-top: 12px;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
}
.rbp-dep-note { background: #fff3cd; border: 1px solid #ffc107; color: #856404; }
.rbp-pre-note { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }

/* ── Package Cards (v3.3.7) ─────────────────────────────────────────── */
.rbp-pkg-grid {
  display: grid;
  /* Base: 2 cols (default). JS + PHP inline style override with admin pkg_card_cols setting.
     Mobile ≤480px: 1fr 1fr via media query below. */
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.rbp-pkg-card {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .15s;
  background: #fff;
  position: relative;
  user-select: none;
  outline: none;
}
.rbp-pkg-card:hover {
  border-color: #c0392b;
  box-shadow: 0 4px 14px rgba(192,57,43,.13);
  transform: translateY(-2px);
}
.rbp-pkg-card:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.2);
}
.rbp-pkg-card.selected {
  border-color: #c0392b;
  background: #fff8f8;
  box-shadow: 0 4px 16px rgba(192,57,43,.18);
}
.rbp-pkg-img {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}
.rbp-pkg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rbp-pkg-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}
.rbp-pkg-body {
  padding: 12px 14px 14px;
}
.rbp-pkg-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  line-height: 1.3;
}
.rbp-pkg-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rbp-pkg-price {
  font-size: 15px;
  font-weight: 800;
  color: #c0392b;
  margin-top: 4px;
}
.rbp-pkg-per {
  font-size: 11px;
  font-weight: 400;
  color: #888;
}
.rbp-pkg-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .15s, transform .15s;
}
.rbp-pkg-card.selected .rbp-pkg-check {
  opacity: 1;
  transform: scale(1);
}
/* v4.7.14: Single-package layout — applied via .rbp-pkg-grid-single class
 * (PHP + JS detect packages.length === 1 and toggle this class on the grid).
 *
 * Previous v4.7.13 used `:has(.rbp-pkg-card:only-child)` which has two problems:
 *   1. PHP rendered the grid with inline `style="grid-template-columns:repeat(N,1fr)"`
 *      — inline styles always beat stylesheet rules, so the `:has()` rule never fired
 *      when admin had pkg_card_cols ≥ 2. Single card was bouqueted into 50%/33%/25%
 *      of the row width → name + description wrapped onto 4-5 narrow lines.
 *   2. `:has()` lacks support in older browsers (Chrome <105, Safari <15.4, FF <121).
 *
 * Class-based approach: PHP/JS sets the class AND clears inline grid-template-columns
 * when count === 1. !important ensures any leftover inline style cannot override.
 */
.rbp-pkg-grid-single {
  grid-template-columns: 1fr !important;
  max-width: 360px;
}
/* Mobile */
@media (max-width: 480px) {
  .rbp-pkg-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rbp-pkg-img  { height: 90px; }
  .rbp-pkg-name { font-size: 12px; }
  .rbp-pkg-price { font-size: 13px; }
}
@media (max-width: 360px) {
  .rbp-pkg-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SLOT DISPLAY MODES — v3.7.1
   button (default) | card | box (with image)
   ============================================================ */

/* ── CARD MODE ────────────────────────────────────────────── */
.rbp-slot-mode-card {
  display: grid;
  grid-template-columns: repeat(var(--rbp-slot-cols, 3), minmax(0, 1fr));
  gap: 12px;
}
.rbp-slot-card {
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  position: relative;
  overflow: hidden;
}
.rbp-slot-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rbp-primary, #c0392b);
  transform: scaleX(0);
  transition: transform .2s;
  transform-origin: left;
}
.rbp-slot-card:hover { border-color: var(--rbp-slot-primary, var(--rbp-primary, #c0392b)); box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.rbp-slot-card:hover::before { transform: scaleX(1); }
.rbp-slot-card.selected { border-color: var(--rbp-slot-primary, var(--rbp-primary, #c0392b)); background: #fef5f4; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.rbp-slot-card.selected::before { transform: scaleX(1); }
.rbp-slot-card.rbp-slot-full { opacity: .45; cursor: not-allowed; pointer-events: none; }

.rbp-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rbp-card-icon   { font-size: 22px; flex-shrink: 0; }
.rbp-card-meta   { flex: 1; min-width: 0; }
.rbp-card-name   { display: block; font-size: 14px; font-weight: 700; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbp-card-time   { display: block; font-size: 12px; color: #888; margin-top: 1px; }
.rbp-card-desc   { font-size: 12px; color: #666; margin: 0 0 8px; line-height: 1.45; }
.rbp-card-footer { font-size: 12px; font-weight: 600; color: #27ae60; }
.rbp-slot-card.rbp-slot-full .rbp-card-footer { color: #c0392b; }

/* ── BOX MODE (with image) ───────────────────────────────── */
.rbp-slot-mode-box {
  display: grid;
  grid-template-columns: repeat(var(--rbp-slot-cols, 3), minmax(0, 1fr));
  gap: 14px;
}
.rbp-slot-box {
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.rbp-slot-box:hover { border-color: var(--rbp-primary, #c0392b); box-shadow: 0 6px 22px rgba(192,57,43,.14); transform: translateY(-3px); }
.rbp-slot-box.selected { border-color: var(--rbp-primary, #c0392b); box-shadow: 0 6px 22px rgba(192,57,43,.18); }
.rbp-slot-box.rbp-slot-full { opacity: .42; cursor: not-allowed; pointer-events: none; }

.rbp-box-visual   { position: relative; height: 120px; overflow: hidden; background: #f5f5f5; }
.rbp-box-img      { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.rbp-slot-box:hover .rbp-box-img { transform: scale(1.04); }
.rbp-box-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, var(--rbp-primary, #c0392b), var(--rbp-secondary, #e74c3c));
}

.rbp-slot-badge {
  display: inline-block;
  background: var(--rbp-slot-badge-bg, var(--rbp-primary, #c0392b));
  color: var(--rbp-slot-badge-txt, #fff);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .3px;
}
.rbp-box-badge {
  position: absolute;
  top: 8px; left: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.rbp-slot-card .rbp-slot-badge {
  position: absolute;
  top: 10px; right: 10px;
}

.rbp-box-body    { padding: 12px 14px; }
.rbp-box-name    { display: block; font-size: 14px; font-weight: 700; color: #222; margin-bottom: 3px; }
.rbp-box-time    { display: block; font-size: 12px; color: #888; margin-bottom: 5px; }
.rbp-box-desc    { font-size: 12px; color: #666; margin: 0 0 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rbp-box-footer  { font-size: 12px; font-weight: 600; color: #27ae60; }
.rbp-slot-box.rbp-slot-full .rbp-box-footer { color: #c0392b; }

/* selected checkmark overlay on box */
.rbp-slot-box.selected::after {
  content: '✓';
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--rbp-primary, #c0392b);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.rbp-slot-box { position: relative; }

/* ── CURRENCY SELECTOR ───────────────────────────────────── */
.rbp-currency-sel {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  align-items: center;
}
.rbp-currency-sel::before {
  content: '💱';
  font-size: 14px;
  margin-right: 2px;
}
.rbp-curr-btn {
  padding: 4px 12px;
  border: 1.5px solid #d0d0d0;
  border-radius: 20px;
  background: #fff;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  letter-spacing: .3px;
}
.rbp-curr-btn:hover { border-color: var(--rbp-primary, #c0392b); color: var(--rbp-primary, #c0392b); }
.rbp-curr-btn.rbp-curr-active {
  background: var(--rbp-primary, #c0392b);
  border-color: var(--rbp-primary, #c0392b);
  color: #fff;
}

/* ── Mobile slot modes ───────────────────────────────────── */
@media (max-width: 520px) {
  .rbp-slot-mode-card { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rbp-slot-card { padding: 10px; }
  .rbp-slot-mode-box  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rbp-box-visual { height: 90px; }
  .rbp-box-body   { padding: 9px 11px; }
  .rbp-box-name   { font-size: 12px; }
}
@media (max-width: 340px) {
  .rbp-slot-mode-card,
  .rbp-slot-mode-box  { grid-template-columns: 1fr; }
}

/* ── Admin: timeslot mode preview cards ──────────────────── */
.rbp-mode-preview {
  transition: border-color .15s, background .15s;
  min-height: 90px;
}
.rbp-mode-preview:hover { border-color: #c0392b !important; }

/* ── Slot Design CSS variable fallbacks (used when design not customized) ── */
:root {
  --rbp-slot-primary: #c0392b;
  --rbp-slot-btn-radius: 8px;
  --rbp-slot-btn-pad: 11px 16px;
  --rbp-slot-btn-fnt: 14px;
  --rbp-slot-badge-bg: #c0392b;
  --rbp-slot-badge-txt: #ffffff;
  --rbp-slot-cols: 3;
}

/* ── Mobile responsive for CSS-var grid ── */
@media (max-width: 640px) {
  .rbp-slot-mode-card,
  .rbp-slot-mode-box {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 380px) {
  .rbp-slot-mode-card,
  .rbp-slot-mode-box {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════
   v3.8.0 — Card Long mode + Currency in Payment Step
   ══════════════════════════════════════════════════════════ */

/* ── Card Long (card_long) mode — full-width horizontal ── */
.rbp-slot-mode-card_long .rbp-slot-grid,
.rbp-slot-grid.rbp-slot-mode-card_long {
  grid-template-columns: 1fr !important;
  gap: 10px;
}

.rbp-slot-card-long {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  overflow: hidden;
  min-height: 76px;
}
.rbp-slot-card-long:hover:not(.rbp-slot-full) {
  border-color: var(--rbp-slot-primary, #c0392b);
  box-shadow: 0 4px 16px rgba(192,57,43,.14);
  transform: translateY(-1px);
}
.rbp-slot-card-long.selected {
  border-color: var(--rbp-slot-primary, #c0392b) !important;
  background: rgba(192,57,43,.04) !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.18);
}
.rbp-slot-card-long.rbp-slot-full {
  opacity: .55;
  cursor: not-allowed;
}

/* Left accent strip with icon */
.rbp-clong-left {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-height: 76px;
  background: linear-gradient(135deg, var(--rbp-slot-primary,#c0392b) 0%, rgba(192,57,43,.75) 100%);
  flex-shrink: 0;
  font-size: 26px;
}

/* Body — name, time, type, badge */
.rbp-clong-body {
  flex: 1;
  padding: 14px 16px;
  min-width: 0;
}
.rbp-clong-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.rbp-clong-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rbp-clong-time {
  font-size: 13px;
  color: var(--rbp-slot-primary, #c0392b);
  font-weight: 600;
  white-space: nowrap;
}
.rbp-clong-type {
  font-size: 11px;
  color: #888;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 2px 8px;
  white-space: nowrap;
}
.rbp-badge-inline {
  background: var(--rbp-slot-badge-bg, #c0392b);
  color: var(--rbp-slot-badge-txt, #fff);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.rbp-clong-desc {
  font-size: 12px;
  color: #666;
  margin: 4px 0 0;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right — availability + select arrow */
.rbp-clong-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 14px 18px 14px 12px;
  flex-shrink: 0;
  text-align: right;
}
.rbp-clong-right .sl-avail,
.rbp-clong-right .sl-full-lbl {
  font-size: 12px;
  white-space: nowrap;
}
.rbp-clong-select {
  font-size: 11px;
  font-weight: 700;
  color: var(--rbp-slot-primary, #c0392b);
  opacity: .7;
  white-space: nowrap;
}
.rbp-slot-card-long:hover .rbp-clong-select { opacity: 1; }

/* ── Currency selector in Payment Step ── */
.rbp-pay-currency-wrap { margin-bottom: 16px; }
.rbp-currency-sel {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.rbp-currency-sel::before {
  content: '💱';
  font-size: 15px;
  margin-right: 2px;
}
.rbp-curr-btn {
  padding: 6px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  letter-spacing: .3px;
}
.rbp-curr-btn:hover {
  border-color: var(--rbp-slot-primary, #c0392b);
  color: var(--rbp-slot-primary, #c0392b);
}
.rbp-curr-btn.rbp-curr-active {
  border-color: var(--rbp-slot-primary, #c0392b);
  background: var(--rbp-slot-primary, #c0392b);
  color: #fff;
}

/* Auto-fill notice when currency switches by country */
.rbp-curr-auto-note {
  font-size: 11px;
  color: #27ae60;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  animation: rbp-fadein .3s ease;
}
@keyframes rbp-fadein { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }

/* ── Resource naming (Spots Available / Availability) ── */
.sl-avail { font-size: 12px; color: #27ae60; font-weight: 500; }
.sl-full-lbl { font-size: 12px; color: #e74c3c; font-weight: 700; }

/* ── Mobile: card_long stacks vertically ── */
@media (max-width: 520px) {
  .rbp-slot-card-long { flex-direction: column; align-items: stretch; min-height: unset; }
  .rbp-clong-left { width: 100%; min-height: 44px; flex-direction: row; gap: 10px; padding: 10px 16px; justify-content: flex-start; font-size: 20px; border-radius: 0; }
  .rbp-clong-right { flex-direction: row; justify-content: space-between; padding: 8px 16px; }
  .rbp-clong-desc { white-space: normal; }
}

/* ── v3.13.0: Language Switcher ───────────────────────────────── */
.rbp-lang-switcher {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  padding: 10px 15px 0;
  flex-wrap: wrap;
  /* v4.4.7-fix: popup mode adds width:100% on the same element via .rbp-lang-popup-wrap.
     Without border-box, content-box themes add padding ON TOP of width:100%,
     making the element 30px wider than container → button overflows the right edge. */
  box-sizing: border-box;
}
/* v4.3.10: Position modifier classes.
   Explicit padding-left/right on every top variant — guarantees 15px L/R gap
   even if theme CSS specificity re-orders the base-class padding. */
.rbp-lang-sw--top-left    { justify-content: flex-start; padding-left: 15px; padding-right: 15px; }
.rbp-lang-sw--top-right   { justify-content: flex-end;   padding-left: 15px; padding-right: 15px; }
.rbp-lang-sw--top-center  { justify-content: center;     padding-left: 15px; padding-right: 15px; }
.rbp-lang-sw--bottom-left  { justify-content: flex-start; padding: 0 15px 10px; }
.rbp-lang-sw--bottom-right { justify-content: flex-end;   padding: 0 15px 10px; }
.rbp-lang-sw--bottom-center{ justify-content: center;     padding: 0 15px 10px; }
/* v4.3.10: Dropdown style */
.rbp-lang-select {
  background: transparent;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 4px 28px 4px 12px;
  font-size: 12px;
  cursor: pointer;
  color: #666;
  font-family: inherit;
  line-height: 1.5;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color .2s, color .2s;
}
.rbp-lang-select:hover,
.rbp-lang-select:focus {
  border-color: var(--rbp-slot-primary, #c0392b);
  color: var(--rbp-slot-primary, #c0392b);
  outline: none;
}
.rbp-lang-btn {
  background: transparent;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  color: #666;
  transition: border-color .2s, color .2s, background .2s;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1.5;
}
.rbp-lang-btn:hover {
  border-color: var(--rbp-slot-primary, #c0392b);
  color: var(--rbp-slot-primary, #c0392b);
}
.rbp-lang-btn.active {
  background: var(--rbp-slot-primary, #c0392b);
  border-color: var(--rbp-slot-primary, #c0392b);
  color: #fff;
  font-weight: 600;
}

/* ── v4.3.10: Sticky Confirm button — Step 3 mobile ───────────────── */
/* On mobile, the p3 nav bar (Confirm & Pay) sticks to the bottom so the
   guest can always tap it without scrolling past price breakdown.
   Only applies inside #F-p3 panel — not on other panels. */
@media (max-width: 680px) {
  [id$="-p3"] > .rbp-step-nav:last-child,
  [id$="-p3"] .rbp-step-nav:last-of-type {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -3px 12px rgba(0,0,0,.10);
    padding: 10px 16px;
    margin-left: -28px;
    margin-right: -28px;
    margin-bottom: -24px;
    border-radius: 0;
    flex-direction: column;
    gap: 8px;
  }
  [id$="-p3"] > .rbp-step-nav:last-child button,
  [id$="-p3"] .rbp-step-nav:last-of-type button {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   v3.14.0 — Split Section Layout
   ============================================================ */

/* Inner booking form column */
.rbp-booking-inner {
  min-width: 0;
}

/* v4.3.11: Service selector shown only on mobile in split layout.
   Desktop: sidebar handles service display → hide this block.
   Mobile (≤680px): sidebar is hidden → show this block so user can still select a service. */
.rbp-svc-mobile-only {
  display: none;
}

/* Sidebar service cards column */
.rbp-booking-sidebar {
  min-width: 0;
}
.rbp-sidebar-inner {
  padding: 4px 0;
}
.rbp-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.rbp-sidebar-services {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rbp-sidebar-svc-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rbp-sidebar-svc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
}
.rbp-sidebar-svc-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.rbp-sidebar-svc-bar {
  height: 4px;
  width: 100%;
}
.rbp-sidebar-svc-body {
  padding: 14px 16px;
}
.rbp-sidebar-svc-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.rbp-sidebar-svc-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 8px;
}
.rbp-sidebar-svc-price {
  font-size: 14px;
  font-weight: 700;
}

/* v3.15.2 — Sidebar service card selection + checkmark */
.rbp-sidebar-svc-card {
  position: relative;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.rbp-sidebar-svc-card.rbp-sidebar-selected {
  border: 2px solid var(--rbp-slot-primary, #c0392b);
  box-shadow: 0 0 0 2px rgba(192,57,43,.15);
}
.rbp-sidebar-svc-check {
  display: none;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rbp-slot-primary, #c0392b);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.rbp-sidebar-selected .rbp-sidebar-svc-check {
  display: block;
}

/* ============================================================
   v3.14.1 — Payment Widget: Price Breakdown & i18n strings
   ============================================================ */

/* Prepaid price breakdown row */
.rbp-pw-breakdown {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
  font-size: 14px;
}
.rbp-pw-original {
  color: #999;
  text-decoration: line-through;
}
.rbp-pw-arrow {
  color: #aaa;
}
.rbp-pw-final {
  color: #1a1a2e;
  font-size: 17px;
}

/* Discount badge */
.rbp-save-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   v3.14.2 — Per-pax price breakdown panel
   ============================================================ */

.rbp-pb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
  color: #444;
  gap: 8px;
}
.rbp-pb-row:not(:last-child) {
  border-bottom: 1px dashed #e0e0e0;
}

/* ============================================================
   v3.17.0 — Enhanced Price Breakdown (Feature #5)
   ============================================================ */
.rbp-pb-header {
  cursor: pointer;
  padding: 8px 0;
  font-size: 14px;
  user-select: none;
}
.rbp-pb-details {
  border-top: 1px dashed #ddd;
  padding-top: 8px;
}
.rbp-pb-totals {
  border-top: 2px solid #ddd;
  margin-top: 8px;
  padding-top: 8px;
}
.rbp-pb-grand {
  font-size: 16px;
  font-weight: 700;
  padding: 8px 0;
  color: #c0392b;
}

/* ============================================================
   v3.17.0 — Realtime Booking Summary Panel (Feature #1)
   ============================================================ */
.rbp-live-summary {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  position: sticky;
  top: 20px;
}
.rbp-live-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1a1a2e;
}
.rbp-live-row {
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}
.rbp-live-row:last-child {
  border-bottom: none;
}
.rbp-live-empty {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin: 8px 0;
}
/* Single layout: sticky bottom bar */
.rbp-booking-inner--single .rbp-live-summary {
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  border-radius: 12px 12px 0 0;
  background: #fff;
  margin-top: 16px;
  padding: 14px 20px;
}

/* ============================================
   v3.17.1 — Live Summary Table (Bug #3 fix)
   ============================================ */
.rbp-live-table {
  width: 100%;
  border-collapse: collapse;
}
.rbp-live-table td {
  padding: 6px 4px;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}
.rbp-live-table tr:last-child td {
  border-bottom: none;
}
.rbp-live-icon {
  width: 24px;
  font-size: 14px;
  text-align: center;
}
.rbp-live-label {
  color: #888;
  font-size: 12px;
  white-space: nowrap;
  padding-right: 8px;
  width: 60px;
}
.rbp-live-value {
  font-weight: 600;
  color: #333;
  word-break: break-word;
}

/* ============================================
   v3.17.1 — Age Group Grid (from inline to class)
   ============================================ */
.rbp-age-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rbp-age-group-grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

/* ============================================
   v3.17.1 — Payment Summary in Step 3
   ============================================ */
.rbp-pay-summary .rbp-pb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
  color: #444;
  gap: 8px;
}

/* ============================================
   v3.17.2 — Payment Summary Note
   ============================================ */
.rbp-summary-note {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #f39c12;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 12px;
  color: #795548;
  line-height: 1.6;
}

/* ============================================
   v3.17.4 — Collapsible Summary Sidebar Tab
   ============================================ */
.rbp-summary-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  align-items: stretch;
}
.rbp-summary-tab-toggle {
  background: var(--rbp-slot-primary, #c0392b);
  color: #fff;
  border: none;
  padding: 14px 7px;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: -2px 0 12px rgba(0,0,0,.15);
  transition: background .2s;
}
.rbp-summary-tab-toggle:hover { opacity: .9; }
.rbp-tab-arrow { font-size: 10px; line-height: 1; }
.rbp-tab-label { writing-mode: vertical-rl; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.rbp-summary-panel {
  width: 0;
  overflow: hidden;
  background: #fff;
  border-left: 2px solid #e8e8e8;
  box-shadow: -4px 0 24px rgba(0,0,0,.08);
  transition: width .3s ease, padding .3s ease;
  padding: 0;
}
.rbp-summary-panel.rbp-summary-open {
  width: 300px;
  padding: 16px 14px;
  overflow-y: auto;
  max-height: 80vh;
}
/* Hide old sticky bottom bar — replaced by tab */
.rbp-booking-inner--single .rbp-live-summary { display: none !important; }

/* ============================================
   v3.17.1 — Mobile Responsive Fixes (Bug #2)
   ============================================ */
@media (max-width: 600px) {
  .rbp-booking-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
  .rbp-panel {
    padding: 16px 14px;
  }
  .rbp-steps {
    padding: 14px 12px 10px;
  }
  .rbp-step {
    min-width: 28px;
  }
  .rbp-step-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
    line-height: 28px;
  }
  .rbp-step-line {
    max-width: 30px;
  }
  .rbp-phone-group {
    flex-wrap: nowrap; /* v4.3.28: keep dial code + number on ONE row always */
  }
  .rbp-phone-code {
    width: 100px;     /* narrower on mobile but still visible */
    min-width: 90px;
    margin-bottom: 0;
  }
  .rbp-pay-row-inner {
    padding: 10px 12px;
    gap: 8px;
  }
  .rbp-pay-row-icon {
    font-size: 20px;
  }
  .rbp-pay-row-text strong {
    font-size: 13px;
  }
  .rbp-pay-row-text span {
    font-size: 11px;
  }
  .rbp-qr-wrap {
    flex-direction: column !important;
  }
  .rbp-qr-right {
    width: 100% !important;
  }
  .rbp-qr-left {
    width: 100% !important;
    display: flex;
    justify-content: center;
  }
  .rbp-btn-next, .rbp-btn-outline, .rbp-btn-book {
    padding: 10px 16px;
    font-size: 14px;
  }
  .rbp-sum-table td:nth-child(2) {
    width: auto;
  }
  .rbp-slot-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
  }
  .rbp-pkg-grid {
    grid-template-columns: 1fr !important;
  }
  .rbp-pkg-card {
    flex-direction: row !important;
  }
  .rbp-booking-sidebar {
    display: none;
  }
  /* v4.3.11: Show service selector in split layout on mobile (sidebar is hidden above) */
  .rbp-svc-mobile-only {
    display: block;
  }
  .rbp-age-group-grid,
  .rbp-age-group-grid--3col {
    grid-template-columns: 1fr !important;
  }
  .rbp-live-table td {
    padding: 5px 2px;
    font-size: 12px;
  }
  .rbp-live-label {
    width: auto;
  }
  .rbp-input-icon > span:first-child {
    font-size: 14px;
  }
  .rbp-input-icon .rbp-input {
    padding-left: 32px;
  }
  .rbp-step-title {
    font-size: 15px;
  }
  .rbp-field label {
    font-size: 12px;
  }
  .rbp-input, .rbp-select {
    font-size: 14px;
    padding: 8px 12px;
  }
  .rbp-input-icon .rbp-input {
    padding-left: 32px;
  }
  .rbp-booking-form {
    border-radius: 0 0 8px 8px;
  }
  .rbp-svc-card img {
    height: 50px !important;
  }
  .rbp-summary-panel.rbp-summary-open {
    width: 260px;
  }
}

@media (max-width: 400px) {
  .rbp-panel {
    padding: 12px 10px;
  }
  .rbp-step-title {
    font-size: 14px;
  }
  .rbp-btn-next, .rbp-btn-outline {
    padding: 8px 12px;
    font-size: 13px;
  }
  .rbp-slot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
  .rbp-slot-btn {
    padding: 8px 6px !important;
    font-size: 12px !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   v4.1.12 — ALL SEASONS BOOKING FLOW NEW STYLES
═══════════════════════════════════════════════════════════ */

/* ── Guest Table (Step 1) ── */
.rbp-guest-table {
  border: 1px solid var(--rbp-primary, #1a1a1a);
  border-radius: 8px;
  overflow: hidden;
}
.rbp-guest-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
}
.rbp-guest-row:last-child { border-bottom: none; }
.rbp-guest-total-row {
  background: #f7f6f3;
  border-top: 1px solid #ddd;
}
.rbp-guest-label {
  flex: 1;
  font-size: 13px;
}
.rbp-guest-sub {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 1px;
}
.rbp-guest-input {
  width: 64px !important;
  text-align: center !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  padding: 6px 8px !important;
  font-size: 14px !important;
  flex-shrink: 0;
}
.rbp-guest-total-val {
  width: 64px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--rbp-primary, #1a1a1a);
}

/* ── Lock Note ── */
.rbp-lock-note {
  border-left: 3px solid #d08020;
  padding: 8px 14px;
  margin: 8px 0;
  font-size: 12px;
  background: #fffaf4;
  border-radius: 0 6px 6px 0;
  color: #7a4a00;
}

/* ── Inline Time Picker (inside slot cards) ── */
.rbp-inline-times {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #ddd;
}
.rbp-it-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 8px;
  text-align: center;
}
.rbp-it-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.rbp-it-btn {
  border: 1px solid #bbb;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  background: #fff;
  color: #333;
  transition: all .15s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
}
.rbp-it-btn:hover {
  border-color: var(--rbp-primary, #c0392b);
  background: #fff5f5;
}
.rbp-it-btn.rbp-it-active {
  background: var(--rbp-primary, #c0392b);
  color: #fff;
  border-color: var(--rbp-primary, #c0392b);
  font-weight: 700;
}
.rbp-it-btn.rbp-it-past {
  border: 1px dashed #ccc;
  color: #aaa;
  text-decoration: line-through;
  cursor: not-allowed;
  background: #f9f9f9;
}
.rbp-it-none {
  font-size: 12px;
  color: #c0392b;
  font-style: italic;
}

/* ── Guest Confirmation Box (Step 2) ── */
.rbp-guest-confirm-box {
  border: 1px solid #e0ddd5;
  border-radius: 8px;
  overflow: hidden;
  background: #fafaf8;
}
.rbp-gc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.rbp-gc-row:last-child { border-bottom: none; }
/* v4.1.15: Label stays left, count+desc grouped right */
.rbp-gc-label {
  color: #444;
  flex: 0 0 auto;
}
.rbp-gc-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}
.rbp-gc-count {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}
.rbp-gc-desc {
  color: #888;
  font-size: 11px;
}
.rbp-gc-row small {
  color: #888;
  margin-left: 6px;
}
.rbp-gc-total {
  background: #f0f0ec;
  font-weight: 700;
  border-top: 1px solid #ccc;
}

/* ── Step 5 Panel ── */
.rbp-pay-widget-outer {
  margin-top: 12px;
}

/* ── Payment Cards (Step 3) ── */
/* ═══════════════════════════════════════════════════════════════
   PAYMENT CARDS — v4.6.7 Elegant Redesign
   3 states: Pay at Venue (green) · Deposit (amber) · Pay in Full (indigo)
   ═══════════════════════════════════════════════════════════════ */
.rbp-pay-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .rbp-pay-cards { grid-template-columns: 1fr; gap: 10px; }
}

/* ── Base card ── */
.rbp-pay-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  padding: 18px 16px 14px;
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease, transform .18s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
/* Accent stripe at top — coloured per card type */
.rbp-pay-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #ddd;
  transition: background .22s;
}
.rbp-pay-card:hover {
  border-color: #bbb;
  box-shadow: 0 6px 24px rgba(0,0,0,.10);
  transform: translateY(-2px);
}
.rbp-pay-card:focus-visible {
  outline: 2px solid var(--rbp-primary, #c0392b);
  outline-offset: 2px;
}

/* ── Venue card (green) ── */
.rbp-pay-card--venue::before { background: linear-gradient(90deg,#27ae60,#2ecc71); }
.rbp-pay-card--venue:hover   { border-color: #2ecc71; box-shadow: 0 6px 24px rgba(39,174,96,.14); }
.rbp-pay-card--venue.rbp-pc-selected {
  border-color: #27ae60; border-width: 2px;
  background: linear-gradient(160deg,#f0fff8,#fff);
  box-shadow: 0 8px 28px rgba(39,174,96,.18);
}
.rbp-pay-card--venue.rbp-pc-selected .rbp-pc-sel-tick { background: #27ae60; }
.rbp-pay-card--venue .rbp-pc-icon { color: #27ae60; }
.rbp-pay-card--venue .rbp-pc-cta-btn { background: linear-gradient(135deg,#27ae60,#2ecc71); }

/* ── Deposit card (amber/orange) ── */
.rbp-pay-card--deposit::before { background: linear-gradient(90deg,#e67e22,#f39c12); }
.rbp-pay-card--deposit:hover   { border-color: #f39c12; box-shadow: 0 6px 24px rgba(230,126,34,.14); }
.rbp-pay-card--deposit.rbp-pc-selected {
  border-color: #e67e22; border-width: 2px;
  background: linear-gradient(160deg,#fffbf0,#fff);
  box-shadow: 0 8px 28px rgba(230,126,34,.18);
}
.rbp-pay-card--deposit.rbp-pc-selected .rbp-pc-sel-tick { background: #e67e22; }
.rbp-pay-card--deposit .rbp-pc-icon { color: #e67e22; }
.rbp-pay-card--deposit .rbp-pc-cta-btn { background: linear-gradient(135deg,#e67e22,#f39c12); }

/* ── Prepaid / Pay in Full card (indigo/blue) ── */
.rbp-pay-card--prepaid::before { background: linear-gradient(90deg,#3a5bbf,#5b7ef5); }
.rbp-pay-card--prepaid:hover   { border-color: #5b7ef5; box-shadow: 0 6px 24px rgba(58,91,191,.14); }
.rbp-pay-card--prepaid.rbp-pc-selected {
  border-color: #3a5bbf; border-width: 2px;
  background: linear-gradient(160deg,#f0f3ff,#fff);
  box-shadow: 0 8px 28px rgba(58,91,191,.18);
}
.rbp-pay-card--prepaid.rbp-pc-selected .rbp-pc-sel-tick { background: #3a5bbf; }
.rbp-pay-card--prepaid .rbp-pc-icon { color: #3a5bbf; }
.rbp-pay-card--prepaid .rbp-pc-cta-btn { background: linear-gradient(135deg,#3a5bbf,#5b7ef5); }

/* ── Fallback for unclassified cards (default red) ── */
.rbp-pay-card:not(.rbp-pay-card--venue):not(.rbp-pay-card--deposit):not(.rbp-pay-card--prepaid)::before {
  background: linear-gradient(90deg,var(--rbp-primary,#c0392b),#e74c3c);
}
.rbp-pay-card:not(.rbp-pay-card--venue):not(.rbp-pay-card--deposit):not(.rbp-pay-card--prepaid).rbp-pc-selected {
  border-color: var(--rbp-primary,#c0392b); border-width: 2px;
  background: linear-gradient(160deg,#fff8f7,#fff);
  box-shadow: 0 8px 28px rgba(192,57,43,.18);
}

/* ── Selected state (universal) ── */
.rbp-pay-card.rbp-pc-selected { transform: translateY(-2px); }

/* ── Selection tick ── */
.rbp-pc-sel-tick {
  position: absolute;
  top: 12px; right: 12px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--rbp-primary, #c0392b);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.4) rotate(-20deg);
  transition: opacity .22s cubic-bezier(.34,1.56,.64,1), transform .22s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.rbp-pay-card.rbp-pc-selected .rbp-pc-sel-tick {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ── Card icon ── */
.rbp-pc-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

/* ── Header row ── */
.rbp-pc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}
.rbp-pc-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
  line-height: 1.2;
  color: #1a1a2e;
}

/* ── Badge ── */
.rbp-pc-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
  background: rgba(39,174,96,.1);
  color: #1a7a3a;
  border: 1px solid rgba(39,174,96,.25);
  flex-shrink: 0;
}
.rbp-pc-badge--venue {
  background: rgba(39,174,96,.1);
  color: #1a7a3a;
  border-color: rgba(39,174,96,.25);
}
.rbp-pc-badge--deposit {
  background: rgba(230,126,34,.1);
  color: #a35a10;
  border-color: rgba(230,126,34,.25);
}
.rbp-pc-badge--prepaid {
  background: rgba(58,91,191,.1);
  color: #243a8a;
  border-color: rgba(58,91,191,.25);
}

/* ── Description ── */
.rbp-pc-desc {
  font-size: 12px;
  color: #666;
  margin: 4px 0 10px;
  line-height: 1.5;
}

/* ── Price calc box ── */
.rbp-pc-calc {
  border: 1px solid #eff0f3;
  border-radius: 8px;
  padding: 9px 12px;
  background: #f8f9fc;
  font-size: 12px;
  margin-bottom: 2px;
}
.rbp-pc-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
}
.rbp-pc-muted { color: #999; }
.rbp-pc-calc-total {
  font-weight: 700;
  font-size: 13px;
  border-top: 1px solid #e8e8e8;
  margin-top: 5px;
  padding-top: 5px;
  color: #1a1a2e;
}

/* ── CTA Button ── */
.rbp-pc-cta { margin-top: auto; padding-top: 12px; }
.rbp-pc-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  background: linear-gradient(135deg, var(--rbp-primary,#c0392b), #e74c3c);
  color: #fff;
  cursor: pointer;
  transition: opacity .15s, transform .12s, box-shadow .15s;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
/* Venue / prepaid CTA overridden by card type classes above */
.rbp-pc-cta-btn--venue   { background: linear-gradient(135deg,#27ae60,#2ecc71); }
.rbp-pc-cta-btn--prepaid { background: linear-gradient(135deg,#3a5bbf,#5b7ef5); }

.rbp-pay-card.rbp-pc-selected .rbp-pc-cta-btn {
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.rbp-pay-card:not(.rbp-pc-selected):hover .rbp-pc-cta-btn {
  opacity: .92;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

/* ── Venue note in price breakdown ── */
.rbp-pbd-venue-note {
  background: #f0fff8;
  border: 1px solid #b7e4c7;
  border-radius: 8px;
  padding: 10px 14px;
  color: #1a7a3a;
  font-size: 13px;
  margin-top: 10px;
}

/* ── Price Breakdown (Step 3) ── */
.rbp-pbd {
  border: 1.5px dashed var(--rbp-primary, #c0392b);  /* v4.1.14: dashed */
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
}
.rbp-pbd-title {
  font-weight: 700;
  margin-bottom: 8px;
}
.rbp-pbd-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.rbp-pbd-muted { color: #888; }
/* v4.4.22 NEW FORMULA — step-by-step section headers */
.rbp-pbd-section-head {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #888;
  margin: 10px 0 4px;
  padding-bottom: 3px;
  border-bottom: 1px solid #eee;
}
.rbp-pbd-section-head:first-child { margin-top: 0; }
.rbp-pbd-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rbp-primary, #c0392b);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin-right: 4px;
  vertical-align: middle;
  line-height: 1;
}
/* Subtotal lines between steps */
.rbp-pbd-subtotal {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-weight: 600;
  border-top: 1px solid #eee;
  margin-top: 2px;
  color: #333;
}
/* Discount rows — green */
.rbp-pbd-green { color: #1a7a38 !important; }
/* Grand total row */
.rbp-pbd-grand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px solid var(--rbp-primary, #c0392b);
  font-size: 15px;
  font-weight: 700;
}
.rbp-pbd-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  border-top: 2px solid var(--rbp-primary, #1a1a1a);
  margin-top: 6px;
  padding-top: 6px;
}
.rbp-pbd-split {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #ccc;
}
.rbp-pbd-split-title {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 6px;
}

/* ── Payment Warning ── */
.rbp-pay-warning {
  border: 1px dashed #bbb;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  color: #888;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   v4.1.13 — Luxury Service Cards
   ══════════════════════════════════════════════════════════════ */

.rbp-svc-luxury-grid {
  display: grid;
  /* Base: 2 cols (default). JS + PHP inline style override with admin svc_card_cols setting.
     Mobile ≤480px overrides via media query to horizontal stacked list. */
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
  align-items: stretch;
}

.rbp-svc-luxury-card {
  position: relative;
  border: 2px solid #e8e8e8;
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  background: #fff;
  text-align: left;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.rbp-svc-luxury-card:hover {
  border-color: var(--rbp-primary, #c0392b);
  box-shadow: 0 6px 24px rgba(192,57,43,.13);
  transform: translateY(-2px);
}

.rbp-svc-luxury-card.rbp-svc-selected,
.rbp-svc-luxury-card[data-selected="1"] {
  border-color: var(--rbp-primary, #c0392b);
  background: #fff8f7;
  box-shadow: 0 6px 24px rgba(192,57,43,.18);
}

/* ── Image area ── */
.rbp-svc-img-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  flex-shrink: 0;
}

.rbp-svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.rbp-svc-luxury-card:hover .rbp-svc-img {
  transform: scale(1.05);
}

.rbp-svc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.28) 100%);
  pointer-events: none;
}

/* ── Color bar fallback (no image) ── */
.rbp-svc-color-bar {
  width: 100%;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rbp-svc-color-bar-icon {
  font-size: 24px;
  padding: 12px 0 8px;
  display: block;
  text-align: center;
  width: 100%;
}

/* ── Body ── */
.rbp-svc-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
  min-height: 0;
}

/* ── Badges row ── */
.rbp-svc-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow: hidden;
  min-width: 0;
}

.rbp-svc-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  letter-spacing: .2px;
  text-transform: uppercase;
  min-width: 0;
}

.rbp-svc-badge-perpax {
  background: #eef7ff;
  color: #1a73e8;
  border: 1px solid #c2dbff;
}

.rbp-svc-badge-fixed {
  background: #fdf3ff;
  color: #8b2fc9;
  border: 1px solid #e4c2ff;
}

.rbp-svc-badge-time {
  background: #f0f0f0;
  color: #555;
  border: 1px solid #ddd;
}

/* ── Name ── */
.rbp-svc-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Full description (clamped to 2 lines for card height consistency) ── */
.rbp-svc-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rbp-svc-desc p  { margin: 0 0 6px; }
.rbp-svc-desc p:last-child { margin-bottom: 0; }
.rbp-svc-desc ul,
.rbp-svc-desc ol { margin: 4px 0 6px 18px; padding: 0; }
.rbp-svc-desc li { margin-bottom: 3px; }
.rbp-svc-desc strong, .rbp-svc-desc b { color: #333; }
.rbp-svc-desc a   { color: var(--rbp-primary, #c0392b); text-decoration: underline; }
.rbp-svc-desc h2,
.rbp-svc-desc h3,
.rbp-svc-desc h4 { font-size: 13px; font-weight: 700; margin: 8px 0 4px; color: #333; }

/* ── Footer: price + select button ── */
/* v4.7.12 FIX: Stronger border-top separator so footer doesn't blend into card body.
   Negative margin + matching padding pulls the full-width bg flush to body edges. */
.rbp-svc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  /* Extend full width to cancel body's horizontal padding, then re-add */
  margin-left: -12px;
  margin-right: -12px;
  margin-bottom: -12px;
  padding: 7px 12px 10px;
  border-top: 1.5px solid #e8e8e8;
  background: #f9f9f9;
  flex-shrink: 0;
  flex-wrap: nowrap;
  min-width: 0;
  border-radius: 0 0 12px 12px; /* matches card border-radius */
}

.rbp-svc-price {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

/* v4.7.12 FIX: Select → pill button — clear border container prevents
   text from visually sinking into the surrounding background.
   Font size reduced 11px → 9px for better proportional UX in narrow footer. */
.rbp-svc-select-btn {
  font-size: 9px;
  font-weight: 700;
  color: #999;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 3px 9px;
  background: #fff;
  line-height: 1.4;
  transition: color .15s, border-color .15s, background .15s;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .1px;
}

.rbp-svc-luxury-card:hover .rbp-svc-select-btn {
  color: var(--rbp-primary, #c0392b);
  border-color: var(--rbp-primary, #c0392b);
  background: rgba(192,57,43,.05);
}

.rbp-svc-luxury-card.rbp-svc-selected .rbp-svc-select-btn,
.rbp-svc-luxury-card[data-selected="1"] .rbp-svc-select-btn {
  color: var(--rbp-primary, #c0392b);
  border-color: var(--rbp-primary, #c0392b);
  background: rgba(192,57,43,.07);
}

/* ── Selected checkmark tick ── */
.rbp-svc-selected-tick {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rbp-primary, #c0392b);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(192,57,43,.4);
}

.rbp-svc-luxury-card.rbp-svc-selected .rbp-svc-selected-tick,
.rbp-svc-luxury-card[data-selected="1"] .rbp-svc-selected-tick {
  opacity: 1;
  transform: scale(1);
}

/* ─────────────────────────────────────────────────────────────
   Mobile ≤480px — Calendly/OpenTable horizontal list pattern
   [Icon 72px] | [Name + Badges + Desc] | [Price / Arrow]
   CSS-only — no HTML, JS, or logic changes.
   Desktop/tablet columns are controlled by admin setting via JS + inline style.
───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* Grid → vertical stack full-width */
  .rbp-svc-luxury-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* Card → horizontal row, fixed height */
  .rbp-svc-luxury-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 12px;
    min-height: 72px;
    height: auto;
    overflow: hidden;
  }
  .rbp-svc-luxury-card:hover {
    transform: none;
  }

  /* Image: fixed 72px square on the left */
  .rbp-svc-img-wrap {
    width: 72px;
    min-width: 72px;
    height: auto;
    min-height: 72px;
    flex-shrink: 0;
    border-radius: 0;
  }

  /* Color-bar fallback: same 72px square */
  .rbp-svc-color-bar {
    width: 72px;
    min-width: 72px;
    height: auto;
    min-height: 72px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
  }
  .rbp-svc-color-bar-icon {
    font-size: 26px;
    padding: 0;
    line-height: 1;
  }

  /* Body → flex column, content area with right space reserved for footer.
     v4.7.12: padding-right bumped 58px → 62px to match new 54px footer width. */
  .rbp-svc-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 8px 62px 8px 12px;
    gap: 3px;
    min-width: 0;
    overflow: hidden;
    position: relative;
  }

  /* Badges: HIDDEN on mobile — avoids wrap/overflow in narrow horizontal card */
  .rbp-svc-badges {
    display: none;
  }
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    -webkit-line-clamp: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  /* Name: 1 line, truncate */
  .rbp-svc-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    -webkit-line-clamp: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  /* Desc: short description — 1 line, replaces badges as secondary info */
  .rbp-svc-desc {
    font-size: 11px;
    color: #888;
    line-height: 1.3;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  /* Footer → absolute right panel inside body.
     v4.7.12: border-left thicker + bg tinted to match desktop footer treatment. */
  .rbp-svc-footer {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: none;
    border-left: 1.5px solid #e8e8e8;
    background: #f9f9f9;
    padding: 0 6px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    gap: 4px;
    border-radius: 0 12px 12px 0;
  }

  /* Price above arrow */
  .rbp-svc-price {
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    flex: none;
    overflow: visible;
    text-overflow: clip;
  }

  /* v4.7.12: Select pill reset for mobile vertical panel — show arrow only */
  .rbp-svc-select-btn {
    font-size: 14px;
    font-weight: 400;
    color: #bbb;
    line-height: 1;
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }
  .rbp-svc-luxury-card:hover .rbp-svc-select-btn,
  .rbp-svc-luxury-card.rbp-svc-selected .rbp-svc-select-btn,
  .rbp-svc-luxury-card[data-selected="1"] .rbp-svc-select-btn {
    color: var(--rbp-primary, #c0392b);
    border-color: transparent;
    background: transparent;
  }

  /* Tick: over the icon area, vertically centered */
  .rbp-svc-selected-tick {
    top: 50%;
    right: auto;
    left: 48px;
    transform: translateY(-50%) scale(0.6);
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  .rbp-svc-luxury-card.rbp-svc-selected .rbp-svc-selected-tick,
  .rbp-svc-luxury-card[data-selected="1"] .rbp-svc-selected-tick {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Very small ≤360px — same horizontal, tighter icon */
@media (max-width: 360px) {
  .rbp-svc-img-wrap,
  .rbp-svc-color-bar {
    width: 60px;
    min-width: 60px;
  }
  .rbp-svc-body {
    padding-right: 50px; /* v4.7.12: was 48px; matches 44px footer + 6px gap */
  }
  .rbp-svc-footer {
    width: 44px;
    padding: 0 4px;
  }
  .rbp-svc-price {
    font-size: 9px;
  }
  .rbp-svc-selected-tick {
    left: 38px;
  }
}

/* ══════════════════════════════════════════════════════════════
   v4.1.14 — Trust Badges (Step 5)
   ══════════════════════════════════════════════════════════════ */

.rbp-trust-wrap {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
  text-align: center;
}

.rbp-trust-custom-img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

.rbp-trust-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.rbp-trust-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: .85;
  transition: opacity .15s, transform .15s;
}

.rbp-trust-icon:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.rbp-trust-icon svg {
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.rbp-trust-icon small {
  font-size: 9px;
  color: #aaa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.rbp-trust-text {
  margin: 4px 0 0;
  font-size: 11px;
  color: #999;
  line-height: 1.5;
}

/* ── Payment card selected tick (Bug #2 v4.1.14) ── */
/* Already defined above in pay-card block — no duplicate needed */

/* ── v4.3.3: Booking Confirmation Card ───────────────────────────────────── */
/* ── Legacy confirm card (kept for backward compat) ── */
/* v4.7.10 BUG-3 FIX: Professional left-aligned confirm card with visible border */
.rbp-confirm-card{background:var(--rbp-confirm-bg,#fff);border-radius:14px;box-shadow:0 2px 12px rgba(0,0,0,.07),0 8px 32px rgba(0,0,0,.05);max-width:680px;margin:16px auto 0;overflow:hidden;border:1.5px solid #e2e8f0}
/* Header: left-aligned, accent left-border strip */
.rbp-confirm-head{display:flex;align-items:flex-start;gap:14px;padding:22px 24px 18px;border-bottom:1.5px solid #f0f4f8;background:linear-gradient(135deg,#f0fdf4,#f8fffe)}
.rbp-confirm-icon{font-size:38px;line-height:1;flex-shrink:0;margin-top:2px}
.rbp-confirm-head-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.rbp-confirm-title{color:#166534;font-size:20px;font-weight:800;margin:0;letter-spacing:-.2px;text-align:left}
.rbp-confirm-ref{color:#0369a1;font-size:14px;font-weight:700;margin:0;letter-spacing:.04em;text-align:left;font-family:monospace}
.rbp-confirm-divider{height:1px;background:#f0f4f8;margin:0}
.rbp-confirm-rows{padding:16px 24px}
.rbp-confirm-row{display:flex;align-items:baseline;gap:12px;padding:6px 0;font-size:14px;border-bottom:1px solid #f8f9fa}
.rbp-confirm-row:last-child{border-bottom:none}
.rbp-confirm-row-label{color:#9ca3af;min-width:108px;flex-shrink:0;font-size:11px;text-transform:uppercase;letter-spacing:.5px;padding-top:2px;font-weight:600}
.rbp-confirm-row-val{color:#111827;font-weight:500;word-break:break-word;text-align:left;font-size:14px}
.rbp-confirm-row-val strong{color:#c0392b}
.rbp-confirm-msg{margin:0 24px 16px;padding:13px 16px;border-radius:8px;border-left:4px solid #ddd;font-size:13px;line-height:1.6;background:#f9fafb;text-align:left}
.rbp-confirm-email-note{padding:6px 24px 18px;font-size:12px;color:#9ca3af;text-align:left}
.rbp-confirm-biz-footer{padding:8px 24px 20px;font-size:12px;color:#9ca3af;line-height:1.7;text-align:left;border-top:1px solid #f0f4f8}
.rbp-confirm-biz-footer a{color:#9ca3af;text-decoration:none}
.rbp-confirm-biz-footer a:hover{color:#374151}

/* ── v4.7.9 UX REDESIGN: Boarding Pass Confirmation Card (inline, JS-rendered) ── */
.rbp-bp-card{background:transparent;box-shadow:none;border:none;max-width:880px;margin:12px auto 0}
.rbp-bp-inner{display:flex;border-radius:20px;overflow:hidden;box-shadow:0 20px 56px rgba(0,0,0,.14),0 4px 14px rgba(0,0,0,.06);border:1px solid #e8e2da}
.rbp-bp-left{flex:1;background:#ffffff;padding:32px 34px 26px;position:relative;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif}
.rbp-bp-right{flex:0 0 210px;padding:28px 18px 24px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;color:#fff;text-align:center;position:relative}
.rbp-bp-perforation{width:1px;background:repeating-linear-gradient(to bottom,#cec6ba 0 5px,transparent 5px 12px);flex-shrink:0;position:relative}
.rbp-bp-perforation::before,.rbp-bp-perforation::after{content:'';position:absolute;width:20px;height:10px;background:#f4f6f9;left:50%;transform:translateX(-50%);z-index:1}
.rbp-bp-perforation::before{top:-1px;border-radius:0 0 20px 20px}
.rbp-bp-perforation::after{bottom:-1px;border-radius:20px 20px 0 0}
.rbp-bp-status{font-size:9px;font-weight:800;letter-spacing:.3em;color:#b09878;margin:0 0 12px;text-transform:uppercase;padding-bottom:3px;border-bottom:1.5px solid #eee8de}
.rbp-bp-hero{font-size:clamp(19px,3.2vw,27px);font-weight:700;color:#111827;margin:0 0 10px;line-height:1.25;letter-spacing:-.01em}
.rbp-bp-hero em{font-style:italic;color:#7b2334;font-weight:800}
.rbp-bp-narrative{font-size:13px;color:#6b7280;line-height:1.65;margin:0 0 16px}
.rbp-bp-hr{border:none;border-top:1px solid #f0ebe3;margin:14px 0}
.rbp-bp-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 22px;padding:2px 0}
.rbp-bp-cell{display:flex;flex-direction:column;gap:3px}
.rbp-bp-cell-label{font-size:8.5px;font-weight:800;letter-spacing:.22em;color:#b09878;text-transform:uppercase}
.rbp-bp-cell-val{font-size:14.5px;font-weight:600;color:#111827;line-height:1.3}
.rbp-bp-footer-note{font-size:12px;color:#9ca3af;line-height:1.6;margin:0}
/* CONTACT cell */
.rbp-bp-cell-wide{grid-column:1/-1}
.rbp-bp-contact-val{display:flex;flex-direction:column;gap:4px}
.rbp-bp-contact-email,.rbp-bp-contact-phone{font-size:13.5px;font-weight:600;color:#111827;line-height:1.4}
/* Biz info in right panel */
.rbp-bp-biz-info{margin-top:auto;padding-top:12px;display:flex;flex-direction:column;align-items:center;gap:5px;width:100%}
.rbp-bp-biz-link,.rbp-bp-biz-addr{font-size:11px;color:rgba(255,255,255,.8);text-decoration:none;text-align:center;line-height:1.5;word-break:break-all;transition:color .15s}
.rbp-bp-biz-link:hover{color:#fff;text-decoration:underline}
/* Stub elements */
.rbp-bp-boarding-label{font-size:8.5px;letter-spacing:.28em;font-weight:800;opacity:.7;margin:0 0 8px;text-transform:uppercase}
.rbp-bp-ref{font-size:clamp(18px,2.6vw,25px);font-weight:900;letter-spacing:.05em;margin:0 0 18px;line-height:1.15;word-break:break-all;font-variant-numeric:tabular-nums}
.rbp-bp-diamond{width:62px;height:62px;border-radius:50%;border:1.5px dashed rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.rbp-bp-diamond-icon{font-size:22px;opacity:.75}
.rbp-bp-brand{font-size:10.5px;font-weight:800;letter-spacing:.12em;opacity:.9;text-transform:uppercase;margin:0 0 4px;line-height:1.5}
@media(max-width:620px){
  .rbp-bp-inner{flex-direction:column;border-radius:16px}
  .rbp-bp-perforation{width:100%;height:1px;background:repeating-linear-gradient(to right,#cec6ba 0 5px,transparent 5px 12px)}
  .rbp-bp-perforation::before,.rbp-bp-perforation::after{width:10px;height:20px;top:50%;left:auto;transform:translateY(-50%)}
  .rbp-bp-perforation::before{left:-1px;border-radius:0 20px 20px 0}
  .rbp-bp-perforation::after{right:-1px;left:auto;border-radius:20px 0 0 20px}
  .rbp-bp-right{flex:none;flex-direction:row;flex-wrap:wrap;justify-content:center;padding:18px 20px 22px;gap:10px}
  .rbp-bp-biz-info{margin-top:0;padding-top:0}
  .rbp-bp-left{padding:22px 20px 18px}
  .rbp-bp-grid{grid-template-columns:1fr 1fr;gap:12px 16px}
}
/* ── v4.5.25: Globe popup — Language + Currency panel ── */
/* ══════════════════════════════════════════════════════════════════
   v5.4.28 Globe Popup — Professional 2-column panel
   Light theme, no scrollbar, 2-col on all screen sizes.
   Trigger: pill OR elegant square-icon style.
   ══════════════════════════════════════════════════════════════════ */

/* ── Wrapper ── */
.rbp-lang-popup-wrap {
  display: flex;
  align-items: center;
  overflow: visible;
  width: 100%;
}

/* ── CSS Variables for admin color overrides ── */
:root {
  --rbp-globe-trigger-bg:        #ffffff;
  --rbp-globe-trigger-color:     #222222;
  --rbp-globe-trigger-border:    rgba(0,0,0,.18);
  --rbp-globe-trigger-bg-hover:  #f5f5f5;
  --rbp-globe-check-color:       #1d9e5e;
}

/* ═══════════════════════════════════════════════════
   STYLE A — Pill trigger (default): "🌐 EN | USD ▲"
   ═══════════════════════════════════════════════════ */
.rbp-lang-popup-trigger.rbp-globe-trigger-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px 0 6px;
  border-radius: 19px;
  border: 1px solid var(--rbp-globe-trigger-border);
  background: var(--rbp-globe-trigger-bg);
  color: var(--rbp-globe-trigger-color);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  letter-spacing: 0;
  flex-shrink: 0;
}
.rbp-lang-popup-trigger.rbp-globe-trigger-pill:hover {
  background: var(--rbp-globe-trigger-bg-hover);
  border-color: rgba(0,0,0,.28);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.rbp-lang-popup-trigger.rbp-globe-trigger-pill[aria-expanded="true"] {
  border-color: var(--rbp-globe-trigger-color);
  box-shadow: 0 0 0 2px rgba(0,0,0,.06);
}
.rbp-lang-popup-trigger.rbp-globe-trigger-pill .rbp-globe-icon {
  opacity: .55;
  flex-shrink: 0;
}
/* v5.4.34: Flag emoji before lang code (replaces country-code text badge from v5.4.30) */
.rbp-globe-trig-flag {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  /* Slight platform-quirk hedge: some emoji fonts render flags taller than expected.
     Constrain visual height with display:inline-flex and align baseline. */
  display: inline-flex;
  align-items: center;
  /* Prefer system color emoji rendering */
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Twemoji Mozilla",
               "Android Emoji",sans-serif;
}
/* Backward-compat: keep .rbp-globe-trig-cc rule in case any markup still uses it */
.rbp-globe-trig-cc {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(0,0,0,.55);
  background: rgba(0,0,0,.05);
  padding: 3px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
}
.rbp-globe-trig-lang {
  font-weight: 700;
  color: inherit;
  letter-spacing: .02em;
}
.rbp-globe-trig-divider {
  color: rgba(0,0,0,.18);
  font-weight: 300;
  font-size: 13px;
  margin: 0 -2px;
}
.rbp-globe-trig-curr {
  color: inherit;
  font-weight: 500;
  opacity: .85;
  letter-spacing: .02em;
}
.rbp-globe-trig-arrow {
  opacity: .45;
  flex-shrink: 0;
  transition: transform .2s;
  margin-left: 1px;
}
.rbp-lang-popup-trigger.rbp-globe-trigger-pill[aria-expanded="true"] .rbp-globe-trig-arrow {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════
   STYLE B — Elegant square trigger (when admin sets
   rbp_design_globe_trigger_style = 'elegant')
   Small square icon badge, no text labels, clean.
   ═══════════════════════════════════════════════════ */
.rbp-lang-popup-trigger.rbp-globe-trigger-elegant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--rbp-globe-trigger-border);
  background: var(--rbp-globe-trigger-bg);
  color: var(--rbp-globe-trigger-color);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .1s;
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  position: relative;
}
.rbp-lang-popup-trigger.rbp-globe-trigger-elegant:hover {
  background: var(--rbp-globe-trigger-bg-hover);
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  transform: scale(1.04);
}
.rbp-lang-popup-trigger.rbp-globe-trigger-elegant[aria-expanded="true"] {
  border-color: var(--rbp-globe-trigger-color);
  box-shadow: 0 0 0 3px rgba(0,0,0,.07);
  transform: scale(1);
}
/* Active indicator dot */
.rbp-lang-popup-trigger.rbp-globe-trigger-elegant::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rbp-globe-check-color);
  border: 1.5px solid #fff;
  opacity: 0;
  transition: opacity .2s;
}
.rbp-lang-popup-trigger.rbp-globe-trigger-elegant[aria-expanded="true"]::after {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   STYLE C — Compact trigger (v5.4.32)
   Borderless, text-only "EN · USD ▾" — minimal footprint,
   blends into header. Uses same CSS vars so admin colors apply.
   ═══════════════════════════════════════════════════ */
.rbp-lang-popup-trigger.rbp-globe-trigger-compact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  border: none;
  /* v5.4.34 FIX: was hardcoded `transparent` — admin Design bg setting had no effect.
     Now consumes --rbp-globe-trigger-bg with `transparent` as fallback when var is unset.
     If admin doesn't set a custom bg, var resolves to its default (#ffffff) — but for
     compact we want transparent-by-default look. So use a SECOND fallback layer:
     Design class only emits the var when admin actually customized → otherwise
     `transparent` from this declaration's fallback layer is used. */
  background: var(--rbp-globe-trigger-bg-compact, transparent);
  color: var(--rbp-globe-trigger-color);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, color .12s;
  white-space: nowrap;
  letter-spacing: .02em;
  flex-shrink: 0;
  line-height: 1;
}
.rbp-lang-popup-trigger.rbp-globe-trigger-compact:hover {
  background: rgba(0,0,0,.05);
}
.rbp-lang-popup-trigger.rbp-globe-trigger-compact[aria-expanded="true"] {
  background: rgba(0,0,0,.06);
}
.rbp-lang-popup-trigger.rbp-globe-trigger-compact .rbp-globe-trig-lang {
  font-weight: 700;
}
.rbp-lang-popup-trigger.rbp-globe-trigger-compact .rbp-globe-trig-curr {
  font-weight: 500;
  opacity: .8;
}
.rbp-globe-trig-dot {
  color: rgba(0,0,0,.3);
  font-weight: 700;
  font-size: 13px;
  margin: 0 -1px;
  line-height: 1;
}
.rbp-lang-popup-trigger.rbp-globe-trigger-compact .rbp-globe-trig-arrow {
  opacity: .45;
  flex-shrink: 0;
  transition: transform .2s;
  margin-left: 1px;
}
.rbp-lang-popup-trigger.rbp-globe-trigger-compact[aria-expanded="true"] .rbp-globe-trig-arrow {
  transform: rotate(180deg);
}

/* Fallback: old dark round trigger (backward compat, not used in popup style) */
.rbp-lang-popup-trigger:not(.rbp-globe-trigger-pill):not(.rbp-globe-trigger-elegant):not(.rbp-globe-trigger-compact) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: rgba(0,0,0,.28);
  color: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.3);
}

/* ── Panel ── */
.rbp-globe-panel {
  position: fixed;
  z-index: 999999;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,.05), 0 24px 64px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);
  animation: rbpGlobeIn .18s cubic-bezier(.34,1.3,.64,1);
  overflow: hidden;
  /* width driven by content — positionPanel() reads actual offsetWidth */
  width: max-content;
  max-width: calc(100vw - 16px);
}
@keyframes rbpGlobeIn {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes rbpGlobeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-5px) scale(.97); }
}
.rbp-globe-panel.rbp-globe-closing {
  animation: rbpGlobeOut .14s ease forwards;
  pointer-events: none;
}

/* Panel inner */
.rbp-globe-panel-inner {
  padding: 0;
}

/* ── Panel header ── */
.rbp-globe-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.rbp-globe-panel-title {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rbp-globe-panel-close {
  background: #f4f4f4;
  border: none;
  color: #555;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background .12s, color .12s;
  padding: 0;
  flex-shrink: 0;
}
.rbp-globe-panel-close:hover { background: #e8e8e8; color: #111; }

/* ── Two-column body — 2 cols on ALL screen sizes ── */
.rbp-globe-cols {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  /* NO overflow-y — no scrollbar, let content determine height */
}
.rbp-globe-col {
  padding: 14px 0 10px;
  /* removed overflow-y and max-height — no scrollbar */
}
.rbp-globe-col:first-child { padding-left: 0; }
.rbp-globe-col:last-child  { padding-right: 0; }
.rbp-globe-col-divider {
  background: #f0f0f0;
  width: 1px;
  margin: 10px 0;
  align-self: stretch;
}

/* Column head */
.rbp-globe-col-head {
  font-size: 10px;
  font-weight: 700;
  color: #999;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 16px 8px;
}

/* Option list */
.rbp-globe-opt-list {
  list-style: none;
  margin: 0;
  padding: 0 6px;
  display: flex;
  flex-direction: column;
}

/* Individual option row */
.rbp-globe-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .1s;
  outline: none;
  background: transparent;
  border: 1.5px solid transparent;
  min-width: 0;
}
.rbp-globe-opt:hover,
.rbp-globe-opt:focus {
  background: #f5f5f5;
}
.rbp-globe-opt.is-selected {
  border-color: #e5e5e5;
  background: #fafafa;
}

/* Icon */
.rbp-globe-opt-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rbp-globe-opt-icon--sym {
  font-size: 14px;
  font-weight: 700;
  background: #eef2ff;
  color: #3b6ef6;
  border-radius: 8px;
}
.rbp-globe-opt-icon--code {
  font-size: 10px;
  font-weight: 800;
  background: #f0f0f0;
  color: #555;
  border-radius: 8px;
}

/* Text body */
.rbp-globe-opt-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.rbp-globe-opt-name {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rbp-globe-opt-sub {
  font-size: 11px;
  color: #999;
  line-height: 1.2;
}

/* Checkmark — shown only when selected */
.rbp-globe-opt-check {
  display: none;
  color: var(--rbp-globe-check-color);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}
.rbp-globe-opt.is-selected .rbp-globe-opt-check {
  display: flex;
}

/* ── Backdrop ── */
.rbp-globe-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  z-index: 999998;
  animation: rbpFadeIn .18s ease;
}
@keyframes rbpFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Mobile — bottom sheet but KEEP 2 columns ── */
@media (max-width: 600px) {
  .rbp-globe-panel {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0;
    animation: rbpGlobeUp .22s cubic-bezier(.34,1.2,.64,1);
  }
  @keyframes rbpGlobeUp {
    from { opacity:0; transform:translateY(100%); }
    to   { opacity:1; transform:translateY(0); }
  }
  .rbp-globe-panel.rbp-globe-closing {
    animation: rbpGlobeDown .18s ease forwards;
  }
  @keyframes rbpGlobeDown {
    from { opacity:1; transform:translateY(0); }
    to   { opacity:0; transform:translateY(100%); }
  }
  /* Keep 2-column layout on mobile (no stacking) */
  .rbp-globe-cols {
    grid-template-columns: 1fr 1px 1fr;
  }
  .rbp-globe-col-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 10px 0;
  }
  .rbp-globe-opt-name { font-size: 12px; }
  .rbp-globe-opt-sub  { font-size: 10px; }
  .rbp-globe-opt      { padding: 8px 8px; gap: 7px; }
  .rbp-globe-opt-icon { font-size: 18px; width: 26px; height: 26px; }
  .rbp-globe-opt-icon--sym, .rbp-globe-opt-icon--code { font-size: 11px; }
  .rbp-globe-panel-inner::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 10px auto 0;
  }
  .rbp-globe-col-head { padding: 0 10px 6px; font-size: 9px; }
}

/* ── Luxury skin overrides ── */
/* v5.4.31 FIX: was using !important on background/color/border which silently
   killed all admin Design color settings. Now we only override the CSS variable
   *defaults* scoped to .rbp-lux. If admin saves any value in Design tab, the
   inline <style> from RBP_Design::output_css() writes :root{ --rbp-globe-... }
   which has equal specificity but appears LATER in the cascade, so it wins.
   Result: luxury skin keeps its dark trigger by default; admin overrides apply. */
.rbp-lux {
  --rbp-globe-trigger-bg:        rgba(0,0,0,.22);
  --rbp-globe-trigger-color:     #ffffff;
  --rbp-globe-trigger-border:    rgba(255,255,255,.35);
  --rbp-globe-trigger-bg-hover:  rgba(0,0,0,.36);
}

/* ── v4.3.10: Sticky Confirm button — Step 3 mobile ───────────────── */
/* On mobile, the p3 nav bar (Confirm & Pay) sticks to the bottom so the
   guest can always tap it without scrolling past price breakdown.
   Only applies inside #F-p3 panel — not on other panels. */
@media (max-width: 680px) {
  [id$="-p3"] > .rbp-step-nav:last-child,
  [id$="-p3"] .rbp-step-nav:last-of-type {
    position: sticky;
    bottom: 0;
    z-index: 50;
    background: #fff;
}

/* ══════════════════════════════════════════════════════════════════
   v4.4.12 — [rbp_booking_confirmation] Thank-You Page Shortcode
   Width is 20% wider than standard confirm card (520px → 624px)
   ══════════════════════════════════════════════════════════════════ */

/* Outer wrapper — centers the card on the page */
.rbp-ty-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 624px;
  margin: 32px auto;
  padding: 0 16px 40px;
}

/* Hero banner (emoji + business name + tagline) */
.rbp-ty-hero {
  text-align: center;
  padding: 36px 24px 28px;
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
  border-radius: 16px 16px 0 0;
  color: #fff;
}
.rbp-ty-hero-icon  { font-size: 56px; line-height: 1; margin-bottom: 10px; }
.rbp-ty-hero-biz   { font-size: 13px; font-weight: 600; opacity: .8; letter-spacing: 1px;
                      text-transform: uppercase; margin-bottom: 6px; }
.rbp-ty-hero-title { font-size: 26px; font-weight: 700; margin: 0 0 4px; }
.rbp-ty-hero-sub   { font-size: 14px; opacity: .85; margin: 0; }

/* Status badge strip */
.rbp-ty-status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
}
.rbp-ty-status-bar.is-confirmed { background: #eafaf1; color: #1e8449; border-left: 4px solid #27ae60; }
.rbp-ty-status-bar.is-pending   { background: #fef9e7; color: #b7770d; border-left: 4px solid #f39c12; }
.rbp-ty-status-bar.is-other     { background: #f2f3f4; color: #555;    border-left: 4px solid #bbb; }

/* Main card body */
.rbp-ty-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 6px 28px rgba(0,0,0,.08);
  overflow: hidden;
}

/* Section headings inside card */
.rbp-ty-section {
  padding: 16px 24px 4px;
  border-top: 1px solid #f0f0f0;
}
.rbp-ty-section:first-child { border-top: none; }
.rbp-ty-section-head {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #999;
  margin: 0 0 10px;
}

/* Data rows */
.rbp-ty-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #fafafa;
}
.rbp-ty-row:last-child { border-bottom: none; }
.rbp-ty-row-label {
  color: #aaa;
  min-width: 120px;
  flex-shrink: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.rbp-ty-row-val { color: #222; font-weight: 500; word-break: break-word; }
.rbp-ty-ref-val { color: #c0392b; font-size: 18px; font-weight: 700; letter-spacing: .5px; }

/* Payment summary section */
.rbp-ty-pay-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
  border-bottom: 1px solid #fafafa;
}
.rbp-ty-pay-row:last-child { border-bottom: none; }
.rbp-ty-pay-row.is-total { font-weight: 700; font-size: 15px; color: #c0392b; }

/* What's next steps */
.rbp-ty-next { list-style: none; margin: 0; padding: 0; }
.rbp-ty-next li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid #fafafa;
}
.rbp-ty-next li:last-child { border-bottom: none; }
.rbp-ty-next-num {
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}

/* CTA button row */
.rbp-ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px;
  border-top: 1px solid #f0f0f0;
}
.rbp-ty-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
}
.rbp-ty-btn:hover { opacity: .85; text-decoration: none; }
.rbp-ty-btn-primary   { background: #c0392b; color: #fff; }
.rbp-ty-btn-secondary { background: #f0f0f0; color: #333; }
.rbp-ty-btn-outline   { background: transparent; color: #c0392b; border: 2px solid #c0392b; }

/* Footer strip inside card */
.rbp-ty-footer {
  text-align: center;
  padding: 14px 24px 20px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
}
.rbp-ty-footer a { color: #999; text-decoration: none; }
.rbp-ty-footer a:hover { color: #555; }

/* Countdown bar */
.rbp-ty-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 24px 20px;
  padding: 12px 18px;
  background: #f0f7ff;
  border-radius: 10px;
  font-size: 13px;
  color: #555;
  border: 1px solid #cde4f7;
}
.rbp-ty-countdown strong { color: #2471a3; font-size: 15px; }
.rbp-ty-countdown a { color: #c0392b; font-weight: 600; }

/* Skeleton / loading state */
.rbp-ty-loading {
  text-align: center;
  padding: 60px 24px;
  color: #aaa;
  font-size: 14px;
}

/* Error / not found */
.rbp-ty-error {
  text-align: center;
  padding: 48px 24px;
  color: #c0392b;
  font-size: 14px;
  line-height: 1.6;
}
.rbp-ty-error-icon { font-size: 40px; margin-bottom: 10px; }

@media (max-width: 640px) {
  .rbp-ty-wrap         { margin: 16px auto; padding: 0 8px 24px; }
  .rbp-ty-hero         { padding: 26px 16px 20px; border-radius: 12px 12px 0 0; }
  .rbp-ty-hero-title   { font-size: 20px; }
  .rbp-ty-section,
  .rbp-ty-actions      { padding-left: 16px; padding-right: 16px; }
  .rbp-ty-row-label    { min-width: 90px; }
  .rbp-ty-countdown    { margin-left: 16px; margin-right: 16px; }
  .rbp-ty-actions      { flex-direction: column; }
  .rbp-ty-btn          { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════
   rbp_confirmed — v4.7.9
   Layout A: Boarding Pass  (payment_type: prepaid | deposit_required)
   Layout B: Professional   (payment_type: at_restaurant | pending | *)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Shared wrap ─────────────────────────────────────────────────── */
.rbp-rc-wrap {
  max-width: 1100px; /* v4.7.9new2: widened to support wider confirmation card */
  margin: 24px auto;
  padding: 0 12px 32px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  box-sizing: border-box;
}
.rbp-rc-wrap *, .rbp-rc-wrap *::before, .rbp-rc-wrap *::after { box-sizing: inherit; }

/* Shared buttons */
.rbp-rc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 8px; font-size: 14px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: opacity .2s, transform .1s;
}
.rbp-rc-btn:hover { opacity: .85; transform: translateY(-1px); }
.rbp-rc-btn-primary   { background: #c0392b; color: #fff; }
.rbp-rc-btn-secondary { background: #f4f4f4; color: #333; }

/* Countdown bar */
.rbp-rc-countdown {
  text-align: center; padding: 12px 24px; font-size: 13px;
  background: #eaf4fc; border-radius: 0 0 12px 12px; color: #2471a3;
}
.rbp-rc-countdown strong { font-size: 15px; color: #1a6fa3; }
.rbp-rc-countdown a { color: #1a6fa3; font-weight: 600; }

/* Generic no-params + not-found states */
.rbp-rc-generic, .rbp-rc-notfound {
  text-align: center; padding: 48px 24px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); border: 1px solid #eee;
}
.rbp-rc-generic-icon, .rbp-rc-notfound-icon { font-size: 56px; line-height: 1; margin-bottom: 14px; }
.rbp-rc-generic-title, .rbp-rc-notfound-title {
  font-size: 24px; font-weight: 700; margin: 0 0 8px;
}
.rbp-rc-generic-biz { margin-top: 16px; font-size: 13px; color: #888; }
.rbp-rc-generic-biz a { color: #888; }
.rbp-rc-notfound-title { color: #c0392b; }

/* ── LAYOUT A: BOARDING PASS ─────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════════
   BOARDING PASS — v4.7.9 UX REDESIGN
   Design language: IATA airline boarding pass + luxury hospitality pass.
   Typography: Sans-serif system stack for labels; slightly warmer for values.
   Mobile-first: stacks vertically on <640px.
═══════════════════════════════════════════════════════════════════ */

/* Card shell */
.rbp-rc-bp-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.13), 0 4px 16px rgba(0,0,0,.07);
  max-width: 980px; /* v4.7.9new2: widened "Your booking is confirmed." section */
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Inner layout — left + perforation + right */
.rbp-rc-bp-inner {
  display: flex;
  min-height: 420px;
}

/* ── LEFT PANEL ── */
.rbp-rc-bp-left {
  flex: 1;
  background: #ffffff;
  padding: 36px 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-right: none; /* perforation replaces this */
}

/* ── PERFORATION ── */
.rbp-rc-bp-perf {
  width: 1px;
  flex-shrink: 0;
  background: repeating-linear-gradient(
    to bottom,
    #d0cac0 0 6px,
    transparent 6px 14px
  );
  position: relative;
}
/* Semicircle notches top + bottom */
.rbp-rc-bp-perf::before,
.rbp-rc-bp-perf::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 10px;
  background: #f4f6f9; /* match page bg */
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 20px 20px;
  z-index: 1;
}
.rbp-rc-bp-perf::before { top: -1px; border-radius: 0 0 20px 20px; }
.rbp-rc-bp-perf::after  { bottom: -1px; border-radius: 20px 20px 0 0; }

/* ── RIGHT PANEL (stub) ── */
.rbp-rc-bp-right {
  flex: 0 0 200px;
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  text-align: center;
  gap: 0;
}

/* ── STATUS LINE ── */
.rbp-rc-bp-status {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #b09878;
  margin: 0 0 14px;
  padding-bottom: 3px;
  border-bottom: 1.5px solid #e8e2d9;
}

/* ── HERO GREETING ── */
.rbp-rc-bp-hero {
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.rbp-rc-bp-hero em {
  font-style: italic;
  color: var(--rbp-brand, #7b2334);
  font-weight: 800;
}

/* ── NARRATIVE ── */
.rbp-rc-bp-narrative {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 0 20px;
}

/* ── DIVIDER ── */
.rbp-rc-bp-hr {
  border: none;
  border-top: 1px solid #f0ebe3;
  margin: 16px 0;
}

/* ── DATA GRID ── */
.rbp-rc-bp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  padding: 2px 0 4px;
}
.rbp-rc-bp-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rbp-rc-bp-cell-label {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .22em;
  color: #b09878;
  text-transform: uppercase;
}
.rbp-rc-bp-cell-val {
  font-size: 14.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}
.rbp-rc-bp-cell-val small {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  font-weight: 400;
  margin-top: 1px;
}
.rbp-rc-bp-paid {
  color: #059669 !important;
  font-weight: 700 !important;
}

/* ── PAYMENT NOTE ── */
.rbp-rc-bp-pay-note {
  margin: 0 0 14px;
  padding: 11px 14px 11px 16px;
  border-left: 3.5px solid #2563eb;
  border-radius: 0 8px 8px 0;
  background: #eff6ff;
  font-size: 13px;
  line-height: 1.6;
  color: #1e3a5f;
}

/* ── EMAIL NOTE ── */
.rbp-rc-bp-email-note {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 0 10px;
  font-style: italic;
}

/* ── SPECIAL REQUESTS ── */
.rbp-rc-bp-requests {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.55;
  margin: 0 0 14px;
}

/* ── BRAND DASHED CARD ── */
.rbp-rc-bp-brand-card {
  border: 1.5px dashed #d1c9be;
  border-radius: 12px;
  padding: 13px 16px;
  margin: 4px 0 14px;
  background: #fafaf8;
}
.rbp-rc-bp-brand-card-name {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 8px;
}
.rbp-rc-bp-brand-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rbp-rc-bp-brand-card-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  line-height: 1.4;
}
.rbp-rc-bp-brand-card-line:hover { color: #7b2334; }
.rbp-rc-bp-brand-card-icon { font-size: 13px; flex-shrink: 0; }

/* ── CTA ACTIONS ── */
.rbp-rc-bp-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ── RIGHT PANEL — STUB ── */
.rbp-rc-bp-boarding-label {
  font-size: 8.5px;
  letter-spacing: .28em;
  font-weight: 800;
  opacity: .7;
  margin: 0 0 10px;
  text-transform: uppercase;
}

/* QR-code style decorative bar under BOARDING PASS label */
.rbp-rc-bp-boarding-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,.4);
  margin: 6px auto 0;
  border-radius: 2px;
}

.rbp-rc-bp-ref {
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 900;
  letter-spacing: .05em;
  margin: 0 0 20px;
  line-height: 1.15;
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

/* ── QR / diamond emblem ── */
.rbp-rc-bp-diamond {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.rbp-rc-bp-diamond-icon {
  font-size: 22px;
  opacity: .75;
}

/* Brand name in stub */
.rbp-rc-bp-brand {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  opacity: .9;
  text-transform: uppercase;
  margin: 0 0 5px;
  line-height: 1.5;
}

/* Contact link in stub */
.rbp-rc-bp-contact-link {
  font-size: 11px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  margin-bottom: 18px;
  display: block;
  transition: color .15s;
}
.rbp-rc-bp-contact-link:hover { color: #fff; }

/* Status badge in stub */
.rbp-rc-bp-stub-status {
  margin: 10px 0 6px;
  padding: 5px 16px;
  border-radius: 24px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(255,255,255,.2);
  color: #fff;
  backdrop-filter: blur(2px);
}

/* Payment info in stub */
.rbp-rc-bp-stub-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: auto;
  padding-top: 14px;
}
.rbp-rc-bp-stub-pay-label {
  font-size: 8.5px;
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.rbp-rc-bp-stub-pay-status {
  font-size: 12.5px;
  font-weight: 800;
}

/* ── MOBILE: stack vertically below 640px ── */
@media (max-width: 640px) {
  .rbp-rc-bp-inner { flex-direction: column; min-height: auto; }
  .rbp-rc-bp-left  { padding: 24px 20px 20px; }
  .rbp-rc-bp-perf  {
    width: 100%; height: 1px;
    background: repeating-linear-gradient(
      to right, #d0cac0 0 6px, transparent 6px 14px
    );
  }
  .rbp-rc-bp-perf::before,
  .rbp-rc-bp-perf::after {
    width: 10px; height: 20px;
    top: 50%; left: auto; transform: translateY(-50%);
    border-radius: 20px 0 0 20px;
  }
  .rbp-rc-bp-perf::before { left: -1px; border-radius: 0 20px 20px 0; }
  .rbp-rc-bp-perf::after  { right: -1px; left: auto; border-radius: 20px 0 0 20px; }
  .rbp-rc-bp-right {
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 20px 24px;
    gap: 12px;
  }
  .rbp-rc-bp-boarding-label::after { display: none; }
  .rbp-rc-bp-stub-pay { margin-top: 0; padding-top: 0; }
  .rbp-rc-bp-grid { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
}

/* ── LAYOUT B: PROFESSIONAL CARD ─────────────────────────────────── */
.rbp-rc-pro-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.1); border: 1px solid #e8e8ee;
}

/* Header */
.rbp-rc-pro-header {
  padding: 32px 36px 28px;
  color: #fff;
}
.rbp-rc-pro-header-inner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
}
.rbp-rc-pro-biz-label {
  font-size: 12px; font-weight: 700; opacity: .75; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 8px;
}
.rbp-rc-pro-hero {
  font-size: clamp(24px, 4vw, 36px); font-weight: 800;
  margin: 0 0 14px; line-height: 1.15;
}
.rbp-rc-pro-ref-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); border-radius: 8px;
  padding: 7px 14px; backdrop-filter: blur(4px);
}
.rbp-rc-pro-ref-label {
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  opacity: .7; text-transform: uppercase;
}
.rbp-rc-pro-ref-val { font-size: 20px; font-weight: 800; letter-spacing: .05em; }

/* Status badge */
.rbp-rc-pro-status-badge {
  padding: 8px 18px; border-radius: 24px; font-size: 13px; font-weight: 700;
  white-space: nowrap; background: rgba(255,255,255,.22); color: #fff;
}
.rbp-rc-confirmed.rbp-rc-pro-status-badge { background: rgba(39,174,96,.3); }
.rbp-rc-pending.rbp-rc-pro-status-badge   { background: rgba(243,156,18,.3); }
.rbp-rc-other.rbp-rc-pro-status-badge     { background: rgba(200,200,200,.2); }

/* Note bar */
.rbp-rc-pro-note-bar {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 36px; background: #f8f9fc;
  border-bottom: 1px solid #eef0f5;
  font-size: 13.5px; color: #3a4060; line-height: 1.55;
}
.rbp-rc-pro-note-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Body grid */
.rbp-rc-pro-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; padding: 0;
}
.rbp-rc-pro-col {
  padding: 28px 36px;
}
.rbp-rc-pro-col:first-child {
  border-right: 1px solid #f0f0f5;
}

.rbp-rc-pro-col-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: #9090a8; margin: 0 0 16px;
  padding-bottom: 10px; border-bottom: 1px solid #f0f0f5;
}
.rbp-rc-pro-col-icon { font-size: 15px; }

/* DL rows */
.rbp-rc-pro-dl { margin: 0; }
.rbp-rc-pro-dl-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 8px 0; border-bottom: 1px solid #f7f7fa;
  font-size: 13.5px;
}
.rbp-rc-pro-dl-row:last-child { border-bottom: none; }
.rbp-rc-pro-dl-row dt {
  color: #888; font-weight: 500; min-width: 90px;
  flex-shrink: 0;
}
.rbp-rc-pro-dl-row dd {
  color: #1a1a2e; font-weight: 600; text-align: right; margin: 0;
  word-break: break-word;
}
.rbp-rc-pro-dl-row dd small {
  display: block; font-size: 11px; color: #aaa; font-weight: 400;
}
.rbp-rc-pro-dl-highlight dt { color: #c0392b; }
.rbp-rc-pro-dl-highlight dd { color: #c0392b; font-size: 15px; }

/* Footer */
.rbp-rc-pro-footer {
  padding: 22px 36px;
  background: #f8f9fc;
  border-top: 1px solid #eef0f5;
  text-align: center;
}
.rbp-rc-pro-footer-biz {
  font-size: 13px; color: #888; margin-bottom: 14px;
}
.rbp-rc-pro-footer-biz strong { color: #333; }
.rbp-rc-pro-footer-biz a { color: #888; text-decoration: none; }
.rbp-rc-pro-footer-biz a:hover { color: #555; }
.rbp-rc-pro-actions {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 14px;
}
.rbp-rc-pro-footer-note {
  font-size: 12px; color: #bbb; margin: 0; line-height: 1.5;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 680px) {
  /* Boarding pass stacks */
  .rbp-rc-bp-inner       { flex-direction: column; }
  .rbp-rc-bp-perf        { width: 100%; height: 2px;
    background: repeating-linear-gradient(to right,#c8bfa8 0 9px,transparent 9px 18px); }
  .rbp-rc-bp-right       { flex: none; padding: 24px 20px; }
  .rbp-rc-bp-left        { padding: 26px 22px; }
  .rbp-rc-bp-grid        { grid-template-columns: 1fr 1fr; gap: 14px 18px; }

  /* Pro card stacks */
  .rbp-rc-pro-header     { padding: 24px 20px 20px; }
  .rbp-rc-pro-header-inner { flex-direction: column; }
  .rbp-rc-pro-note-bar   { padding: 12px 20px; }
  .rbp-rc-pro-body       { grid-template-columns: 1fr; }
  .rbp-rc-pro-col        { padding: 20px 20px; }
  .rbp-rc-pro-col:first-child { border-right: none; border-bottom: 1px solid #f0f0f5; }
  .rbp-rc-pro-footer     { padding: 18px 20px; }
  .rbp-rc-pro-actions    { flex-direction: column; align-items: center; }
  .rbp-rc-btn            { width: 100%; justify-content: center; max-width: 280px; }
}

/* ── v4.7.9 FIX: Boarding Pass — brand info dashed-border card (left panel) ── */
.rbp-rc-bp-brand-card {
  border: 1.5px dashed #c8bfa8;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 16px;
  background: #fff;
}
.rbp-rc-bp-brand-card-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9a8060;
  margin: 0 0 8px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.rbp-rc-bp-brand-card-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rbp-rc-bp-brand-card-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: #2a1a0e;
  text-decoration: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.4;
}
.rbp-rc-bp-brand-card-line:hover { color: #7b2334; }
.rbp-rc-bp-brand-card-icon { font-size: 14px; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   v4.8.2 — View Menu link + Booking Policy consent
   Self-contained, additive. Accent uses --rbp-slot-primary (design token).
   ════════════════════════════════════════════════════════════ */

/* Row holding the Package label (left) and the View Menu link (right) */
.rbp-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

/* "View Menu" link — looks identical whether it's an <a> or a <button> */
.rbp-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 12px;
  border: 1.5px solid var(--rbp-slot-primary, #c0392b);
  border-radius: 999px;
  background: transparent;
  color: var(--rbp-slot-primary, #c0392b);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.rbp-menu-link:hover,
.rbp-menu-link:focus {
  background: var(--rbp-slot-primary, #c0392b);
  color: #fff;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.rbp-menu-link-ico { font-size: 14px; line-height: 1; }

/* ── Menu modal (in-page overlay) ── */
html.rbp-menu-open { overflow: hidden; }
.rbp-menu-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;            /* above sticky headers / chat widgets */
  display: none;                  /* toggled to flex by JS */
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.rbp-menu-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
}
.rbp-menu-modal-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 880px;
  height: 86vh;
  max-height: 920px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  animation: rbpMenuIn .18s ease;
}
@keyframes rbpMenuIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.rbp-menu-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #ececec;
  background: #fafafa;
}
.rbp-menu-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rbp-menu-modal-newtab {
  font-size: 12px;
  font-weight: 600;
  color: var(--rbp-slot-primary, #c0392b);
  text-decoration: none;
  white-space: nowrap;
}
.rbp-menu-modal-newtab:hover { text-decoration: underline; }
.rbp-menu-modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: #efefef;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: #555;
  cursor: pointer;
  transition: background .15s ease;
}
.rbp-menu-modal-close:hover { background: #e0e0e0; color: #000; }
.rbp-menu-modal-body { flex: 1; min-height: 0; background: #fff; }
.rbp-menu-modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Booking Policy consent checkbox ── */
.rbp-policy-field {
  margin: 18px 0 4px;
  padding: 12px 14px;
  background: #f8f9fa;
  border: 1px solid #e6e8eb;
  border-radius: 10px;
}
.rbp-policy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  line-height: 1.5;
}
.rbp-policy-checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--rbp-slot-primary, #c0392b);
  cursor: pointer;
}
.rbp-policy-text { flex: 1; }
.rbp-policy-link {
  color: var(--rbp-slot-primary, #c0392b);
  font-weight: 600;
  text-decoration: underline;
}
.rbp-policy-link:hover { text-decoration: none; }
.rbp-policy-link-plain { font-weight: 600; color: #444; }
.rbp-policy-err {
  margin: 8px 0 0 28px;
  color: #e74c3c;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .rbp-menu-modal-box { height: 92vh; border-radius: 12px; }
  .rbp-menu-modal-title { font-size: 14px; }
}

/* v4.8.x — FULLY BOOKED per-language message subtitle (under the slot's full label) */
.sl-full-msg {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #9a9a9a;
  margin-top: 2px;
  line-height: 1.35;
  white-space: normal;
}

/* ════════════════════════════════════════════════════════════════════════
   v4.8.4 — Multi-restaurant location-first chooser (Step 0) · property-card UI
   booking.com / trip.com inspired: image-forward cards, live search, result
   count, keyboard nav, empty state. Fully backward compatible (single mode
   unaffected — these rules only apply inside .rbp-branch-gate / gate-active).
   ════════════════════════════════════════════════════════════════════════ */
.rbp-booking-wrap.rbp-gate-active .rbp-steps,
.rbp-booking-wrap.rbp-gate-active .rbp-booking-form,
.rbp-booking-wrap.rbp-gate-active .rbp-booking-sidebar,
.rbp-booking-wrap.rbp-gate-active .rbp-live-summary { display:none !important; }
.rbp-branch-gate { display:none; }
.rbp-booking-wrap.rbp-gate-active .rbp-branch-gate { display:block; }

.rbp-branch-gate { padding:4px 2px 6px; }
.rbp-branch-gate-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px; }
.rbp-branch-gate-headings { min-width:0; }
.rbp-branch-gate-title { margin:0 0 4px; font-size:22px; font-weight:800; color:#1f2937; line-height:1.2; letter-spacing:-.01em; }
.rbp-branch-gate-sub   { margin:0; font-size:14px; color:#6b7280; line-height:1.5; }
.rbp-branch-gate-count {
  flex:0 0 auto; align-self:center; font-size:12px; font-weight:700; color:#374151;
  background:#f3f4f6; border:1px solid #e5e7eb; border-radius:999px; padding:5px 11px; white-space:nowrap;
}

/* Live search */
.rbp-branch-search { position:relative; display:flex; align-items:center; margin:0 0 18px; }
.rbp-branch-search-ico { position:absolute; left:14px; font-size:15px; opacity:.6; pointer-events:none; }
.rbp-branch-search-input {
  width:100%; padding:12px 40px; font-size:15px; color:#111827;
  border:1.5px solid #e5e7eb; border-radius:12px; background:#fff;
  transition:border-color .15s, box-shadow .15s; -webkit-appearance:none; appearance:none;
}
.rbp-branch-search-input:focus {
  outline:none; border-color:var(--rbp-slot-primary,#c0392b);
  box-shadow:0 0 0 3px rgba(192,57,43,.18);
}
.rbp-branch-search-clear {
  position:absolute; right:8px; width:26px; height:26px; padding:0; border:0; border-radius:50%;
  background:#eef0f3; color:#6b7280; font-size:18px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .15s, color .15s;
}
.rbp-branch-search-clear:hover { background:#e2e6ea; color:#111827; }

/* Card grid */
.rbp-branch-cards { display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:600px){ .rbp-branch-cards { grid-template-columns:1fr 1fr; } }
@media (min-width:960px){ .rbp-branch-cards { grid-template-columns:1fr 1fr 1fr; } }

/* Property card (image-forward) */
.rbp-branch-card {
  display:flex; flex-direction:column; width:100%; text-align:left; padding:0; overflow:hidden;
  border:1px solid #e5e7eb; border-radius:18px; background:#fff; cursor:pointer;
  transition:border-color .16s, box-shadow .16s, transform .14s;
  -webkit-appearance:none; appearance:none; font:inherit; color:inherit;
}
.rbp-branch-card:hover {
  border-color:transparent; box-shadow:0 14px 34px rgba(15,23,42,.16); transform:translateY(-3px);
}
.rbp-branch-card:focus-visible {
  outline:none; border-color:transparent;
  box-shadow:0 0 0 3px rgba(192,57,43,.45), 0 14px 34px rgba(15,23,42,.16); transform:translateY(-3px);
}
.rbp-branch-card-media {
  position:relative; width:100%; aspect-ratio:16/10; background-size:cover; background-position:center;
  background-color:#eef1f5; display:flex; align-items:center; justify-content:center; transition:transform .35s ease;
}
.rbp-branch-card:hover .rbp-branch-card-media { transform:scale(1.04); }
.rbp-branch-card-media--noimg { background:linear-gradient(135deg, var(--rbp-slot-primary,#c0392b), #1a3c5e); }
.rbp-branch-card-initial { font-size:40px; font-weight:800; color:rgba(255,255,255,.92); line-height:1; text-transform:uppercase; }
.rbp-branch-card-shade { position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.20), rgba(0,0,0,0) 55%); }
.rbp-branch-card-body { display:flex; flex-direction:column; gap:6px; padding:14px 16px 16px; }
.rbp-branch-card-name { font-size:16.5px; font-weight:700; color:#111827; line-height:1.3; }
.rbp-branch-card-addr {
  font-size:13px; color:#6b7280; line-height:1.45;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.rbp-branch-card-pin { margin-right:3px; }
.rbp-branch-card-cta {
  display:inline-flex; align-items:center; gap:6px; margin-top:6px;
  font-size:13.5px; font-weight:700; color:var(--rbp-slot-primary,#c0392b);
}
.rbp-branch-card-arrow { transition:transform .16s; }
.rbp-branch-card:hover .rbp-branch-card-arrow { transform:translateX(4px); }

/* Empty / no-result state */
.rbp-branch-empty {
  margin:6px 0 0; padding:26px 16px; text-align:center; color:#6b7280; font-size:14px;
  background:#f8fafc; border:1px dashed #d8dee6; border-radius:14px;
}

/* Chosen-branch bar (sits above the form once a branch is picked) */
.rbp-chosen-branch-bar {
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  margin:0 0 16px; padding:10px 14px; background:#f8fafc; border:1px solid #e6eaf0; border-radius:12px;
}
.rbp-chosen-branch-name { font-size:14px; font-weight:700; color:#1f2937; }
.rbp-chosen-branch-name::before { content:"📍 "; }
.rbp-change-branch { font-size:13px; font-weight:600; color:var(--rbp-slot-primary,#c0392b); text-decoration:none; white-space:nowrap; }
.rbp-change-branch:hover { text-decoration:underline; }
