/* ============================================================
   Roxana Travel — single trip page
   ============================================================ */

.rx-trip-page { padding-bottom: 10px; }
.rx-trip-page .rx-pkg-crumbs { padding-block: 10px 8px; }

/* ---------- Head ---------- */
.rx-trip-head { padding-bottom: clamp(18px, 2.6vw, 28px); }
.rx-trip-head__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.rx-trip-head__copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.rx-trip-head__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.rx-trip-head__meta > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.rx-trip-head__meta .rx-icon { width: 15px !important; height: 15px !important; color: var(--brand-purple); }
.rx-trip-rating strong { color: var(--ink); font-family: var(--font-heading); }

.rx-trip-head__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.rx-trip-share {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink); cursor: pointer;
  transition: all .2s var(--ease);
}
.rx-trip-share:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.rx-trip-share .rx-icon, .rx-trip-share svg { width: 18px; height: 18px; }
.rx-trip-share.is-copied { background: var(--brand-purple); border-color: var(--brand-purple); color: #fff; }

/* ---------- Gallery ---------- */
.rx-trip-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: clamp(320px, 34vw, 460px);
  margin-top: 16px;
}
.rx-trip-gallery__item {
  position: relative; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 14px; overflow: hidden; background: var(--surface-3);
}
.rx-trip-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.rx-trip-gallery__item:hover img { transform: scale(1.04); }
.rx-trip-gallery__item--0 { grid-row: span 2; }

/* Fewer than five photos: reshape the grid so nothing is left empty */
.rx-trip-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.rx-trip-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.rx-trip-gallery--3 { grid-template-columns: 1.65fr 1fr; }
.rx-trip-gallery--4 { grid-template-columns: 1.65fr 1fr 1fr; }
.rx-trip-gallery--4 .rx-trip-gallery__item--3 {
  display: block;
  grid-column: 2 / 4;
  grid-row: 2;
  margin-top: 0;
}
.rx-trip-gallery--4 .rx-trip-gallery__item--0 { grid-row: span 2; }
.rx-trip-gallery--3 .rx-trip-gallery__item--0,
.rx-trip-gallery--2 .rx-trip-gallery__item--0,
.rx-trip-gallery--1 .rx-trip-gallery__item--0 { grid-row: span 2; }
.rx-trip-gallery--2 .rx-trip-gallery__item--0,
.rx-trip-gallery--1 .rx-trip-gallery__item--0 { grid-row: span 1; }
.rx-trip-gallery--2 .rx-trip-gallery__item--1 { grid-column: 2; grid-row: 1; }
.rx-trip-gallery__count {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  font-family: var(--font-heading); font-size: 12px; font-weight: 600; color: var(--ink);
  box-shadow: 0 6px 18px rgba(20, 18, 31, .14);
  border: 0;
  cursor: pointer;
}
.rx-trip-gallery__count .rx-icon { width: 14px !important; height: 14px !important; }

/* ---------- Layout ---------- */
.rx-trip-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: clamp(24px, 3.4vw, 48px);
  align-items: start;
  padding-top: clamp(12px, 2vw, 22px);
}

/* ---------- In-page nav ---------- */
.rx-trip-nav {
  position: sticky; top: 92px; z-index: 20;
  display: flex; gap: 6px; overflow-x: auto;
  margin: 0 0 22px; padding: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  scrollbar-width: none;
}
.rx-trip-nav::-webkit-scrollbar { display: none; }
.rx-trip-nav a {
  flex: 0 0 auto;
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  color: var(--ink-2);
}
.rx-trip-nav a:hover { background: rgba(106, 75, 209, .08); color: var(--brand-purple); }

/* ---------- Sections ---------- */
.rx-trip-section { margin-bottom: clamp(26px, 3.4vw, 40px); scroll-margin-top: 150px; }
.rx-trip-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
}
.rx-trip-prose { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.rx-trip-prose p { margin: 0 0 14px; }
.rx-trip-prose ul, .rx-trip-prose ol { padding-left: 20px; margin: 0 0 14px; }

.rx-trip-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin: 18px 0 0; padding: 0; list-style: none;
}
.rx-trip-facts li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr);
  gap: 2px 10px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.rx-trip-facts .rx-icon {
  grid-row: span 2; width: 34px !important; height: 34px !important;
  max-width: 34px !important; max-height: 34px !important;
  padding: 8px; box-sizing: content-box; border-radius: 9px;
  color: var(--brand-purple); background: rgba(106, 75, 209, .08);
}
.rx-trip-facts span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rx-trip-facts strong { font-size: 13.5px; font-weight: 600; color: var(--ink); }

.rx-trip-highlights { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.rx-trip-highlights li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.rx-trip-highlights .rx-icon { width: 18px !important; height: 18px !important; margin-top: 2px; color: var(--success); flex: 0 0 auto; }

/* Accordion */
.rx-trip-accordion { border-top: 1px solid var(--line); }
.rx-trip-accordion details { border-bottom: 1px solid var(--line); }
.rx-trip-accordion summary {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 0; cursor: pointer; list-style: none;
  font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--ink);
}
.rx-trip-accordion summary::-webkit-details-marker { display: none; }
.rx-trip-accordion summary > span:not(.rx-trip-accordion__num) { flex: 1; }
.rx-trip-accordion summary .rx-icon { width: 18px !important; height: 18px !important; color: var(--brand-purple); transition: transform .25s var(--ease); }
.rx-trip-accordion details[open] summary .rx-icon { transform: rotate(180deg); }
.rx-trip-accordion__num {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(106, 75, 209, .1); color: var(--brand-purple);
  font-size: 11.5px; font-weight: 700;
}
.rx-trip-accordion__body { padding: 0 0 16px 38px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.rx-trip-accordion__body p { margin: 0 0 10px; }

/* Included / excluded */
.rx-trip-ie { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rx-trip-ie__col { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.rx-trip-ie__col h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.rx-trip-ie__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rx-trip-ie__col li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.rx-trip-ie__col li .rx-icon { width: 16px !important; height: 16px !important; margin-top: 2px; flex: 0 0 auto; color: var(--success); }
.rx-trip-ie__col--out li span:first-child { color: var(--danger); font-weight: 700; flex: 0 0 auto; }
.rx-trip-ie__col--out { background: var(--surface-2); }

/* Map */
.rx-trip-map { height: 320px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); z-index: 1; }

/* Reviews */
.rx-trip-reviews { display: grid; gap: 12px; }
.rx-trip-review { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.rx-trip-review__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.rx-trip-review__head strong { font-family: var(--font-heading); font-size: 14px; color: var(--ink); }
.rx-trip-review__stars span { color: #d9d6e6; font-size: 13px; }
.rx-trip-review__stars span.is-on { color: var(--gold); }
.rx-trip-review__body { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.rx-trip-review__body p { margin: 0 0 8px; }
.rx-trip-reviews-empty { display: grid; gap: 12px; justify-items: start; }

/* ---------- Booking box ---------- */
.rx-trip-aside { position: sticky; top: 100px; }
.rx-book {
  padding: 20px;
  border: 1px solid rgba(106, 75, 209, .16);
  border-radius: 22px;
  background:
    radial-gradient(120% 110% at 100% 0%, rgba(236, 30, 155, .05), transparent 55%),
    #fff;
  box-shadow: 0 18px 48px rgba(20, 18, 31, .07);
}
.rx-book__price { font-family: var(--font-heading); font-size: 14px; color: var(--muted); }
.rx-book__price .price,
.rx-book__price strong { font-size: 26px; font-weight: 700; color: var(--ink); }
.rx-book__price .suffix,
.rx-book__price .per-person { font-size: 12.5px; color: var(--muted); }
.rx-book .togo-percentage-discount { display: inline-block; margin-top: 4px; }

.rx-book .togo-st-form-booking__main { margin-top: 12px; }
.rx-book .booking-form { margin: 0; }
.rx-book .form-group { display: grid; gap: 8px; }

.rx-book .form-field {
  position: relative;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.rx-book .form-field .label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--ink);
}
.rx-book .form-field .label .rx-icon,
.rx-book .form-field .label svg { width: 16px; height: 16px; color: var(--brand-purple); }
.rx-book .form-field .label .name { color: var(--ink); }
.rx-book .form-field .label .choose-date { margin-left: auto; font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* Calendar dropdown */
.rx-book .calendar-wrapper {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(43, 28, 92, .18);
}
.rx-book .form-field.is-active .calendar-wrapper { display: block; }
.rx-book .calendar-container { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rx-book .calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.rx-book .calendar-header h6 { margin: 0; font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--ink); }
.rx-book .calendar-header button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px; }
.rx-book .calendar-header button:hover { color: var(--brand-purple); }
.rx-book .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.rx-book .calendar-days .day-name { text-align: center; font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.rx-book .calendar-dates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.rx-book .calendar-dates > div {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 40px; padding: 3px 0;
  border-radius: 8px;
  font-size: 12px; color: var(--ink);
  cursor: pointer;
}
.rx-book .calendar-dates > div:hover { background: rgba(106, 75, 209, .08); }
.rx-book .calendar-dates > div .price { display: none; }
.rx-book .calendar-dates > div.disabled { color: #c9c5d8; cursor: not-allowed; text-decoration: line-through; }
.rx-book .calendar-dates > div.disabled:hover { background: none; }
.rx-book .calendar-dates > div.is-selected { background: var(--brand-purple); color: #fff; }
.rx-book .calendar-dates > div.today { box-shadow: inset 0 0 0 1.5px var(--brand-purple); }
.rx-book .calendar-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.rx-book .calendar-check { font-size: 12.5px; font-weight: 600; }

/* Guest dropdown */
.rx-book .guest-box {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(43, 28, 92, .18);
  cursor: default;
}
.rx-book .form-field.is-active .guest-box { display: block; }
.rx-book .guest-box__items { display: grid; gap: 10px; }
.rx-book .guest-box__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rx-book .guest-box__item .name { display: flex; flex-direction: column; }
.rx-book .guest-box__item .text { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rx-book .guest-box__item .number { font-size: 11.5px; color: var(--muted); }
.rx-book .quantity-input { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.rx-book .quantity-input .minus,
.rx-book .quantity-input .plus { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--brand-purple); font-weight: 700; }
.rx-book .quantity-input .minus.disabled { color: #cfcbdd; cursor: not-allowed; }
.rx-book .quantity-input input { width: 34px; border: 0; text-align: center; font-size: 13px; -moz-appearance: textfield; }
.rx-book .quantity-input input::-webkit-outer-spin-button,
.rx-book .quantity-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rx-book .quantity-button { margin-top: 10px; text-align: right; }
.rx-book .apply-guest { font-size: 12.5px; font-weight: 600; }
.rx-book .apply-guest.disabled { opacity: .45; pointer-events: none; }

/* Submit */
.rx-book .form-submit { margin-top: 10px; }
.rx-book .togo-button,
.rx-book button[type="submit"] {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; padding: 12px 20px;
  border: 0; border-radius: 999px;
  background: var(--brand-purple); color: #fff;
  font-family: var(--font-heading); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .2s var(--ease);
}
.rx-book .togo-button:hover,
.rx-book button[type="submit"]:hover { background: var(--brand-purple-600); }
.rx-book .togo-button[disabled] { opacity: .55; pointer-events: none; }
.rx-book__enquiry { display: block; margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--muted); }
.rx-book__enquiry:hover { color: var(--brand-purple); }

/* Availability results */
.rx-book .availability-wrapper { margin-top: 14px; }
.rx-book .availability-wrapper .togo-skeleton-wrapper { display: none; }
.rx-book .availability-content:not(:empty) { margin-top: 4px; }
.rx-book .list-availability { display: grid; gap: 10px; }
.rx-book .item-availability {
  border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden;
}
.rx-book .item-availability__info { padding: 14px; }
.rx-book .item-availability__price { padding: 0 14px 14px; }
.rx-book .item-availability .add-to-cart,
.rx-book .item-availability .book-now {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 10px 18px; border-radius: 999px;
  background: var(--brand-purple); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-heading); font-size: 13.5px; font-weight: 600;
}
.rx-book .item-availability .book-now { background: var(--brand-magenta); }
.rx-book .item-availability .total-price { font-family: var(--font-heading); font-weight: 700; color: var(--ink); }

/* Trust + tailor */
.rx-book__trust { display: grid; gap: 6px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); list-style: none; }
.rx-book__trust li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.rx-book__trust .rx-icon { width: 15px !important; height: 15px !important; color: var(--success); }

.rx-book__tailor {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 14px; padding: 14px;
  border-radius: 14px; background: rgba(106, 75, 209, .06);
  font-size: 12px; color: var(--muted);
}
.rx-book__tailor span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-size: 13.5px; font-weight: 600; color: var(--brand-purple); }
.rx-book__tailor .rx-icon { width: 14px !important; height: 14px !important; }

/* ---------- Lightbox ---------- */
.rx-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(14, 10, 28, .92);
}
.rx-lightbox[hidden] { display: none; }
.rx-lightbox img { max-width: min(1200px, 92vw); max-height: 86vh; border-radius: 10px; object-fit: contain; }
.rx-lightbox__close {
  position: absolute; top: 18px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: transparent;
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.rx-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1);
  color: #fff; cursor: pointer;
}
.rx-lightbox__nav .rx-icon { width: 20px; height: 20px; }
.rx-lightbox__nav--prev { left: 18px; }
.rx-lightbox__nav--prev .rx-icon { transform: rotate(180deg); }
.rx-lightbox__nav--next { right: 18px; }
body.rx-lightbox-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rx-trip-layout { grid-template-columns: minmax(0, 1fr); }
  .rx-trip-main,
  .rx-trip-aside { min-width: 0; }
  /* Booking first on tablets and phones: users should not scroll past the
     whole itinerary to find the calendar. */
  .rx-trip-aside { position: static; order: -1; width: 100%; }
  .rx-book { max-width: 560px; margin-inline: auto; }
  .rx-trip-nav { top: 80px; }
}

@media (max-width: 820px) {
  .rx-trip-gallery { grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: 300px; }
  .rx-trip-gallery__item--0 { grid-row: span 2; }
  .rx-trip-ie { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .rx-trip-head__top { flex-direction: column; }
  .rx-trip-head__actions { order: -1; align-self: flex-end; }
  .rx-trip-gallery { height: 240px; grid-template-columns: 2fr 1fr; }
  .rx-trip-gallery__count { right: 10px; bottom: 10px; }
  .rx-trip-layout { gap: 26px; }
  .rx-book { max-width: none; padding: 16px; }
  .rx-trip-nav { margin-bottom: 16px; }
  .rx-trip-section { margin-bottom: 28px; }
  .rx-trip-map { height: 240px; }
  .rx-lightbox__nav { width: 38px; height: 38px; }
  .rx-lightbox__nav--prev { left: 8px; }
  .rx-lightbox__nav--next { right: 8px; }
}

/* ============================================================
   v2 � wide availability, inline pickers, route + map
   ============================================================ */

/* Sticky booking card: scrolls internally instead of clipping */
.rx-trip-aside { max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
.rx-trip-aside::-webkit-scrollbar { width: 4px; }
.rx-trip-aside::-webkit-scrollbar-thumb { background: rgba(106, 75, 209, .25); border-radius: 4px; }

/* Pickers expand inside the card (no clipping, no overlay) */
.rx-book .calendar-wrapper,
.rx-book .guest-box {
  position: static;
  left: auto; right: auto; top: auto;
  margin-top: 12px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px dashed var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.rx-book .calendar-wrapper { max-height: 320px; overflow-y: auto; }
.rx-book .calendar-actions { position: sticky; bottom: 0; background: #fff; padding-top: 8px; }
.rx-book .calendar-check,
.rx-book .calendar-actions .togo-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 38px; padding: 8px 16px;
  border-radius: 999px; background: rgba(106, 75, 209, .1);
  color: var(--brand-purple); font-family: var(--font-heading); font-size: 13px; font-weight: 600;
}
.rx-book .calendar-dates > div { min-height: 36px; }

/* Wide availability panel */
.rx-trip-pick {
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(106, 75, 209, .14);
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(236, 30, 155, .04), transparent 55%),
    #fff;
  box-shadow: 0 14px 40px rgba(20, 18, 31, .05);
}
.rx-trip-pick__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 10px 24px; align-items: end; margin-bottom: 16px;
}
.rx-trip-pick__head h2 { margin: 0; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem); }
.rx-trip-pick__head p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.rx-trip-pick .availability-wrapper .togo-skeleton-wrapper { display: none; }
.rx-trip-pick .availability-content:empty { display: none; }

.rx-trip-pick .list-availability { display: grid; gap: 12px; }
.rx-trip-pick .item-availability {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 300px;
  gap: 4px 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.rx-trip-pick .item-availability.is-active { border-color: rgba(106, 75, 209, .45); box-shadow: 0 10px 30px rgba(106, 75, 209, .08); }
.rx-trip-pick .item-availability__radio { padding-top: 3px; }
.rx-trip-pick .item-availability__radio input { width: 18px; height: 18px; accent-color: var(--brand-purple); }
.rx-trip-pick .item-availability__radio span { display: none; }
.rx-trip-pick .item-availability__info > label {
  display: block; margin-bottom: 4px;
  font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--ink);
}
.rx-trip-pick .item-availability__description { font-size: 13px; line-height: 1.55; color: var(--muted); }
.rx-trip-pick .item-availability__price {
  padding-left: 18px;
  border-left: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--ink-2);
}
.rx-trip-pick .item-availability__price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.rx-trip-pick .item-availability__price .total-price { display: block; margin-top: 8px; font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--ink); }
.rx-trip-pick .item-availability .add-to-cart,
.rx-trip-pick .item-availability .book-now {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 44px; margin-top: 8px; padding: 10px 18px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-heading); font-size: 14px; font-weight: 600;
}
.rx-trip-pick .item-availability .book-now { background: var(--brand-purple); color: #fff; }
.rx-trip-pick .item-availability .add-to-cart { background: rgba(106, 75, 209, .1); color: var(--brand-purple); }

/* Togo inner bits inside the wide panel */
.rx-trip-pick .trip-times { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.rx-trip-pick .trip-time-label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; cursor: pointer; }
.rx-trip-pick .trip-time-label:has(input:checked) { border-color: var(--brand-purple); background: rgba(106, 75, 209, .08); color: var(--brand-purple); }
.rx-trip-pick .trip-time-label.is-disabled { opacity: .45; cursor: not-allowed; }
.rx-trip-pick .trip-service { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.rx-trip-pick .trip-service__name label { font-size: 13px; }
.rx-trip-pick .trip-service .quantity-input { display: inline-flex; align-items: center; gap: 4px; }
.rx-trip-pick .trip-service .quantity-input .minus,
.rx-trip-pick .trip-service .quantity-input .plus { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(106, 75, 209, .1); color: var(--brand-purple); cursor: pointer; }
.rx-trip-pick .trip-service .quantity-input input { width: 36px; text-align: center; border: 0; }
.rx-trip-pick .payment-type-wrapper,
.rx-trip-pick .payment-type { margin-top: 10px; }
.rx-trip-pick .trip-cancellation-time { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 12.5px; color: var(--muted); }

/* Route + map */
.rx-route__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 10px 24px; align-items: end; margin-bottom: 16px; }
.rx-route__head h2 { margin: 0; }
.rx-route__head p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.rx-route__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(18px, 2.6vw, 32px); align-items: start; }
.rx-route__map { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 10px; }
.rx-route__map .rx-trip-map { height: 340px; }
.rx-route__stops { display: flex; flex-wrap: wrap; gap: 6px; }
.rx-route__stop {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); cursor: pointer;
  font-size: 11.5px; line-height: 1;
  transition: all .2s var(--ease);
}
.rx-route__stop:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.rx-route__stop.is-active { border-color: var(--brand-purple); background: rgba(106, 75, 209, .08); color: var(--brand-purple); }
.rx-route__stop-num { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-purple); color: #fff; font-size: 10.5px; font-weight: 700; }
.rx-route__stop-days { color: var(--muted); font-size: 10.5px; }
.rx-route__place { font-size: 11px; color: var(--muted); white-space: nowrap; }
.rx-route__address { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: var(--muted); }
.rx-route__address .rx-icon { width: 14px !important; height: 14px !important; color: var(--brand-purple); }

.rx-route .rx-trip-accordion summary { gap: 10px; }
.rx-route .rx-trip-accordion details.is-current { background: rgba(106, 75, 209, .03); }
.rx-route .rx-trip-accordion details.is-current .rx-trip-accordion__num { background: var(--brand-purple); color: #fff; }

/* Map markers */
.rx-map-pin {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand-purple);
  color: var(--brand-purple);
  font-family: var(--font-heading); font-size: 12px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(20, 18, 31, .18);
}
.rx-map-pin.is-active { background: var(--brand-purple); color: #fff; transform: scale(1.15); }

/* Sticky nav: solid so it never looks like it floats over text */
.rx-trip-nav { background: #fff; box-shadow: 0 6px 20px rgba(20, 18, 31, .06); }
.rx-trip-section { scroll-margin-top: 170px; }

@media (max-width: 1100px) {
  .rx-trip-aside { max-height: none; overflow: visible; }
  .rx-route__grid { grid-template-columns: 1fr; }
  .rx-route__map { position: static; }
  .rx-route__map .rx-trip-map { height: 320px; }
  .rx-trip-pick__head { grid-template-columns: 1fr; }
  .rx-route__head { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .rx-trip-pick .item-availability { grid-template-columns: 24px minmax(0, 1fr); }
  .rx-trip-pick .item-availability__price { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 6px; }
}
@media (max-width: 600px) {
  .rx-trip-pick { padding: 16px; border-radius: 18px; }
  .rx-route__map .rx-trip-map { height: 260px; }
  .rx-route__place { display: none; }
}

/* ============================================================
   v3 � modal availability, facts icons, FAQ cards, reviews
   ============================================================ */

/* Facts icons: sized container, never squashed */
.rx-trip-facts li { grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 2px 12px; }
.rx-trip-facts__icon {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(106, 75, 209, .08);
  color: var(--brand-purple);
}
.rx-trip-facts__icon .rx-icon {
  width: 20px !important; height: 20px !important;
  max-width: 20px !important; max-height: 20px !important;
  padding: 0 !important; box-sizing: border-box !important;
}

/* Section head used by FAQ + reviews */
.rx-trip-section__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 10px 24px; align-items: end; margin-bottom: 16px;
}
.rx-trip-section__head h2 { margin: 0; }
.rx-trip-section__head p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Availability modal */
.rx-avail-modal { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 20px; }
.rx-avail-modal[hidden] { display: none; }
.rx-avail-modal__overlay { position: absolute; inset: 0; background: rgba(14, 10, 28, .55); backdrop-filter: blur(5px); }
.rx-avail-modal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(88vh, 940px);
  overflow-y: auto;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(20, 18, 31, .3);
  animation: rxModalIn .22s var(--ease);
}
@keyframes rxModalIn { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
.rx-avail-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rx-avail-modal__head h2 { margin: 0 0 4px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
.rx-avail-modal__head p { margin: 0; font-size: 13px; color: var(--muted); }
.rx-avail-modal__close {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.rx-avail-modal__close:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.rx-avail-modal__body.rx-trip-pick { padding: 0; border: 0; background: none; box-shadow: none; }
.rx-avail-modal .availability-wrapper .togo-skeleton-wrapper { display: block; }
.rx-avail-open { overflow: hidden; }

/* Submit loading state */
.rx-book button[type="submit"] { position: relative; }
.rx-book__spinner {
  display: none;
  width: 16px; height: 16px; margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rxSpin .7s linear infinite;
}
.rx-book button[type="submit"].is-loading .rx-book__spinner { display: inline-block; }
.rx-book button[type="submit"].is-loading { opacity: .85; }
@keyframes rxSpin { to { transform: rotate(360deg); } }

/* Quantity counters � isolated from the parent theme */
.rx-book .quantity-input { gap: 2px; padding: 2px; border-color: var(--line); }
.rx-book .quantity-input .minus,
.rx-book .quantity-input .plus {
  width: 32px; height: 32px; min-width: 32px;
  display: inline-grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(106, 75, 209, .1);
  color: var(--brand-purple);
  font-size: 16px; font-weight: 700; line-height: 1;
  cursor: pointer;
  user-select: none;
}
.rx-book .quantity-input .minus:hover,
.rx-book .quantity-input .plus:hover { background: var(--brand-purple); color: #fff; }
.rx-book .quantity-input .minus.disabled { opacity: .35; pointer-events: none; }
.rx-book .quantity-input input { width: 40px; height: 30px; border: 0; background: transparent; font-size: 14px; font-weight: 600; }
.rx-book .guest-box__item { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.rx-book .guest-box__item:last-child { border-bottom: 0; }

/* Calendar selected / disabled */
.rx-book .calendar-dates > div.is-selected { background: var(--brand-purple) !important; color: #fff !important; font-weight: 600; }
.rx-book .calendar-dates > div.today:not(.is-selected) { box-shadow: inset 0 0 0 1.5px var(--brand-purple); }
.rx-book .calendar-actions .calendar-check {
  background: rgba(106, 75, 209, .1); color: var(--brand-purple);
  border-radius: 999px; padding: 10px 18px; text-align: center;
}

/* FAQ cards */
.rx-trip-faq { display: grid; gap: 10px; }
.rx-trip-faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.rx-trip-faq__item[open] { border-color: rgba(106, 75, 209, .35); box-shadow: 0 10px 30px rgba(106, 75, 209, .07); }
.rx-trip-faq__item summary {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; cursor: pointer; list-style: none;
}
.rx-trip-faq__item summary::-webkit-details-marker { display: none; }
.rx-trip-faq__num {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(106, 75, 209, .08);
  color: var(--brand-purple);
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  transition: all .2s var(--ease);
}
.rx-trip-faq__item[open] .rx-trip-faq__num { background: var(--brand-purple); color: #fff; }
.rx-trip-faq__q { flex: 1; font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.rx-trip-faq__toggle {
  position: relative; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.rx-trip-faq__toggle::before,
.rx-trip-faq__toggle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px; border-radius: 2px;
  background: var(--brand-purple);
  transform: translate(-50%, -50%);
  transition: transform .2s var(--ease);
}
.rx-trip-faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.rx-trip-faq__item[open] .rx-trip-faq__toggle { background: var(--brand-purple); border-color: var(--brand-purple); }
.rx-trip-faq__item[open] .rx-trip-faq__toggle::before,
.rx-trip-faq__item[open] .rx-trip-faq__toggle::after { background: #fff; }
.rx-trip-faq__item[open] .rx-trip-faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.rx-trip-faq__a { padding: 0 18px 18px 62px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.rx-trip-faq__a p { margin: 0 0 8px; }
.rx-trip-faq__a p:last-child { margin-bottom: 0; }

/* Reviews */
.rx-reviews-panel { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.rx-reviews-score {
  position: sticky; top: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, #fff, #fbfaff);
}
.rx-reviews-score__value { display: flex; align-items: baseline; gap: 8px; }
.rx-reviews-score__value strong { font-family: var(--font-heading); font-size: 44px; line-height: 1; font-weight: 700; color: var(--ink); }
.rx-reviews-score__value span { font-size: 12px; color: var(--muted); }
.rx-reviews-score__stars { display: flex; gap: 3px; margin: 8px 0 4px; font-size: 16px; color: #ddd8ea; }
.rx-reviews-score__stars .is-on { color: var(--gold); }
.rx-reviews-score__count { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.rx-verified-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(31, 169, 113, .1); color: #15803d;
  font-size: 11px; font-weight: 600;
}
.rx-verified-badge .rx-icon { width: 13px !important; height: 13px !important; }
.rx-reviews-breakdown { display: grid; gap: 8px; margin: 16px 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.rx-reviews-breakdown__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 26px; gap: 8px; align-items: center; }
.rx-reviews-breakdown__row > span:first-child { font-size: 12px; color: var(--muted); }
.rx-reviews-breakdown__row strong { font-size: 12px; color: var(--ink); text-align: right; }
.rx-reviews-breakdown__bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.rx-reviews-breakdown__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-purple), var(--brand-magenta)); }
.rx-reviews-actions { display: grid; gap: 8px; }
.rx-reviews-actions .rx-btn { width: 100%; justify-content: center; font-size: 13.5px; padding: .75rem 1rem; }
.rx-reviews-actions__note { font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.rx-reviews-actions__ta { font-size: 12px; text-align: center; }

.rx-reviews-list { display: grid; gap: 12px; }
.rx-review-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.rx-review-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rx-review-card__avatar {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(106, 75, 209, .1); color: var(--brand-purple);
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
}
.rx-review-card header > div { flex: 1; min-width: 0; }
.rx-review-card header strong { display: block; font-family: var(--font-heading); font-size: 14px; color: var(--ink); }
.rx-review-card__meta { font-size: 11.5px; color: var(--muted); }
.rx-review-card__verified { color: #15803d; font-weight: 600; }
.rx-review-card__stars { display: flex; gap: 2px; color: #ddd8ea; font-size: 13px; }
.rx-review-card__stars .is-on { color: var(--gold); }
.rx-review-card__body { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.rx-review-card__body p { margin: 0 0 8px; }
.rx-review-card__gallery { display: flex; gap: 8px; margin-top: 10px; }
.rx-review-card__gallery img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; }

.rx-reviews-empty { padding: 26px; border: 1px dashed rgba(106, 75, 209, .3); border-radius: 18px; background: rgba(255, 255, 255, .7); text-align: center; }
.rx-reviews-empty__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; background: rgba(106, 75, 209, .08); color: var(--brand-purple); }
.rx-reviews-empty strong { display: block; margin-bottom: 6px; font-family: var(--font-heading); font-size: 15px; color: var(--ink); }
.rx-reviews-empty p { max-width: 46ch; margin: 0 auto 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }

@media (max-width: 1100px) {
  .rx-reviews-panel { grid-template-columns: 1fr; }
  .rx-reviews-score { position: static; }
}
@media (max-width: 860px) {
  .rx-trip-section__head { grid-template-columns: 1fr; }
  .rx-avail-modal { padding: 10px; }
  .rx-avail-modal__panel { max-height: 92vh; border-radius: 18px; }
}
@media (max-width: 600px) {
  .rx-trip-faq__a { padding-left: 18px; }
  .rx-review-card__stars { display: none; }
}

/* Parent theme constrains the price column to 30% � release it inside our grid */
.rx-trip-pick .item-availability__price,
.rx-avail-modal .item-availability__price {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}
.rx-trip-pick .item-availability__price .book-now,
.rx-trip-pick .item-availability__price .add-to-cart,
.rx-trip-pick .item-availability__price .togo-button,
.rx-avail-modal .item-availability__price .book-now,
.rx-avail-modal .item-availability__price .add-to-cart,
.rx-avail-modal .item-availability__price .togo-button {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal;
}
.rx-trip-pick .item-availability__price .add-to-cart-form,
.rx-avail-modal .item-availability__price .add-to-cart-form { width: 100%; margin-top: 6px; }
.rx-trip-pick .item-availability__price .togo-button.line,
.rx-avail-modal .item-availability__price .togo-button.line {
  background: rgba(106, 75, 209, .1);
  color: var(--brand-purple);
  border: 0;
}

/* Modal always paints against the viewport */
.rx-avail-modal { height: 100vh; height: 100dvh; }

/* Availability loading state inside the modal */
.rx-avail-loading {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 18px 4px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--muted);
}
.rx-avail-loading.is-visible { display: flex; }
.rx-avail-loading__spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(106, 75, 209, .25);
  border-top-color: var(--brand-purple);
  border-radius: 50%;
  animation: rxSpin .7s linear infinite;
}
.rx-avail-error { margin: 0; padding: 16px 0; font-size: 13.5px; color: var(--danger); }

/* ============================================================
   v4 � facts strip, booking box fit, cart drawer, review form
   ============================================================ */

/* Facts: one clean spec band instead of four boxes */
.rx-trip-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.rx-trip-facts li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  box-shadow: inset -1px -1px 0 var(--line-2);
}
.rx-trip-facts li:last-child { box-shadow: inset 0 -1px 0 var(--line-2); }
.rx-trip-facts__icon {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(106, 75, 209, .08);
  color: var(--brand-purple);
}
.rx-trip-facts__icon .rx-icon {
  width: 17px !important; height: 17px !important;
  max-width: 17px !important; max-height: 17px !important;
  padding: 0 !important;
}
.rx-trip-facts__text { display: flex; flex-direction: column; min-width: 0; }
.rx-trip-facts__label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rx-trip-facts__text strong {
  font-family: var(--font-heading); font-size: 13.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Booking card: nothing may exceed the card width */
.rx-book { box-sizing: border-box; overflow: hidden; }
.rx-book *,
.rx-book *::before,
.rx-book *::after { box-sizing: border-box; }
.rx-book .form-field,
.rx-book .form-group,
.rx-book .guest-box,
.rx-book .guest-box__items,
.rx-book .guest-box__item { min-width: 0; max-width: 100%; }
.rx-book .guest-box__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.rx-book .guest-box__item .name { min-width: 0; }
.rx-book .guest-box__item .name .text { display: block; }
.rx-book .quantity-input { flex: 0 0 auto; }
.rx-book .calendar-wrapper { max-height: 300px; overflow-y: auto; }

/* Review form */
.rx-review-form { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.rx-review-form summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.rx-review-form summary::-webkit-details-marker { display: none; }
.rx-review-form__plus {
  position: relative; flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(106, 75, 209, .1);
}
.rx-review-form__plus::before,
.rx-review-form__plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 13px; height: 1.5px; border-radius: 2px; background: var(--brand-purple);
  transform: translate(-50%, -50%); transition: transform .2s var(--ease);
}
.rx-review-form__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.rx-review-form[open] .rx-review-form__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.rx-review-form summary strong { display: block; font-family: var(--font-heading); font-size: 14.5px; color: var(--ink); }
.rx-review-form summary span span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.rx-review-form__body { display: grid; gap: 14px; padding: 0 18px 20px; }
.rx-review-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rx-review-form__field { display: flex; flex-direction: column; gap: 6px; }
.rx-review-form__field > span { font-family: var(--font-heading); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.rx-review-form__field input,
.rx-review-form__field textarea {
  width: 100%; min-height: 44px; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 11px; font: inherit; font-size: 14px; color: var(--ink);
}
.rx-review-form__field textarea { min-height: 110px; resize: vertical; }
.rx-review-form__field input:focus,
.rx-review-form__field textarea:focus { outline: none; border-color: var(--brand-purple); box-shadow: 0 0 0 3px rgba(106, 75, 209, .13); }
.rx-review-form__ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; padding: 12px 0; border-block: 1px solid var(--line-2); }
.rx-review-form__rating { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rx-review-form__rating > span:first-child { font-size: 12.5px; color: var(--ink-2); }
.rx-stars-input { display: inline-flex; gap: 2px; }
.rx-stars-input label { position: relative; cursor: pointer; color: #ddd8ea; font-size: 17px; line-height: 1; }
.rx-stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rx-stars-input label.is-on { color: var(--gold); }
.rx-stars-input label:hover { color: var(--gold); }
.rx-review-form__consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.rx-review-form__consent input { margin-top: 2px; accent-color: var(--brand-purple); }
.rx-review-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rx-review-form__status { font-size: 12.5px; line-height: 1.45; }

@media (max-width: 760px) {
  .rx-review-form__row,
  .rx-review-form__ratings { grid-template-columns: 1fr; }
  .rx-trip-facts { grid-template-columns: 1fr 1fr; }
  .rx-trip-facts__text strong { white-space: normal; }
}
@media (max-width: 460px) {
  .rx-trip-facts { grid-template-columns: 1fr; }
}

/* Facts: no forced uppercase, no truncation */
.rx-trip-facts { grid-template-columns: repeat(auto-fit, minmax(156px, 1fr)); }
.rx-trip-facts__text { text-transform: none !important; letter-spacing: normal !important; font-size: inherit !important; color: inherit !important; }
.rx-trip-facts__text strong {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 13px;
  line-height: 1.3;
}
.rx-trip-facts__label { font-size: 10px; letter-spacing: .07em; }

/* ============================================================
   v5 - floating pickers + review modal
   ============================================================ */

.rx-book { overflow: visible !important; }
.rx-trip-aside { max-height: none !important; overflow: visible !important; }

.rx-book .calendar-wrapper,
.rx-book .guest-box {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0; right: 0;
  z-index: 90;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(43, 28, 92, .22);
  max-height: 340px;
  overflow-y: auto;
}
.rx-book .calendar-actions { position: sticky; bottom: -14px; background: #fff; padding: 8px 0 0; }
.rx-book .calendar-dates > div { min-height: 34px; }

.rx-review-modal { position: fixed; inset: 0; z-index: 2150; display: grid; place-items: center; padding: 20px; height: 100vh; height: 100dvh; }
.rx-review-modal[hidden] { display: none; }
.rx-review-modal__overlay { position: absolute; inset: 0; background: rgba(14, 10, 28, .55); backdrop-filter: blur(5px); }
.rx-review-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  overflow-y: auto;
  padding: clamp(18px, 2.6vw, 30px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(20, 18, 31, .3);
  animation: rxModalIn .22s var(--ease);
}
.rx-review-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.rx-review-modal__head h2 { margin: 0 0 6px; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
.rx-review-modal__head p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.rx-review-modal__close { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.rx-review-modal__close:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.rx-review-modal .rx-review-form { display: grid; gap: 14px; }
.rx-review-form__rating-top { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.rx-review-form__label { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rx-stars-input--lg label { font-size: 26px; }
.rx-stars-input--lg { gap: 6px; }

/* Reviews summary */
.rx-rev-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.rx-rev-head h2 { margin: 0 0 6px; }
.rx-rev-head p { margin: 0; max-width: 60ch; font-size: 13px; line-height: 1.55; color: var(--muted); }
.rx-rev-cta { display: inline-flex; align-items: center; gap: 8px; }
.rx-rev-cta > span { font-size: 15px; }

.rx-rev-summary {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(18px, 3vw, 40px);
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, #fff, #fbfaff);
  margin-bottom: 16px;
}
.rx-rev-score { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.rx-rev-score strong { font-family: var(--font-heading); font-size: 44px; line-height: 1; color: var(--ink); }
.rx-rev-score__stars { display: flex; gap: 2px; font-size: 15px; color: #ddd8ea; }
.rx-rev-score__stars .is-on { color: var(--gold); }
.rx-rev-score__count { font-size: 12px; color: var(--muted); }
.rx-rev-score .rx-verified-badge { margin-top: 8px; }

.rx-rev-dist { display: grid; gap: 7px; }
.rx-rev-dist__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 10px; align-items: center; }
.rx-rev-dist__label { font-size: 11.5px; color: var(--muted); }
.rx-rev-dist__bar { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.rx-rev-dist__bar span { display: block; height: 100%; border-radius: 999px; background: var(--gold); }
.rx-rev-dist__num { font-size: 11.5px; color: var(--muted); text-align: right; }

.rx-rev-list { display: grid; gap: 12px; }
.rx-rev-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.rx-rev-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rx-rev-card__avatar { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: rgba(106, 75, 209, .1); color: var(--brand-purple); font-family: var(--font-heading); font-size: 13px; font-weight: 700; }
.rx-rev-card__who { flex: 1; min-width: 0; }
.rx-rev-card__who strong { display: block; font-family: var(--font-heading); font-size: 14px; color: var(--ink); }
.rx-rev-card__who span { font-size: 11.5px; color: var(--muted); }
.rx-rev-card__stars { display: flex; gap: 2px; color: #ddd8ea; font-size: 13px; }
.rx-rev-card__stars .is-on { color: var(--gold); }
.rx-rev-card__badge { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(31, 169, 113, .1); color: #15803d; font-size: 10.5px; font-weight: 600; }
.rx-rev-card__badge .rx-icon { width: 12px !important; height: 12px !important; }
.rx-rev-card__body { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.rx-rev-card__body p { margin: 0 0 8px; }
.rx-rev-card__gallery { display: flex; gap: 8px; margin-top: 10px; }
.rx-rev-card__gallery img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; }

.rx-rev-empty { padding: 26px; border: 1px dashed rgba(106, 75, 209, .3); border-radius: 18px; background: rgba(255, 255, 255, .7); text-align: center; }
.rx-rev-empty__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; background: rgba(106, 75, 209, .08); color: var(--brand-purple); }
.rx-rev-empty strong { display: block; margin-bottom: 6px; font-family: var(--font-heading); font-size: 15px; color: var(--ink); }
.rx-rev-empty p { max-width: 46ch; margin: 0 auto 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.rx-rev-empty__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (max-width: 760px) {
  .rx-rev-summary { grid-template-columns: 1fr; }
  .rx-review-form__row { grid-template-columns: 1fr; }
}

/* SVG stars in the review block */
.rx-rev-score strong { font-family: var(--font-body); }
.rx-rev-score__stars { display: flex; gap: 3px; }
.rx-rev-score__stars .rx-icon,
.rx-rev-card__stars .rx-icon { width: 15px !important; height: 15px !important; max-width: 15px !important; max-height: 15px !important; fill: currentColor; color: #ddd8ea; }
.rx-rev-score__stars .is-on .rx-icon,
.rx-rev-card__stars .is-on .rx-icon { color: var(--gold); }
.rx-rev-card__stars { display: flex; gap: 2px; }
.rx-rev-dist__label { display: inline-flex; align-items: center; gap: 2px; }
.rx-rev-dist__label .rx-icon { width: 10px !important; height: 10px !important; fill: currentColor; color: var(--muted); }
.rx-rev-cta { display: inline-flex; align-items: center; gap: 8px; }
.rx-rev-cta .rx-icon { width: 15px !important; height: 15px !important; fill: currentColor; }

/* ============================================================
   v6 � picker width, calendar prices, purple selection
   ============================================================ */

/* Popovers must never exceed the booking card */
.rx-book .calendar-wrapper,
.rx-book .guest-box {
  left: 0 !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}
.rx-book .calendar-inner,
.rx-book .calendar-container,
.rx-book .calendar,
.rx-book .calendar-days,
.rx-book .calendar-dates,
.rx-book .guest-box__items,
.rx-book .guest-box__item { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
.rx-book .calendar-container { grid-template-columns: 1fr !important; }

/* Day cells: compact, with the nightly price visible */
.rx-book .calendar-dates > div { min-height: 42px; padding: 4px 0 3px; gap: 1px; }
.rx-book .calendar-dates > div .price {
  display: block !important;
  font-size: 8.5px;
  line-height: 1;
  color: var(--brand-purple);
  opacity: .85;
  font-weight: 600;
}
.rx-book .calendar-dates > div.disabled .price { display: none !important; }
.rx-book .calendar-dates > div.disabled { background: none !important; color: #c9c5d8 !important; }

/* Today: ring. Selected: purple. Both beat the parent theme's black. */
.rx-book .calendar-dates > div.today:not(.is-selected) {
  background: transparent !important;
  color: var(--brand-purple) !important;
  box-shadow: inset 0 0 0 1.5px var(--brand-purple) !important;
}
.rx-book .calendar-dates > div.is-selected,
.rx-book .calendar-dates > div.is-selected.today {
  background: var(--brand-purple) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.rx-book .calendar-dates > div.is-selected .price { color: rgba(255, 255, 255, .85) !important; }

/* Guest panel: clean counters + branded apply */
.rx-book .guest-box { padding: 14px 14px 10px; }
.rx-book .guest-box__item { padding: 10px 0; }
.rx-book .guest-box__item .quantity-input { border: 1px solid var(--line); }
.rx-book .quantity-button { margin-top: 6px; }
.rx-book .apply-guest {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 40px;
  border-radius: 999px;
  background: var(--brand-purple) !important;
  color: #fff !important;
  font-family: var(--font-heading); font-size: 13.5px; font-weight: 600;
}
.rx-book .apply-guest:hover { background: var(--brand-purple-600) !important; }
.rx-book .apply-guest.disabled { opacity: .5; pointer-events: none; }

/* Calendar header */
.rx-book .calendar-header { padding-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.rx-book .calendar-header button { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.rx-book .calendar-header button:hover { background: rgba(106, 75, 209, .1); }
.rx-book .calendar-header h6 { font-size: 13px; font-weight: 700; }

/* ============================================================
   v7 � calendar day cells
   ============================================================ */
.rx-book .calendar-wrapper { max-height: 380px; padding-bottom: 14px; }
.rx-book .calendar-dates { gap: 2px; }
.rx-book .calendar-dates > div {
  overflow: hidden;
  min-height: 44px;
  padding: 4px 0 4px;
  gap: 1px;
}
.rx-book .calendar-dates > div > span { font-size: 12px; line-height: 1.1; }
.rx-book .calendar-dates > div .price {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.rx-book .calendar-dates .date.disabled { background: none !important; }
.rx-book .calendar-dates .date.today:not(.is-selected) {
  background: transparent !important;
  color: var(--brand-purple) !important;
  box-shadow: inset 0 0 0 1.5px var(--brand-purple) !important;
}
.rx-book .calendar-dates .date.is-selected {
  background: var(--brand-purple) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.rx-book .calendar-dates .date.is-selected .price { color: rgba(255, 255, 255, .9) !important; }

/* ============================================================
   v8 � final calendar pass
   ============================================================ */
.rx-book .calendar-dates .price { display: none !important; }
.rx-book .calendar-dates > div { min-height: 34px; align-items: center; justify-content: center; }
.rx-book .calendar-dates > div > span { font-size: 12.5px; }
.rx-book .calendar-dates .date.today,
.rx-book .calendar-dates .date.is-selected {
  background: var(--brand-purple) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.rx-book .calendar-dates .date.disabled { background: transparent !important; }
.rx-book .calendar-wrapper { max-height: 360px; }

/* ============================================================
   v9 � specificity fixes for the calendar
   ============================================================ */
.rx-book .calendar-dates > div .price { display: none !important; }
.rx-book .calendar-dates > div.date.today,
.rx-book .calendar-dates > div.date.is-selected,
.rx-book .calendar-dates > div.date.today.is-selected {
  background: var(--brand-purple) !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: 8px;
}
.rx-book .calendar-dates > div.date.disabled { background: transparent !important; color: #c9c5d8 !important; }
.rx-book .calendar-dates > div.date { min-height: 34px; }

/* ============================================================
   v10 � today marker + header overflow
   ============================================================ */
.rx-book .calendar { overflow: hidden; }
.rx-book .calendar-header { justify-content: space-between; gap: 6px; }
.rx-book .calendar-header > span:empty { display: none; }
.rx-book .calendar-dates > div.date.today::before {
  background: var(--brand-purple) !important;
  width: 34px !important;
  height: 34px !important;
}
.rx-book .calendar-dates > div.date.today { color: #fff !important; }
.rx-book .calendar-dates > div.date.disabled.today::before { opacity: .45; }

/* ============================================================
   v11 � counters + selected day
   ============================================================ */
.rx-book .calendar-dates > div.date.is-selected::before,
.rx-book .calendar-dates > div.date.today::before,
.rx-book .calendar-dates > div.date.today.is-selected::before {
  background: var(--brand-purple) !important;
}
.rx-book .calendar-dates > div.date.is-selected { color: #fff !important; }

/* Counters: never squash into ovals */
.rx-book .quantity-input,
.rx-avail-modal .quantity-input,
.rx-avail-modal .trip-service .quantity-input {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 2px;
}
.rx-book .quantity-input .minus,
.rx-book .quantity-input .plus,
.rx-avail-modal .quantity-input .minus,
.rx-avail-modal .quantity-input .plus,
.rx-avail-modal .trip-service .quantity-input .minus,
.rx-avail-modal .trip-service .quantity-input .plus {
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(106, 75, 209, .12) !important;
  color: var(--brand-purple) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
}
.rx-book .quantity-input .minus:hover,
.rx-book .quantity-input .plus:hover,
.rx-avail-modal .quantity-input .minus:hover,
.rx-avail-modal .quantity-input .plus:hover { background: var(--brand-purple) !important; color: #fff !important; }
.rx-book .quantity-input .minus.disabled,
.rx-avail-modal .quantity-input .minus.disabled { opacity: .35; }
.rx-book .quantity-input input,
.rx-avail-modal .quantity-input input {
  flex: 0 0 34px !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center;
  font-size: 13px !important;
  font-weight: 600;
}

/* Availability service rows: keep the counter inline with the price */
.rx-avail-modal .trip-service { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.rx-avail-modal .trip-service > * { min-width: 0; }

/* ============================================================
   v12 � booking box breathing room + no purple sliver
   ============================================================ */
.rx-book .calendar-wrapper,
.rx-book .guest-box {
  top: calc(100% + 2px) !important;
  padding: 18px 18px 14px !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(43, 28, 92, .18), 0 0 0 1px var(--line) !important;
}
.rx-book .guest-box { padding: 18px 18px 16px !important; }

/* Never let the button peek behind an open picker */
.rx-book .booking-form:has(.form-field.is-active) .form-submit {
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s linear;
}

/* Guest rows: real spacing, never flush with the edges */
.rx-book .guest-box__items { display: grid; gap: 2px; }
.rx-book .guest-box__item {
  padding: 12px 0 !important;
  gap: 14px;
}
.rx-book .guest-box__item + .guest-box__item { border-top: 1px solid var(--line-2); }
.rx-book .guest-box__item .name .text { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rx-book .guest-box__item .name .number { margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.rx-book .guest-box__item .quantity-input {
  padding: 3px !important;
  gap: 3px !important;
  border-radius: 999px !important;
  background: #fff;
  border: 1px solid var(--line) !important;
}
.rx-book .quantity-button { margin-top: 14px !important; }
.rx-book .quantity-input input { border: 0 !important; }

/* Calendar internals keep the same inner gutter */
.rx-book .calendar-inner,
.rx-book .calendar-header,
.rx-book .calendar-dates { padding-inline: 2px; }
.rx-book .calendar-actions { bottom: -14px; }

/* ============================================================
   v13 � kill the parent's translateY gap on pickers
   ============================================================ */
.rx-book .calendar-wrapper,
.rx-book .guest-box { transform: none !important; }

.rx-book.is-picking .form-submit {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   v14 — booking tabs, bigger fields, single-border calendar,
         review modal polish
   ============================================================ */

/* ---------- Tabs: Book / Enquiry ---------- */
.rx-book-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 14px 0 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}
.rx-book-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.rx-book-tab .rx-icon { width: 15px !important; height: 15px !important; }
.rx-book-tab:hover { color: var(--ink); }
.rx-book-tab.is-active {
  background: #fff;
  color: var(--brand-purple);
  box-shadow: 0 3px 10px rgba(20, 18, 31, .08);
}
.rx-book-pane { display: none; }
.rx-book-pane.is-active { display: block; }

/* ---------- Date / Guest fields ---------- */
.rx-book .form-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 58px;
  padding: 10px 16px;
  border-radius: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rx-book .form-field:hover { border-color: rgba(106, 75, 209, .35); }
.rx-book .form-field.is-active {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(106, 75, 209, .12);
}
.rx-book .form-field .label {
  gap: 12px;
  font-size: 14.5px;
}
.rx-book .form-field .label > svg,
.rx-book .form-field .label > .rx-icon {
  flex: 0 0 auto;
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  padding: 10px;
  border-radius: 11px;
  background: rgba(106, 75, 209, .09);
  color: var(--brand-purple);
}
.rx-book .form-field .label .name { font-size: 14.5px; font-weight: 600; }
.rx-book .rx-field-chevron {
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.rx-book .rx-field-chevron .rx-icon { width: 14px !important; height: 14px !important; }
.rx-book .form-field.is-active .rx-field-chevron {
  transform: rotate(180deg);
  background: rgba(106, 75, 209, .12);
  color: var(--brand-purple);
}

/* ---------- Calendar: one border, no parent circles ---------- */
.rx-book .calendar-wrapper {
  padding: 16px 16px 10px !important;
  max-height: none !important;
  overflow: visible !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
}
.rx-book .calendar,
.rx-book .calendar-inner,
.rx-book .calendar-container,
.rx-book .calendar-bottom {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.rx-book .calendar-dates > div::before,
.rx-book .calendar-dates > div::after { display: none !important; content: none !important; }

.rx-book .calendar-dates { gap: 3px; }
.rx-book .calendar-dates > div {
  min-height: 48px;
  padding: 5px 0 4px;
  gap: 1px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: none !important;
}
.rx-book .calendar-dates > div:hover { background: rgba(106, 75, 209, .09); }
.rx-book .calendar-dates > div.disabled {
  color: #c9c5d8 !important;
  background: transparent !important;
  text-decoration: none;
  font-weight: 500;
}
.rx-book .calendar-dates > div .price {
  display: block !important;
  max-width: 100%;
  overflow: hidden;
  font-size: 9.5px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--brand-purple);
  opacity: .85;
}
.rx-book .calendar-dates > div.disabled .price { display: none !important; }
.rx-book .calendar-dates > div.today:not(.is-selected) {
  background: rgba(106, 75, 209, .1) !important;
  color: var(--brand-purple) !important;
  box-shadow: inset 0 0 0 1.5px var(--brand-purple) !important;
}
.rx-book .calendar-dates > div.is-selected,
.rx-book .calendar-dates > div.is-selected.today {
  background: var(--brand-purple) !important;
  color: #fff !important;
  box-shadow: none !important;
}
.rx-book .calendar-dates > div.is-selected .price { color: rgba(255, 255, 255, .9) !important; opacity: 1; }
.rx-book .calendar-header { padding: 0 2px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 10px; }

/* ---------- Enquiry pane ---------- */
.rx-enquiry-form { display: grid; gap: 12px; margin-top: 14px; }
.rx-enquiry-form__intro {
  margin: 0 0 2px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.rx-enquiry-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rx-enquiry-form__field { display: flex; flex-direction: column; gap: 6px; }
.rx-enquiry-form__field > span {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.rx-enquiry-form__field input,
.rx-enquiry-form__field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.rx-enquiry-form__field textarea { min-height: 96px; resize: vertical; }
.rx-enquiry-form__field input:focus,
.rx-enquiry-form__field textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(106, 75, 209, .12);
}
.rx-enquiry-form .togo-button { margin-top: 4px; }
.rx-enquiry-form__status { margin: 0; font-size: 12.5px; line-height: 1.5; }
.rx-enquiry-form__status.is-error { color: var(--danger); }
.rx-enquiry-form__status.is-success { color: #15803d; }

/* Popover fields sit at the same height as the plain inputs. */
.rx-enquiry-form__field .rx-datepick--field .rx-datepick__toggle,
.rx-enquiry-form__field .rx-stepper--field { min-height: 46px; }
.rx-enquiry-form__field .rx-datepick--field .rx-datepick__toggle { padding: 11px 40px 11px 13px; }
.rx-enquiry-form__field .rx-stepper--field { padding: 5px 7px; }
.rx-enquiry-form .rx-stepper--field input {
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.rx-enquiry-form .rx-phone .rx-drop__toggle { min-height: 46px; border-radius: 11px; }
.rx-enquiry-form .rx-phone input[type="tel"] { min-width: 0; }

/* ---------- Review modal: no inner frame, unified controls ---------- */
.rx-review-modal__panel { padding: clamp(20px, 3vw, 30px); }
.rx-review-modal .rx-review-form,
.rx-review-form {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.rx-review-modal .rx-review-form { display: grid; gap: 14px; }
.rx-review-form__row { gap: 14px; }
.rx-review-form__field { gap: 7px; }
.rx-review-form__field > span {
  font-size: 11.5px;
  letter-spacing: .01em;
  color: var(--ink-2);
}
.rx-review-form__field input,
.rx-review-form__field select,
.rx-review-form__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rx-review-form__field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6880' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}
.rx-review-form__field textarea { min-height: 130px; resize: vertical; }
.rx-review-form__field input:focus,
.rx-review-form__field select:focus,
.rx-review-form__field textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(106, 75, 209, .13);
}
.rx-review-form__rating-top {
  padding-bottom: 14px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--line-2);
}
.rx-review-form__consent { margin-top: 2px; }
.rx-review-form__actions { margin-top: 4px; }

@media (max-width: 620px) {
  .rx-review-form__row { grid-template-columns: 1fr; }
  .rx-enquiry-form__row { grid-template-columns: 1fr; }
  .rx-book-tab { font-size: 12px; }
}

/* ---------- Booking box: month navigation + price emphasis ---------- */
/* Togo hides the next-month arrow for its dual-calendar layout; the booking
   box renders a single month, so the arrow must stay visible. */
.rx-book .calendar-header .next-month { display: inline-flex !important; }
.rx-book .calendar-header h6 { flex: 1 1 auto; margin: 0; text-align: center; }

.rx-book .trip-price .regular-price del,
.rx-book .trip-price del {
  color: var(--muted) !important;
  font-weight: 400;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.rx-book .trip-price ins,
.rx-book .trip-price .sale-price,
.rx-book .trip-price ins .price,
.rx-book .trip-price .sale-price .price {
  color: var(--brand-purple) !important;
  font-weight: 700;
  text-decoration: none;
}
.rx-book .trip-discount {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-magenta);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
}
/* ---------- Mobile sticky booking bar + bottom sheet ---------- */
.rx-bookbar,
.rx-book-sheet { display: none; }

@media (max-width: 1100px) {
  body.rx-bookbar-ready { padding-bottom: 104px; }
  body.rx-bookbar-ready .rx-trip-aside { display: none; }
  body.rx-bookbar-ready #rxt-wa-widget { bottom: calc(100px + env(safe-area-inset-bottom)) !important; transition: opacity .2s ease; }
  body.rx-sheet-open #rxt-wa-widget { opacity: 0; pointer-events: none; }

  body.rx-bookbar-ready .rx-bookbar {
    display: flex;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 900;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(106, 75, 209, .18);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(18, 10, 45, .2);
  }

  .rx-bookbar__price {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    line-height: 1.25;
    color: var(--ink);
  }

  .rx-bookbar__price > * { display: inline; }
  .rx-bookbar__price .trip-price { display: inline-flex; align-items: baseline; gap: 4px; }

  .rx-bookbar__cta {
    flex: 0 0 auto;
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    background: var(--brand-purple);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
  }

  body.rx-sheet-open { overflow: hidden; }

  body.rx-bookbar-ready .rx-book-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 950;
    pointer-events: none;
  }

  .rx-book-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 10, 30, .55);
    opacity: 0;
    transition: opacity .22s ease;
  }

  .rx-book-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 92dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 0 calc(18px + env(safe-area-inset-bottom));
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -20px 60px rgba(18, 10, 45, .25);
    transform: translateY(100%);
    transition: transform .26s cubic-bezier(.2, .7, .2, 1);
  }

  .rx-book-sheet__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px 2px;
    background: #fff;
  }

  .rx-book-sheet__grab {
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(20, 10, 45, .18);
  }

  .rx-book-sheet__close {
    position: absolute;
    right: 12px;
    top: 2px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f4f1fb;
    color: var(--ink);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }

  .rx-book-sheet__body { padding: 0 14px; }

  .rx-book-sheet .rx-book {
    max-width: none;
    margin: 0;
    padding: 8px 0 4px;
    border: 0;
    box-shadow: none;
  }

  body.rx-bookbar-ready .rx-book-sheet.is-open { pointer-events: auto; }
  .rx-book-sheet.is-open .rx-book-sheet__backdrop { opacity: 1; }
  .rx-book-sheet.is-open .rx-book-sheet__panel { transform: translateY(0); }
}
/* The framework makes the inner calendar absolutely positioned on small
   screens, which collapses the popover to its padding (transparent overlay). */
@media (max-width: 1100px) {
  .rx-book .calendar-inner { position: static !important; }
  .rx-book .calendar-wrapper { height: auto !important; }
}
/* The framework gives the guest popover height:100% on small screens, which
   collapses it to one row. Let it size to its content again. */
@media (max-width: 1100px) {
  .rx-book .guest-box { height: auto !important; }
}