/* ==========================================================================
   DX — destination detail page. Cinematic hero + fact bar, sticky section nav,
   guide + free-plan form, journey cards, dark stays shelf, gallery mosaic,
   departures, related places, final CTA. Mobile: rails with peek + sticky action bar.
   ========================================================================== */
.dx { --dx-ink: #0a1428; --dx-sub: #56657d; --dx-mute: #8e9ab0; --dx-line: rgba(10,20,40,.09); --dx-paper: #f6f4ef; --dx-night: #0b0d14; --dx-gold: #d2b27c;
  --dx-ease: cubic-bezier(.16, 1, .3, 1); --dx-top: 64px; color: var(--dx-ink); background: #fbfaf7; }
body:has(.dx) .site-footer { margin-top: 0; }
.dx a { text-decoration: none; }
.dx-fb { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.45);
  background: radial-gradient(90% 90% at 80% 10%, color-mix(in srgb, var(--tp) 45%, transparent), transparent 60%), linear-gradient(150deg, #16264a, #070e1f); }
.dx-fb.is-gold { background: radial-gradient(90% 70% at 80% 10%, rgba(210,178,124,.35), transparent 60%), linear-gradient(160deg, #1c1810, #0b0d14); color: rgba(210,178,124,.6); }
.dx-eyebrow { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--tp); }
.dx-h2 { margin: 10px 0 0; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; color: inherit; text-wrap: balance; }
.dx-sec { padding: clamp(56px, 7vw, 100px) 0; scroll-margin-top: calc(var(--dx-top) + 56px); }
.dx-tint { background: var(--dx-paper); }
.dx-dark { background: radial-gradient(80% 60% at 90% 0%, rgba(210,178,124,.14), transparent 60%), var(--dx-night); color: #eef1f6; }
.dx-dark .dx-eyebrow { color: var(--dx-gold); }
.dx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.dx-count { font-size: .8rem; font-weight: 700; color: var(--dx-mute); white-space: nowrap; }
.dx-more { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--dx-line); background: #fff; color: var(--dx-ink); font-weight: 700; font-size: .86rem; white-space: nowrap; transition: gap .3s var(--dx-ease), background .3s, color .3s; }
.dx-more:hover { gap: 12px; background: var(--dx-ink); color: #fff; }
.dx-dark .dx-more { background: transparent; color: #eef1f6; border-color: rgba(255,255,255,.2); }
.dx-dark .dx-more:hover { background: var(--dx-gold); color: #1a1409; border-color: var(--dx-gold); }
.dx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .3s, color .3s, gap .3s var(--dx-ease), transform .15s; }
.dx-btn:active { transform: scale(.97); }
.dx-btn-light { background: #fff; color: var(--dx-ink) !important; }
.dx-btn-light:hover { background: var(--tp); color: #fff !important; gap: 14px; }
.dx-btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.34); color: #fff !important; }
.dx-btn-ghost:hover { background: rgba(255,255,255,.2); }
.dx-btn-tp { width: 100%; border: 0; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--tp), var(--tp-2, var(--tp))); box-shadow: 0 18px 34px -18px color-mix(in srgb, var(--tp) 85%, transparent); }
.dx-btn-tp:hover { gap: 14px; }

/* ---------- hero ---------- */
.dx-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #05080f; }
.dx-hero-media { position: absolute; inset: 0; z-index: -2; }
.dx-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: dxKen 18s ease-out both; }
@keyframes dxKen { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.dx-hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,8,18,.72) 0%, rgba(4,8,18,.3) 45%, rgba(4,8,18,0) 75%), linear-gradient(180deg, rgba(4,8,18,.35) 0%, rgba(4,8,18,0) 26%, rgba(4,8,18,.2) 55%, rgba(4,8,18,.9) 100%); }
.dx-hero-in { padding-top: 90px; padding-bottom: 34px; }
.dx-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.dx-crumb a { color: rgba(255,255,255,.8); } .dx-crumb a:hover { color: #fff; }
.dx-crumb b { color: #fff; font-weight: 700; }
.dx-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dx-badges span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(8,14,30,.5); border: 1px solid rgba(255,255,255,.2); }
.dx-badges .is-gold { color: #2a1c05; background: linear-gradient(135deg, #f6dfaa, #d9b16a); border-color: transparent; }
.dx-title { margin: 0; font-size: clamp(3.2rem, 9vw, 7.4rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: #fff; text-shadow: 0 2px 34px rgba(0,0,0,.2); animation: dxRise 1s var(--dx-ease) both .1s; }
.dx-lede { margin-top: 18px; max-width: 54ch; font-size: 1.1rem; line-height: 1.55; color: rgba(255,255,255,.85); animation: dxRise 1s var(--dx-ease) both .25s; }
.dx-lede p { margin: 0; }
.dx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; animation: dxRise 1s var(--dx-ease) both .4s; }
@keyframes dxRise { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }
.dx-facts-wrap { position: relative; padding-bottom: 28px; }
.dx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; border-radius: 22px; overflow: hidden; background: rgba(8,12,24,.55); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); animation: dxRise 1s var(--dx-ease) both .55s; }
.dx-facts > div { padding: 18px 22px; border-left: 1px solid rgba(255,255,255,.1); }
.dx-facts > div:first-child { border-left: 0; }
.dx-facts dt { display: flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.dx-facts dd { margin: 6px 0 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.dx-facts dd small { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.6); margin-left: 3px; }

/* ---------- sticky nav ---------- */
.dx-nav { position: sticky; top: var(--dx-top); z-index: 40; background: rgba(251,250,247,.97); border-bottom: 1px solid var(--dx-line); }
.dx-nav-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.dx-nav-in::-webkit-scrollbar { display: none; }
.dx-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--dx-sub); transition: background .25s, color .25s; }
.dx-nav a:hover { color: var(--dx-ink); background: var(--dx-paper); }
.dx-nav a.is-on { background: var(--dx-ink); color: #fff; }

/* ---------- overview ---------- */
.dx-ov { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.dx-about { margin: 18px 0 0; font-size: 1.08rem; line-height: 1.75; color: var(--dx-sub); max-width: 62ch; }
.dx-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 0; border: 0; background: none; font-weight: 800; color: var(--tp); cursor: pointer; transition: gap .3s var(--dx-ease); }
.dx-link:hover { gap: 12px; }
.dx-qf { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; padding: 0; }
.dx-qf li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--dx-line); }
.dx-qf-ic { flex: 0 0 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--tp); background: color-mix(in srgb, var(--tp) 10%, #fff); }
.dx-qf li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.dx-qf small { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dx-mute); }
.dx-qf b { font-size: .98rem; }
.dx-qf a { color: var(--tp); }
.dx-plan { position: sticky; top: calc(var(--dx-top) + 76px); padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--dx-line); box-shadow: 0 40px 70px -46px rgba(10,20,40,.55); scroll-margin-top: calc(var(--dx-top) + 70px); }
.dx-plan-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dx-plan-ic { flex: 0 0 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--tp), var(--tp-2, var(--tp))); }
.dx-plan h3 { margin: 4px 0 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.dx-form { display: flex; flex-direction: column; gap: 12px; }
.dx-f-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.dx-f { display: flex; align-items: center; gap: 10px; height: 52px; margin: 0; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--dx-line); background: #fff; color: var(--dx-mute); transition: border-color .25s, box-shadow .25s, color .25s; }
.dx-f:focus-within { border-color: var(--tp); color: var(--tp); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tp) 14%, transparent); }
.dx-f > span { display: grid; place-items: center; }
.dx-f input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: .98rem; color: var(--dx-ink); }
.dx-plan-note { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: .76rem; color: var(--dx-mute); }
.dx-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; font-size: .86rem; border: 1px solid; }
.dx-alert.is-ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.dx-alert.is-err { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }

/* ---------- rails / grids ---------- */
.dx-rail { display: grid; gap: 20px; }
.dx-pk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dx-pkc { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--dx-line); transition: transform .5s var(--dx-ease), box-shadow .5s; }
.dx-pkc:hover { transform: translate3d(0, -6px, 0); box-shadow: 0 36px 60px -40px rgba(10,20,40,.6); }
.dx-pkc-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0a1428; }
.dx-pkc-media img, .dx-stc-media img, .dx-relc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--dx-ease); }
.dx-pkc:hover .dx-pkc-media img, .dx-stc:hover img, .dx-relc:hover img { transform: scale(1.06); }
.dx-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.dx-tag { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(8,14,30,.6); }
.dx-tag.is-gold { color: #2a1c05; background: linear-gradient(135deg, #f6dfaa, #d9b16a); }
.dx-pkc-b { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; flex: 1; }
.dx-pkc-t { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.dx-pkc-t a { color: var(--dx-ink); }
.dx-pkc-t a:hover { color: var(--tp); }
.dx-hl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.dx-hl li { display: flex; align-items: flex-start; gap: 7px; font-size: .86rem; color: var(--dx-sub); line-height: 1.4; }
.dx-hl svg { flex: 0 0 auto; margin-top: 2px; color: #0e8a5f; }
.dx-pkc-f { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--dx-line); }
.dx-price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.dx-price small { font-size: .74rem; color: var(--dx-mute); font-weight: 600; }
.dx-price b { font-size: 1.45rem; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dx-price .is-ask { font-size: 1rem; font-weight: 700; }
.dx-go { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--dx-ink); color: #fff !important; transition: background .3s, transform .45s var(--dx-ease); }
.dx-pkc:hover .dx-go { background: var(--tp); transform: rotate(-35deg); }
.dx-empty { display: flex; align-items: center; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; border: 1px dashed var(--dx-line); color: var(--dx-sub); }
.dx-empty p { margin: 0; } .dx-empty a { color: var(--tp); font-weight: 700; }

/* stays */
.dx-st { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dx-stc { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #141821; border: 1px solid rgba(210,178,124,.14); color: #eef1f6; transition: border-color .4s, transform .5s var(--dx-ease); }
.dx-stc:hover { color: #fff; border-color: rgba(210,178,124,.5); transform: translate3d(0, -5px, 0); }
.dx-stc-media { position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; background: #0b0d14; }
.dx-rate { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: .7rem; color: #fff; background: rgba(6,7,11,.65); }
.dx-rate b { display: grid; place-items: center; min-width: 30px; height: 22px; border-radius: 999px; background: var(--dx-gold); color: #1a1409; font-size: .74rem; }
.dx-stc-b { display: flex; flex-direction: column; gap: 5px; padding: 16px 16px 18px; }
.dx-stars { color: var(--dx-gold); letter-spacing: 2px; font-size: .8rem; }
.dx-stc-t { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.dx-stc-l { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: rgba(238,241,246,.6); }
.dx-stc-p { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; color: rgba(238,241,246,.55); }
.dx-stc-p b { font-size: 1.15rem; color: #fff; font-variant-numeric: tabular-nums; }

/* gallery mosaic */
.dx-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.dx-gal.n1 { grid-template-columns: 1fr; grid-auto-rows: 460px; }
.dx-gal.n2 { grid-template-columns: 1.4fr 1fr; grid-auto-rows: 380px; }
.dx-gal.n2 .dgal-item:first-child, .dx-gal.n1 .dgal-item:first-child { grid-column: auto; grid-row: auto; }
.dx-gal .dgal-item img { position: absolute; inset: 0; }

/* departures */
.dx-deps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dx-dep { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--dx-line); color: var(--dx-ink); transition: border-color .3s, transform .4s var(--dx-ease); }
.dx-dep:hover { color: var(--dx-ink); border-color: color-mix(in srgb, var(--tp) 30%, var(--dx-line)); transform: translate3d(0, -3px, 0); }
.dx-dep-date { display: flex; align-items: flex-end; gap: 8px; min-width: 96px; }
.dx-dep-date b { font-size: 2.6rem; font-weight: 800; line-height: .8; letter-spacing: -.05em; }
.dx-dep-date span { display: flex; flex-direction: column; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--tp); }
.dx-dep-date small { color: var(--dx-mute); font-size: .64rem; text-transform: none; letter-spacing: 0; font-weight: 600; }
.dx-dep-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dx-dep-t { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-dep-m { font-size: .8rem; color: var(--dx-sub); }
.dx-seats { flex: 0 0 auto; font-size: .74rem; font-weight: 800; padding: 6px 10px; border-radius: 999px; color: #0e8a5f; background: #ecfdf5; }
.dx-seats.is-low { color: #e11d48; background: #fff1f2; }

/* related */
.dx-rel { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.dx-relc { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; isolation: isolate; background: #0a1428; color: #fff; }
.dx-relc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,8,18,0) 45%, rgba(4,8,18,.85) 100%); }
.dx-relc:hover { color: #fff; }
.dx-relc-b { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.dx-relc-t { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.dx-relc-m { font-size: .72rem; color: rgba(255,255,255,.75); }

/* final */
.dx-final { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; color: #fff; background: #05080f; text-align: center; }
.dx-final-media { position: absolute; inset: 0; z-index: -1; }
.dx-final-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dx-final-media::after { content: ""; position: absolute; inset: 0; background: rgba(4,8,18,.72); }
.dx-final .dx-eyebrow { color: #f6dfaa; }
.dx-final h2 { margin: 12px 0 0; font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; color: #fff; }
.dx-final p { margin: 16px auto 0; max-width: 46ch; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.dx-final .dx-cta { justify-content: center; animation: none; }

.dx-bar { display: none; }

/* reveal */
.dx-js .dx-rv { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .9s ease, transform 1s var(--dx-ease); }
.dx-js .dx-rv.is-in { opacity: 1; transform: none; }
.dx a:focus-visible, .dx button:focus-visible { outline: 2px solid var(--tp); outline-offset: 3px; }

/* ---------- tablet ---------- */
@media (max-width: 991.98px) {
  .dx-ov { grid-template-columns: 1fr; }
  .dx-plan { position: relative; top: auto; }
  .dx-pk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-rel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dx-deps { grid-template-columns: 1fr; }
}

/* ---------- phones: app-style ---------- */
@media (max-width: 767.98px) {
  .dx { --dx-top: 56px; }
  .dx .container { padding-left: 16px; padding-right: 16px; }
  .dx-sec { padding: 44px 0; }
  .dx-head { margin-bottom: 18px; }
  .dx-h2 { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .dx-more { height: 36px; padding: 0 12px; font-size: .76rem; }
  .dx-hero { min-height: 78svh; }
  .dx-hero-veil { background: linear-gradient(180deg, rgba(4,8,18,.35) 0%, rgba(4,8,18,0) 25%, rgba(4,8,18,.35) 55%, rgba(4,8,18,.94) 100%); }
  .dx-hero-in { padding-top: 70px; padding-bottom: 20px; }
  .dx-crumb { font-size: .72rem; margin-bottom: 14px; }
  .dx-badges span { height: 27px; font-size: .68rem; padding: 0 10px; }
  .dx-title { font-size: clamp(2.9rem, 15vw, 4rem); }
  .dx-lede { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .dx-cta { gap: 10px; margin-top: 20px; }
  .dx-cta .dx-btn { flex: 1 1 0; height: 50px; padding: 0 14px; font-size: .86rem; }
  /* facts become a swipeable strip */
  .dx-facts-wrap { padding-bottom: 18px; }
  .dx-facts { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(8,12,24,.72); border-radius: 18px; }
  .dx-facts::-webkit-scrollbar { display: none; }
  .dx-facts > div { flex: 0 0 auto; padding: 12px 16px; }
  .dx-facts dt { font-size: .6rem; }
  .dx-facts dd { font-size: 1.05rem; margin-top: 4px; white-space: nowrap; }
  .dx-nav-in { padding: 8px 0; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .dx-nav a { height: 34px; padding: 0 13px; font-size: .78rem; }
  .dx-about { font-size: .98rem; line-height: 1.65; }
  .dx-qf { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
  .dx-qf li { padding: 10px 12px; border-radius: 16px; }
  .dx-qf-ic { flex-basis: 40px; height: 40px; }
  .dx-plan { padding: 20px 16px; border-radius: 22px; }
  .dx-f input { font-size: 16px; }
  /* rails with a visible peek */
  .dx-pk, .dx-st, .dx-rel { display: grid; grid-template-columns: none; grid-auto-flow: column; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin: 0 -16px; padding: 4px 16px 12px; scroll-padding-inline: 16px; gap: 12px; }
  .dx-pk::-webkit-scrollbar, .dx-st::-webkit-scrollbar, .dx-rel::-webkit-scrollbar { display: none; }
  .dx-pk { grid-auto-columns: 82%; }
  .dx-st { grid-auto-columns: 64%; }
  .dx-rel { grid-auto-columns: 42%; }
  .dx-pkc, .dx-stc, .dx-relc { scroll-snap-align: start; }
  .dx-pkc:hover, .dx-stc:hover, .dx-dep:hover { transform: none; }
  .dx-pkc-t { font-size: 1.1rem; }
  .dx-price b { font-size: 1.25rem; }
  .dx-gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
  .dx-gal.n1 { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .dx-gal.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .dx-gal:not(.n1):not(.n2) .dgal-item:first-child { grid-column: span 2; grid-row: span 1; }
  .dx-gal .dgal-item { border-radius: 14px; }
  .dx-dep { padding: 12px 14px; gap: 12px; }
  .dx-dep-date { min-width: 74px; }
  .dx-dep-date b { font-size: 2.1rem; }
  .dx-final { padding: 64px 0 72px; }
  .dx-final .dx-cta .dx-btn { flex: 1 1 100%; }
  .dx-pkc:active, .dx-stc:active, .dx-relc:active, .dx-dep:active, .dx-btn:active, .dx-nav a:active { transform: scale(.98); transition: transform .12s; }
  /* sticky action bar above the app tab bar */
  .dx-bar { display: flex; align-items: center; gap: 8px; position: fixed; z-index: 1030; left: 10px; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); padding: 8px 8px 8px 16px;
    border-radius: 20px; background: rgba(10,20,40,.96); color: #fff; box-shadow: 0 18px 40px -16px rgba(4,10,24,.6);
    transform: translate3d(0, 140%, 0); opacity: 0; pointer-events: none; transition: transform .45s var(--dx-ease), opacity .3s; }
  .dx-bar.is-show { transform: none; opacity: 1; pointer-events: auto; }
  .dx-bar-p { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.1; }
  .dx-bar-p small { font-size: .66rem; color: rgba(255,255,255,.6); font-weight: 600; }
  .dx-bar-p b { font-size: 1.1rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dx-bar a { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; border-radius: 14px; font-weight: 800; font-size: .84rem; color: #fff; }
  .dx-bar-ghost { background: rgba(255,255,255,.1); }
  .dx-bar-tp { background: linear-gradient(135deg, var(--tp), var(--tp-2, var(--tp))); }
  body:has(.dx) .site-footer { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .dx *, .dx *::before, .dx *::after { animation: none !important; transition-duration: .001ms !important; }
  .dx-js .dx-rv { opacity: 1; transform: none; }
}

/* a single journey gets a wide editorial card instead of one lonely grid cell */
@media (min-width: 768px) {
  .dx-pk:has(> .dx-pkc:only-child) { grid-template-columns: 1fr; }
  .dx-pk > .dx-pkc:only-child { flex-direction: row; min-height: 340px; }
  .dx-pk > .dx-pkc:only-child .dx-pkc-media { flex: 0 0 56%; aspect-ratio: auto; }
  .dx-pk > .dx-pkc:only-child .dx-pkc-b { padding: 34px 36px; justify-content: center; gap: 14px; }
  .dx-pk > .dx-pkc:only-child .dx-pkc-t { font-size: 2rem; letter-spacing: -.04em; }
  .dx-pk > .dx-pkc:only-child .dx-hl li { font-size: .95rem; }
  .dx-pk > .dx-pkc:only-child .dx-pkc-f { margin-top: 10px; }
  .dx-st:has(> .dx-stc:only-child) { grid-template-columns: minmax(0, 380px); }
}
@media (max-width: 767.98px) {
  .dx-cta .dx-btn { white-space: nowrap; font-size: .82rem; padding: 0 12px; gap: 7px; }
  .dx-cta .dx-btn svg { width: 16px; height: 16px; }
  .dx-pk:has(> .dx-pkc:only-child), .dx-st:has(> .dx-stc:only-child) { grid-auto-columns: 100%; }
}
