/* Fixed Departure Pro v1.1 — Frontend */
:root {
  --fdp-primary:        #E07B39;
  --fdp-secondary:      #1a1a2e;
  --fdp-accent:         #059669;
  --fdp-white:          #ffffff;
  --fdp-light:          #f8fafc;
  --fdp-border:         #e5e7eb;
  --fdp-gray:           #6b7280;
  --fdp-gray-2:         #9ca3af;
  --fdp-red:            #dc2626;
  --fdp-orange:         #d97706;
  --fdp-green:          #16a34a;
  --fdp-font:           -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* Font/text color vars — overridden by settings inline style */
  --fdp-book-text:      #ffffff;
  --fdp-enquire-text:   #ffffff;
  --fdp-heading-text:   #ffffff;
  --fdp-body-text:      #111827;
}

.fdp-wrap *, .fdp-wrap *::before, .fdp-wrap *::after { box-sizing: border-box; }
.fdp-wrap { font-family: var(--fdp-font); color: var(--fdp-body-text); line-height: 1.5; }
.fdp-hidden { display: none !important; }

/* ══════════════════════════════
   CALENDAR HEADER
══════════════════════════════ */
.fdp-cal-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  background: var(--fdp-secondary);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 10px;
}

.fdp-cal-meta-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.fdp-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
  color: var(--fdp-heading-text);
}
.fdp-pill-blue   { background: rgba(59,130,246,.2); }
.fdp-pill-purple { background: rgba(139,92,246,.2); }
.fdp-pill-gray   { background: rgba(255,255,255,.1); }

.fdp-cal-header-price { text-align: right; flex-shrink: 0; }
.fdp-cal-price-label { font-size: 10px; color: rgba(255,255,255,.5); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.fdp-cal-price-orig  { font-size: 12px; color: rgba(255,255,255,.4); text-decoration: line-through; }
.fdp-cal-price-main  { font-size: 24px; font-weight: 900; color: #fff; line-height: 1.1; }
.fdp-cal-price-pp    { font-size: 10px; color: rgba(255,255,255,.5); margin-top: 1px; }

/* ══════════════════════════════
   ACCORDION — compact
══════════════════════════════ */
.fdp-accordion { display: flex; flex-direction: column; gap: 6px; }

.fdp-month-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 16px;
  background: var(--fdp-secondary); border: none; border-radius: 9px;
  cursor: pointer; font-family: var(--fdp-font); color: #fff; text-align: left;
  transition: opacity .15s;
}
.fdp-month-btn:hover { opacity: .88; }
.fdp-month-info { display: flex; flex-direction: column; gap: 2px; }
.fdp-month-name { font-size: 14px; font-weight: 800; letter-spacing: .2px; }
.fdp-month-meta { font-size: 11px; opacity: .55; font-weight: 500; }

.fdp-month-arrow {
  font-size: 12px; opacity: .6; transition: transform .22s ease;
  display: inline-block; flex-shrink: 0;
}
.fdp-month-group.is-open .fdp-month-arrow { transform: rotate(90deg); }

.fdp-month-rows { display: none; flex-direction: column; gap: 5px; padding: 5px 0 2px; }
.fdp-month-group.is-open .fdp-month-rows { display: flex; }

/* ══════════════════════════════
   DEPARTURE ROW — compact
══════════════════════════════ */
.fdp-dep-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 12px; align-items: center;
  padding: 10px 14px 10px 18px;
  background: var(--fdp-white);
  border: 1px solid var(--fdp-border); border-radius: 9px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  position: relative; overflow: hidden;
  transition: box-shadow .18s, transform .15s;
}
.fdp-dep-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; border-radius: 4px 0 0 4px;
}
.fdp-left-green::before { background: var(--fdp-green); }
.fdp-left-amber::before { background: var(--fdp-orange); }
.fdp-left-red::before   { background: var(--fdp-red); }
.fdp-dep-row:hover { box-shadow: 0 3px 12px rgba(0,0,0,.09); transform: translateY(-1px); }

/* Date column — Departure and Return clearly separated */
.fdp-dep-date-label {
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .7px; color: var(--fdp-gray-2);
}
.fdp-date-main {
  font-size: 14px; font-weight: 800; color: var(--fdp-secondary); line-height: 1.2;
  margin-bottom: 5px;
}
.fdp-dep-ret-line {
  display: flex; align-items: baseline; gap: 5px;
  border-top: 1px dashed var(--fdp-border); padding-top: 5px;
}
.fdp-date-return {
  font-size: 13px; font-weight: 700; color: var(--fdp-primary); line-height: 1.2;
}
.fdp-countdown {
  font-size: 10px; color: var(--fdp-gray-2); margin-top: 4px; font-weight: 600;
}
.fdp-countdown.urgent { color: var(--fdp-orange); }

/* Price */
.fdp-price-was { font-size: 11px; color: var(--fdp-gray-2); text-decoration: line-through; }
.fdp-price-num { font-size: 17px; font-weight: 900; color: var(--fdp-secondary); line-height: 1.1; }
.fdp-price-pp  { font-size: 10px; color: var(--fdp-gray-2); margin-top: 1px; }
.fdp-eb-tag {
  display: inline-block; font-size: 9px; font-weight: 800;
  background: #ede9fe; color: #5b21b6; padding: 2px 6px;
  border-radius: 4px; margin-bottom: 2px; text-transform: uppercase;
}

/* Availability */
.fdp-dep-avail {
  min-width: 100px;
  display: flex; flex-direction: column; gap: 6px;
}

/* Track + fill bar */
.fdp-avail-track {
  height: 8px;
  background: #eef0f3;
  border-radius: 99px;
  overflow: hidden;
}
.fdp-avail-fill {
  height: 8px;
  border-radius: 99px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
  min-width: 6px;
}
.fdp-bar-green {
  background: linear-gradient(90deg, #34d399, #059669);
  box-shadow: 0 1px 4px rgba(5,150,105,.35);
}
.fdp-bar-amber {
  background: linear-gradient(90deg, #fbbf24, #d97706);
  box-shadow: 0 1px 4px rgba(217,119,6,.35);
}
.fdp-bar-red {
  background: linear-gradient(90deg, #f87171, #dc2626);
  box-shadow: 0 1px 4px rgba(220,38,38,.35);
}

/* Badge row: badge + seat count side by side */
.fdp-avail-row {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.fdp-avail-badge {
  font-size: 10px; font-weight: 800; padding: 3px 9px;
  border-radius: 99px; white-space: nowrap; display: inline-block;
  letter-spacing: .2px;
}
.fdp-badge-open     { background: #dcfce7; color: #14532d; }
.fdp-badge-limited  { background: #fef3c7; color: #78350f; }
.fdp-badge-critical { background: #ffedd5; color: #9a3412; }
.fdp-badge-full     { background: #fee2e2; color: #991b1b; }

/* Seat count label under bar */
.fdp-avail-seats {
  font-size: 10px; font-weight: 600; color: var(--fdp-gray-2);
  white-space: nowrap;
}

/* Actions */
.fdp-dep-actions { display: flex; flex-direction: column; gap: 6px; min-width: 100px; }
.fdp-sold-label  { font-size: 11px; font-weight: 800; color: var(--fdp-red); text-align: center; }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.fdp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 16px; border: none; border-radius: 8px; cursor: pointer;
  font-size: 13px; font-weight: 800; font-family: var(--fdp-font);
  white-space: nowrap; line-height: 1.3; text-decoration: none;
  transition: filter .15s, transform .15s;
}
.fdp-btn-book    { background: var(--fdp-primary); color: var(--fdp-book-text); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.fdp-btn-enquire { background: var(--fdp-secondary); color: var(--fdp-enquire-text); }
.fdp-btn:hover   { filter: brightness(1.1); transform: translateY(-1px); }
.fdp-btn-ghost   {
  background: var(--fdp-light); color: var(--fdp-gray);
  border: 1.5px solid var(--fdp-border); box-shadow: none;
}
.fdp-btn-ghost:hover { background: var(--fdp-border); transform: none; filter: none; }

/* ══════════════════════════════
   STICKY BAR
══════════════════════════════ */
.fdp-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999;
  background: var(--fdp-secondary);
  box-shadow: 0 -4px 20px rgba(0,0,0,.22);
  transform: translateY(105%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.fdp-sticky-bar.is-visible { transform: translateY(0); }

.fdp-sticky-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 14px;
}
.fdp-sticky-logo { flex-shrink: 0; }
.fdp-sticky-logo img { height: 36px; width: auto; display: block; object-fit: contain; }

.fdp-sticky-info { flex: 1; min-width: 0; }
.fdp-sticky-title {
  font-size: 15px; font-weight: 800; color: #fff;
  margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fdp-sticky-price { font-size: 13px; color: rgba(255,255,255,.75); font-weight: 600; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.fdp-sticky-price s       { opacity: .5; font-size: 11px; }
.fdp-sticky-price strong  { color: #fff; font-size: 15px; font-weight: 900; }
.fdp-sticky-price span    { font-size: 11px; opacity: .65; }

.fdp-sticky-actions { display: flex; gap: 8px; flex-shrink: 0; }
.fdp-sticky-btn {
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border-radius: 9px !important;
  letter-spacing: .2px;
}

/* ══════════════════════════════
   EMPTY STATE
══════════════════════════════ */
.fdp-empty {
  text-align: center; padding: 40px 20px;
  background: var(--fdp-light); border: 2px dashed var(--fdp-border);
  border-radius: 12px; color: var(--fdp-gray);
}

/* ══════════════════════════════
   MODAL
══════════════════════════════ */
.fdp-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px); z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; animation: fdp-fadein .18s ease;
}
.fdp-modal {
  background: #fff; border-radius: 14px;
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: fdp-slideup .22s ease;
}
.fdp-modal-wide { max-width: 560px; }
.fdp-modal-head {
  padding: 18px 20px 12px; border-bottom: 1px solid var(--fdp-border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: #fff; z-index: 1;
  border-radius: 14px 14px 0 0;
}
.fdp-modal-title { font-size: 16px; font-weight: 800; color: var(--fdp-secondary); margin: 0; }
.fdp-modal-close {
  width: 30px; height: 30px; border: none; background: var(--fdp-light);
  border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--fdp-gray);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .12s;
}
.fdp-modal-close:hover { background: var(--fdp-border); color: #111; }
.fdp-modal-body { padding: 18px 20px 24px; }

/* Steps */
.fdp-steps { display: flex; align-items: center; margin-bottom: 18px; }
.fdp-step-item { display: flex; align-items: center; flex: 1; }
.fdp-step-circle {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  background: var(--fdp-border); color: var(--fdp-gray); transition: all .18s;
}
.fdp-step-circle.active { background: var(--fdp-primary); color: #fff; }
.fdp-step-circle.done   { background: var(--fdp-green); color: #fff; }
.fdp-step-line { flex: 1; height: 2px; background: var(--fdp-border); margin: 0 3px; }
.fdp-step-line.done { background: var(--fdp-green); }

/* Form */
.fdp-field { margin-bottom: 12px; }
.fdp-label {
  display: block; font-size: 10px; font-weight: 800; color: var(--fdp-secondary);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px;
}
.fdp-input, .fdp-select {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--fdp-border); border-radius: 8px;
  font-size: 14px; font-family: var(--fdp-font); color: #111;
  transition: border-color .12s; outline: none; background: #fff;
}
.fdp-input:focus, .fdp-select:focus {
  border-color: var(--fdp-primary);
  box-shadow: 0 0 0 3px rgba(224,123,57,.1);
}
textarea.fdp-input { resize: vertical; min-height: 70px; }
.fdp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Coupon */
.fdp-coupon-row { display: flex; gap: 7px; }
.fdp-coupon-row .fdp-input { flex: 1; }
.fdp-coupon-feedback { font-size: 11px; font-weight: 700; margin-top: 4px; }
.fdp-coupon-ok  { color: var(--fdp-green); }
.fdp-coupon-err { color: var(--fdp-red); }

/* Add-ons */
.fdp-addons-list { display: flex; flex-direction: column; gap: 6px; }
.fdp-addon-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border: 1.5px solid var(--fdp-border); border-radius: 8px;
  cursor: pointer; transition: border-color .12s, background .12s;
}
.fdp-addon-item:hover { border-color: var(--fdp-primary); background: #fff7f2; }
.fdp-addon-item input[type=checkbox] { flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--fdp-primary); cursor: pointer; }
.fdp-addon-info { flex: 1; }
.fdp-addon-name { display: block; font-size: 13px; font-weight: 700; color: #111; }
.fdp-addon-desc { display: block; font-size: 11px; color: var(--fdp-gray); margin-top: 1px; }
.fdp-addon-price { font-size: 12px; font-weight: 800; color: var(--fdp-primary); white-space: nowrap; flex-shrink: 0; }

/* Payment type */
.fdp-pay-type-group { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.fdp-pay-type-opt {
  flex: 1; min-width: 80px; padding: 9px 8px;
  border: 2px solid var(--fdp-border); border-radius: 8px;
  background: var(--fdp-white); cursor: pointer;
  font-size: 11px; font-weight: 800; font-family: var(--fdp-font);
  color: var(--fdp-gray); text-align: center; transition: all .12s;
}
.fdp-pay-type-opt.active { border-color: var(--fdp-primary); color: var(--fdp-primary); background: #fff7f2; }

/* Summary */
.fdp-summary {
  background: var(--fdp-light); border: 1px solid var(--fdp-border);
  border-radius: 9px; padding: 12px 14px; margin-bottom: 14px;
}
.fdp-summary-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 12px; color: var(--fdp-gray); }
.fdp-summary-total { font-size: 14px; font-weight: 800; color: var(--fdp-secondary); border-top: 1px solid var(--fdp-border); padding-top: 8px; margin-top: 5px; }
.fdp-summary-pay   { font-size: 17px; font-weight: 900; color: var(--fdp-primary); }
.fdp-discount-row  { color: var(--fdp-green) !important; font-weight: 700; }

/* Payment */
.fdp-pay-options   { display: flex; flex-direction: column; gap: 8px; }
.fdp-pay-btn-rz    { background: #072654; color: #fff; padding: 13px; width: 100%; justify-content: center; font-size: 14px; }
.fdp-pay-btn-rz:hover { background: #0d3a8a; }

/* Loader / Success */
.fdp-loader { text-align: center; padding: 32px; color: var(--fdp-gray); }
.fdp-spinner {
  display: inline-block; width: 30px; height: 30px;
  border: 3px solid var(--fdp-border); border-top-color: var(--fdp-primary);
  border-radius: 50%; animation: fdp-spin .65s linear infinite; margin-bottom: 10px;
}
.fdp-success { text-align: center; padding: 8px 0 4px; }
.fdp-success-icon { font-size: 48px; display: block; margin-bottom: 10px; }
.fdp-booking-ref {
  display: inline-block; background: #f0f7ff; border: 2px solid var(--fdp-primary);
  color: var(--fdp-primary); padding: 8px 24px; border-radius: 8px;
  font-size: 18px; font-weight: 900; letter-spacing: 3px; margin: 8px 0;
}

@keyframes fdp-spin    { to { transform: rotate(360deg); } }
@keyframes fdp-fadein  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fdp-slideup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 700px) {
  .fdp-dep-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
  .fdp-dep-avail { display: none; }
  .fdp-dep-actions { grid-column: 1 / -1; flex-direction: row; }
  .fdp-sticky-inner { padding: 10px 14px; gap: 10px; }
  .fdp-sticky-title { font-size: 13px; }
  .fdp-sticky-btn { padding: 10px 14px !important; font-size: 13px !important; }
  .fdp-row { grid-template-columns: 1fr; }
  .fdp-cal-header { padding: 12px 14px; }
  .fdp-cal-price-main { font-size: 20px; }
}
@media (max-width: 440px) {
  /* Price STAYS VISIBLE on mobile — just shrunk slightly */
  .fdp-sticky-price strong { font-size: 13px; }
  .fdp-sticky-price span   { font-size: 10px; }
  .fdp-dep-row { grid-template-columns: 1fr; }
  .fdp-dep-actions { flex-direction: row; }
  .fdp-sticky-title { font-size: 12px; }
  .fdp-sticky-btn { padding: 9px 12px !important; font-size: 12px !important; }
}

/* ══════════════════════════════
   CALENDAR GRID DATE PICKER
══════════════════════════════ */
.fdp-datepicker-modal { max-width: 520px; }
.fdp-datepicker-body  { padding: 0; }
.fdp-cal-grid-empty   { text-align:center; padding:32px; color:var(--fdp-gray); font-size:14px; }

/* ── Header: ‹ March 2026 › ── */
.fdp-cgrid-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #eef1f4;
}
.fdp-cgrid-month-label {
  display: flex; align-items: baseline; gap: 8px;
}
.fdp-cgrid-month-name {
  font-size: 16px; font-weight: 800; color: var(--fdp-secondary);
}
.fdp-cgrid-year {
  font-size: 15px; font-weight: 600; color: var(--fdp-gray);
}
.fdp-cgrid-nav {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1.5px solid var(--fdp-border); background: #fff;
  cursor: pointer; font-size: 20px; font-weight: 700;
  color: var(--fdp-secondary); line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s, border-color .12s;
}
.fdp-cgrid-nav:hover:not(:disabled) { background: #f3f4f6; border-color: #d1d5db; }
.fdp-cgrid-nav:disabled { opacity: .3; cursor: not-allowed; }

/* ── Day-of-week row ── */
.fdp-cgrid-dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding: 0 16px;
  border-bottom: 1px solid #f0f2f4;
}
.fdp-cgrid-dow-cell {
  text-align: center; padding: 10px 0 8px;
  font-size: 11px; font-weight: 800;
  color: var(--fdp-gray-2); letter-spacing: .6px;
}

/* ── Date cells ── */
.fdp-cgrid-cells {
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding: 8px 12px 12px;
  gap: 4px 0;
}
.fdp-cgrid-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px 0; min-height: 52px;
  border-radius: 10px; cursor: default;
  position: relative; transition: background .12s;
}
.fdp-cgrid-empty { visibility: hidden; }
.fdp-cgrid-past  { opacity: .3; }

.fdp-cgrid-has-dep { cursor: pointer; }
.fdp-cgrid-has-dep:hover { background: #f4f6f8; }

.fdp-cgrid-cell-selected {
  background: #f0f7ff !important;
  outline: 2px solid var(--fdp-primary);
  outline-offset: -2px;
}

.fdp-cgrid-day-num {
  font-size: 14px; font-weight: 600; color: #374151; line-height: 1;
  margin-bottom: 5px;
}
.fdp-cgrid-past .fdp-cgrid-day-num  { color: #9ca3af; }
.fdp-cgrid-has-dep .fdp-cgrid-day-num { font-weight: 800; color: var(--fdp-secondary); }

/* Today highlight */
.fdp-cgrid-today .fdp-cgrid-day-num {
  background: var(--fdp-secondary);
  color: #fff; border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}

/* Departure dot */
.fdp-cgrid-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.fdp-cgrid-dot-green  { background: #16a34a; }
.fdp-cgrid-dot-yellow { background: #d97706; }
.fdp-cgrid-dot-red    { background: #dc2626; }

/* ── Legend ── */
.fdp-cgrid-legend {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 10px 20px 14px;
  border-top: 1px solid #f0f2f4;
}
.fdp-cgrid-leg-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--fdp-gray);
}
.fdp-cgrid-leg-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}

/* ── Detail panel (slides in on date click) ── */
.fdp-cgrid-detail {
  margin: 0 16px 16px;
  border-radius: 12px; overflow: hidden;
  border: 1.5px solid var(--fdp-border);
  max-height: 0; opacity: 0;
  transition: max-height .28s ease, opacity .22s ease;
}
.fdp-cgrid-detail.fdp-cgrid-detail-visible {
  max-height: 300px; opacity: 1;
}
.fdp-cgrid-detail-inner {
  padding: 16px 18px;
}

/* Top row: dates + badge */
.fdp-cgrid-detail-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.fdp-cgrid-detail-dates {
  display: flex; align-items: center; gap: 14px;
}
.fdp-cgrid-detail-date-group { display: flex; flex-direction: column; gap: 2px; }
.fdp-cgrid-detail-lbl {
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .6px; color: var(--fdp-gray-2);
}
.fdp-cgrid-detail-val {
  font-size: 13px; font-weight: 800; color: var(--fdp-secondary);
}
.fdp-cgrid-detail-arrow { font-size: 16px; color: var(--fdp-gray-2); }

/* Mid row: price + fill bar */
.fdp-cgrid-detail-mid {
  display: flex; align-items: center; gap: 20px; margin-bottom: 14px;
}
.fdp-cgrid-detail-price {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.fdp-cgrid-detail-pnum {
  font-size: 22px; font-weight: 900; color: var(--fdp-secondary);
}
.fdp-cgrid-detail-pp {
  font-size: 12px; color: var(--fdp-gray); font-weight: 600;
}
.fdp-cgrid-detail-orig {
  font-size: 13px; color: var(--fdp-gray-2); text-decoration: line-through;
}
.fdp-cgrid-detail-ebtag {
  font-size: 9px; font-weight: 800; background: #ede9fe;
  color: #5b21b6; padding: 2px 6px; border-radius: 4px; text-transform: uppercase;
}

.fdp-cgrid-detail-seats { flex: 1; min-width: 100px; }
.fdp-cgrid-detail-bar-wrap {
  height: 6px; background: var(--fdp-border); border-radius: 4px; margin-bottom: 5px;
}
.fdp-cgrid-detail-bar {
  height: 6px; border-radius: 4px; transition: width .4s;
}
.fdp-cgrid-bar-green  { background: #16a34a; }
.fdp-cgrid-bar-yellow { background: #d97706; }
.fdp-cgrid-bar-red    { background: #dc2626; }
.fdp-cgrid-detail-seats-lbl {
  font-size: 11px; font-weight: 700; color: var(--fdp-gray);
}

/* Book button in detail panel */
.fdp-cgrid-book-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 13px;
  border: none; border-radius: 10px;
  font-size: 14px; font-weight: 900; color: #fff;
  font-family: var(--fdp-font); cursor: pointer; letter-spacing: .2px;
  transition: filter .15s, transform .12s;
}
.fdp-cgrid-book-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.fdp-cgrid-sold-msg {
  text-align: center; padding: 12px;
  font-size: 13px; font-weight: 600; color: var(--fdp-red);
  background: #fff5f5; border-radius: 8px;
}

@media (max-width: 480px) {
  .fdp-cgrid-header  { padding: 14px 14px 10px; }
  .fdp-cgrid-cells   { padding: 6px 6px 8px; gap: 2px 0; }
  .fdp-cgrid-dow     { padding: 0 6px; }
  .fdp-cgrid-cell    { min-height: 44px; padding: 4px 0; }
  .fdp-cgrid-day-num { font-size: 13px; }
  .fdp-cgrid-detail  { margin: 0 10px 12px; }
  .fdp-cgrid-detail-mid  { flex-direction: column; gap: 10px; align-items: flex-start; }
  .fdp-cgrid-detail-seats { width: 100%; }
}

/* ══════════════════════════════
   ADD-ON CARDS (booking step 1)
══════════════════════════════ */
.fdp-addons-loading {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; color: var(--fdp-gray); font-size: 13px;
}
.fdp-addons-spinner {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 2px solid var(--fdp-border); border-top-color: var(--fdp-primary);
  border-radius: 50%; animation: fdp-spin .65s linear infinite;
}
.fdp-addons-wrap { margin-bottom: 10px; }
.fdp-addons-header {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px;
}
.fdp-addons-subtext { font-size: 10px; color: var(--fdp-gray-2); }
.fdp-addons-grid { display: flex; flex-direction: column; gap: 8px; }

/* Addon card — JS adds/removes .is-checked class */
.fdp-addon-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--fdp-border);
  border-radius: 10px; background: #fff;
  cursor: pointer; user-select: none;
  transition: border-color .14s, background .14s, box-shadow .14s;
  position: relative;
}
.fdp-addon-card:hover {
  border-color: #f9c9a8; background: #fff9f5;
}
.fdp-addon-card.is-checked {
  border-color: var(--fdp-primary);
  background: #fff7f2;
  box-shadow: 0 0 0 3px rgba(224,123,57,.12);
}

/* Hidden real checkbox — screen-reader accessible */
.fdp-addon-cb {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}

/* Custom checkbox box */
.fdp-addon-card-check {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px;
  border: 2px solid var(--fdp-border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .14s, border-color .14s;
}
.fdp-addon-card.is-checked .fdp-addon-card-check {
  background: var(--fdp-primary); border-color: var(--fdp-primary);
}
.fdp-addon-checkmark {
  color: #fff; font-size: 13px; font-weight: 900;
  opacity: 0; transition: opacity .14s;
}
.fdp-addon-card.is-checked .fdp-addon-checkmark { opacity: 1; }

/* Name + desc */
.fdp-addon-card-body { flex: 1; min-width: 0; }
.fdp-addon-card-name { font-size: 13px; font-weight: 700; color: var(--fdp-secondary); }
.fdp-addon-card-desc { font-size: 11px; color: var(--fdp-gray); margin-top: 2px; line-height: 1.4; }

/* Price */
.fdp-addon-card-price {
  flex-shrink: 0; text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
}
.fdp-addon-card-price strong {
  font-size: 15px; font-weight: 900; color: var(--fdp-primary);
}
.fdp-addon-card-price span {
  font-size: 10px; font-weight: 600; color: var(--fdp-gray);
}

/* ── Amount Preview (step 1 footer) ── */
.fdp-amount-preview {
  background: #f0f7ff; border: 1px solid #bfdbfe;
  border-radius: 10px; padding: 12px 14px; margin: 12px 0;
  font-size: 13px;
}
.fdp-preview-row {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--fdp-gray); padding: 3px 0;
}
.fdp-preview-addons { color: var(--fdp-green); }
.fdp-preview-total {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #bfdbfe; margin-top: 8px; padding-top: 8px;
  color: var(--fdp-secondary); font-weight: 800;
}
.fdp-preview-pay {
  font-size: 20px; font-weight: 900; color: var(--fdp-primary);
}

/* ── Phone row with country code ── */
.fdp-phone-row { display:flex; gap:6px; align-items:stretch; }
.fdp-cc-select {
    width:76px; flex-shrink:0;
    padding:0 6px;
    border:2px solid var(--fdp-border, #e5e7eb);
    border-radius:10px;
    background:#fff;
    font-size:14px;
    font-weight:700;
    color:#1a1a2e;
    cursor:pointer;
    height:44px;
    text-align:center;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239ca3af'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 5px center;
    padding-right:18px;
}
.fdp-cc-select:focus {
    outline:none;
    border-color:var(--fdp-primary, #E07B39);
    box-shadow:0 0 0 3px rgba(224,123,57,.15);
}
.fdp-phone-row .fdp-input { flex:1; min-width:0; }
