/* Roxana Travel — floating glass header and light footer */

.rx-wrapper { overflow-x: clip; }

/* ---------- Floating pill ---------- */
.rx-masthead { position: sticky; top: 10px; z-index: var(--z-header); margin: 10px auto 0; width: 100%; transition: top var(--dur) var(--ease); }
.rx-masthead--hero { position: absolute; top: 14px; left: 0; right: 0; margin: 0; }
.rx-masthead--hero.is-stuck { position: fixed; top: 10px; left: 0; right: 0; }
.rx-masthead:not(.rx-masthead--hero) { position: sticky; }
.admin-bar .rx-masthead--hero.is-stuck { top: 42px; }
.rx-pill {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 32px);
  width: min(1380px, calc(100% - 48px)); min-height: 68px; margin-inline: auto;
  padding: 9px 12px 9px 22px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid rgba(255,255,255,.96); border-radius: var(--radius-pill);
  box-shadow: 0 14px 44px rgba(48, 32, 94, .16), inset 0 1px 0 rgba(255,255,255,.9);
  overflow: visible;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), min-height var(--dur) var(--ease), width var(--dur) var(--ease);
}
.rx-masthead.is-stuck .rx-pill { width: min(1320px, calc(100% - 32px)); min-height: 60px; background: rgba(255,255,255,.9); box-shadow: 0 12px 36px rgba(48,32,94,.18); }
.rx-pill__brand { flex: 0 0 auto; display: flex; align-items: center; }
.rx-pill__brand img { display: block; width: auto; height: 28px; max-width: 150px; object-fit: contain; }
.rx-pill__name { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-xl); color: var(--ink); }

.rx-nav { margin-inline: auto; min-width: 0; }
.rx-menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.rx-menu > li { position: relative; }
.rx-menu > li > a { position: relative; display: inline-block; padding: 9px 0; color: var(--ink); font: 500 var(--fs-base)/1.2 var(--font-heading); white-space: nowrap; }
.rx-menu > li > a::after { content: ""; position: absolute; inset: auto 0 2px; height: 2px; border-radius: 2px; background: var(--brand-purple); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.rx-menu > li > a:hover, .rx-menu > li.current-menu-item > a, .rx-menu > li.current-menu-ancestor > a { color: var(--brand-purple); }
.rx-menu > li > a:hover::after, .rx-menu > li.current-menu-item > a::after, .rx-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.rx-menu .sub-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--glass-border); border-radius: var(--radius-md); box-shadow: var(--glass-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(7px); transition: all var(--dur) var(--ease); }
.rx-menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rx-menu .sub-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink-2); font-size: var(--fs-sm); }
.rx-menu .sub-menu a:hover { background: var(--surface-3); color: var(--brand-purple); }

.rx-pill__actions { display: flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.rx-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; background: transparent; border-radius: var(--radius-pill); color: var(--ink); cursor: pointer; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.rx-iconbtn:hover { background: rgba(106,75,209,.1); color: var(--brand-purple); transform: translateY(-1px); }
.rx-iconbtn .rx-icon { width: 20px; height: 20px; }
.rx-cart__count { position: absolute; top: 1px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--radius-pill); background: var(--brand-magenta); color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rx-wish-count { position: absolute; top: 1px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--radius-pill); background: var(--brand-purple); color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rx-pill__cta { margin-left: 5px; }
@media (max-width: 1120px) { .rx-nav { display: none; } .rx-pill__brand { margin-right: auto; } }
@media (max-width: 640px) { .rx-pill { width: calc(100% - 24px); min-height: 58px; padding: 7px 9px 7px 16px; gap: 4px; } .rx-pill__brand img { height: 25px; max-width: 125px; } .rx-pill__actions { gap: 0; } .rx-pill__actions > .rx-iconbtn:not(.rx-search-toggle):not(.rx-account-icon) { display: none; } .rx-pill__cta { display: none; } }
@media (max-width: 480px) { .rx-pill__actions > .rx-iconbtn:not(.rx-search-toggle) { display: none; } .rx-pill__locale { padding-inline: 4px; } }

/* Mobile: keep the language, move the currency into the panel */
@media (max-width: 640px) {
  .rx-lc__sep,
  .rx-lc__cur { display: none; }
  .rx-lc__btn { gap: 6px; padding: 0 7px; font-size: 13px; }
  .rx-lc__panel {
    flex-direction: column;
    right: 0;
    width: 212px;
    max-width: calc(100vw - 36px);
  }
  .rx-lc__col { padding: 14px; }
  .rx-lc__col + .rx-lc__col { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 380px) {
  .rx-pill__brand img { max-width: 108px; }
  .rx-lc__btn { padding-inline: 5px; }
}

.rx-masthead--hero + .rx-mobile-menu { top: 0; }
.rx-masthead--hero.is-stuck .rx-pill { width: min(1280px, calc(100% - 32px)); min-height: 60px; background: rgba(255,255,255,.9); box-shadow: var(--glass-shadow-lg); }

/* Unified language + currency switcher (own markup, theme currency JS preserved) */
.rx-pill__locale { padding-inline: 7px; }
.rx-lc { position: relative; }
.rx-lc__label { display: inline-flex; align-items: baseline; }
.rx-lc__sep { white-space: pre; }
.rx-lc__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-2); font: 600 var(--fs-sm)/1 var(--font-heading); cursor: pointer; white-space: nowrap; }
.rx-lc__btn:hover { color: var(--brand-purple); background: rgba(106, 75, 209, .08); }
.rx-lc__btn .rx-icon { width: 16px; height: 16px; }
.rx-lc__btn .togo-svg-icon, .rx-lc__btn svg:last-child { width: 14px; height: 14px; }
.rx-lc__panel { position: absolute; top: calc(100% + 12px); right: 0; display: flex; align-items: stretch; width: max-content; max-width: min(440px, 92vw); padding: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 26px 70px rgba(43, 28, 92, .26); overflow: hidden; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 1300; }
.rx-lc.is-open .rx-lc__panel { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; transform: none !important; }
.rx-lc__col { padding: 16px 18px; min-width: 0; }
.rx-lc__col + .rx-lc__col { border-left: 1px solid var(--line-2); }
.rx-lc__title { margin: 0 0 10px; color: var(--muted); font: 700 10px/1.2 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
.rx-lc__list { display: flex; flex-direction: column; gap: 6px; list-style: none; padding: 0; margin: 0; }
.rx-lc__list li { margin: 0; }
.rx-lc__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 9px; background: var(--surface-2); color: var(--ink-2); font: 500 var(--fs-sm)/1.2 var(--font-body); white-space: nowrap; }
.rx-lc__list a:hover, .rx-lc__list a.current, .rx-lc__list a.is-current { background: rgba(106, 75, 209, .1); color: var(--brand-purple); }
.rx-lc .current-indicator { color: var(--brand-magenta); }

/* Mobile navigation drawer */
.rx-burger { display: none; flex-direction: column; gap: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; }
.rx-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 1120px) { .rx-burger { display: flex; } }
.rx-mobile-menu { position: fixed; inset: 0; z-index: var(--z-modal); pointer-events: none; }
.rx-mobile-menu::before { content: ""; position: absolute; inset: 0; background: rgba(34,20,62,.25); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity var(--dur) var(--ease); }
.rx-mobile-menu__panel { position: absolute; top: 12px; right: 12px; height: calc(100% - 24px); width: min(380px, 90vw); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid var(--glass-border); border-radius: var(--radius-xl); transform: translateX(calc(100% + 24px)); transition: transform var(--dur-slow) var(--ease); display: flex; flex-direction: column; padding: var(--space-5); overflow-y: auto; box-shadow: var(--glass-shadow-lg); }
.rx-mobile-menu.is-open { pointer-events: auto; }
.rx-mobile-menu.is-open::before { opacity: 1; }
.rx-mobile-menu.is-open .rx-mobile-menu__panel { transform: none; }
.rx-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); margin-bottom: var(--space-5); }
.rx-mobile-menu__close { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.rx-mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.rx-mobile-menu__list li { border-bottom: 1px solid var(--line-2); }
.rx-mobile-menu__list a { display: block; padding: 14px 0; font-family: var(--font-heading); font-weight: 500; color: var(--ink); }
.rx-mobile-menu__list .sub-menu { list-style: none; margin: 0; padding: 0 0 8px 14px; }
.rx-mobile-menu__list .sub-menu a { padding: 8px 0; font-size: var(--fs-sm); color: var(--muted); font-weight: 400; }
.rx-mobile-menu__foot { margin-top: auto; padding-top: var(--space-5); }

/* Header search dropdown (general site search) */
.rx-header__search { display: none; width: min(600px, calc(100vw - 32px)); margin: 10px auto 0; }
.rx-header__search.is-open { display: block; }
.rx-site-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--glass-shadow); }
.rx-site-search > .rx-icon { width: 20px; height: 20px; color: var(--brand-purple); flex: 0 0 auto; }
.rx-site-search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 15px/1.3 var(--font-body); }
.rx-site-search input::placeholder { color: #77738a; opacity: 1; }
@media (max-width: 640px) {
  .rx-site-search { padding-left: 14px; }
  .rx-site-search .rx-btn { padding-inline: 14px; }
}

/* ---------- Footer ---------- */
.rx-footer { background: #fff; color: var(--ink-2); margin-top: 0; border-top: 1px solid var(--line-2); }

/* Trust strip */
.rx-footer__trust { border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, #fff 0%, #fbfaff 100%); }
.rx-footer__trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 18px; flex-wrap: wrap; }
.rx-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rx-trust__label { font-family: var(--font-heading); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.rx-trust__items { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rx-trust__item { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 13px; text-decoration: none; transition: opacity .2s var(--ease); }
a.rx-trust__item:hover { color: var(--brand-purple); }
.rx-trust__item.is-muted { opacity: .78; }
.rx-trust__mark { display: inline-flex; align-items: center; }
.rx-trust__mark .rx-icon { width: 20px !important; height: 20px !important; }
.rx-trust__name { font-family: var(--font-heading); font-weight: 600; }
.rx-trust__score { font-family: var(--font-heading); font-weight: 700; font-size: 12.5px; }
.rx-trust__score span { color: var(--muted); font-weight: 500; }
.rx-trust__count { font-size: 11px; color: var(--muted); }
.rx-trust__g {
  font-family: var(--font-heading); font-weight: 700; font-size: 17px; line-height: 1;
  background: conic-gradient(from -40deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rx-trust__star { color: #00b67a; font-size: 16px; line-height: 1; }
.rx-trust__dot { width: 10px; height: 10px; border-radius: 50%; background: #00b67a; }
.rx-trust--viator .rx-trust__name { font-style: italic; letter-spacing: -.01em; }

.rx-trust__secure { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rx-trust__secure-row { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.rx-trust__secure-row .rx-icon { width: 16px !important; height: 16px !important; color: var(--success); }

/* Main columns */
.rx-footer__main {
  display: grid;
  grid-template-columns: 1.6fr .9fr 1.05fr .9fr .9fr;
  gap: clamp(22px, 3vw, 40px);
  padding-block: clamp(30px, 4vw, 44px) clamp(26px, 3vw, 36px);
}
.rx-footer__logo { display: block; font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.rx-footer__logo strong { color: var(--brand-purple); }
.rx-footer__brand > p { max-width: 34ch; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.rx-footer__support {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 16px; padding: 13px 14px;
  border: 1px solid rgba(106, 75, 209, .14);
  border-radius: 14px;
  background: rgba(106, 75, 209, .05);
}
.rx-footer__badge {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  padding: 4px 7px; border-radius: 7px;
  background: var(--brand-purple); color: #fff;
  font-family: var(--font-heading); font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
}
.rx-footer__support strong { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.rx-footer__support > div > a { display: block; margin-top: 1px; font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--ink); }
.rx-footer__support > div > a:hover { color: var(--brand-purple); }
.rx-footer__support-links { display: flex; gap: 6px; margin-top: 1px; font-size: 11.5px; color: var(--muted); }
.rx-footer__support-links a { color: var(--muted); }
.rx-footer__support-links a:hover { color: var(--brand-purple); }

.rx-footer__social { display: flex; gap: 8px; margin-top: 16px; }
.rx-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.rx-footer__social a:hover { background: var(--brand-purple); border-color: var(--brand-purple); color: #fff; }
.rx-footer__social .rx-icon { width: 17px; height: 17px; }

.rx-footer__col h4 { margin: 0 0 14px; font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.rx-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rx-footer__links a { color: var(--muted); font-size: 13.5px; }
.rx-footer__links a:hover { color: var(--brand-purple); }

.rx-footer__bottom { border-top: 1px solid var(--line-2); }
.rx-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 16px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.rx-footer__bottom-inner p { margin: 0; }
.rx-footer__licence { display: inline-block; margin-left: 6px; color: var(--muted); opacity: .85; }
.rx-footer__legal { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.rx-footer__legal a { color: var(--muted); }
.rx-footer__legal a:hover { color: var(--brand-purple); }

@media (max-width: 1100px) {
  .rx-footer__main { grid-template-columns: 1.4fr 1fr 1fr; }
  .rx-footer__brand { grid-column: 1 / -1; }
  .rx-footer__brand > p { max-width: 60ch; }
}
@media (max-width: 760px) {
  .rx-footer__main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .rx-footer__trust-inner { flex-direction: column; align-items: flex-start; }
  .rx-trust__items { gap: 14px 18px; }
}
@media (max-width: 520px) {
  .rx-footer__main { grid-template-columns: 1fr; }
  .rx-footer__bottom-inner { flex-direction: column; text-align: center; }
  .rx-trust__item { font-size: 12.5px; }
}

/* ---------- Breadcrumb (shared) ---------- */
.rx-pkg-crumbs { padding-block: 10px 12px; }
.rx-crumbs { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--muted); }
.rx-crumbs a { color: var(--muted); }
.rx-crumbs a:hover { color: var(--brand-purple); }
.rx-crumbs__sep { color: var(--line); }
.rx-crumbs [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- Native templates bring their own header ---------- */
.home #page-title,
.blog #page-title,
.single-post #page-title,
.woocommerce-cart #page-title,
.woocommerce-checkout #page-title,
.woocommerce-account #page-title,
.page-template-page-tailor-made #page-title { display: none !important; }

/* ---------- Account dropdown ---------- */
.rx-account { position: relative; display: inline-flex; }
.rx-account__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1300;
  width: 266px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(43, 28, 92, .22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.rx-account.is-open .rx-account__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.rx-account__who {
  padding: 10px 12px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
}
.rx-account__who strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.rx-account__who span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  word-break: break-word;
}
.rx-account__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
.rx-account__item:hover { background: var(--surface-2); color: var(--brand-purple); }
.rx-account__item .rx-icon { width: 16px !important; height: 16px !important; color: var(--brand-purple); }
.rx-account__item--out {
  margin-top: 6px;
  border-top: 1px solid var(--line-2);
  border-radius: 0 0 10px 10px;
  color: var(--muted);
}
.rx-account__item--out .rx-icon { color: var(--muted); transform: rotate(180deg); }
.rx-account.is-open .rx-account__btn { background: rgba(106, 75, 209, .1); color: var(--brand-purple); }

/* WPML prints a development-site banner until a production key is entered. */.otgs-development-site-front-end { display: none !important; }
/* Long breadcrumbs scroll instead of wrapping on small screens. */
@media (max-width: 640px) {
  .rx-crumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .rx-crumbs::-webkit-scrollbar { display: none; }

  .rx-crumbs > * { flex: 0 0 auto; }

  .rx-crumbs [aria-current="page"] {
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}