.dxbs-v2-gallery {
  height: 420px !important;
  max-height: 420px !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 14px !important;
}

.dxbs-v2-gallery img {
  display: block !important;
  position: absolute !important;
  width: calc(25% - 3px) !important;
  height: 207px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover !important;
  overflow: hidden !important;
}

.dxbs-v2-gallery .g0 {
  left: 0 !important;
  top: 0 !important;
  width: calc(50% - 3px) !important;
  height: 420px !important;
  border-radius: 14px 0 0 14px !important;
}

.dxbs-v2-gallery .g1 {
  left: 50% !important;
  top: 0 !important;
}

.dxbs-v2-gallery .g2 {
  left: 75% !important;
  top: 0 !important;
}

.dxbs-v2-gallery .g3 {
  left: 50% !important;
  bottom: 0 !important;
}

.dxbs-v2-gallery .g4 {
  left: 75% !important;
  bottom: 0 !important;
}

.dxbs-v2-columns {
  clear: both !important;
  position: relative !important;
  margin-top: 20px !important;
  align-items: start !important;
}

.dxbs-tour-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin: 16px 0 4px !important;
}

.dxbs-tour-title h1 {
  margin: 0 !important;
  font-size: 27px !important;
  line-height: 1.25 !important;
}

.dxbs-tour-title span {
  color: #f59e0b !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

body.single-dxb_tour {
  --dxbs-ink: #102a43;
  --dxbs-muted: #62748a;
  --dxbs-orange: #ff641f;
  --dxbs-orange-dark: #e64a0b;
  --dxbs-soft: #f6f8fb;
  --dxbs-line: #e4eaf0;
  color: var(--dxbs-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.single-dxb_tour .dxbs-v2-tour {
  max-width: 1160px !important;
}

.dxbs-tour-tools {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.dxbs-tour-tools nav {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dxbs-muted);
  font-size: 13px;
}

.dxbs-tour-tools a {
  color: var(--dxbs-muted) !important;
  text-decoration: none !important;
}

.dxbs-tour-tools b {
  color: var(--dxbs-ink);
}

.dxbs-tour-tools > div {
  display: flex;
  gap: 8px;
}

.dxbs-tour-tools button,
.dxbs-view-gallery {
  border: 1px solid var(--dxbs-line) !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--dxbs-ink) !important;
  padding: 10px 14px !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 12px rgba(16,42,67,.08) !important;
  cursor: pointer !important;
}

.dxbs-v2-gallery {
  box-shadow: 0 14px 35px rgba(16,42,67,.12) !important;
  background: #dbe4ec !important;
}

.dxbs-v2-gallery img {
  cursor: zoom-in !important;
  transition: transform .28s ease, filter .28s ease !important;
}

.dxbs-v2-gallery img:hover {
  transform: scale(1.025) !important;
  filter: saturate(1.08) !important;
}

.dxbs-view-gallery {
  right: 16px !important;
  bottom: 16px !important;
  z-index: 6 !important;
}

.dxbs-tour-title {
  border-bottom: 1px solid var(--dxbs-line);
  padding: 5px 0 16px;
}

.dxbs-tour-title h1 {
  color: var(--dxbs-ink) !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
}

.dxbs-tour-title span small {
  color: var(--dxbs-muted);
  font-size: 11px;
  font-weight: 600;
}

.dxbs-v2-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.dxbs-v2-facts div {
  min-height: 72px;
  border: 1px solid var(--dxbs-line) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg,#fff,#f8fafc) !important;
  padding: 14px !important;
  box-shadow: 0 4px 14px rgba(16,42,67,.045);
}

.dxbs-v2-facts i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff1e9;
  color: var(--dxbs-orange);
  font-style: normal;
  font-weight: 800;
}

.dxbs-v2-facts b {
  color: var(--dxbs-ink);
  font-size: 14px;
}

.dxbs-v2-facts small {
  color: var(--dxbs-muted) !important;
  font-size: 12px;
}

.dxbs-v2-columns > aside {
  border-color: var(--dxbs-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(16,42,67,.10) !important;
}

.dxbs-v2-columns > aside h2 {
  color: var(--dxbs-ink);
  font-size: 27px;
  margin: 5px 0 14px;
}

.dxbs-v2-columns .why {
  margin: 20px -22px -22px;
  padding: 20px 22px;
  border-top: 1px solid var(--dxbs-line);
  border-radius: 0 0 16px 16px;
  background: var(--dxbs-soft);
}

.dxbs-copy {
  color: #334e68;
  font-size: 15px;
}

.dxbs-copy h2 {
  color: var(--dxbs-ink);
  font-weight: 800;
  letter-spacing: -.015em;
}

.dxbs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 28px;
  background: rgba(6,18,30,.96);
}

.dxbs-lightbox[hidden] { display: none !important; }
.dxbs-lightbox-stage { position: relative; display: grid; place-items: center; min-height: 0; }
.dxbs-lightbox-main { max-width: min(1180px,92vw); max-height: 78vh; border-radius: 14px; object-fit: contain; box-shadow: 0 25px 70px #0008; }
.dxbs-lightbox-close,.dxbs-lightbox-prev,.dxbs-lightbox-next { position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--dxbs-ink); font-size: 25px; cursor: pointer; }
.dxbs-lightbox-close { right: 0; top: 0; }
.dxbs-lightbox-prev { left: 0; top: 50%; transform: translateY(-50%); }
.dxbs-lightbox-next { right: 0; top: 50%; transform: translateY(-50%); }
.dxbs-lightbox-thumbs { display: flex; justify-content: center; gap: 8px; overflow-x: auto; padding-top: 16px; }
.dxbs-lightbox-thumbs img { width: 76px; height: 54px; object-fit: cover; border-radius: 8px; opacity: .55; cursor: pointer; border: 2px solid transparent; }
.dxbs-lightbox-thumbs img.active { opacity: 1; border-color: var(--dxbs-orange); }

body.dxbs-lightbox-open { overflow: hidden; }

.dxbs-book-v2 {
  --book-ink: #102a43;
  --book-muted: #66788a;
  --book-orange: #ff641f;
  --book-orange-dark: #df4709;
  --book-soft: #f7f9fc;
  --book-line: #dfe7ee;
  max-width: 1180px !important;
  align-items: start !important;
  color: var(--book-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dxbs-book-progress {
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 4px;
  padding: 16px 20px;
  color: #8996a3;
  font: 700 12px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;
}

.dxbs-book-progress span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.dxbs-book-progress span b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf1f4;
}

.dxbs-book-progress span.active { color: #102a43; }
.dxbs-book-progress span.active b { background: #e9fff3; color: #078744; box-shadow: inset 0 0 0 2px #18a45b; }
.dxbs-book-progress i { width: 58px; height: 2px; background: #e0e6eb; }

.dxbs-book-v2 > section {
  border-color: var(--book-line) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  background: #fff !important;
  box-shadow: 0 7px 24px rgba(16,42,67,.055);
}

.dxbs-book-v2 > section > h2 {
  margin: 0 0 20px !important;
  font-size: 21px !important;
  letter-spacing: -.02em;
}

.date-row {
  grid-template-columns: repeat(7,minmax(72px,1fr)) 92px !important;
  align-items: stretch;
}

.date {
  position: relative;
  min-height: 94px;
  display: grid;
  align-content: center;
  border-color: var(--book-line) !important;
  border-radius: 13px !important;
  cursor: pointer;
  transition: .2s ease;
}

.date:hover,.date:has(input:checked),.date.chosen {
  border: 2px solid var(--book-orange) !important;
  background: #fff6f0 !important;
  color: var(--book-orange-dark);
  transform: translateY(-2px);
}

.date input { position: absolute; opacity: 0; }
.date small { font-size: 11px; color: var(--book-muted); }
.date b { font-size: 15px; font-weight: 600 !important; margin: 3px 0; }
.date span { font-size: 12px; font-weight: 500 !important; }

body:has(.dxbs-book-v2) .entry-title,
body:has(.dxbs-book-v2) .wp-block-post-title,
body:has(.dxbs-book-v2) .page-header:has(h1) {
  display: none !important;
}

/* Checkout content supplies its own accessible headings; hide only the
   duplicate title printed by the active WordPress page template. */
body:has(.dxbs-checkout-v2) .entry-title,
body:has(.dxbs-checkout-v2) .wp-block-post-title,
body:has(.dxbs-checkout-v2) .page-header:has(h1),
body:has(.dxbs-checkout-progress) .entry-title,
body:has(.dxbs-checkout-progress) .wp-block-post-title,
body:has(.dxbs-checkout-progress) .page-header:has(h1) {
  display: none !important;
}

.dxbs-more-dates {
  min-height: 94px;
  border: 1px solid var(--book-line);
  border-radius: 13px;
  background: var(--book-soft);
  color: var(--book-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.dxbs-more-dates b,.dxbs-more-dates span { display: block; }
.dxbs-more-dates b { color: var(--book-orange); font-size: 18px; margin-bottom: 5px; }

.dxbs-options-section {
  display: block !important;
  padding: 0 !important;
  overflow: hidden;
}

.dxbs-options-section > h2 {
  margin: 0 !important;
  padding: 24px !important;
  border-bottom: 1px solid var(--book-line);
}

.dxbs-options-section .booking-option {
  position: relative;
  min-height: 128px;
  display: grid !important;
  grid-template-columns: 1fr 170px 32px !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 7px 16px !important;
  margin: 0 !important;
  padding: 22px 24px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--book-line) !important;
  border-radius: 0 !important;
  background: #fff;
  cursor: pointer;
  transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.dxbs-options-section .booking-option:hover {
  transform: none;
  background: #fafcff;
  box-shadow: inset 4px 0 0 var(--book-orange);
}

.dxbs-options-section .booking-option.is-selected {
  border-bottom: 1px solid var(--book-line) !important;
  background: linear-gradient(90deg,#fff7f2,#fff);
  box-shadow: inset 4px 0 0 var(--book-orange);
}

.dxbs-options-section .booking-option input {
  position: static !important;
  grid-column: 3;
  grid-row: 1 / 3;
  width: 21px !important;
  height: 21px !important;
  margin: 0 !important;
  opacity: 1;
  accent-color: var(--book-orange);
}

.dxbs-options-section .booking-option > b {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  font-size: 17px;
  line-height: 1.35;
}

.dxbs-options-section .booking-option > span:not(.option-cta) {
  grid-column: 1;
  grid-row: 2;
  display: block;
  color: var(--book-muted);
  font-size: 13px;
}

.dxbs-options-section .booking-option > strong {
  grid-column: 2;
  grid-row: 1 / 3;
  margin-top: 0;
  color: var(--book-ink);
  font-size: 22px;
  text-align: right !important;
}

.dxbs-options-section .option-cta { display: none !important; }

.dxbs-transfer-section .booking-option {
  border: 1px solid var(--book-line) !important;
  border-left: 4px solid var(--book-orange) !important;
  border-radius: 12px;
}

.dxbs-transfer-section .booking-option.is-selected {
  background: #fff6f0;
  box-shadow: inset 0 0 0 1px var(--book-orange);
}

.dxbs-book-v2 .booking-summary {
  border-color: var(--book-line) !important;
  border-radius: 17px !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(16,42,67,.12) !important;
}

.dxbs-summary-tour {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 13px;
  align-items: center;
  margin: -5px -5px 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--book-line);
}

.dxbs-summary-tour img,.dxbs-summary-tour .tour-placeholder {
  width: 86px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.dxbs-summary-tour .tour-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#ff641f,#ff9a61);
  color: #fff;
  font-weight: 900;
}

.dxbs-summary-tour b,.dxbs-summary-tour small { display: block; }
.dxbs-summary-tour b { margin-bottom: 6px; color: var(--book-ink); font-size: 14px; line-height: 1.35; }
.dxbs-summary-tour small { margin-top: 3px; color: var(--book-muted); font-size: 11px; }
.dxbs-summary-tour small:before { display: inline-block; width: 17px; color: var(--book-orange); }
.dxbs-summary-tour .summary-date:before { content: '▣'; }
.dxbs-summary-tour .summary-guests:before { content: '♙'; }

.dxbs-book-v2 .booking-summary h3 {
  font-size: 19px;
  line-height: 1.35;
}

.dxbs-book-v2 .booking-summary h2 {
  color: var(--book-ink);
  font-size: 30px;
}

.dxbs-book-v2 .booking-summary .dxbs-primary {
  width: 100%;
  background: linear-gradient(135deg,var(--book-orange),#ff853f) !important;
  box-shadow: 0 9px 20px rgba(255,100,31,.25);
}

.dxbs-calendar-modal {
  --book-ink: #102a43;
  --book-muted: #66788a;
  --book-orange: #ff641f;
  --book-orange-dark: #df4709;
  --book-line: #dfe7ee;
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8,25,39,.68);
  backdrop-filter: blur(5px);
}

.dxbs-calendar-modal[hidden] { display: none !important; }
.dxbs-calendar-dialog { width: min(960px,94vw); overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 30px 90px #0005; }
.dxbs-calendar-dialog > header { display: flex; align-items: center; justify-content: space-between; padding: 23px 28px; border-bottom: 1px solid var(--book-line); background: linear-gradient(115deg,#fff7f2,#fff); }
.dxbs-calendar-dialog header small { color: var(--book-orange-dark); font-weight: 800; }
.dxbs-calendar-dialog header h2 { margin: 4px 0 0; color: var(--book-ink); font-size: 23px; }
.calendar-close { width: 42px; height: 42px; border: 1px solid var(--book-line); border-radius: 50%; background: #fff; color: var(--book-ink); font-size: 25px; cursor: pointer; }
.calendar-months { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 28px; }
.calendar-months section h3 { margin: 0 0 17px; color: var(--book-ink); text-align: center; }
.calendar-months .week,.calendar-months .days { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.calendar-months .week b { padding: 7px 0; color: var(--book-muted); font-size: 11px; text-align: center; }
.calendar-months .days i { min-height: 54px; }
.calendar-months .days button { min-height: 54px; border: 0; border-radius: 10px; background: transparent; color: var(--book-ink); cursor: pointer; }
.calendar-months .days button:hover { background: #fff1e9; color: var(--book-orange-dark); }
.calendar-months .days button:disabled { color: #c5ced6; cursor: not-allowed; }
.calendar-months .days button b,.calendar-months .days button small { display: block; }
.calendar-months .days button small { margin-top: 2px; font-size: 10px; }
.dxbs-calendar-dialog > footer { display: flex; justify-content: space-between; padding: 16px 28px; border-top: 1px solid var(--book-line); color: var(--book-muted); font-size: 12px; }
.dxbs-calendar-dialog > footer span:first-child { color: #18864b; }
body.dxbs-calendar-open { overflow: hidden; }

.dxbs-staff {
  --staff-navy: #0d2235;
  --staff-navy-2: #163650;
  --staff-orange: #ff641f;
  --staff-soft: #f3f6f9;
  --staff-line: #dfe7ee;
  width: min(1480px,calc(100vw - 32px)) !important;
  max-width: none !important;
  grid-template-columns: 245px minmax(0,1fr) !important;
  margin: 24px 0 50px 50% !important;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-radius: 22px;
  background: var(--staff-soft) !important;
  box-shadow: 0 24px 65px rgba(13,34,53,.13);
  color: var(--staff-navy);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}

.dxbs-staff > aside {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 820px;
  padding: 25px 17px !important;
  background: linear-gradient(180deg,var(--staff-navy),#091a2a) !important;
}

.staff-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 8px 27px;
  color: #fff;
}

.staff-brand b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg,#ff7a3d,#ff4f0b);
  font-size: 13px;
  box-shadow: 0 9px 25px #ff641f44;
}

.staff-brand span { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.dxbs-staff nav { display: grid; gap: 6px; }
.dxbs-staff nav a { display: flex !important; align-items: center; gap: 12px; padding: 12px 13px !important; border-radius: 11px !important; color: #bdcbd7 !important; text-decoration: none !important; font-size: 14px; font-weight: 650; transition: .2s; }
.dxbs-staff nav a:hover,.dxbs-staff nav a.active { color: #fff !important; background: linear-gradient(90deg,#ffffff19,#ffffff0a); box-shadow: inset 3px 0 0 var(--staff-orange); }
.dxbs-staff nav i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #ffffff0d; color: #ff9c70; font-style: normal; }
.staff-company { margin-top: auto; padding: 20px 8px 0; color: #70869a; line-height: 1.5; }

.dxbs-staff > main { min-width: 0; padding: 0 32px 38px !important; }
.staff-top { position: sticky; top: 0; z-index: 10; min-height: 88px; display: grid; grid-template-columns: 1fr minmax(320px,500px) auto; align-items: center; gap: 20px; margin: 0 -32px 30px; padding: 15px 32px; border-bottom: 1px solid var(--staff-line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.staff-top small { color: #738496; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.staff-top h2 { margin: 2px 0 0; color: var(--staff-navy); font-size: 19px; }
.staff-top label { position: relative; margin: 0; }
.staff-top label span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7b8c9c; font-size: 20px; }
.staff-top input { width: 100%; height: 46px; margin: 0 !important; padding: 0 16px 0 42px !important; border: 1px solid var(--staff-line) !important; border-radius: 13px !important; background: #f7f9fb !important; }
.staff-add { padding: 13px 17px; border-radius: 11px; background: var(--staff-orange); color: #fff !important; font-size: 13px; font-weight: 800; text-decoration: none !important; box-shadow: 0 9px 20px #ff641f33; }

.staff-page-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.staff-page-title small { color: var(--staff-orange); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.staff-page-title h1 { margin: 3px 0; color: var(--staff-navy); font-size: 30px; letter-spacing: -.03em; }
.staff-page-title p { margin: 0; color: #718294; }
.staff-status { padding: 8px 13px; border-radius: 99px; background: #e8fff1; color: #08783b; font-size: 12px; font-weight: 800; }
.staff-status.sold_out { background: #fff0ee; color: #b62c20; }

.staff-tour-editor { display: grid !important; gap: 18px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.staff-tour-editor > section { overflow: hidden; border: 1px solid var(--staff-line); border-radius: 17px; background: #fff; box-shadow: 0 7px 24px rgba(13,34,53,.045); }
.staff-tour-editor > section > header { display: flex; align-items: center; gap: 13px; padding: 18px 22px; border-bottom: 1px solid var(--staff-line); background: linear-gradient(100deg,#fff,#fafcfe); }
.staff-tour-editor > section > header > b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff0e8; color: var(--staff-orange); }
.staff-tour-editor > section > header h2 { margin: 0; color: var(--staff-navy); font-size: 18px; }
.staff-tour-editor > section > header p { margin: 2px 0 0; color: #7a8b9c; font-size: 12px; }
.staff-section-body { display: grid; gap: 17px; padding: 22px; }
.staff-tour-editor label { color: #263f53; font-size: 13px; font-weight: 700; }
.staff-tour-editor input,.staff-tour-editor textarea,.staff-tour-editor select { box-sizing: border-box; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid var(--staff-line); border-radius: 10px; background: #fbfcfd; color: var(--staff-navy); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.45; outline: none; transition: .2s; }
.staff-tour-editor input:focus,.staff-tour-editor textarea:focus,.staff-tour-editor select:focus { border-color: var(--staff-orange); background: #fff; box-shadow: 0 0 0 3px #ff641f16; }
.staff-tour-editor textarea { min-height: 95px; resize: vertical; }
.staff-tour-editor textarea.editor-large { min-height: 190px; }
.staff-tour-editor small { display: block; margin-top: 6px; color: #8090a0; font-weight: 500; }
.staff-tour-editor .three { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.staff-image-grid { display: grid; grid-template-columns: minmax(250px,.7fr) 1.5fr; gap: 22px; }
.staff-image-grid h3 { margin: 0 0 12px; font-size: 14px; }
.featured-preview,.upload-placeholder { width: 100%; height: 210px; border-radius: 13px; object-fit: cover; }
.upload-placeholder { display: grid; place-items: center; align-content: center; gap: 8px; border: 2px dashed #ccd8e1; background: #f7f9fb; color: #93a2b0; font-size: 32px; }
.upload-placeholder span { font-size: 12px; }
.gallery-preview { min-height: 104px; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 10px; }
.gallery-preview img { width: 100%; height: 92px; border-radius: 10px; object-fit: cover; }
.upload-button { display: inline-flex !important; align-items: center; justify-content: center; width: auto !important; margin: 10px 0; padding: 11px 15px; border: 1px solid #ffb18d; border-radius: 10px; background: #fff5ef; color: #d94a0c !important; cursor: pointer; }
.upload-button.secondary { border-color: #cbd7e1; background: #fff; color: #24384a !important; }
.media-choice-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.media-choice-row .upload-button { margin: 10px 0 0; font: inherit; font-weight: 750; }
.upload-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.staff-tip { margin: 0; padding: 13px 15px; border-radius: 10px; background: #fff7e8; color: #785413; font-size: 12px; }
.staff-savebar { position: sticky; bottom: 12px; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border: 1px solid #dce4ea; border-radius: 15px; background: rgba(255,255,255,.95); box-shadow: 0 15px 40px #0d223522; backdrop-filter: blur(10px); }
.staff-savebar b,.staff-savebar span { display: block; }
.staff-savebar span { margin-top: 3px; color: #78899a; font-size: 12px; }
.staff-savebar button { min-width: 175px; }

.staff-option-builder { overflow: hidden; border: 1px solid var(--staff-line); border-radius: 14px; background: #f8fafc; }
.builder-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 17px; border-bottom: 1px solid var(--staff-line); background: #fff; }
.builder-head b,.builder-head small { display: block; }
.builder-head small { margin-top: 3px; color: #7c8d9c; }
.builder-head button { padding: 9px 13px; border: 1px solid #ffb38f; border-radius: 9px; background: #fff4ed; color: #d84b0c; font-weight: 800; cursor: pointer; }
.option-rows { display: grid; gap: 12px; padding: 14px; }
.option-builder-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 11px; padding: 15px; border: 1px solid var(--staff-line); border-radius: 12px; background: #fff; }
.option-builder-row .row-title { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.option-builder-row .remove-row { width: 28px; height: 28px; border: 0; border-radius: 8px; background: #fff0ee; color: #b62c20; font-size: 18px; cursor: pointer; }
.option-builder-row .wide { grid-column: 1 / -1; }
.option-builder-row .max-field { display: none; }
.option-builder-row.private-pricing .child-field { display: none; }
.option-builder-row.private-pricing .max-field { display: block; }
.staff-addons-field { display: block; padding: 15px; border: 1px dashed #ffad86; border-radius: 12px; background: #fff8f4; }
.private-limit { margin: 12px 0 0; padding: 11px 13px; border-radius: 9px; background: #fff0ee; color: #ad2b21; font-size: 12px; font-weight: 700; }

.dxbs-addons-section .section-note { margin: -12px 0 17px; color: var(--book-muted); font-size: 12px; }
.booking-addon { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--book-line); border-radius: 12px; margin: 9px 0; cursor: pointer; transition: .2s; }
.booking-addon:has(input:checked) { border-color: var(--book-orange); background: #fff7f2; box-shadow: inset 3px 0 0 var(--book-orange); }
.booking-addon input { width: 18px; height: 18px; accent-color: var(--book-orange); }
.booking-addon span b,.booking-addon span small { display: block; }
.booking-addon span b { color: var(--book-ink); }
.booking-addon span small { margin-top: 4px; color: var(--book-muted); }
.booking-addon > strong { color: var(--book-ink); font-size: 13px; white-space: nowrap; }
.booking-summary .summary-addons:empty { display: none; }
.booking-summary .summary-addons { padding: 9px 10px; border-radius: 8px; background: #fff7ed; color: #9a4a15; font-size: 12px; }
.booking-summary .dxbs-primary:disabled { background: #b8c1c8 !important; box-shadow: none !important; cursor: not-allowed; }

body.single-dxb_tour .entry-header,
body.single-dxb_tour .post-thumbnail,
body.single-dxb_tour figure.wp-block-post-featured-image,
body.single-dxb_tour .entry-content > h1:first-child,
body.single-dxb_tour .entry-content > img.wp-post-image:first-child {
  display: none !important;
}

.dxbs-v2-facts {
  position: static !important;
  float: none !important;
  clear: both !important;
}

.dxbs-v2-columns > aside {
  position: sticky !important;
  top: 100px !important;
  align-self: start !important;
  z-index: 2 !important;
  background: #fff !important;
}

@media (max-width: 800px) {
  .dxbs-v2-gallery {
    height: 330px !important;
    display: block !important;
  }

  .dxbs-v2-gallery img:not(.g0) {
    display: none !important;
  }

  .dxbs-v2-gallery .g0 {
    position: static !important;
    width: 100% !important;
    height: 330px !important;
    border-radius: 14px !important;
  }

  .dxbs-v2-columns > aside {
    position: static !important;
  }

  .dxbs-tour-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .dxbs-tour-tools nav {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }

  .dxbs-v2-facts {
    grid-template-columns: 1fr !important;
  }

  .dxbs-lightbox { padding: 14px; }
  .dxbs-lightbox-prev,.dxbs-lightbox-next { width: 40px; height: 40px; }

  .date-row { display: flex !important; }
  .dxbs-more-dates { min-width: 92px; }
  .dxbs-options-section .booking-option { min-height: 145px; grid-template-columns: 1fr 28px !important; }
  .dxbs-options-section .booking-option > strong { grid-column: 1; grid-row: 3; text-align: left !important; }
  .dxbs-options-section .booking-option input { grid-column: 2; grid-row: 1 / 4; }
  .calendar-months { grid-template-columns: 1fr; padding: 18px; }
  .calendar-months section:nth-child(2) { display: none; }
  .dxbs-calendar-dialog > header { padding: 18px; }
  .dxbs-calendar-dialog > footer { padding: 14px 18px; }
  .dxbs-book-progress { gap: 6px; overflow-x: auto; justify-content: flex-start; }
  .dxbs-book-progress i { width: 24px; min-width: 24px; }

  .dxbs-staff { width: calc(100vw - 16px) !important; grid-template-columns: 1fr !important; border-radius: 15px; }
  .dxbs-staff > aside { min-height: auto; padding: 13px !important; }
  .staff-brand { padding-bottom: 12px; }
  .dxbs-staff nav { display: flex; overflow-x: auto; }
  .dxbs-staff nav a { min-width: max-content; }
  .staff-company { display: none; }
  .dxbs-staff > main { padding: 0 14px 25px !important; }
  .staff-top { position: static; grid-template-columns: 1fr; margin: 0 -14px 22px; padding: 16px; }
  .staff-top > div { display: none; }
  .staff-add { text-align: center; }
  .staff-page-title { align-items: flex-start; }
  .staff-page-title h1 { font-size: 25px; }
  .staff-tour-editor .three,.staff-image-grid { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: repeat(3,1fr); }
  .staff-savebar { bottom: 5px; }
  .staff-savebar > div { display: none; }
  .staff-savebar button { width: 100%; }
  .option-builder-row { grid-template-columns: 1fr 1fr; }
  .option-builder-row .row-title,.option-builder-row .wide { grid-column: 1 / -1; }
  .booking-addon { grid-template-columns: 22px 1fr; }
  .booking-addon > strong { grid-column: 2; }
}

/* 2.12.7: precise gallery grid, universal brand sizing and reliable sticky UI. */
@media (min-width: 801px) {
  .dxbs-v2-gallery {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 5px !important;
    height: 420px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .dxbs-v2-gallery img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: 0 !important;
  }
  .dxbs-v2-gallery .g0 { grid-column: 1; grid-row: 1 / 3; width: 100% !important; height: 100% !important; }
  .dxbs-v2-gallery .g1 { grid-column: 2; grid-row: 1; width: 100% !important; height: 100% !important; }
  .dxbs-v2-gallery .g2 { grid-column: 3; grid-row: 1; width: 100% !important; height: 100% !important; }
  .dxbs-v2-gallery .g3 { grid-column: 2; grid-row: 2; width: 100% !important; height: 100% !important; }
  .dxbs-v2-gallery .g4 { grid-column: 3; grid-row: 2; width: 100% !important; height: 100% !important; }
}

#dxbs-global-header {
  position: fixed !important;
  top: var(--dxbs-admin-offset, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99990 !important;
  width: 100% !important;
  background: #fff !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.admin-bar { --dxbs-admin-offset: 32px; }
#dxbs-header-spacer {
  display: block !important;
  width: 100% !important;
  height: 0 !important;
  min-height: 0 !important;
  flex: 0 0 0 !important;
  pointer-events: none !important;
}
#dxbs-global-header .dxbs-head-nav {
  min-height: 57px !important;
  height: auto !important;
  padding-bottom: 8px !important;
  box-sizing: border-box !important;
}
.dxbs-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.dxbs-logo>b {
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
  border-radius: 11px !important;
  background: #ff5a1f !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
.dxbs-logo>span { font-size: 24px !important; line-height: 1 !important; letter-spacing: -.7px !important; }
.dxbs-cart-layout>aside { min-width: 0 !important; box-sizing: border-box !important; overflow: hidden !important; }
.dxbs-cart-layout>aside a { display: block !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
.dxbs-booking-success { max-width: 620px; margin: 60px auto 100px; padding: 42px 28px; border: 1px solid #dfe7eb; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 18px 45px #17304712; }
.dxbs-booking-success>span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: #eafaf1; color: #149653; font-size: 28px; }
.dxbs-booking-success h1 { margin: 0 0 10px; }.dxbs-booking-success p { color: #66757f; }.dxbs-booking-success b { display: block; margin: 18px 0; }
.dxbs-booking-success .dxbs-primary { display: inline-flex; margin-top: 8px; }
@media (max-width: 782px) {
  .admin-bar { --dxbs-admin-offset: 46px; }
  #dxbs-global-header .dxbs-head-nav { min-height: 58px !important; height: auto !important; padding: 0 10px 8px !important; }
  .dxbs-logo { gap: 7px !important; }
  .dxbs-logo>b { width: 37px !important; height: 37px !important; min-width: 37px !important; border-radius: 10px !important; }
  .dxbs-logo>span { font-size: 20px !important; letter-spacing: -.5px !important; }
  .dxbs-booking-success { margin: 24px 12px 110px; padding: 32px 18px; }
}

/* 2.12.11: stable home rails and a genuinely persistent mobile header. */
@media (min-width: 851px) {
  .dxbs-category-rows .dxbs-home-rail,
  .dxbs-category-rows .dxbs-home-rail:nth-child(even) {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .dxbs-category-rows .dxbs-section-head {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  .dxbs-category-rows .dxbs-rail-track {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    box-sizing: border-box !important;
  }
  .dxbs-category-rows .dxbs-home-card {
    flex: 0 0 calc((100% - 42px) / 4) !important;
    width: calc((100% - 42px) / 4) !important;
    min-width: calc((100% - 42px) / 4) !important;
    max-width: calc((100% - 42px) / 4) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 850px) {
  #dxbs-global-header {
    position: fixed !important;
    top: var(--dxbs-admin-offset, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    z-index: 2147483000 !important;
    transform: none !important;
    -webkit-transform: none !important;
    translate: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #dxbs-header-spacer {
    display: block !important;
    height: var(--dxbs-header-height, 112px) !important;
    min-height: var(--dxbs-header-height, 112px) !important;
    flex: 0 0 var(--dxbs-header-height, 112px) !important;
  }
}
