/* ============================================================
   Roxana Travel — Components
   ============================================================ */

/* ---------- Buttons ---------- */
.rx-btn {
  --_bg: var(--brand-purple);
  --_fg: #fff;
  --_bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-base);
  line-height: 1;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--_bd);
  background: var(--_bg);
  color: var(--_fg);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease),
              color var(--dur) var(--ease);
  white-space: nowrap;
}
.rx-btn:hover { transform: translateY(-2px); color: var(--_fg); }
.rx-btn:active { transform: translateY(0); }
.rx-btn svg { width: 1.1em; height: 1.1em; }

.rx-btn--primary { --_bg: var(--brand-purple); box-shadow: 0 10px 24px rgba(106, 75, 209, .22); }
.rx-btn--primary:hover { --_bg: var(--brand-purple-600); box-shadow: 0 14px 30px rgba(106, 75, 209, .3); }
.rx-btn--magenta { --_bg: var(--brand-magenta); box-shadow: 0 10px 24px rgba(236, 30, 155, .22); }
.rx-btn--outline { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line); }
.rx-btn--outline:hover { --_bd: var(--brand-purple); --_fg: var(--brand-purple); box-shadow: var(--shadow-sm); }
.rx-btn--ghost { --_bg: transparent; --_fg: var(--brand-purple); padding-inline: .5rem; }
.rx-btn--ghost:hover { --_fg: var(--brand-magenta); transform: none; }
.rx-btn--white { --_bg: #fff; --_fg: var(--ink); }
.rx-btn--gold { --_bg: var(--gold); --_fg: var(--navy); box-shadow: 0 10px 24px rgba(201, 162, 39, .28); }
.rx-btn--gold:hover { --_bg: var(--gold-600); --_fg: var(--navy); box-shadow: 0 14px 30px rgba(201, 162, 39, .38); }
.rx-btn--sm { padding: .6rem 1.05rem; font-size: var(--fs-sm); }
.rx-btn--lg { padding: 1.1rem 1.9rem; font-size: var(--fs-lg); }
.rx-btn--block { width: 100%; }
.rx-btn[disabled], .rx-btn.is-disabled { opacity: .5; pointer-events: none; }

/* ---------- Display headings ---------- */
.rx-display { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.rx-display em { font-style: normal; }

/* ---------- Eyebrow variants ---------- */
.rx-eyebrow--gold { color: var(--brand-purple); }
.rx-eyebrow--gold::before { background: var(--brand-purple); }
.rx-eyebrow--light { color: #fff; }
.rx-eyebrow--light::before { background: #fff; }

/* ---------- Section backgrounds ---------- */
.rx-sand { background: var(--sand); }
.rx-dark { background: var(--navy); color: rgba(255, 255, 255, .8); }
.rx-dark h2, .rx-dark h3 { color: #fff; }
.rx-dark .rx-feature p { color: rgba(255, 255, 255, .65); }

/* ---------- Glass ---------- */
.rx-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
  backdrop-filter: saturate(180%) blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

/* ============================================================
   Native Togo trip search (autocomplete + Near me + calendar)
   Keeps the theme's JS hooks; only the shell and panels are restyled.
   ============================================================ */
.rx-search-shell {
  position: relative;
  width: 100%;
  padding: 7px;
  border-radius: 19px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .94);
  box-shadow: 0 18px 55px rgba(57, 36, 115, .17);
  overflow: visible;
  color: var(--ink);
}
.rx-search-shell .trip-search-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 1.05fr) minmax(180px, 1fr) minmax(215px, 1.1fr) auto;
  align-items: center;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.rx-search-shell .trip-search-form .form-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 57px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid rgba(106, 75, 209, .13);
  background: transparent;
}
.rx-search-shell .trip-search-form .form-field:last-of-type { border-right: 0; }
.rx-search-shell .trip-search-form .field-icon { display: flex; flex: 0 0 21px; align-items: center; justify-content: center; margin-right: 9px; color: var(--brand-purple); }
.rx-search-shell .trip-search-form .field-icon svg { display: block; width: 19px !important; height: 19px !important; max-width: 19px; max-height: 19px; }
.rx-search-shell .trip-search-form .field-tour__input,
.rx-search-shell .trip-search-form .field-location__input,
.rx-search-shell .trip-search-form .field-dates__input { width: 100%; min-width: 0; }
.rx-search-shell .trip-search-form .field-tour input,
.rx-search-shell .trip-search-form .field-location input,
.rx-search-shell .trip-search-form .field-dates input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font: 500 15px/1.35 var(--font-body);
}
.rx-search-shell .trip-search-form input::placeholder { color: #77738a; opacity: 1; }
.rx-search-shell .trip-search-form .field-tour__remove,
.rx-search-shell .trip-search-form .field-location__remove,
.rx-search-shell .trip-search-form .field-dates__remove { display: none; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--muted); }
.rx-search-shell .trip-search-form .field-tour__remove svg,
.rx-search-shell .trip-search-form .field-location__remove svg,
.rx-search-shell .trip-search-form .field-dates__remove svg { display: block; width: 15px !important; height: 15px !important; }

/* Dropdown panels: fully opaque so hero imagery never bleeds through. */
.rx-search-shell .trip-search-form .field-tour__result,
.rx-search-shell .trip-search-form .field-location__result,
.rx-search-shell .trip-search-form .field-dates .calendar-wrapper {
  position: absolute;
  top: calc(100% + 9px);
  z-index: 100000;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(106, 75, 209, .16);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(43, 28, 92, .26);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  overflow: auto;
  text-align: left;
}
.rx-search-shell .trip-search-form .field-tour__result,
.rx-search-shell .trip-search-form .field-location__result {
  left: 0;
  right: auto;
  width: max-content;
  min-width: min(320px, 92vw);
  max-width: min(430px, 92vw);
  max-height: min(440px, 66vh);
  padding: 6px;
}
.rx-search-shell .trip-search-form .field-dates .calendar-wrapper {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 24px));
  max-width: min(520px, calc(100vw - 24px));
  max-height: min(460px, calc(100vh - 120px));
  padding: 0;
}
/* Flip above the field when there is not enough room below. */
.rx-search-shell .trip-search-form .field-dates .calendar-wrapper.rx-up { top: auto; bottom: calc(100% + 9px); }
.rx-search-shell .trip-search-form .field-tour__result,
.rx-search-shell .trip-search-form .field-location__result,
.rx-search-shell .trip-search-form .field-dates .calendar-wrapper { display: none; }

/* Calendar internals: compact layout, dark text, single purple accent. */
.rx-search-shell .calendar-wrapper .calendar-inner { background: #fff; color: var(--ink); }
.rx-search-shell .calendar-wrapper .calendar-container { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rx-search-shell .calendar-wrapper .calendar { padding: 12px 12px 2px; }
.rx-search-shell .calendar-wrapper .calendar-header { margin-bottom: 8px; }
.rx-search-shell .calendar-wrapper .calendar-header h6 { margin: 0; color: var(--ink); font: 600 13px/1.2 var(--font-heading); }
.rx-search-shell .calendar-wrapper .calendar-header button { width: 24px; height: 24px; color: var(--ink); }
.rx-search-shell .calendar-wrapper .calendar-header button svg { width: 14px !important; height: 14px !important; }
.rx-search-shell .calendar-wrapper .calendar-days { column-gap: 2px; margin-bottom: 4px; }
.rx-search-shell .calendar-wrapper .calendar-days .day-name { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.rx-search-shell .calendar-wrapper .calendar-dates { column-gap: 2px; row-gap: 2px; }
.rx-search-shell .calendar-wrapper .calendar-dates .date {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1;
}
.rx-search-shell .calendar-wrapper .calendar-dates .date.disabled { color: #b9b5c8; }
.rx-search-shell .calendar-wrapper .calendar-dates .date .price { display: none; }

/* Hover ring, today marker and range ends all use the same accent (never black/pink). */
.rx-search-shell .calendar-wrapper .calendar-dates .date::before {
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  background: transparent;
}
.rx-search-shell .calendar-wrapper .calendar-dates .date:hover::before {
  border-color: var(--brand-purple);
  background: rgba(106, 75, 209, .08);
  opacity: 1;
  visibility: visible;
}
.rx-search-shell .calendar-wrapper .calendar-dates .date.today::before,
.rx-search-shell .calendar-wrapper .calendar-dates .date.today.disabled::before {
  border-color: rgba(106, 75, 209, .55);
  background: transparent;
  opacity: 1;
  visibility: visible;
}
.rx-search-shell .calendar-wrapper .calendar-dates .date.today,
.rx-search-shell .calendar-wrapper .calendar-dates .date.today.disabled { color: var(--brand-purple); font-weight: 600; }
.rx-search-shell .calendar-wrapper .calendar-dates .date.in-range { background-color: rgba(106, 75, 209, .09); color: var(--ink); }
.rx-search-shell .calendar-wrapper .calendar-dates .date.is-selected::before,
.rx-search-shell .calendar-wrapper .calendar-dates .date.in-range.first-range::before,
.rx-search-shell .calendar-wrapper .calendar-dates .date.in-range.last-range::before {
  background: var(--brand-purple) !important;
  border-color: var(--brand-purple) !important;
  opacity: 1;
  visibility: visible;
}
.rx-search-shell .calendar-wrapper .calendar-dates .date.is-selected,
.rx-search-shell .calendar-wrapper .calendar-dates .date.in-range.first-range,
.rx-search-shell .calendar-wrapper .calendar-dates .date.in-range.last-range { color: #fff !important; font-weight: 600; }
.rx-search-shell .calendar-wrapper .calendar-actions { padding: 2px 12px 10px; }
.rx-search-shell .calendar-wrapper .calendar-actions .calendar-close,
.rx-search-shell .calendar-wrapper .calendar-actions .calendar-check { color: var(--brand-purple); }

@media (max-width: 600px) {
  .rx-search-shell .trip-search-form .field-dates .calendar-wrapper {
    width: min(330px, calc(100vw - 24px));
    max-width: min(330px, calc(100vw - 24px));
  }
  .rx-search-shell .calendar-wrapper .calendar-container { grid-template-columns: 1fr; }
  .rx-search-shell .calendar-wrapper .calendar-dates .date { height: 32px; }
}

/* Near me + lists */
.rx-search-shell .trip-search-form .near-me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin: 0 0 4px;
  border-radius: 11px;
  background: rgba(106, 75, 209, .07);
  color: var(--brand-purple);
  cursor: pointer;
  font: 600 14px/1.35 var(--font-heading);
}
.rx-search-shell .trip-search-form .near-me:hover { background: rgba(106, 75, 209, .13); }
.rx-search-shell .trip-search-form .near-me__icon svg { display: block; width: 18px !important; height: 18px !important; }
.rx-search-shell .trip-search-form .rx-near-status { display: none; padding: 7px 12px 3px; color: var(--muted); font-size: 12px; }
.rx-search-shell .trip-search-form .rx-near-status.is-visible { display: block; }
.rx-search-shell .trip-search-form .rx-near-status.is-error { color: #a33b59; }
.rx-search-shell .trip-search-form .location-list,
.rx-search-shell .trip-search-form .tour-list { padding: 4px; }
.rx-search-shell .trip-search-form .location-list ul,
.rx-search-shell .trip-search-form .tour-list { list-style: none; margin: 0; padding: 0; }
.rx-search-shell .trip-search-form .location-list ul ul { margin: 2px 0 0 10px; padding: 0 0 0 10px; border-left: 1px solid var(--line); }
.rx-search-shell .trip-search-form .location-list li { list-style: none; margin: 0; padding: 0; }
.rx-search-shell .trip-search-form .location-list li a,
.rx-search-shell .trip-search-form .tour-item {
  display: block;
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink-2);
  font: 500 14px/1.35 var(--font-body);
  cursor: pointer;
}
.rx-search-shell .trip-search-form .location-list li a:hover,
.rx-search-shell .trip-search-form .tour-item:hover { background: var(--surface-3); color: var(--brand-purple); }

/* Submit */
.rx-search-shell .trip-search-form .field-location__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 112px;
  height: 49px;
  margin: 0 0 0 5px;
  padding: 0 19px;
  border: 0;
  border-radius: 15px;
  background: var(--brand-purple);
  color: #fff;
  font: 600 14px/1 var(--font-heading);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.rx-search-shell .trip-search-form .field-location__button:hover { background: var(--brand-purple-600); transform: translateY(-1px); }
.rx-search-shell .trip-search-form .field-location__button svg { display: block; width: 18px !important; height: 18px !important; }
.rx-search-shell .trip-search-form .form-search-button { display: inline; }

.rx-search-shell--header { padding: 6px; border-radius: 18px; }
.rx-search-shell--header .trip-search-form { grid-template-columns: minmax(130px, 1fr) minmax(150px, 1fr) minmax(190px, 1.1fr) auto; }

@media (max-width: 900px) {
  .rx-search-shell .trip-search-form { grid-template-columns: 1fr; }
  .rx-search-shell .trip-search-form .form-field { min-height: 51px; padding-inline: 12px; border-right: 0; border-bottom: 1px solid rgba(106, 75, 209, .12); }
  .rx-search-shell .trip-search-form .form-field:last-of-type { border-bottom: 0; }
  .rx-search-shell .trip-search-form .field-tour input,
  .rx-search-shell .trip-search-form .field-location input,
  .rx-search-shell .trip-search-form .field-dates input { height: 49px; }
  .rx-search-shell .trip-search-form .field-location__button { width: 100%; margin: 7px 0 0; }
  .rx-search-shell .trip-search-form .field-tour__result,
  .rx-search-shell .trip-search-form .field-location__result,
  .rx-search-shell .trip-search-form .field-dates .calendar-wrapper {
    position: fixed;
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    transform: none;
    max-height: 70vh;
  }
}

/* ---------- Badges / chips ---------- */
.rx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .02em;
  background: var(--surface-3);
  color: var(--brand-purple);
}
.rx-badge--sale { background: var(--brand-magenta); color: #fff; }
.rx-badge--featured { background: var(--star); color: #14121f; }
.rx-badge--glass { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .28); }

/* ---------- Rating ---------- */
.rx-rating { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--muted); }
.rx-rating svg { width: 15px; height: 15px; color: var(--star); }
.rx-rating .score { font-weight: var(--fw-semibold); color: var(--ink); }

/* ---------- Cards ---------- */
.rx-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* ---------- Forms ---------- */
.rx-field { display: flex; flex-direction: column; gap: var(--space-2); }
.rx-label { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-2); }
.rx-input, .rx-select, .rx-textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.rx-input:focus, .rx-select:focus, .rx-textarea:focus { outline: none; border-color: var(--brand-purple); box-shadow: 0 0 0 4px rgba(106, 75, 209, .12); }
.rx-textarea { min-height: 130px; resize: vertical; }

/* ---------- Trust bar ---------- */
.rx-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-6); padding-block: var(--space-5); color: var(--muted); font-size: var(--fs-sm); }
.rx-trust__item { display: inline-flex; align-items: center; gap: var(--space-2); }
.rx-trust__item svg { width: 20px; height: 20px; color: var(--brand-purple); }

/* ---------- Accordion (FAQ) — same design as the trip page ---------- */
.rx-accordion {
  counter-reset: rxfaq;
  display: grid;
  gap: 10px;
  border-top: 0;
}
.rx-accordion__item {
  counter-increment: rxfaq;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.rx-accordion__item.is-open {
  border-color: rgba(106, 75, 209, .35);
  box-shadow: 0 10px 30px rgba(106, 75, 209, .07);
}
.rx-accordion__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: start;
  color: var(--ink);
}
.rx-accordion__q::before {
  content: counter(rxfaq, decimal-leading-zero);
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  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: background .2s var(--ease), color .2s var(--ease);
}
.rx-accordion__item.is-open .rx-accordion__q::before {
  background: var(--brand-purple);
  color: #fff;
}
/* The old chevron is replaced by the circular toggle */
.rx-accordion__q svg { display: none !important; }
.rx-accordion__q::after {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236a4bd1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.rx-accordion__item.is-open .rx-accordion__q::after {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.rx-accordion__a { overflow: hidden; height: 0; transition: height var(--dur) var(--ease); }
.rx-accordion__a > div {
  padding: 0 18px 18px 62px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 560px) {
  .rx-accordion__q { font-size: 14.5px; padding: 14px; gap: 12px; }
  .rx-accordion__a > div { padding: 0 14px 16px 56px; font-size: 13.5px; }
}

/* ---------- Grids ---------- */
.rx-grid { display: grid; gap: var(--space-5); }
.rx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rx-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .rx-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rx-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rx-grid--2, .rx-grid--3, .rx-grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.rx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rx-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rx-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Closing CTA with instant contact ---------- */
.rx-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: var(--space-3);
}
.rx-cta__actions .rx-btn { margin-top: 0; }
.rx-cta__actions .rx-icon { width: 16px !important; height: 16px !important; }
.rx-cta__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  margin-top: 16px;
  font-size: 13px;
}
.rx-cta__contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  text-decoration: none;
}
.rx-cta__contact a:hover { color: var(--brand-purple); }
.rx-cta__contact .rx-icon { width: 15px !important; height: 15px !important; }

/* ---------- Base CTA shell (works outside the homepage too) ---------- */
.rx-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 76px) var(--space-7);
  text-align: center;
  background: linear-gradient(135deg, rgba(106, 75, 209, .09), rgba(236, 30, 155, .06) 55%, rgba(46, 125, 224, .09)), rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 29px;
  box-shadow: 0 20px 58px rgba(106, 75, 209, .12);
}
.rx-cta h2 { font-size: clamp(2rem, 1.5rem + 2.3vw, 3.1rem); }
.rx-cta p { color: var(--muted); max-width: 54ch; margin-inline: auto; }

/* ---------- Mini cart drawer (global) ---------- *//* Cart drawer */
.rx-cart-open { overflow: hidden; }
.rx-minicart { position: fixed; inset: 0; z-index: 2200; }
.rx-minicart[hidden] { display: none; }
.rx-minicart__overlay { position: absolute; inset: 0; background: rgba(14, 10, 28, .45); backdrop-filter: blur(3px); }
.rx-minicart__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(410px, 100%);
  display: flex; flex-direction: column;
  background: #fff;
  box-shadow: -24px 0 60px rgba(20, 18, 31, .22);
  animation: rxCartIn .26s var(--ease);
}
@keyframes rxCartIn { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.rx-minicart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.rx-minicart__head strong { font-family: var(--font-heading); font-size: 16px; color: var(--ink); }
.rx-minicart__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.rx-minicart__close:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.rx-minicart__body { flex: 1; overflow-y: auto; padding: 16px 20px 20px; }

.rx-minicart .widget_shopping_cart_content .cart_list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rx-minicart .widget_shopping_cart_content .cart_list li {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-2);
}
.rx-minicart .widget_shopping_cart_content .cart_list li img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.rx-minicart .widget_shopping_cart_content .cart_list li a { font-family: var(--font-heading); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rx-minicart .widget_shopping_cart_content .cart_list li .quantity { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.rx-minicart .widget_shopping_cart_content .cart_list li a.remove {
  position: absolute; top: 0; right: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-3); color: var(--muted) !important;
  font-size: 14px; line-height: 1;
}
.rx-minicart .widget_shopping_cart_content .cart_list li a.remove:hover { background: var(--danger); color: #fff !important; }
.rx-minicart .widget_shopping_cart_content .total { margin: 16px 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-heading); font-size: 15px; color: var(--ink); }
.rx-minicart .widget_shopping_cart_content .buttons { display: grid; gap: 8px; }
.rx-minicart .widget_shopping_cart_content .buttons a {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: 999px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 600;
}
.rx-minicart .widget_shopping_cart_content .buttons a.button { background: var(--brand-purple); color: #fff; }
.rx-minicart .widget_shopping_cart_content .buttons a.checkout { background: rgba(106, 75, 209, .1); color: var(--brand-purple); }
.rx-minicart .widget_shopping_cart_content .buttons a:hover { opacity: .9; }
.rx-minicart .widget_shopping_cart_content p.woocommerce-mini-cart__empty-message { margin: 24px 0; font-size: 13.5px; color: var(--muted); text-align: center; }


/* ============================================================
   Unified popover fields — custom select, date picker, stepper
   ------------------------------------------------------------
   The same controls are used on the trip page, the review modal
   and the archive search bar. No native select/date UI anywhere.
   ============================================================ */

/* ---------- Custom select ---------- */
.rx-drop { position: relative; }

.rx-drop__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}
.rx-drop__toggle > span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rx-drop__toggle .rx-icon {
  flex: 0 0 auto;
  width: 16px !important;
  height: 16px !important;
  color: var(--muted);
  transition: transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.rx-drop.is-open .rx-drop__toggle .rx-icon { transform: rotate(180deg); color: var(--brand-purple); }

.rx-drop__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 120;
  display: none;
  width: min(320px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 18, 31, .18);
}
.rx-drop.is-open .rx-drop__panel { display: block; }
.rx-drop.is-end .rx-drop__panel { left: auto; right: 0; }
.rx-drop.is-up .rx-drop__panel { top: auto; bottom: calc(100% + 8px); }

.rx-drop__search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.rx-drop__search .rx-icon { width: 15px !important; height: 15px !important; color: var(--muted); }
.rx-drop__search input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
}
.rx-drop__list { display: grid; gap: 2px; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
.rx-drop__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-2);
  text-align: start;
  cursor: pointer;
}
.rx-drop__option:hover { background: var(--surface-2); }
.rx-drop__option.is-active { background: rgba(106, 75, 209, .1); color: var(--brand-purple); font-weight: 600; }
.rx-drop__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rx-drop__code {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.rx-drop__option.is-active .rx-drop__code { color: var(--brand-purple); }
.rx-drop__empty { margin: 8px; font-size: 12.5px; color: var(--muted); }

/* ---------- Select that looks like a text field ---------- */
.rx-drop--field .rx-drop__toggle {
  position: relative;
  min-height: 48px;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rx-drop--field .rx-drop__toggle .rx-icon {
  position: absolute;
  right: 14px;
  top: calc(50% - 8px);
  transform: none;
}
.rx-drop--field.is-open .rx-drop__toggle .rx-icon { transform: rotate(180deg); }
.rx-drop--field.is-open .rx-drop__toggle,
.rx-drop--field .rx-drop__toggle:focus-visible {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(106, 75, 209, .13);
}
.rx-drop--field .rx-drop__panel { width: 100%; min-width: 220px; }
.rx-drop--field .rx-drop__list { max-height: 240px; }

/* ---------- Date picker (shared) ---------- */
.rx-datepick { position: relative; }
.rx-datepick__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}
.rx-datepick__toggle > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rx-datepick__toggle .rx-icon { flex: 0 0 auto; width: 16px !important; height: 16px !important; color: var(--muted); }
.rx-datepick.is-open .rx-datepick__toggle .rx-icon { color: var(--brand-purple); }

.rx-datepick__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 120;
  display: none;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 18, 31, .18);
}
.rx-datepick.is-open .rx-datepick__panel { display: block; }
.rx-datepick.is-end .rx-datepick__panel { left: auto; right: 0; }
.rx-datepick.is-up .rx-datepick__panel { top: auto; bottom: calc(100% + 10px); }

.rx-datepick__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.rx-datepick__head strong {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.rx-datepick__head button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.rx-datepick__head button:hover { background: rgba(106, 75, 209, .12); color: var(--brand-purple); }

.rx-datepick__weekdays,
.rx-datepick__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.rx-datepick__weekdays { margin-bottom: 4px; }
.rx-datepick__weekdays span {
  overflow: hidden;
  text-align: center;
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.rx-datepick__grid button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.rx-datepick__grid button:hover { background: rgba(106, 75, 209, .1); color: var(--brand-purple); }
.rx-datepick__grid button.is-empty { pointer-events: none; }
.rx-datepick__grid button.is-disabled { color: #c9c5d8; pointer-events: none; }
.rx-datepick__grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--brand-purple); color: var(--brand-purple); }
.rx-datepick__grid button.is-selected { background: var(--brand-purple); color: #fff; box-shadow: none; }

.rx-datepick__foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
}
.rx-datepick__foot button {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.rx-datepick__foot button:hover { background: var(--surface-2); color: var(--brand-purple); }

/* ---------- Date picker that looks like a text field ---------- */
.rx-datepick--field .rx-datepick__toggle {
  position: relative;
  min-height: 48px;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rx-datepick--field .rx-datepick__toggle .rx-icon {
  position: absolute;
  right: 14px;
  top: calc(50% - 8px);
}
.rx-datepick--field.is-open .rx-datepick__toggle,
.rx-datepick--field .rx-datepick__toggle:focus-visible {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(106, 75, 209, .13);
}
.rx-datepick--field .rx-datepick__panel { width: min(300px, calc(100vw - 32px)); }

/* ---------- Stepper that looks like a text field ---------- */
.rx-stepper--field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 48px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rx-stepper--field:focus-within {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(106, 75, 209, .13);
}
.rx-stepper--field button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(106, 75, 209, .1);
  color: var(--brand-purple);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.rx-stepper--field button:hover { background: var(--brand-purple); color: #fff; }
.rx-stepper--field input {
  flex: 1;
  width: 100%;
  min-height: 30px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  -moz-appearance: textfield;
}
.rx-stepper--field input::-webkit-outer-spin-button,
.rx-stepper--field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Phone field (dial code + number) ---------- */
.rx-phone {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
}
.rx-phone .rx-drop__toggle {
  min-height: 46px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.rx-phone .rx-drop.is-open .rx-drop__toggle {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(106, 75, 209, .13);
}
.rx-phone .rx-drop__panel { width: min(300px, calc(100vw - 32px)); }

@media (max-width: 380px) {
  .rx-phone { grid-template-columns: 84px minmax(0, 1fr); }
}
