/* ===============================
   BELPHY BOOKING SYSTEM
   =============================== */
   
  :root {
  --bbs-primary: #0f2454;
  --bbs-primary-hover: #0b1b40;
  --bbs-primary-light: #d6dced;
  --bbs-primary-bg-soft: #f6f4ec;
  --bbs-primary-gradient: linear-gradient(90deg, #0f2454, #1b3a7a);

  --bbs-accent: #bc9c22;
  --bbs-accent-hover: #a8891d;

  --bbs-danger: #981b21;
  --bbs-danger-hover: #7e161b;

  --bbs-text-main: #111827;
  --bbs-text-muted: #6b7280;
  --bbs-text-soft: #4b5563;
  --bbs-text-inverse: #ffffff;
  --bbs-text-dark: #0f2454;
  --bbs-text-label: #374151;

  --bbs-surface: #ffffff;
  --bbs-surface-soft: #fafaf8;
  --bbs-surface-alt: #f5f5f5;
  --bbs-surface-border: #e7e5df;
  --bbs-surface-border-strong: #e5e5e5;

  --bbs-scrollbar: #d8d3c5;
  --bbs-shadow: 0 12px 30px rgba(15, 36, 84, 0.14);
  --bbs-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.05);
  --bbs-shadow-card: 0 16px 40px rgba(0, 0, 0, 0.08);
  --bbs-shadow-chip: 0 6px 18px rgba(0, 0, 0, 0.04);

  --bbs-border-soft: #d6d3cd;
  --bbs-input-readonly: color-mix(in srgb, var(--bbs-primary) 8%, white);
  --bbs-input-readonly-hover: color-mix(in srgb, var(--bbs-primary) 14%, white);

  --bbs-error: var(--bbs-danger);
  --bbs-error-bg: #fbecee;
  --bbs-info: var(--bbs-primary);
  --bbs-info-bg: #eef2fb;

  --bbs-radius-sm: 10px;
  --bbs-radius-md: 14px;
  --bbs-radius-lg: 18px;
  --bbs-radius-pill: 999px;

  --bbs-booked-pattern: repeating-linear-gradient(
    45deg,
    #fdf2f2,
    #fdf2f2 4px,
    var(--bbs-surface) 4px,
    var(--bbs-surface) 8px
  );
}



/* ===============================
   CALENDAR + SLOT STATES
   =============================== */

/* ---------- Hover ---------- */
.fc .fc-timegrid-slot:hover,
.fc .fc-daygrid-day:hover,
.bbs-time-slot:hover {
  background: color-mix(in srgb, var(--bbs-primary) 20%, transparent);
  cursor: pointer;
}

/* ---------- Past dates / times ---------- */
.fc-day-past,
.fc-timegrid-slot.fc-slot-past,
.bbs-time-slot.past {
 background: var(--bbs-booked-pattern);
 color: var(--bbs-text-main);
  cursor: not-allowed;
}


/* ======================================================
   BELPHY BOOKING MODALS
   ====================================================== */

/* ======================================================
   BASE TYPOGRAPHY
   ====================================================== */

#bbsBookModal,
#bbsDateTimeModal {
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

/* ======================================================
   MAIN BOOKING MODAL 
   ====================================================== */
#bbsBookModal .modal-body {
  position: relative;
  background: var(--bbs-primary-bg-soft);
  overflow: visible;
}

/* =========================================
  STEP ANIMATION
   ========================================= */

/* =========================================
   CONTAINER
========================================= */
.bbs-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 14px 22px;
  background: var(--bbs-primary-bg-soft);
}

/* =========================================
   STEP ITEM
========================================= */
.bbs-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--bbs-text-muted);
  position: relative;
  transition: color 0.3s ease;
}

/* =========================================
   STEP CIRCLE
========================================= */
.bbs-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bbs-primary-light);
  color: var(--bbs-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

/* Active */
.bbs-step-item.is-active .bbs-step-circle {
  background: var(--bbs-primary);
  color: var(--bbs-text-inverse);
  transform: scale(1.1);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bbs-primary) 15%, transparent);
}

/* Completed */
.bbs-step-item.is-complete .bbs-step-circle {
  background: var(--bbs-primary);
  color: transparent;
}

/* Checkmark */
.bbs-step-item.is-complete .bbs-step-circle::after {
  content: "✓";
  position: absolute;
  color: var(--bbs-text-inverse);
  font-size: 14px;
  animation: checkPop .35s ease forwards;
}

@keyframes checkPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* =========================================
   CONNECTOR LINE
========================================= */
.bbs-step-line {
  width: 90px;
  height: 3px;
  background: var(--bbs-primary-light);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

/* Animated gradient fill */
.bbs-step-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--bbs-primary-gradient);
  background-size: 200% 100%;
  animation: gradientShift 2s linear infinite;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
}

@keyframes gradientShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.bbs-step-line.is-filled::after {
  width: 100%;
}

/* =========================================
   STEP CONTENT SLIDE ANIMATION
========================================= */

.bbs-step {
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.35s ease;
  position: absolute;
  width: 100%;
}

.bbs-step.is-visible {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.bbs-step.is-exit-left {
  transform: translateX(-20px);
  opacity: 0;
}

.bbs-step.is-exit-right {
  transform: translateX(20px);
  opacity: 0;
}

/* ======================================================
   SUMMARY ICONS — SVG 
   ====================================================== */

#bbsBookModal .bbs-summary-icon svg,
#bbsBookModal .bbs-summary-meta-icon svg,
#bbsBookModal .bbs-error-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Stroke-based icons */
#bbsBookModal .bbs-summary-icon svg [stroke],
#bbsBookModal .bbs-summary-meta-icon svg [stroke],
#bbsBookModal .bbs-error-icon svg [stroke] {
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Fill-based icons (map-pin, etc) */
#bbsBookModal .bbs-summary-icon svg [fill],
#bbsBookModal .bbs-summary-meta-icon svg [fill],
#bbsBookModal .bbs-error-icon svg [fill] {
  fill: currentColor;
}

/* ======================================================
   LEFT COLUMN — ACCORDION (MAIN MODAL)
   ====================================================== */

#bbsBookModal .bbs-accordion {
  background: var(--bbs-surface);
  border: 1px solid var(--bbs-surface-border);
  border-radius: 16px;
  overflow: hidden;
}

#bbsBookModal .bbs-accordion-item {
  border: 0;
}

#bbsBookModal .bbs-accordion-item + .bbs-accordion-item {
  border-top: 1px solid #e5e7eb;
}

#bbsBookModal .bbs-accordion-header {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bbs-text-main);
  cursor: pointer;
  background: transparent;
  border: 0;
}

#bbsBookModal .bbs-accordion-body {
  display: none;
  padding: 0 20px 20px;
}

#bbsBookModal .bbs-accordion-item.is-open .bbs-accordion-body {
  display: block;
}

/* Chevron */
#bbsBookModal .bbs-accordion-icon {
  width: 14px;
  height: 14px;
  position: relative;
}

#bbsBookModal .bbs-accordion-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--bbs-text-main);
  border-bottom: 2px solid var(--bbs-text-main);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

#bbsBookModal .bbs-accordion-item.is-open
.bbs-accordion-icon::before {
  transform: rotate(45deg);
}

/* =========================================
   LEFT COLUMN — DESCRIPTION & INPUT FIELDS
   ========================================= */

/* Field wrapper */
#bbsBookModal .bbs-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px; /* label ↔ input spacing */
}

/* Field spacing */
#bbsBookModal .bbs-field-group + .bbs-field-group {
  margin-top: 16px;
}

/* Labels */
#bbsBookModal .bbs-field-group > label,
#bbsBookModal .bbs-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bbs-text-label);
  margin: 0;
}

/* Optional label icon */
#bbsBookModal .bbs-field-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

/* =========================================
   INPUT STATES — MAIN BOOKING MODAL
   ========================================= */

/* Base inputs */
#bbsBookModal input,
#bbsBookModal textarea {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  transition: background-color 0.15s ease,
              border-color 0.15s ease,
              box-shadow 0.15s ease;
}

/* Readonly inputs (date/time pickers) */
#bbsBookModal input[readonly] {
  background-color: var(--bbs-input-readonly);
  border-color: var(--bbs-input-readonly);
  cursor: text;
}

#bbsBookModal input[readonly]:hover,
#bbsBookModal input[readonly]:focus {
  background-color: var(--bbs-input-readonly-hover);
  border-color: var(--bbs-input-readonly-hover);
}

#bbsBookModal input[readonly]:focus {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bbs-primary) 25%, transparent);
}

/* Disabled inputs */
#bbsBookModal input:disabled,
#bbsBookModal textarea:disabled {
  background-color: var(--bbs-surface);
  border-color: var(--bbs-surface-border);
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

/* =========================================
   DESCRIPTION FIELDS — TITLE + TEXTAREA
   ========================================= */

/* Base (idle) */
#bbsBookModal #bbsHotel,
#bbsBookModal #bbsHotelDetails {
  background-color: var(--bbs-input-readonly);
  border-color: var(--bbs-input-readonly);
}

/* Hover */
#bbsBookModal #bbsHotel:hover,
#bbsBookModal #bbsHotelDetails:hover {
  background-color: var(--bbs-input-readonly-hover);
  border-color: var(--bbs-input-readonly-hover);
}

/* Focus */
#bbsBookModal #bbsHotel:focus,
#bbsBookModal #bbsHotelDetails:focus {
  background-color: var(--bbs-input-readonly-hover);
  border-color: var(--bbs-input-readonly-hover);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bbs-primary) 25%, transparent);
  outline: none;
}

/* =========================================
   TEXTAREA — MATCH INPUT HEIGHT 
   ========================================= */

#bbsBookModal #bbsMeetingDescription {
  height: 48px;          
  min-height: 48px;     
  resize: none;          
  overflow-y: hidden;   
}

/* Editable inputs (default) */
#bbsBookModal input:not([readonly]),
#bbsBookModal textarea {
  background-color: var(--bbs-surface);
  border-color: var(--bbs-surface-border);
}




/* ======================================================
   FLOATING DATE & TIME PICKER 
   ====================================================== */
    #bbsDateTimePicker {
      z-index: 100000 !important;
    }
/* Container */
.bbs-picker-popover {
  position: absolute;
  z-index: 2000;
  background: var(--bbs-surface);
  border-radius: 12px;
  box-shadow: var(--bbs-shadow);
  display: none;
  padding: 10px 12px;
  transform-origin: top left;
  animation: pickerIn 0.15s ease;
}

/* Layout */
.bbs-picker-popover .bbs-popup-picker {
  display: grid;
  grid-template-columns: 200px 180px; /* calendar | slots */
  gap: 8px;
  align-items: flex-start;
}

/* ======================================================
   FULLCALENDAR PANEL
   ====================================================== */

.bbs-picker-popover #bbsPopupCalendar {
  font-size: 11px;
}

/* Kill forced heights */
.bbs-picker-popover .fc,
.bbs-picker-popover .fc-scroller,
.bbs-picker-popover .fc-scroller-harness,
.bbs-picker-popover table {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Remove grid borders */
.bbs-picker-popover .fc-scrollgrid,
.bbs-picker-popover th,
.bbs-picker-popover td {
  border: none !important;
}

/* Compact rows */
.bbs-picker-popover .fc-daygrid-row {
  min-height: 0 !important;
}

.bbs-picker-popover .fc-daygrid-day-frame {
  min-height: 28px !important;
  padding: 1 !important;
}


/* Weekdays */
.bbs-picker-popover .fc-col-header-cell {
  padding: 2px 0 !important;
  font-size: 12px;
}

/* Center dates */
.bbs-picker-popover .fc-daygrid-day-top {
  display: flex !important;
  justify-content: center !important;
  padding: 0 !important;
}

.bbs-picker-popover .fc-daygrid-day-number {
  font-size: 12px;
  font-weight: 500;
  line-height: 2;
  padding: 0 1px !important;
}

/* Remove background/event padding */
.bbs-picker-popover .fc-daygrid-day-bg,
.bbs-picker-popover .fc-daygrid-day-events,
.bbs-picker-popover .fc-scrollgrid-sync-inner {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}


/* ======================================================
   OPENING ANIMATION
   ====================================================== */
@keyframes pickerIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


/* ======================================================
   FLOATING DATE & TIME PICKER PANEL ALIGNMENT
   ====================================================== */

/* === PICKER CONTAINER === */
.bbs-picker-popover {
  padding: 8px 10px;
  background: var(--bbs-surface);
  border-radius: 12px;
  box-shadow: var(--bbs-shadow);
}

/* === CORE GRID LAYOUT === */
.bbs-picker-popover .bbs-popup-picker {
  display: grid;
  grid-template-columns: 260px 0px;
  gap: 3px;
  align-items: flex-start;
}

/* ======================================================
   CALENDAR COLUMN (FULLCALENDAR)
   ====================================================== */

.bbs-picker-popover .bbs-date-panel,
.bbs-picker-popover #bbsPopupCalendar {
  width: 260px;
  max-width: 260px;
}

/* LOCK HEADER HEIGHT */
.bbs-picker-popover .fc-header-toolbar {
  margin: 0 !important;
  padding: 0 !important;
  height: 25px !important;
  
}
/* Calendar month title */
.bbs-picker-popover .fc-toolbar-title {
  background: transparent !important;
  color: var(--bbs-text-dark) !important;
  font-size:15px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* In case the red is applied to the container */
.bbs-picker-popover .fc-toolbar-chunk {
  background: transparent !important;
}

/* Sun–Sat row */
.bbs-picker-popover .fc-col-header {
  height: 25px !important;
}

.bbs-picker-popover .fc-col-header-cell {
  padding: 0 !important;
  line-height: 25px !important;
}

/* REMOVE SCROLLGRID HEADER GHOST SPACE */
.bbs-picker-popover
.fc-scrollgrid-section-header,
.bbs-picker-popover
.fc-scrollgrid-section-header * {
  height: 0 !important;
  min-height: 25px !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Normalize day numbers */
.bbs-picker-popover .fc-daygrid-day-number {
  line-height: 2 !important;
}


/* ======================================================
   RIGHT COLUMN — SUMMARY (MAIN MODAL)
   ====================================================== */

#bbsBookModal .col-md-5 > .card {
  border-radius: 16px;
  border: 1px solid var(--bbs-surface-border);
}

/* ===============================
   SUMMARY BASE
================================ */

#bbsBookModal .bbs-summary {
  font-size: 14px;
  color: var(--bbs-text-main);
}

/* ===============================
   SUMMARY ROWS (Room / Time / Price)
================================ */

#bbsBookModal .bbs-summary-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

#bbsBookModal .bbs-summary-icon {
  width: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

#bbsBookModal .bbs-summary-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#bbsBookModal .bbs-summary-primary {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}

#bbsBookModal .bbs-summary-secondary {
  font-size: 13px;
color: var(--bbs-text-muted);
}

#bbsBookModal .bbs-summary-sep {
  margin: 0 6px;
color: var(--bbs-text-muted);
}

/* ===============================
   META (Hotel / Description)
================================ */

#bbsBookModal .bbs-summary-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

#bbsBookModal .bbs-summary-meta-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

#bbsBookModal .bbs-summary-meta-icon {
  width: 18px;
  min-width: 18px;
  margin-top: 2px;
}

#bbsBookModal .bbs-summary-meta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#bbsBookModal .bbs-summary-meta-label {
  font-size: 12px;
  color: var(--bbs-text-muted);
  font-weight: 500;
  line-height: 1.3;
}

#bbsBookModal .bbs-summary-meta-value {
  font-size: 14px;
  color: var(--bbs-text-main);
  line-height: 1.5;
  word-break: break-word;
  white-space: normal;
}

/* Hide empty meta rows cleanly */
#bbsBookModal .bbs-summary-meta-row.is-empty {
  display: none !important;
}

/* ===============================
   MESSAGE PANEL (ERROR + INFO)
================================ */

#bbsErrorPanel {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}

/* Error state */
#bbsErrorPanel.is-error {
  background: var(--bbs-error-bg);
  color: var(--bbs-error);
}

/* Info state */
#bbsErrorPanel.is-info {
  background: var(--bbs-info-bg);
  color: var(--bbs-info);
}

#bbsErrorPanel .bbs-error-icon {
  font-size: 16px;
  line-height: 1;
}

#bbsErrorPanel .bbs-error-text {
  flex: 1;
}


/* ======================================================
   SUMMARY ICONS 
   ====================================================== */

#bbsBookModal .bbs-summary-icon svg,
#bbsBookModal .bbs-summary-meta-icon svg,
#bbsBookModal .bbs-error-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon containers */
#bbsBookModal .bbs-summary-icon,
#bbsBookModal .bbs-summary-meta-icon,
#bbsBookModal .bbs-error-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* =========================================
   ERROR STATE — INPUT HIGHLIGHTING
   ========================================= */

#bbsBookModal .bbs-has-error {
  border-color: var(--bbs-error) !important;
  background-color: color-mix(in srgb, var(--bbs-error) 10%, white);
}

#bbsBookModal .bbs-has-error:focus {
  border-color: var(--bbs-error);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--bbs-error) 25%, transparent);
}

/* =========================================
   STEP 3 — CANCELLATION POLICY TIMELINE
   ========================================= */

.bbs-policy-timeline {
  margin-top: 6px;
}

.bbs-policy-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding-left: 4px;
  margin-bottom: 14px;
}

/* Vertical line */
.bbs-policy-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: -14px;
  width: 2px;
  background: var(--bbs-border-soft);
}

.bbs-policy-item:last-child::before {
  display: none;
}

/* Dot */
.bbs-policy-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--bbs-border-soft);
  background: var(--bbs-surface);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Active / first state */
.bbs-policy-item.is-active .bbs-policy-dot {
background: var(--bbs-primary);
border-color: var(--bbs-primary);
color: var(--bbs-primary);
}

/* Text */
.bbs-policy-content {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.bbs-policy-content strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--bbs-text-main);
}

.bbs-policy-content span {
  font-size: 14px;
  font-weight: 600;
  color: var(--bbs-text-main);
}

/* Note */
.bbs-policy-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--bbs-text-muted);
}

/* Align cancellation timeline with accordion header text */
#bbsBookModal .bbs-policy-timeline {
  margin-left: 15px;   /* cancel accordion-body padding */
  padding-left: 20px;   /* re-add internally for dots */
}
.bbs-policy-item {
  padding-left: 0;
}

.bbs-policy-item::before {
  left: 6px;
}


/* De-emphasize inactive policy items */
.bbs-policy-item:not(.is-active) {
  opacity: 0.75;
}

/* Active item emphasis */
.bbs-policy-item.is-active strong {
  color: var(--bbs-primary);
}

/* =========================================
       STEP 4 — THANK YOU SCREEN
    ========================================= */
.bbs-success-screen {
  text-align: center;
  padding: 50px 24px;
  max-width: 560px;
  margin: 0 auto;
}

.bbs-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bbs-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 18px;
}

.bbs-success-screen h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--bbs-primary);
  margin-bottom: 12px;
}

.bbs-success-screen p {
  color: var(--bbs-muted);
  font-size: 16px;
  line-height: 1.6;
}

.bbs-success-reference {
  color: var(--bbs-text) !important;
  margin: 18px 0;
}   
    
/* =========================================
   FORCE BUTTON THEME COLORS
========================================= */

/* =========================================
   FIX BOOTSTRAP BUTTON VARIABLES
========================================= */

/* =========================================
   FORCE BOOKING BUTTON STYLES (BS3/4 SAFE)
========================================= */

#bbsBookModal .btn-primary {
  background-color: var(--bbs-primary) !important;
  border-color: var(--bbs-primary) !important;
  color: var(--bbs-text-inverse) !important;
}

#bbsBookModal .btn-primary:hover,
#bbsBookModal .btn-primary:focus,
#bbsBookModal .btn-primary:active {
  background-color: var(--bbs-primary-hover) !important;
  border-color: var(--bbs-primary-hover) !important;
  color: var(--bbs-text-inverse) !important;
}

#bbsBookModal .btn-success {
  background-color: var(--bbs-accent) !important;
  border-color: var(--bbs-accent) !important;
  color: var(--bbs-text-inverse) !important;
}

#bbsBookModal .btn-success:hover,
#bbsBookModal .btn-success:focus,
#bbsBookModal .btn-success:active {
  background-color: var(--bbs-accent-hover) !important;
  border-color: var(--bbs-accent-hover) !important;
  color: var(--bbs-text-inverse) !important;
}

#bbsBookModal .btn-secondary {
  background-color: transparent !important;
  border: 1px solid var(--bbs-primary) !important;
  color: var(--bbs-primary) !important;
}

#bbsBookModal .btn-secondary:hover {
  background-color: var(--bbs-primary) !important;
  color: var(--bbs-text-inverse) !important;
}
/* =========================================
   STEP 2 — GUEST PICKER
========================================= */

#bbsBookModal .bbs-guest-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#bbsBookModal .bbs-guest-inline__label {
  flex: 0 0 120px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bbs-text-main);
}

#bbsBookModal .bbs-guest-inline--sub .bbs-guest-inline__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--bbs-text-muted);
}

#bbsBookModal .bbs-guest-stepper {
  flex: 1 1 auto;
  max-width: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid var(--bbs-surface-border);
  border-radius: 8px;
  background: var(--bbs-surface);
}

/* buttons */
#bbsBookModal .bbs-step-btn {
  width: 44px !important;
  height: 32px !important;
  min-width: 44px !important;
  border: 1px solid var(--bbs-primary) !important;
  background: var(--bbs-surface) !important;
  color: var(--bbs-primary) !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: all 0.2s ease !important;
}

#bbsBookModal .bbs-step-btn:hover,
#bbsBookModal .bbs-step-btn:focus,
#bbsBookModal .bbs-step-btn:active {
  background: var(--bbs-accent) !important;
  border-color: var(--bbs-accent) !important;
  color: var(--bbs-text-inverse) !important;
  box-shadow: none !important;
  outline: none !important;
}

#bbsBookModal .bbs-step-btn:disabled,
#bbsBookModal .bbs-step-btn[disabled] {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background: var(--bbs-surface-soft) !important;
  border-color: var(--bbs-surface-border) !important;
  color: var(--bbs-text-muted) !important;
}

/* visible number box */
#bbsBookModal .bbs-step-value {
  width: 100% !important;
  max-width: 90px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--bbs-input-readonly) !important;
  color: var(--bbs-text-main) !important;
  -webkit-text-fill-color: var(--bbs-text-main) !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 38px !important;
  padding: 0 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  box-shadow: none !important;
}

#bbsBookModal .bbs-step-value[readonly] {
  color: var(--bbs-text-main) !important;
  -webkit-text-fill-color: var(--bbs-text-main) !important;
  opacity: 1 !important;
}


@media (max-width: 768px) {
  #bbsBookModal .bbs-guest-inline {
    flex-direction: column;
    align-items: stretch;
  }

  #bbsBookModal .bbs-guest-inline__label {
    flex: 0 0 auto;
  }

  #bbsBookModal .bbs-guest-stepper {
    max-width: 100%;
  }
}

    #bbsChildAgeSelectorsWrap{
      margin-top: 8px;
    }
    
    #bbsChildAgeSelectors{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:12px;
    }
    
    .bbs-child-age-item select{
      width:100%;
      min-height:46px;
      border-radius:8px;
    }
    
    #bbsChildAgeSelectorsWrap{
      margin-top: 14px;
    }
    
    .bbs-child-age-selectors{
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px 18px;
    }
    
    .bbs-child-age-item{
      display: grid;
      grid-template-columns: 140px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      min-width: 0;
    }
    
    .bbs-child-age-label{
      margin: 0;
      font-size: 15px;
      line-height: 1.3;
      font-weight: 600;
      color: var(--bbs-text-soft);
    }
    
    bbs-child-age-select{
      width: 100%;
      min-width: 0;
      font-size: 13px;
      color: var(--bbs-text-main);
      background: var(--bbs-surface);
      border-color: var(--bbs-surface-border);
    }
    .bbs-child-age-select option{
      font-size: 13px;
    }
    
    .bbs-child-age-select.is-invalid{
      border-color: var(--bbs-error);
    }
    
    @media (max-width: 767.98px){
      .bbs-child-age-selectors{
        grid-template-columns: 1fr;
      }
    
      .bbs-child-age-item{
        grid-template-columns: 1fr;
        gap: 8px;
      }
    }
    
    @media (max-width:767px){
      #bbsChildAgeSelectors{
        grid-template-columns:1fr;
      }
    }

/* =========================================
       STEP 2 — PERSONAL INFORMATION INPUTS
    ========================================= */
    #bbsBookModal #bbsFirstName,
    #bbsBookModal #bbsLastName,
    #bbsBookModal #bbsUserPhone,
    #bbsBookModal #bbsUserEmail {
      background-color: var(--bbs-input-readonly);
      border-color: var(--bbs-input-readonly);
      color: var(--bbs-text-main);
    }
    
    #bbsBookModal #bbsFirstName::placeholder,
    #bbsBookModal #bbsLastName::placeholder,
    #bbsBookModal #bbsUserPhone::placeholder,
    #bbsBookModal #bbsUserEmail::placeholder {
      color: var(--bbs-text-muted);
      opacity: 1;
    }
    
    #bbsBookModal #bbsFirstName:hover,
    #bbsBookModal #bbsLastName:hover,
    #bbsBookModal #bbsUserPhone:hover,
    #bbsBookModal #bbsUserEmail:hover {
      background-color: var(--bbs-input-readonly-hover);
      border-color: var(--bbs-input-readonly-hover);
    }
    
    #bbsBookModal #bbsFirstName:focus,
    #bbsBookModal #bbsLastName:focus,
    #bbsBookModal #bbsUserPhone:focus,
    #bbsBookModal #bbsUserEmail:focus {
      background-color: var(--bbs-input-readonly-hover);
      border-color: var(--bbs-input-readonly-hover);
      box-shadow: 0 0 0 2px color-mix(in srgb, var(--bbs-primary) 25%, transparent);
      outline: none;
    }
    
    
    /* =========================================
       PHONE COUNTRY CODE FIELD
    ========================================= */
    
    #bbsBookModal .iti {
      position: relative;
      width: 100%;
      display: block;
    }
    
    #bbsBookModal .iti__flag-container {
      border-radius: 8px 0 0 8px;
    }
    
    #bbsBookModal .iti__selected-flag {
      padding-left: 14px;
      padding-right: 10px;
      border-radius: 8px 0 0 8px;
      background: transparent;
    }
    
    #bbsBookModal .iti__selected-flag:hover,
    #bbsBookModal .iti__selected-flag:focus {
      background: color-mix(in srgb, var(--bbs-primary) 8%, white);
    }
    
    #bbsBookModal .iti input#bbsUserPhone {
      width: 100%;
      height: 54px;
      padding-left: 98px !important;
      background-color: var(--bbs-input-readonly);
      border-color: var(--bbs-input-readonly);
      color: var(--bbs-text-main);
    }
    
    #bbsBookModal .iti input#bbsUserPhone:hover,
    #bbsBookModal .iti input#bbsUserPhone:focus {
      background-color: var(--bbs-input-readonly-hover);
      border-color: var(--bbs-input-readonly-hover);
    }
    
    #bbsBookModal .iti input#bbsUserPhone:focus {
      box-shadow: 0 0 0 2px color-mix(in srgb, var(--bbs-primary) 25%, transparent);
      outline: none;
    }
    
    #bbsBookModal .iti__country-list {
      width: 100% !important;
      max-width: 360px !important;
      max-height: 210px !important;
      overflow-y: auto !important;
      background: #ffffff !important;
      border: 1px solid var(--bbs-surface-border) !important;
      border-radius: 10px;
      box-shadow: var(--bbs-shadow);
    }
    
    #bbsBookModal .iti__country {
      padding: 7px 12px !important;
      font-size: 14px !important;
      line-height: 1.35 !important;
    }
    
    #bbsBookModal .iti__dial-code {
      color: var(--bbs-text-muted) !important;
    }
    
    #bbsBookModal .iti__search-input {
      height: 42px !important;
      font-size: 14px !important;
    }
        
   /* =========================================
   STEP 2 — TERMS CHECKBOX
    ========================================= */
    .bbs-terms-check {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
      font-size: 14px;
      color: var(--bbs-text-muted);
      line-height: 1.4;
      position: relative;
    }
    
    /* kill any theme-added pseudo ticks/icons on label */
    .bbs-terms-check::before,
    .bbs-terms-check::after,
    .bbs-terms-check span::before,
    .bbs-terms-check span::after {
      content: none !important;
      display: none !important;
    }
    
    .bbs-terms-check input[type="checkbox"] {
      appearance: none !important;
      -webkit-appearance: none !important;
      -moz-appearance: none !important;
      width: 18px;
      height: 18px;
      min-width: 18px;
      border: 1px solid var(--bbs-text-muted);
      border-radius: 2px;
      background: var(--bbs-surface);
      display: inline-grid;
      place-items: center;
      margin: 0;
      padding: 0;
      box-shadow: none !important;
      outline: none;
      cursor: pointer;
      position: relative;
    }
    
    /* kill any browser/theme checkbox pseudo */
    .bbs-terms-check input[type="checkbox"]::after {
      content: none !important;
      display: none !important;
    }
    
    .bbs-terms-check input[type="checkbox"]::before {
      content: "";
      width: 10px;
      height: 10px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      transform-origin: center;
      transition: transform 0.15s ease-in-out;
      clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
      background: var(--bbs-primary);
    }
    
    .bbs-terms-check input[type="checkbox"]:checked::before {
      transform: translate(-50%, -50%) scale(1);
    }
    
    .bbs-terms-check a {
      color: var(--bbs-primary);
      text-decoration: underline;
    }
    
    .bbs-terms-check a:hover {
      color: var(--bbs-primary-hover);
    }
    
    /* =========================================
       POPUP CALENDAR — SELECTED DATE RANGE
    ========================================= */
    .bbs-picker-popover .fc-daygrid-day.bbs-selected-range {
      background: color-mix(in srgb, var(--bbs-accent) 18%, white) !important;
    }
    
    .bbs-picker-popover .fc-daygrid-day.bbs-selected-range .fc-daygrid-day-number {
      color: var(--bbs-text-main) !important;
      font-weight: 600;
    }
    
    /* Start + end dates stronger */
    .bbs-picker-popover .fc-daygrid-day.bbs-selected-edge {
      background: var(--bbs-accent) !important;
    }
    
    .bbs-picker-popover .fc-daygrid-day.bbs-selected-edge .fc-daygrid-day-number {
      color: var(--bbs-text-inverse) !important;
      font-weight: 700;
      position: relative;
      z-index: 2;
    }
    
    .bbs-picker-popover .fc-daygrid-day.bbs-preview-range {
      background: color-mix(in srgb, var(--bbs-accent) 18%, white) !important;
    }
    
    .bbs-picker-popover .fc-daygrid-day.bbs-preview-edge {
      background: var(--bbs-accent) !important;
      color: var(--bbs-text-inverse) !important;
    }
    
    .bbs-picker-popover .fc-daygrid-day.bbs-selected-range {
      background: color-mix(in srgb, var(--bbs-accent) 22%, white) !important;
    }
    
    .bbs-picker-popover .fc-daygrid-day.bbs-selected-edge {
      background: var(--bbs-accent) !important;
      color: var(--bbs-text-inverse) !important;
    }
    
   /* ======================================================
   BELPHY TOURS — SINGLE TOUR STYLES
   ====================================================== */

    /* =========================================
       TOUR CTA CARD
    ========================================= */
    
    .bbs-tour-cta-card {
      background: var(--bbs-surface);
      border: 1px solid var(--bbs-surface-border-strong);
      border-radius: var(--bbs-radius-lg);
      overflow: hidden;
      box-shadow: var(--bbs-shadow-card);
      position: relative;
      max-width: 390px;
      width: 100%;
    }
    
    .bbs-tour-cta-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 4px;
      background: var(--bbs-accent);
      z-index: 2;
    }
    
    .bbs-tour-cta-card .bbs-card-header {
      background: var(--bbs-danger) !important;
      padding: 22px 22px 18px !important;
      border-bottom: none !important;
    }
    
    .bbs-tour-cta-card .bbs-card-body {
      background: var(--bbs-surface) !important;
      padding: 26px 22px 28px !important;
    }
    
    .bbs-tour-price-wrap {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 8px;
      flex-wrap: nowrap;
      width: 100%;
      text-align: center;
    }
    
    .bbs-tour-cta-card .bbs-card-header .label {
      font-size: 16px;
      font-weight: 600;
      color: var(--bbs-text-inverse) !important;
      opacity: 0.95;
      margin-right: 2px;
    }
    
    .bbs-tour-cta-card .bbs-card-header .price {
      font-size: clamp(28px, 2.4vw, 34px);
      line-height: 1;
      font-weight: 700;
      color: var(--bbs-text-inverse) !important;
      white-space: nowrap;
    }
    
    .bbs-price-suffix {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: rgba(255,255,255,0.92);
      white-space: nowrap;
    }
    
    .bbs-book-now-wrap {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px 0 5px;
    }
    
    .bbs-book-now-btn {
      min-width: 170px;
      padding: 14px 24px;
      border-radius: 12px;
      background: var(--bbs-primary) !important;
      border: 1px solid var(--bbs-primary) !important;
      color: var(--bbs-text-inverse) !important;
      font-size: 16px;
      font-weight: 700;
      box-shadow: 0 8px 18px rgba(0,0,0,0.12);
      transition: all 0.25s ease;
    }
    
    .bbs-book-now-btn:hover {
      background: var(--bbs-danger) !important;
      border-color: var(--bbs-danger) !important;
      color: var(--bbs-text-inverse) !important;
      transform: translateY(-1px);
    }
    
    .modal-open .bbs-right-column-sticky {
      position: static !important;
      top: auto !important;
    }
    
    /* =========================================
       DESTINATION SUBTITLE
    ========================================= */
    
    .bbs-tour-destination-subtitle {
      display: inline-block;
      margin-bottom: 18px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--bbs-accent);
    }
    
    /* =========================================
       QUICK FACTS
    ========================================= */
    
    .bbs-tour-quick-facts {
      display: flex;
      flex-wrap: wrap;
      row-gap: 14px;
      column-gap: 12px;
      margin: 0 0 50px;
    }
    
    .bbs-tour-fact {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 40px;
      padding: 8px 14px;
      background: var(--bbs-surface);
      border: 1px solid color-mix(in srgb, var(--bbs-surface-border) 85%, white);
      border-radius: var(--bbs-radius-pill);
      box-shadow: none;
    }
    
    .bbs-tour-fact-label {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--bbs-accent);
    }
    
    .bbs-tour-fact-value {
      font-size: 15px;
      font-weight: 600;
      color: var(--bbs-text-dark);
    }
    
    /* =========================================
       OVERVIEW
    ========================================= */
    
    .bbs-tour-overview {
      max-width: 720px;
      color: var(--bbs-text-soft);
      font-size: 17px;
      line-height: 1.9;
    }
    
    .bbs-tour-overview p {
      margin: 0 0 12px;
    }
    
    .bbs-tour-overview p:last-child {
      margin-bottom: 0;
    }
    
    .bbs-tour-overview strong,
    .bbs-tour-overview b {
      color: var(--bbs-text-dark);
      font-weight: 700;
    }
    
    .bbs-tour-overview ul,
    .bbs-tour-overview ol {
      margin: 0 0 14px 18px;
      padding: 0;
    }
    
    .bbs-tour-overview li {
      margin-bottom: 05px;
    }
    
    .bbs-tour-overview a {
      color: var(--bbs-accent);
      text-decoration: none;
    }
    
    .bbs-tour-overview a:hover {
      text-decoration: underline;
    }
    
    /* =========================================
       HIGHLIGHTS
    ========================================= */
    
    .bbs-tour-highlights {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin: 10px 0 4px;
    }
    
    .bbs-tour-highlight {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-height: 54px;
      padding: 6px 10px;
      background: var(--bbs-surface);
      border: 1px solid var(--bbs-surface-border);
      border-radius: var(--bbs-radius-md);
      box-shadow: none;
    }
    
    .bbs-tour-highlight-icon {
      width: 22px;
      height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    
    .bbs-tour-highlight-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
    
    .bbs-tour-highlight-label {
      font-size: 15px;
      font-weight: 600;
      line-height: 1.35;
      color: var(--bbs-text-dark);
    }
    
    /* =========================================
       INCLUSIONS / EXCLUSIONS
    ========================================= */
    
    .bbs-tour-list ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    
    .bbs-tour-list li {
      position: relative;
      margin-bottom: 0;
      padding-left: 30px;
      color: var(--bbs-text-soft);
      font-size: 16px;
      line-height: 1.85;
    }
    
    /* Gold tick for inclusions */
    .bbs-tour-inclusions li::before,
    .bbs-tour-inclusions li::after {
      content: "";
      position: absolute;
      background: var(--bbs-accent);
      border-radius: 2px;
      transform-origin: left center;
    }
    
    .bbs-tour-inclusions li::before {
      left: 2px;
      top: 16px;
      width: 6px;
      height: 2px;
      transform: rotate(45deg);
    }
    
    .bbs-tour-inclusions li::after {
      left: 6px;
      top: 19px;
      width: 12px;
      height: 2px;
      transform: rotate(-45deg);
    }
    
    /* Thin red X for exclusions */
    .bbs-tour-exclusions li::before,
    .bbs-tour-exclusions li::after {
      content: "";
      position: absolute;
      left: 1px;
      top: 14px;
      width: 12px;
      height: 2px;
      background: var(--bbs-danger);
      border-radius: 2px;
      transform-origin: center;
    }
    
    .bbs-tour-exclusions li::before {
      transform: rotate(45deg);
    }
    
    .bbs-tour-exclusions li::after {
      transform: rotate(-45deg);
    }
    
    /* =========================================
       GALLERY
    ========================================= */
    
    .bbs-tour-gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 8px;
    }
    
    .bbs-tour-gallery-item {
      display: block;
      border-radius: 8px;
      overflow: hidden;
      background: var(--bbs-surface-soft);
      text-decoration: none;
    }
    
    .bbs-tour-gallery-item img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 5.7;
      object-fit: cover;
      transition: transform 0.35s ease;
    }
    
    .bbs-tour-gallery-item:hover img {
      transform: scale(1.03);
    }
    
    /* =========================================
       ITINERARY 
    ========================================= */
    
    .bbs-tour-itinerary {
      margin-top: 24px;
    }
    
    .bbs-tour-itinerary,
    .bbs-tour-itinerary * {
      box-sizing: border-box;
    }
    
    .bbs-tour-itinerary {
      display: flex;
      flex-direction: column;
      gap: 16px;
      border-bottom: 1px solid var(--bbs-surface-border);
    }
    
    .bbs-itinerary-item {
      background: #f3f4f7 !important;
      border: none !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      overflow: hidden !important;
      position: relative !important;
    }
    
    .bbs-itinerary-item::before,
    .bbs-itinerary-item::after {
      display: none !important;
      content: none !important;
    }
    
    .bbs-itinerary-toggle {
      width: 100% !important;
      min-height: 78px !important;
      border: 0 !important;
      outline: 0 !important;
      box-shadow: none !important;
      background: transparent !important;
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      gap: 20px !important;
      padding: 0 28px !important;
      text-align: left !important;
      cursor: pointer !important;
      border-radius: 0 !important;
      position: relative !important;
    }
    
    .bbs-itinerary-toggle:hover,
    .bbs-itinerary-toggle:focus,
    .bbs-itinerary-toggle.is-open {
      background: transparent !important;
      border: 0 !important;
      box-shadow: none !important;
      outline: 0 !important;
    }
    
    .bbs-itinerary-heading {
      display: block !important;
      flex: 1 1 auto !important;
      min-width: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    
    .bbs-itinerary-day {
      display: none !important;
    }
    
    .bbs-itinerary-title {
      display: block !important;
      margin: 0 !important;
      padding: 0 !important;
      font-size: 18px !important;
      font-weight: 600 !important;
      line-height: 1.4 !important;
      color: var(--bbs-text-dark) !important;
      background: transparent !important;
      border: 0 !important;
    }
    
    .bbs-itinerary-toggle.is-open .bbs-itinerary-title {
      color: var(--bbs-danger) !important;
    }
    
    .bbs-itinerary-icon {
      width: 18px !important;
      height: 18px !important;
      min-width: 18px !important;
      flex: 0 0 18px !important;
      position: relative !important;
      margin-left: auto !important;
      display: block !important;
    }
    
    .bbs-itinerary-icon::before,
    .bbs-itinerary-icon::after {
      content: "" !important;
      position: absolute !important;
      background: #b45a66 !important;
      border-radius: 2px !important;
      transition: transform 0.25s ease, opacity 0.25s ease !important;
    }
    
    .bbs-itinerary-icon::before {
      width: 16px !important;
      height: 2px !important;
      top: 8px !important;
      left: 1px !important;
    }
    
    .bbs-itinerary-icon::after {
      width: 2px !important;
      height: 16px !important;
      top: 1px !important;
      left: 8px !important;
    }
    
    .bbs-itinerary-toggle.is-open .bbs-itinerary-icon::after {
      opacity: 0 !important;
      transform: scaleY(0) !important;
    }
    
    .bbs-itinerary-content {
      padding: 0 28px 26px 28px !important;
      background: #f3f4f7 !important;
      border: 0 !important;
      box-shadow: none !important;
      transition: all 0.25s ease;
    }
    
    .bbs-itinerary-content.is-open {
      padding-top: 0 !important;
    }
    
    .bbs-itinerary-description {
      color: var(--bbs-text-soft) !important;
      font-size: 16px !important;
      line-height: 2 !important;
    }
    
    .bbs-itinerary-description p {
      margin: 0 0 14px !important;
      line-height: 1.85 !important;
    }
    
    .bbs-itinerary-description p:last-child {
      margin-bottom: 0 !important;
    }
    
    .bbs-itinerary-description p + p {
      margin-top: 10px !important;
    }
    
    .bbs-itinerary-description br {
      line-height: 1.85 !important;
    }
    
    .bbs-itinerary-item:has(.bbs-itinerary-toggle.is-open) {
      background: var(--bbs-primary-bg-soft);
      border-left: 3px solid var(--bbs-accent);
    }
    
    @media (max-width: 767px) {
      .bbs-itinerary-toggle {
        min-height: 68px !important;
        padding: 0 20px !important;
      }
    
      .bbs-itinerary-content {
        padding: 0 20px 20px 20px !important;
      }
    
      .bbs-itinerary-title {
        font-size: 17px !important;
      }
    
      .bbs-itinerary-description {
        font-size: 15px !important;
        line-height: 1.9 !important;
      }
    
      .bbs-itinerary-description p {
        line-height: 1.8 !important;
      }
    }
    
    /* =========================================
       TOUR HERO
    ========================================= */
    .bbs-tour-hero {
      position: relative;
      overflow: hidden;
    }
    
    .bbs-tour-hero--medium {
      min-height: 60vh;
    }
    
    .bbs-tour-hero--large {
      min-height: 88vh;
    }
    
    .bbs-tour-hero--fullscreen {
      min-height: 100vh;
    }
    
    .bbs-tour-hero__media {
      position: absolute;
      inset: 0;
      z-index: 1;
    }
    
    .bbs-tour-hero__slides,
    .bbs-tour-hero__video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
    
    .bbs-tour-hero__slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      opacity: 0;
      transition: opacity 1s ease;
    }
    
    .bbs-tour-hero__slide.is-active {
      opacity: 1;
    }
    
    .bbs-tour-hero__video {
      object-fit: cover;
    }
    
    .bbs-tour-hero__youtube {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    
    .bbs-tour-hero__youtube iframe {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 120vw;
      height: 120%;
      transform: translate(-50%, -50%);
      border: 0;
      pointer-events: none;
    }
    
    .bbs-tour-hero__overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
    }
    
    .bbs-tour-hero--overlay-light .bbs-tour-hero__overlay {
      background: linear-gradient(
        to bottom,
        rgba(15, 36, 84, 0.28) 0%,
        rgba(15, 36, 84, 0.08) 100%
      );
    }
    
    .bbs-tour-hero--overlay-medium .bbs-tour-hero__overlay {
      background: linear-gradient(
        to bottom,
        rgba(15, 36, 84, 0.42) 0%,
        rgba(15, 36, 84, 0.12) 100%
      );
    }
    
    .bbs-tour-hero--overlay-strong .bbs-tour-hero__overlay {
      background: linear-gradient(
        to bottom,
        rgba(15, 36, 84, 0.58) 0%,
        rgba(15, 36, 84, 0.18) 100%
      );
    }
    
    .bbs-tour-hero__scroll {
      position: absolute;
      left: 50%;
      bottom: 68px;
      transform: translateX(-50%);
      z-index: 4;
      width: 48px;
      height: 48px;
      border: 1px solid rgba(255,255,255,0.45);
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      background: transparent;
      animation: bbsHeroBounce 1.8s infinite;
      transition: all 0.25s ease;
    }
    
    .bbs-tour-hero__scroll:hover {
      border-color: rgba(255,255,255,0.85);
      background: rgba(255,255,255,0.04);
    }
    
    .bbs-tour-hero__scroll-icon {
      position: relative;
      width: 16px;
      height: 16px;
    }
    
    .bbs-tour-hero__scroll-icon::before,
    .bbs-tour-hero__scroll-icon::after {
      content: "";
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
    
    .bbs-tour-hero__scroll-icon::before {
      top: 1px;
      width: 2px;
      height: 10px;
      background: #ffffff;
      border-radius: 2px;
    }
    
    .bbs-tour-hero__scroll-icon::after {
      bottom: 0;
      width: 9px;
      height: 9px;
      border-right: 2px solid #ffffff;
      border-bottom: 2px solid #ffffff;
      transform: translateX(-50%) rotate(45deg);
    }
    
    @keyframes bbsHeroBounce {
      0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
      }
      40% {
        transform: translateX(-50%) translateY(8px);
      }
      60% {
        transform: translateX(-50%) translateY(4px);
      }
    }
    
    @media (max-width: 767px) {
      .bbs-tour-hero__scroll {
        bottom: 34px;
        width: 46px;
        height: 46px;
      }
    }
    
    @media (max-width: 767px) {
      .bbs-tour-hero__youtube iframe {
        width: 180vw;
        height: 100%;
      }
    }
    
    /* =========================================
       RELATED TOURS
    ========================================= */
    
    .bbs-related-tours-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 28px;
      align-items: stretch;
    }
    
    .bbs-related-tour-flip-card {
      perspective: 1400px;
      min-height: 540px;
      transition: transform 0.3s ease;
    }
    
    .bbs-related-tour-flip-card:hover {
      transform: translateY(-4px);
    }
    
    .bbs-related-tour-flip-inner {
      position: relative;
      width: 100%;
      min-height: 540px;
      transition: transform 0.7s ease;
      transform-style: preserve-3d;
    }
    
    .bbs-related-tour-flip-card:hover .bbs-related-tour-flip-inner {
      transform: rotateY(180deg);
    }
    
    .bbs-related-tour-face {
      position: absolute;
      inset: 0;
      width: 100%;
      min-height: 540px;
      overflow: hidden;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    
    .bbs-related-tour-face--front {
      background: var(--bbs-surface);
    }
    
    .bbs-related-tour-face--back {
      background: #f7f7fa;
      border: 1px solid var(--bbs-surface-border);
      transform: rotateY(180deg);
    }
    
    /* FRONT */
    
    .bbs-related-tour-front-link {
      display: block;
      width: 100%;
      height: 100%;
      text-decoration: none;
    }
    
    .bbs-related-tour-front-media {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 540px;
      overflow: hidden;
    }
    
    .bbs-related-tour-front-media img {
      width: 100%;
      height: 100%;
      min-height: 540px;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
      will-change: transform;
    }
    
    .bbs-related-tour-flip-card:hover .bbs-related-tour-front-media img {
      transform: scale(1.06) translateY(-4px);
    }
    
    .bbs-related-tour-front-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(15, 36, 84, 0.78) 0%,
        rgba(15, 36, 84, 0.22) 48%,
        rgba(15, 36, 84, 0.05) 100%
      );
      transition: background 0.35s ease;
    }
    
    .bbs-related-tour-flip-card:hover .bbs-related-tour-front-overlay {
      background: linear-gradient(
        to top,
        rgba(15, 36, 84, 0.84) 0%,
        rgba(15, 36, 84, 0.24) 48%,
        rgba(15, 36, 84, 0.04) 100%
      );
    }
    
    .bbs-related-tour-ribbon {
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 3;
      writing-mode: horizontal-tb;
      transform: none;
      background: rgba(15, 36, 84, 0.92);
      color: var(--bbs-text-inverse);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      padding: 9px 14px;
      text-transform: uppercase;
      border-radius: 0;
      line-height: 1;
      white-space: nowrap;
    }
    
    .bbs-related-tour-front-content {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 24px;
      z-index: 3;
      padding: 0 26px;
      text-align: right;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: flex-end;
    }
    
    .bbs-related-tour-front-title {
      margin: 0 0 8px;
      color: #ffffff;
      font-size: 22px;
      line-height: 1.25;
      font-weight: 700;
      max-width: 74%;
      text-align: right;
    }
    
    .bbs-related-tour-front-price {
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.01em;
      text-align: right;
    }
    
    .bbs-related-tour-front-price span {
      font-weight: 500;
      opacity: 0.95;
    }
    
    /* BACK */
    
    .bbs-related-tour-back-inner {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      min-height: 540px;
      padding: 42px 32px 36px;
    }
    
    .bbs-related-tour-back-title {
      margin: 0 0 12px;
      color: var(--bbs-text-dark);
      font-size: 21px;
      line-height: 1.35;
      font-weight: 700;
      text-align: left;
    }
    
    .bbs-related-tour-back-price {
      margin-bottom: 26px;
      color: var(--bbs-danger);
      font-size: 13px;
      font-weight: 500;
      text-align: left;
    }
    
    .bbs-related-tour-back-price span {
      font-weight: 400;
    }
    
    .bbs-related-tour-back-summary {
      color: var(--bbs-text-muted);
      font-size: 15px;
      line-height: 1.85;
      margin-bottom: 30px;
      text-align: left;
    }
    
    .bbs-related-tour-back-facts {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px 24px;
      width: 100%;
      margin-bottom: 34px;
    }
    
    .bbs-related-tour-back-fact {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--bbs-text-muted);
      font-size: 14px;
      line-height: 1.4;
      transition: color 0.25s ease, transform 0.25s ease;
    }
    
    .bbs-related-tour-back-fact-icon {
      width: 18px;
      height: 18px;
      min-width: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--bbs-danger);
      transition: color 0.25s ease, transform 0.25s ease;
    }
    
    .bbs-related-tour-back-fact-icon svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      stroke-width: 1.8;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    
    .bbs-related-tour-back-fact-text {
      color: var(--bbs-text-muted);
      transition: color 0.25s ease;
    }
    
    .bbs-related-tour-back-fact:hover .bbs-related-tour-back-fact-icon {
      color: var(--bbs-accent);
      transform: translateY(-1px);
    }
    
    .bbs-related-tour-back-fact:hover .bbs-related-tour-back-fact-text {
      color: var(--bbs-text-dark);
    }
    
    .bbs-related-tour-back-footer {
      margin-top: auto;
    }
    
    .bbs-related-tour-back-link {
      display: inline-block;
      color: var(--bbs-text-muted);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      position: relative;
      padding-bottom: 7px;
    }
    
    .bbs-related-tour-back-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 82px;
      height: 2px;
      background: color-mix(in srgb, var(--bbs-danger) 60%, white);
      transition: width 0.25s ease, background-color 0.25s ease;
    }
    
    .bbs-related-tour-back-link:hover {
      color: var(--bbs-text-dark);
    }
    
    .bbs-related-tour-back-link:hover::after {
      width: 100%;
      background: var(--bbs-danger);
    }
    
    /* RESPONSIVE */
    
    @media (max-width: 1024px) {
      .bbs-related-tours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
      }
    
      .bbs-related-tour-flip-card,
      .bbs-related-tour-flip-inner,
      .bbs-related-tour-face,
      .bbs-related-tour-front-media,
      .bbs-related-tour-front-media img,
      .bbs-related-tour-back-inner {
        min-height: 500px;
      }
    
      .bbs-related-tour-front-title,
      .bbs-related-tour-back-title {
        font-size: 20px;
      }
    
      .bbs-related-tour-front-title {
        max-width: 82%;
      }
    }
    
    @media (max-width: 767px) {
      .bbs-related-tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
    
      .bbs-related-tour-flip-card {
        perspective: none;
        min-height: auto;
        transform: none !important;
      }
        
      .bbs-related-tour-flip-card:hover {
        transform: none !important;
      }
    
      .bbs-related-tour-flip-inner {
        transform: none !important;
        min-height: auto;
      }
    
      .bbs-related-tour-face {
        position: relative;
        inset: auto;
        transform: none !important;
        backface-visibility: visible;
        min-height: auto;
      }
    
      .bbs-related-tour-face--back {
        display: none;
      }
      
      .bbs-related-tour-ribbon {
          top: 16px;
          right: 16px;
          font-size: 10px;
          letter-spacing: 0.1em;
          padding: 8px 12px;
          writing-mode: horizontal-tb;
          transform: none;
          white-space: nowrap;
        }
    
      .bbs-related-tour-front-media,
      .bbs-related-tour-front-media img {
        min-height: 400px;
      }
    
      .bbs-related-tour-front-title {
        font-size: 21px;
        max-width: 100%;
        text-align: right;
      }
    
      .bbs-related-tour-front-content {
        align-items: flex-end;
        text-align: right;
      }
    }
        
        /* =========================================
           RESPONSIVE
        ========================================= */
        
        @media (max-width: 1024px) {
          .bbs-tour-cta-card {
            max-width: 100%;
          }
        
          .bbs-tour-overview {
            max-width: 100%;
          }
        
          .bbs-tour-gallery-grid {
            grid-template-columns: repeat(2, 1fr);
          }
        
          .bbs-itinerary-title {
            font-size: 20px;
          }
        }
        
        @media (max-width: 767px) {
          .bbs-tour-quick-facts {
            margin-bottom: 36px;
          }
        
          .bbs-tour-highlight {
            width: 100%;
          }
        
          .bbs-tour-gallery-grid {
            grid-template-columns: 1fr;
            gap: 16px;
          }
        
          .bbs-related-tours-grid {
            grid-template-columns: 1fr;
          }
        
          .bbs-itinerary-toggle {
            min-height: 78px;
            padding: 18px;
          }
        
          .bbs-itinerary-content {
            padding-left: 18px;
            padding-right: 18px;
            padding-bottom: 18px;
          }
        
          .bbs-itinerary-content.is-open {
            padding-top: 18px;
          }
        
          .bbs-itinerary-title {
            font-size: 18px;
          }
        
          .bbs-itinerary-description,
          .bbs-tour-list li,
          .bbs-tour-overview {
            font-size: 15px;
          }
        }
        
        
    /* ===============================
     MODAL LAYER ABOVE PAGE CONTENT
    ================================ */
    #bbsBookModal.modal {
      z-index: 200000 !important;
    }
    
    .modal-backdrop {
      z-index: 199999 !important;
    }
    
    #bbsDateTimePicker {
      z-index: 200002 !important;
    }
    
     /* ===============================
           MOBILE STACKING
        ================================ */
        
        @media (max-width: 768px) {
          #bbsBookModal .bbs-summary-meta {
            grid-template-columns: 1fr;
          }
        }
        
        
    
    
