/* =========================================================
   tours.css - stylesheet for a group of related pages (loads after main.css)
   Built from: tour-packages.css + tour-details.css
   ========================================================= */

/* #########################################################
   TOUR-PACKAGES - Tour package listing and landing pages (/packages, /{x}-tour-packages)
   ######################################################### */

/* =========================================================
   Nepal Trip Holiday – Tour Packages page
   (shared topbar / header / footer / buttons live in main.css)
   ========================================================= */
.page-tour-packages { background: #fbfcfe; }
.page-tour-packages { --hand: 'Merienda', 'Kaushan Script', cursive; }

/* =========================================================
   PAGE HERO
   ========================================================= */
.tp-hero { position: relative; height: 395px; overflow: hidden; color: #fff; display: flex; align-items: center; }
.tp-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: 30% center;
  transform: scale(1.08); animation: tpKenBurns 14s var(--ease) forwards;
  will-change: transform;
}
.tp-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 24, 62, .38) 0%, rgba(5, 24, 62, .18) 38%, rgba(5, 24, 62, 0) 60%);
}
.tp-hero-content { position: relative; z-index: 2; padding-top: 6px; }
.tp-hero-title {
  font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -.2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.tp-hero-script {
  font-family: var(--hand); font-weight: 800; font-size: 56px; line-height: 1.2;
  color: var(--yellow); letter-spacing: -.5px; margin-top: 2px;
  transform: skewX(-8deg); transform-origin: left;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.tp-hero-sub { font-size: 24px; font-weight: 400; margin-top: 4px; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.tp-hero-features { display: flex; gap: 26px; margin-top: 22px; }
.tp-hero-features li {
  display: flex; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 500; line-height: 1.45; text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.thf-icon {
  width: 70px; height: 70px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 28px;
  border: 4px solid rgba(255, 255, 255, .35); background-clip: padding-box;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.thf-red   { background-color: #f04c5b; color: #fff; }
.thf-blue  { background-color: #a6cdf6; color: #1b5fd0; }
.thf-green { background-color: #63d98b; color: #0f3d2a; }
.tp-hero-features li:hover .thf-icon { transform: translateY(-6px) rotate(-8deg); box-shadow: 0 14px 26px rgba(0, 0, 0, .28); }
.tp-hero-features li:hover .thf-icon i { animation: floatIcon 1.6s ease-in-out infinite; }

@keyframes tpKenBurns { to { transform: scale(1); } }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.tp-breadcrumb {
  display: flex; align-items: center; gap: 14px; padding-top: 18px; padding-bottom: 0;
  font-size: 14px; color: #3a4459;
}
.tp-breadcrumb a { color: #3a4459; transition: color .3s; }
.tp-breadcrumb a:hover { color: var(--red); }
.tp-breadcrumb i { font-size: 11px; color: #7b8496; }

/* =========================================================
   LISTING LAYOUT
   ========================================================= */
.tp-listing { padding: 26px 0 28px; }
.tp-layout { display: grid; grid-template-columns: 305px 1fr; gap: 25px; align-items: start; }

/* ---------- Filter sidebar ---------- */
/* never taller than the screen: the options scroll (slim bar), the heading and Apply / Reset stay in view */
.tp-filter {
  background: #f8fafd; border: 1px solid #e3e9f2; border-radius: 8px;
  box-shadow: 0 6px 18px rgba(11, 42, 92, .05); overflow: hidden;
  position: sticky; top: 108px;
  display: flex; flex-direction: column; max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px);
}
.tpf-head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  background: #eef3fa; padding: 16px 22px; border-bottom: 1px solid #e3e9f2;
}
.tpf-head h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.tpf-close { display: none; width: 36px; height: 36px; border-radius: 50%; color: var(--navy); font-size: 18px; transition: background .3s, color .3s; }
.tpf-close:hover { background: var(--red); color: #fff; }
.tpf-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 0;
  scrollbar-width: thin; scrollbar-color: #c3cddc transparent; scrollbar-gutter: stable;
}
/* slim scrollbar (Chrome / Edge / Safari) – shared by the panel and long option lists */
.tpf-body::-webkit-scrollbar, .tpf-panel-inner::-webkit-scrollbar { width: 6px; }
.tpf-body::-webkit-scrollbar-track, .tpf-panel-inner::-webkit-scrollbar-track { background: transparent; }
.tpf-body::-webkit-scrollbar-thumb, .tpf-panel-inner::-webkit-scrollbar-thumb { background: #c3cddc; border-radius: 6px; }
.tpf-body::-webkit-scrollbar-thumb:hover, .tpf-panel-inner::-webkit-scrollbar-thumb:hover { background: #95a3ba; }
/* a list with 8+ options (e.g. many destinations) scrolls on its own after ~7 rows */
.tpf-panel-inner:has(> .tpf-check:nth-of-type(8)) {
  max-height: 262px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c3cddc transparent;
}
.tpf-group.is-collapsed .tpf-panel-inner { overflow: hidden; }
.tpf-group { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid #e3e9f2; }
.tpf-group h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; transition: margin .35s var(--ease); }
.tpf-group h4 span { font-weight: 500; }

/* collapsible groups: click a heading to fold its options away */
.tpf-toggle {
  display: flex; align-items: center; gap: 6px; width: 100%; padding: 2px 0; text-align: left;
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer;
}
.tpf-toggle:hover { color: var(--red); }
.tpf-toggle:focus-visible { outline: 2px solid #1f5fe0; outline-offset: 3px; border-radius: 3px; }
.tpf-toggle > i { margin-left: auto; font-size: 14px; color: #7b8496; transition: transform .35s var(--ease), color .25s; }
.tpf-toggle:hover > i { color: var(--red); }
.tpf-group.is-collapsed .tpf-toggle > i { transform: rotate(-90deg); }
.tpf-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #1f5fe0; color: #fff;
  font-size: 12px; font-weight: 600; line-height: 20px; text-align: center;
}
.tpf-count[hidden] { display: none; }
.tpf-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s var(--ease); }
/* side padding keeps the budget slider thumbs (which overhang the track) from being clipped */
.tpf-panel-inner { min-height: 0; overflow: hidden; margin: 0 -12px; padding: 0 12px; }
.tpf-group.is-collapsed .tpf-panel { grid-template-rows: 0fr; }
.tpf-group.is-collapsed .tpf-panel-inner { visibility: hidden; transition: visibility 0s .35s; }
.tpf-group.is-collapsed h4 { margin-bottom: 0; }
.tpf-group.is-collapsed { padding-bottom: 12px; margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) {
  .tpf-panel, .tpf-toggle > i, .tpf-group h4 { transition: none; }
}

.tpf-check {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  font-size: 15.5px; color: #4b5567; padding: 6px 0; user-select: none;
}
.tpf-check input { position: absolute; opacity: 0; pointer-events: none; }
.tpf-check .box {
  width: 19px; height: 19px; border-radius: 4px; border: 1.5px solid #c4ccd8; background: #fff; flex-shrink: 0;
  display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.tpf-check .box::after {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: #fff;
  transform: scale(0); transition: transform .25s var(--ease);
}
.tpf-check input:checked + .box { background: #1f5fe0; border-color: #1f5fe0; }
.tpf-check input:checked + .box::after { transform: scale(1); }
.tpf-check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(31, 95, 224, .25); }
.tpf-check:hover .box { border-color: #1f5fe0; transform: scale(1.08); }
.tpf-check .lbl { flex: 1; transition: color .25s, transform .3s var(--ease); }
.tpf-check:hover .lbl { color: var(--navy); transform: translateX(3px); }
.tpf-check input:checked ~ .lbl { color: #1b2233; font-weight: 500; }
.tpf-check em { font-style: normal; font-size: 14px; color: #7b8496; }

/* budget slider */
.tpf-budget { border-bottom: 0; margin-bottom: 14px; }
.tpf-range { position: relative; height: 26px; margin: 12px 4px 6px; }
.tpf-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: #dfe4ec; border-radius: 4px; }
.tpf-fill { position: absolute; top: 0; bottom: 0; background: var(--red); border-radius: 4px; }
.tpf-range input {
  position: absolute; left: -9px; right: -9px; width: calc(100% + 18px); top: 0; height: 26px; margin: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none; outline: none;
}
.tpf-range input::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; cursor: grab;
  width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 0;
  box-shadow: 0 2px 6px rgba(220, 20, 32, .4); transition: transform .2s;
}
.tpf-range input::-moz-range-thumb {
  pointer-events: auto; cursor: grab;
  width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 0;
  box-shadow: 0 2px 6px rgba(220, 20, 32, .4);
}
.tpf-range input:active::-webkit-slider-thumb { transform: scale(1.2); cursor: grabbing; }
.tpf-range input::-webkit-slider-runnable-track { background: none; }
.tpf-range input::-moz-range-track { background: none; }
.tpf-range-val { font-size: 17px; font-weight: 700; color: #1b2233; margin: 6px 0 14px; }
.tpf-scale {
  display: flex; justify-content: space-between; font-size: 12px; color: #7b8496;
  position: relative; padding-top: 12px;
}
.tpf-scale::before { content: ""; position: absolute; left: 4px; right: 4px; top: 0; height: 2px; background: #e3e8ef; }
.tpf-scale span { position: relative; }
.tpf-scale span::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 7px; background: #cfd6e0; }
.tpf-scale span:first-child::before { left: 4px; }
.tpf-scale span:last-child::before { left: auto; right: 4px; }

/* sticky footer inside the scrolling body: Apply + Reset always visible */
.tpf-actions {
  position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 14px;
  margin: 0 -22px; padding: 14px 22px 16px; background: #f8fafd;
  border-top: 1px solid #e3e9f2; box-shadow: 0 -10px 18px -12px rgba(11, 42, 92, .18);
}
.tpf-apply { flex: 1; justify-content: center; border-radius: 4px; padding: 12px 18px; font-size: 16px; }
.tpf-reset {
  flex: none; display: block; font-size: 14.5px; font-weight: 700; color: var(--navy);
  position: relative; transition: color .3s;
}
.tpf-reset::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red);
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.tpf-reset:hover { color: var(--red); }
.tpf-reset:hover::after { transform: scaleX(1); }

/* ---------- Results header ---------- */
.tp-main { min-width: 0; }
.tp-main-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.tp-main-head h2 { font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -.3px; }
.tp-main-head p { font-size: 16px; color: var(--muted); margin-top: 6px; }
.tp-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tp-sort { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #3a4459; }
.tp-select { position: relative; }
.tp-select select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  width: 150px; height: 42px; padding: 0 36px 0 14px;
  border: 1px solid #dfe5ee; border-radius: 6px; background: #fff;
  font-size: 14px; color: #1b2233; outline: none; transition: border-color .3s, box-shadow .3s;
}
.tp-select select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11, 42, 92, .08); }
.tp-select i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #1b2233; pointer-events: none; }
.tp-filter-toggle {
  display: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 6px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
}

/* ---------- Keyword search (top of the filter sidebar) ---------- */
.tp-search { position: relative; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #e3e9f2; }
.tp-search > i { position: absolute; left: 15px; top: 23px; transform: translateY(-50%); color: var(--red); font-size: 15px; pointer-events: none; }
.tp-search input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 46px; padding: 0 44px 0 40px;
  border: 1.5px solid #dfe5ee; border-radius: 6px; background: #fff;
  font: 500 14.5px var(--font); color: #1b2233; outline: none; transition: border-color .3s, box-shadow .3s;
}
.tp-search input::placeholder { color: #8a93a5; font-weight: 400; }
.tp-search input::-webkit-search-cancel-button { display: none; }   /* our own × button instead */
.tp-search input:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11, 42, 92, .08); }
.tp-search-clear {
  position: absolute; right: 7px; top: 23px; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 5px;
  display: grid; place-items: center; background: #eef2f8; color: var(--navy); font-size: 14px; transition: background .25s, color .25s;
}
.tp-search-clear:hover { background: var(--red); color: #fff; }
.tp-search-info { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); }
.tp-search-info b { color: var(--red); }
.tp-search-info span { color: var(--navy); font-weight: 700; }

/* ---------- Tabs (Swiper) ---------- */
.tp-tabs { margin-bottom: 20px; overflow: hidden; }
.tp-tab {
  height: 50px; border-radius: 6px; background: #e9eff7; color: #1b2233;
  font-size: 15px; font-weight: 700; padding: 0 20px; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s, box-shadow .35s, background .35s;
}
.tp-tab::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease);
}
.tp-tab:hover { background: #dde6f2; }
.tp-tab.active { color: #fff; box-shadow: 0 8px 18px rgba(220, 20, 32, .28); }
.tp-tab.active::before { transform: scaleY(1); }

/* =========================================================
   PACKAGE CARDS
   ========================================================= */
.tp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 22px; }
.tp-card {
  background: #fff; border: 1px solid #e8edf4; border-radius: 6px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(11, 42, 92, .06);
  display: flex; flex-direction: column; position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.tp-card.is-hidden, .tp-grid[hidden] { display: none; }
/* slight card elevation */
.tp-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(11, 42, 92, .18); border-color: transparent; }
/* gradient accent line that sweeps in on hover */
.tp-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), #ff7a45, var(--navy));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.tp-card:hover::after { transform: scaleX(1); }

.tp-img { position: relative; height: 190px; overflow: hidden; background: #dfe6f0; }
/* smooth image zoom */
.tp-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.tp-card:hover .tp-img img { transform: scale(1.12) rotate(.5deg); filter: saturate(1.15) contrast(1.03); }

/* gradient transition */
.tp-grad {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 42, 92, 0) 45%, rgba(11, 42, 92, .75) 100%);
  opacity: 0; transition: opacity .7s var(--ease);
}
.tp-grad::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(220, 20, 32, .28) 0%, rgba(220, 20, 32, 0) 55%);
  opacity: 0; transition: opacity .9s var(--ease) .1s;
}
.tp-card:hover .tp-grad, .tp-card:hover .tp-grad::after { opacity: 1; }

/* overlay reveal */
.tp-reveal {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%);
  clip-path: circle(0% at 100% 0%); transition: clip-path .9s var(--ease);
}
.tp-card:hover .tp-reveal { clip-path: circle(150% at 100% 0%); }

/* badges */
.tp-badge {
  position: absolute; left: 8px; top: 8px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: #fff; line-height: 1;
  padding: 9px 14px; border-radius: 50px; box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}
.tp-badge i { font-size: 12px; }
.tp-card:hover .tp-badge i { animation: floatIcon 1.6s ease-in-out infinite; }
.b-red    { background: #e0162b; }
.b-blue   { background: #1c5fe0; }
.b-orange { background: #f7931e; }
.b-green  { background: #1fae4b; }
.b-purple { background: #7c2fd6; }

/* floating icon */
.tp-float {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px;
  background: rgba(255, 255, 255, .95); color: var(--red); box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  opacity: 0; transform: translateY(-16px) scale(.6) rotate(-45deg);
  transition: opacity .45s var(--ease) .1s, transform .55s var(--ease) .1s;
}
.tp-card:hover .tp-float { opacity: 1; transform: translateY(0) scale(1) rotate(0); animation: tpFloat 2.4s ease-in-out .7s infinite; }
@keyframes tpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* destination name movement */
.tp-dest {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; gap: 7px; color: #fff; font-size: 14px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease) .12s, transform .55s var(--ease) .12s;
}
.tp-dest i { color: var(--yellow); }
.tp-dest b { font-weight: 700; letter-spacing: .2px; transition: letter-spacing .6s var(--ease) .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-card:hover .tp-dest { opacity: 1; transform: translateY(0); }
.tp-card:hover .tp-dest b { letter-spacing: .8px; }
.tp-card:hover .tp-dest i { animation: floatIcon 1.8s ease-in-out infinite; }

/* body */
.tp-body { padding: 14px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.tp-body h3 {
  font-size: 18px; font-weight: 700; color: #111a2e; line-height: 1.3;
  transition: color .35s, transform .45s var(--ease);
}
.tp-card:hover .tp-body h3 { color: var(--red); transform: translateX(5px); }
.tp-meta { margin: 8px 0 12px; }
.tp-meta li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #4b5567; line-height: 1.4; padding: 3px 0; }
.tp-meta i { width: 16px; text-align: center; color: #1b2233; font-size: 14px; transition: color .3s, transform .4s var(--ease); }
.tp-card:hover .tp-meta i { color: var(--red); }
.tp-card:hover .tp-meta li:nth-child(1) i { transform: scale(1.15); transition-delay: .05s; }
.tp-card:hover .tp-meta li:nth-child(2) i { transform: scale(1.15); transition-delay: .1s; }
.tp-card:hover .tp-meta li:nth-child(3) i { transform: scale(1.15); transition-delay: .15s; }
.tp-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.tp-price strong { display: block; font-size: 23px; font-weight: 700; color: var(--red); line-height: 1.1; }
.tp-price span { font-size: 13.5px; color: var(--muted); }
.tp-btn { padding: 10px 16px; font-size: 14.5px; border-radius: 4px; box-shadow: none; white-space: nowrap; gap: 8px; }
/* arrow animation */
.tp-card:hover .tp-btn i { animation: arrowMove 1s ease-in-out infinite; }

/* empty state */
.tp-empty {
  text-align: center; background: #fff; border: 1px dashed #cfd8e5; border-radius: 10px; padding: 50px 20px;
}
.tp-empty i { font-size: 44px; color: var(--red); margin-bottom: 14px; }
.tp-empty h4 { font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.tp-empty p { margin-bottom: 20px; }

/* =========================================================
   CUSTOM PACKAGE CTA
   ========================================================= */
.tp-cta { position: relative; overflow: hidden; color: #fff; }
.tp-cta-bg { position: absolute; inset: -30px 0; background-size: cover; background-position: center; }
.tp-cta-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 30, 78, .25) 0%, rgba(6, 30, 78, 0) 45%); }
.tp-cta-inner {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 30px; min-height: 268px; padding-top: 30px; padding-bottom: 30px;
}
.tp-cta-text h2 { font-size: 38px; font-weight: 700; line-height: 1.15; word-spacing: 3px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.tp-cta-text p { font-size: 19px; line-height: 1.4; margin: 10px 0 20px; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.tp-cta-btn { padding: 16px 34px; font-size: 18px; }
.tp-cta-list { padding-right: 16px; }
.tp-cta-list li {
  display: flex; align-items: center; gap: 22px; font-size: 18px; font-weight: 500; padding: 5px 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .35); transition: transform .35s var(--ease);
}
.tp-cta-list span {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; font-size: 17px; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2); transition: background .35s, color .35s, transform .5s var(--ease);
}
.tp-cta-list li:hover { transform: translateX(6px); }
.tp-cta-list li:hover span { background: var(--red); color: #fff; transform: rotate(360deg); }

/* =========================================================
   FOOTER tweaks for this design
   ========================================================= */
.page-tour-packages .f-links { border-left: 1px solid rgba(255, 255, 255, .12); }
.page-tour-packages .footer-grid { padding-top: 40px; padding-bottom: 30px; }
.page-tour-packages .f-col { padding: 0 24px; }
.page-tour-packages .f-col:first-child { padding-left: 0; }
.page-tour-packages .f-col:last-child { padding-right: 0; }
.page-tour-packages .f-logo { height: 104px; }
.page-tour-packages .f-about p { font-size: 16px; max-width: none; }
.page-tour-packages .f-links a, .page-tour-packages .f-contact li { font-size: 14.5px; }
.page-tour-packages .f-links li { margin-bottom: 6px; }
.page-tour-packages .f-contact li { margin-bottom: 10px; }
.page-tour-packages .f-news p { font-size: 13.5px; }
.page-tour-packages .s-ig { background: #e4163f; }
.page-tour-packages .s-wa { background: #1faa4f; }

.tp-backdrop {
  position: fixed; inset: 0; z-index: 140; background: rgba(4, 16, 40, .55);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.tp-backdrop.show { opacity: 1; visibility: visible; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .tp-layout { grid-template-columns: 280px 1fr; gap: 22px; }
  .tp-grid { gap: 18px; }
  .tp-body { padding: 14px 15px 16px; }
  .tp-btn { padding: 9px 12px; font-size: 13.5px; }
  .tp-price strong { font-size: 21px; }
}
@media (max-width: 1100px) {
  .tp-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-cta-text p br { display: none; }
  .page-tour-packages .f-links { border-left: 0; }
}
@media (max-width: 991px) {
  .tp-hero { height: auto; padding: 60px 0; }
  .tp-hero-script { font-size: 46px; }
  .tp-hero-sub { font-size: 20px; }
  .tp-hero-features { flex-wrap: wrap; gap: 16px 24px; }
  .thf-icon { width: 58px; height: 58px; font-size: 22px; }
  .tp-hero-features li { font-size: 15px; }

  .tp-layout { grid-template-columns: 1fr; }
  /* sidebar becomes an off-canvas drawer */
  .tp-filter {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 150; width: 330px; max-width: 88vw;
    border-radius: 0; overflow: hidden; max-height: none; transform: translateX(-105%);
    transition: transform .45s var(--ease); box-shadow: 10px 0 40px rgba(0, 0, 0, .2);
  }
  .tp-filter.open { transform: translateX(0); }
  .tpf-close { display: grid; place-items: center; }
  .tp-filter-toggle { display: inline-flex; }
  .tp-main-head { flex-direction: column; }
  .tp-cta-inner { flex-direction: column; align-items: flex-start; }
  .tp-cta-overlay { background: linear-gradient(90deg, rgba(6, 30, 78, .75) 0%, rgba(6, 30, 78, .45) 100%); }
}
@media (max-width: 767px) {
  .tp-hero { padding: 44px 0; }
  .tp-hero-title { font-size: 30px; }
  .tp-hero-script { font-size: 34px; }
  .tp-hero-sub { font-size: 17px; }
  .tp-hero-features li { font-size: 14px; gap: 10px; }
  .thf-icon { width: 48px; height: 48px; font-size: 18px; border-width: 3px; }
  .tp-main-head h2 { font-size: 30px; }
  .tp-main-head p { font-size: 15px; }
  .tp-tools { width: 100%; justify-content: space-between; }
  .tp-tab { width: auto; height: 46px; font-size: 14px; }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-img { height: 210px; }
  .tp-cta-text h2 { font-size: 30px; }
  .tp-cta-text p { font-size: 16px; }
  .tp-cta-btn { padding: 14px 28px; font-size: 16px; }
  .tp-cta-list li { font-size: 16px; gap: 16px; }
}
@media (max-width: 420px) {
  .tp-sort > span:first-child { display: none; }
  .tp-select select { width: 170px; }
}

/* #########################################################
   TOUR-DETAILS - One tour package (/packages/{slug})
   ######################################################### */

/* =========================================================
   Nepal Trip Holiday – Tour Details page (Kathmandu - Pokhara)
   (shared topbar / header / footer / buttons live in main.css)
   ========================================================= */
.page-tour-details { background: #fbfcfe; --hand: 'Merienda', 'Kaushan Script', cursive; --blue: #1f6fe0; --ink: #0d1b3e; }

/* =========================================================
   HERO
   ========================================================= */
.td-hero { position: relative; height: 346px; overflow: hidden; color: #fff; display: flex; align-items: center; }
.td-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); animation: tdKenBurns 14s var(--ease) forwards; will-change: transform;
}
.td-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 22, 56, .72) 0%, rgba(4, 22, 56, .5) 34%, rgba(4, 22, 56, .08) 60%, rgba(4, 22, 56, 0) 100%),
    linear-gradient(0deg, rgba(4, 22, 56, .25) 0%, transparent 40%);
}
@keyframes tdKenBurns { to { transform: scale(1); } }

.td-hero-inner { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 30px; }
.td-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.td-crumb a { color: #fff; transition: color .3s; }
.td-crumb a:hover { color: var(--yellow); }
.td-crumb i { font-size: 11px; opacity: .85; }
.td-crumb span { opacity: .9; }

.td-hero-title {
  font-family: var(--hand); font-weight: 800; font-size: 56px; line-height: 1.2; letter-spacing: -.5px;
  margin-top: 22px; transform: skewX(-6deg); transform-origin: left;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}
.td-hero-sub { font-size: 24px; font-weight: 400; margin-top: 4px; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.td-hero-sub span { margin: 0 12px; opacity: .9; }
.td-hero-tags { display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: 30px; }
.td-hero-tags li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); cursor: default; }
.tht-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, .35); background-clip: padding-box; box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  transition: transform .5s var(--ease);
}
.tht-red    { background-color: #f46a6f; color: #fff; }
.tht-yellow { background-color: #f5c93a; color: #5a3b00; }
.tht-green  { background-color: #4fd08a; color: #0b3d27; }
.tht-blue   { background-color: #3d8af0; color: #fff; }
.td-hero-tags li:hover .tht-icon { transform: translateY(-5px) rotate(-10deg); }
.td-hero-tags li:hover .tht-icon i { animation: floatIcon 1.6s ease-in-out infinite; }

.td-hero-price-wrap { flex-shrink: 0; margin-top: 40px; }
.td-hero-price {
  width: 244px; height: 146px;
  background: #fff; color: var(--ink); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28); position: relative;
  animation: tdBob 4s ease-in-out infinite;
}
.td-hero-price::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .7);
}
.td-hero-price span { font-size: 18px; font-weight: 500; }
.td-hero-price strong { font-size: 44px; font-weight: 700; color: var(--red); line-height: 1.15; }
.td-hero-price strong b { font-weight: 700; }
.td-hero-price em { font-style: normal; font-size: 16px; font-weight: 500; }
@keyframes tdBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* =========================================================
   GALLERY + BOOKING
   ========================================================= */
.td-top { padding: 20px 0 0; }
.td-top-grid { display: grid; grid-template-columns: minmax(0, 1fr) 377px; gap: 28px; align-items: start; }

.td-stage { position: relative; border-radius: 10px; overflow: hidden; height: 492px; box-shadow: var(--shadow-sm); background: #dfe6f0; }
.td-stage .swiper-slide { overflow: hidden; }
.td-stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s linear; }
.td-stage .swiper-slide-active img { transform: scale(1); }
.td-stage-arrow {
  position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 18px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  transform: translateY(-50%); transition: background .3s, color .3s, transform .3s var(--ease);
}
.td-stage-arrow:hover { background: var(--red); color: #fff; transform: translateY(-50%) scale(1.08); }
.td-stage-prev { left: 20px; }
.td-stage-next { right: 20px; }
.td-play {
  position: absolute; left: 50%; top: 50%; z-index: 5; width: 80px; height: 80px; border-radius: 50%;
  background: rgba(11, 28, 62, .82); color: #fff; font-size: 26px; border: 4px solid #fff;
  transform: translate(-50%, -50%); transition: background .3s, transform .4s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.td-play i { margin-left: 4px; }
.td-play.playing i { margin-left: 0; }
.td-play::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid #fff;
  animation: tdPulse 2s ease-out infinite;
}
.td-play:hover { background: var(--red); transform: translate(-50%, -50%) scale(1.08); }
.td-play.playing { opacity: 0; }
.td-stage:hover .td-play.playing { opacity: 1; }
@keyframes tdPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.td-thumbs { display: grid; grid-template-columns: repeat(4, 1fr) .8fr; gap: 12px; margin-top: 13px; }
.td-thumb {
  position: relative; height: 124px; border-radius: 8px; overflow: hidden; padding: 0;
  box-shadow: var(--shadow-sm); outline: 3px solid transparent; outline-offset: -3px;
  transition: outline-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.td-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.td-thumb:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.td-thumb:hover img { transform: scale(1.12); }
.td-thumb.active { outline-color: var(--red); }
.td-more span {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(16, 42, 86, .88); color: #fff; font-size: 16px; font-weight: 500; transition: background .4s;
}
.td-more b { font-size: 40px; font-weight: 700; line-height: 1.05; }
.td-more:hover span { background: rgba(220, 20, 32, .85); }

.td-intro { margin-top: 32px; }
.td-intro h2 { font-size: 31px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.2px; }
.td-intro p { font-size: 17px; line-height: 1.75; color: #555f71; margin-top: 10px; max-width: 870px; }

.td-facts {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 14px;
  background: #eef4fc; border-radius: 8px; padding: 24px 26px; margin-top: 26px;
}
.td-facts li { display: flex; align-items: center; gap: 16px; font-size: 15px; color: #4b5567; line-height: 1.4; cursor: default; }
.td-facts b { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.tdf-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--blue); color: #fff; flex-shrink: 0;
  display: grid; place-items: center; font-size: 18px; transition: transform .5s var(--ease), background .3s;
}
.td-facts li:hover .tdf-icon { transform: rotate(-10deg) scale(1.1); background: var(--red); }

/* ---------- Booking card ---------- */
.td-book {
  background: #fff; border-radius: 10px; padding: 24px 22px 20px;
  box-shadow: 0 10px 34px rgba(11, 42, 92, .1); border: 1px solid #eef1f6;
  position: sticky; top: 104px;
}
.td-book h3 { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.td-book-price { display: flex; align-items: baseline; gap: 14px; margin-top: 8px; }
.td-book-price strong { font-size: 40px; font-weight: 700; color: var(--red); line-height: 1.1; }
.td-book-price span { font-size: 16px; color: var(--muted); }
.td-book-old { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.td-book-old del { font-size: 17px; color: #7b8496; }
.td-book-old em { font-style: normal; font-size: 15px; font-weight: 700; color: #138a3d; background: #dcf6e6; padding: 3px 9px; border-radius: 4px; }

.td-form { margin-top: 16px; display: flex; flex-direction: column; }
.tdi { position: relative; display: block; margin-bottom: 16px; }
.tdi input, .td-form textarea, .tdi-select select {
  width: 100%; height: 50px; border: 1px solid #dde3ec; border-radius: 6px; background: #fff;
  padding: 16px 16px 0; font-size: 15.5px; color: var(--ink); outline: none; font-family: inherit;
  transition: border-color .3s, box-shadow .3s;
}
.tdi > span {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none;
  font-size: 15.5px; color: #606a7d; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s;
}
.tdi > span i { font-style: normal; color: var(--red); }
.tdi input:focus + span, .tdi input:not(:placeholder-shown) + span { top: 13px; font-size: 12px; color: var(--navy); }
.tdi input:focus, .td-form textarea:focus, .tdi-select select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11, 42, 92, .08); }
.tdi.invalid input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(220, 20, 32, .08); }
.tdi-date input { padding-right: 60px; }
.tdi-date input::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 0; width: 56px; height: 100%; cursor: pointer; }
.tdi-cal {
  position: absolute; right: 1px; top: 1px; bottom: 1px; width: 50px; border-left: 1px solid #e6ebf2;
  display: grid; place-items: center; color: var(--ink); background: #f7f9fc; border-radius: 0 6px 6px 0; pointer-events: none;
}
.tdl { font-size: 14.5px; color: #4b5567; margin-bottom: 8px; }
.tdi-select { position: relative; margin-bottom: 16px; }
.tdi-select select { padding: 0 44px 0 16px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.tdi-select i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--ink); pointer-events: none; font-size: 14px; }
.td-form textarea { height: 64px; padding: 12px 16px; resize: vertical; margin-bottom: 18px; }
.td-send { justify-content: center; height: 54px; font-size: 16.5px; border-radius: 6px; }
.td-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; margin-top: 16px;
  border: 2px solid #22a846; border-radius: 6px; color: #178a37; font-weight: 700; font-size: 16.5px;
  position: relative; overflow: hidden; isolation: isolate; transition: color .35s, transform .35s var(--ease);
}
.td-wa i { font-size: 22px; color: #22b24c; transition: color .35s, transform .5s var(--ease); }
.td-wa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #22b24c; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.td-wa:hover { color: #fff; transform: translateY(-2px); }
.td-wa:hover::before { transform: scaleX(1); }
.td-wa:hover i { color: #fff; transform: rotate(-12deg) scale(1.1); }
.td-form-msg { min-height: 0; font-size: 14px; font-weight: 500; margin-top: 10px; }
.td-form-msg:empty { display: none; }
.td-form-msg.ok { color: #178a37; }
.td-form-msg.err { color: var(--red); }

.td-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; text-align: center; }
.td-trust li { font-size: 13px; color: #4b5567; line-height: 1.3; cursor: default; }
.td-trust i {
  display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%;
  border: 2px solid var(--blue); color: var(--blue); font-size: 13px; transition: background .3s, color .3s, transform .5s var(--ease);
}
.td-trust li:hover i { background: var(--blue); color: #fff; transform: rotateY(360deg); }

/* =========================================================
   TABS + DETAILS
   ========================================================= */
.td-details { padding: 40px 0 10px; }
.td-tabs-wrap { position: sticky; top: 88px; z-index: 20; padding: 8px 0; margin: -8px 0 18px; }
.td-tabs-wrap.stuck { background: rgba(251, 252, 254, .96); backdrop-filter: blur(6px); box-shadow: 0 8px 18px rgba(11, 42, 92, .06); }
.td-tabs { width: 1080px; max-width: 100%; margin: 0; background: #eef4fc; border-radius: 6px; }
.td-tabs .swiper-wrapper { display: flex; }
.td-tab {
  width: auto; flex: 1 0 auto; height: 58px; padding: 0 30px; font-size: 16px; font-weight: 700; color: var(--ink);
  border-radius: 6px; position: relative; transition: color .3s;
}
.td-tab::before {
  content: ""; position: absolute; inset: 0; border-radius: 6px; background: var(--red); z-index: -1;
  transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .3s;
}
.td-tab:hover { color: var(--red); }
.td-tab.active { color: #fff; }
.td-tab.active::before { transform: scale(1); opacity: 1; box-shadow: 0 8px 18px rgba(220, 20, 32, .28); }
.td-tab { z-index: 0; isolation: isolate; }

.td-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 343px; gap: 34px; align-items: start; }
.td-h2 { font-size: 31px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 22px; }
.td-panel { display: none; }
.td-panel.active { display: block; }

/* ---------- Timeline ---------- */
.td-timeline { position: relative; counter-reset: none; }
.td-timeline::before {
  content: ""; position: absolute; left: 13px; top: 20px; bottom: 60px; width: 2px;
  background: linear-gradient(180deg, #dde5f1, #dde5f1); transform-origin: top;
}
.td-timeline .td-line-fill {
  position: absolute; left: 13px; top: 20px; width: 2px; height: 0; background: var(--red); z-index: 0;
}
.td-day { position: relative; display: grid; grid-template-columns: 87px minmax(0, 1fr) 210px; gap: 0 40px; padding-left: 50px; margin-bottom: 30px; }
.td-day::before {
  content: ""; position: absolute; left: 7px; top: 14px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(220, 20, 32, .14); z-index: 1; transition: transform .4s var(--ease), box-shadow .4s;
}
.td-day:hover::before { transform: scale(1.3); box-shadow: 0 0 0 8px rgba(220, 20, 32, .14); }
.td-day-no {
  align-self: start; display: grid; place-items: center; height: 58px; border-radius: 6px;
  background: #eaf1fb; color: var(--ink); font-size: 18px; font-weight: 700; transition: background .35s, color .35s, transform .4s var(--ease);
}
.td-day:hover .td-day-no { background: var(--navy); color: #fff; transform: translateY(-3px); }
.td-day-body h3 { font-size: 19.5px; font-weight: 700; color: var(--ink); line-height: 1.3; transition: color .3s; }
.td-day:hover .td-day-body h3 { color: var(--red); }
.td-stay { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: #5d6679; margin: 8px 0 8px; }
.td-stay i { color: #33405c; font-size: 15px; }
.td-day-body p:last-child { font-size: 15px; line-height: 1.65; color: #5d6679; }
.td-day-img { position: relative; height: 140px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.td-day-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.td-day-over {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 24px;
  background: linear-gradient(160deg, rgba(220, 20, 32, .6), rgba(11, 42, 92, .75));
  clip-path: circle(0% at 50% 50%); transition: clip-path .6s var(--ease);
}
.td-day-img:hover img { transform: scale(1.14); }
.td-day-img:hover .td-day-over { clip-path: circle(75% at 50% 50%); }
.td-day-img:hover .td-day-over i { animation: floatIcon 1.8s ease-in-out infinite; }

/* ---------- Panel lists ---------- */
.td-plist li { display: flex; align-items: center; gap: 14px; font-size: 16.5px; color: #3f4859; padding: 12px 16px; border-radius: 8px; background: #fff; border: 1px solid #edf1f6; margin-bottom: 10px; transition: transform .35s var(--ease), box-shadow .35s; }
.td-plist li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.td-plist i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.td-plist-in i { background: #dcf6e6; color: #16923f; }
.td-plist-ex i { background: #fde3e5; color: var(--red); }

.td-hotels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.td-hotel { background: #fff; border: 1px solid #edf1f6; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.td-hotel:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.td-hotel figure { height: 170px; overflow: hidden; }
.td-hotel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.td-hotel:hover img { transform: scale(1.1); }
.td-hotel > div { padding: 16px 18px 18px; }
.td-hotel h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.td-hotel ul { margin-top: 10px; }
.td-hotel li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #4b5567; padding: 3px 0; }
.td-hotel li i { color: var(--navy); width: 16px; text-align: center; }
.td-stars { color: #f7a90e; font-size: 14px; }
.td-hotel .td-stars { color: #4b5567; margin-top: 4px; }
.td-hotel .td-stars i { color: #f7a90e; }
.td-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14.5px; color: #4b5567; background: #eef4fc; padding: 12px 16px; border-radius: 8px; }
.td-note i { color: var(--blue); margin-top: 3px; }

.td-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.td-pgrid button { position: relative; height: 170px; border-radius: 8px; overflow: hidden; padding: 0; box-shadow: var(--shadow-sm); }
.td-pgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.td-pgrid .td-day-over { font-size: 22px; }
.td-pgrid button:hover img { transform: scale(1.12); }
.td-pgrid button:hover .td-day-over { clip-path: circle(75% at 50% 50%); }

.td-faq details { background: #fff; border: 1px solid #edf1f6; border-radius: 8px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .3s; }
.td-faq details[open] { box-shadow: var(--shadow-sm); border-color: #dfe7f3; }
.td-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; font-size: 16.5px; font-weight: 700; color: var(--ink); transition: color .3s;
}
.td-faq summary::-webkit-details-marker { display: none; }
.td-faq summary i { color: var(--red); transition: transform .4s var(--ease); }
.td-faq details[open] summary { color: var(--red); }
.td-faq details[open] summary i { transform: rotate(135deg); }
.td-faq details p { padding: 0 20px 18px; font-size: 15.5px; line-height: 1.65; color: #4b5567; }

.td-rating { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 14.5px; color: var(--muted); }
.td-rating strong { font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; }
.td-rating .td-stars { display: block; font-size: 17px; }
.td-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.td-review { display: flex; gap: 16px; background: #fff; border: 1px solid #edf1f6; border-radius: 10px; padding: 20px; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.td-review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.td-review img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; transition: transform .5s var(--ease); }
.td-review:hover img { transform: rotate(-8deg) scale(1.06); }
.td-review p { font-size: 15px; line-height: 1.6; color: #4b5567; margin: 6px 0 8px; }
.td-review h5 { font-size: 15.5px; font-weight: 700; color: var(--ink); }

/* ---------- Sidebar ---------- */
.td-side { display: flex; flex-direction: column; gap: 22px; }
.td-high { background: #f2f6fc; border: 1px solid #e6edf7; border-radius: 10px; padding: 24px 22px 16px; }
.td-high h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.td-high li { display: flex; align-items: center; gap: 20px; font-size: 15.5px; color: #3f4859; padding: 13px 0; cursor: default; transition: transform .35s var(--ease), color .3s; }
.td-high li i { width: 20px; text-align: center; color: var(--ink); font-size: 17px; transition: color .3s, transform .45s var(--ease); }
.td-high li:hover { transform: translateX(6px); color: var(--red); }
.td-high li:hover i { color: var(--red); transform: scale(1.2) rotate(-8deg); }

.td-custom { position: relative; min-height: 390px; border-radius: 10px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; box-shadow: var(--shadow-md); isolation: isolate; }
.td-custom-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: top center; transition: transform 1.3s var(--ease); }
.td-custom::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 34, 82, 0) 18%, rgba(10, 34, 82, .75) 46%, #0a2252 70%);
}
.td-custom:hover .td-custom-bg { transform: scale(1.1); }
.td-custom-body { padding: 0 26px 30px; }
.td-custom h3 { font-size: 34px; font-weight: 700; line-height: 1.15; text-shadow: 0 3px 12px rgba(0, 0, 0, .3); transition: transform .5s var(--ease); }
.td-custom:hover h3 { transform: translateX(6px); }
.td-custom p { font-size: 15px; line-height: 1.5; margin: 14px 0 22px; opacity: .95; }
.td-custom-btn {
  display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--red);
  font-weight: 700; font-size: 16px; padding: 13px 30px; border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2); transition: background .35s, color .35s, transform .35s var(--ease);
}
.td-custom-btn:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.td-custom-btn:hover i, .td-custom:hover .td-custom-btn i { animation: arrowMove 1s ease-in-out infinite; }

/* ---------- Inclusions / Exclusions ---------- */
.td-inex { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 16px; scroll-margin-top: 170px; }
.td-in, .td-ex { border-radius: 10px; padding: 24px 30px 24px; border: 1px solid; scroll-margin-top: 170px; transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.td-in { background: #ebf8f2; border-color: #d3efe1; }
.td-ex { background: #fdecef; border-color: #f8dbe0; }
.td-in:hover, .td-ex:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.td-inex h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.td-in h3 { color: #178a37; }
.td-ex h3 { color: var(--red); }
.td-inex h3 span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: #fff; transition: transform .6s var(--ease); }
.td-in h3 span { background: #1a9a45; }
.td-ex h3 span { background: var(--red); }
.td-in:hover h3 span, .td-ex:hover h3 span { transform: rotate(360deg); }
.td-inex li { position: relative; font-size: 16px; color: #3f4859; padding: 3px 0 3px 44px; transition: transform .3s var(--ease); }
.td-inex li:hover { transform: translateX(5px); }
.td-in li::before {
  content: "\f00c"; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 10px; top: 4px;
  color: #1a9a45; font-size: 15px;
}
.td-ex li::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; background: var(--red);
  transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}

/* =========================================================
   YOU MAY ALSO LIKE
   ========================================================= */
.td-like { padding: 40px 0 50px; }
.td-like .sec-head.center { margin-bottom: 26px; }
.td-like .sec-head h2 { font-size: 36px; color: var(--ink); }
.td-like .sec-head p { font-size: 16px; margin-top: 4px; }
.td-like-wrap { position: relative; }
.td-like-swiper { padding: 10px 4px 20px; margin: -10px -4px 0; }
.td-like-arrow {
  position: absolute; top: 40%; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); font-size: 16px;
  transform: translateY(-50%); transition: background .3s, color .3s, opacity .3s;
}
.td-like-arrow:hover { background: var(--red); color: #fff; }
.td-like-prev { left: -54px; }
.td-like-next { right: -54px; }
.td-like-arrow.swiper-button-disabled { opacity: .4; cursor: default; }

.td-card {
  background: #fff; border-radius: 8px; overflow: hidden; height: auto; display: flex; flex-direction: column;
  box-shadow: 0 6px 20px rgba(11, 42, 92, .08); position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
/* slight card elevation */
.td-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(11, 42, 92, .18); }
.td-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), #ff7a45, var(--navy));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.td-card:hover::after { transform: scaleX(1); }
.td-card-img { position: relative; height: 166px; overflow: hidden; background: #dfe6f0; }
/* smooth image zoom */
.td-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.td-card:hover .td-card-img img { transform: scale(1.12) rotate(.5deg); filter: saturate(1.15) contrast(1.03); }
/* gradient transition */
.td-card-grad {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 42, 92, 0) 40%, rgba(11, 42, 92, .8) 100%);
  opacity: 0; transition: opacity .7s var(--ease);
}
.td-card-grad::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease) .1s;
  background: linear-gradient(135deg, rgba(220, 20, 32, .3) 0%, rgba(220, 20, 32, 0) 55%);
}
.td-card:hover .td-card-grad, .td-card:hover .td-card-grad::after { opacity: 1; }
/* overlay reveal */
.td-card-reveal {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%);
  clip-path: circle(0% at 100% 0%); transition: clip-path .9s var(--ease);
}
.td-card:hover .td-card-reveal { clip-path: circle(150% at 100% 0%); }
/* floating icon */
.td-card-float {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; background: rgba(255, 255, 255, .95); color: var(--red);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  opacity: 0; transform: translateY(-16px) scale(.6) rotate(-45deg);
  transition: opacity .45s var(--ease) .1s, transform .55s var(--ease) .1s;
}
.td-card:hover .td-card-float { opacity: 1; transform: none; animation: tdFloat 2.4s ease-in-out .7s infinite; }
@keyframes tdFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* destination name movement */
.td-card-dest {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 7px;
  color: #fff; font-size: 13.5px; opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease) .12s, transform .55s var(--ease) .12s;
}
.td-card-dest i { color: var(--yellow); }
.td-card-dest b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: letter-spacing .6s var(--ease) .15s; }
.td-card:hover .td-card-dest { opacity: 1; transform: none; }
.td-card:hover .td-card-dest b { letter-spacing: .8px; }
.td-card:hover .td-card-dest i { animation: floatIcon 1.8s ease-in-out infinite; }

.td-card-body { padding: 14px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.td-card-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.3; transition: color .35s, transform .45s var(--ease); }
.td-card:hover .td-card-body h3 { color: var(--red); transform: translateX(5px); }
.td-card-body ul { margin: 8px 0 12px; }
.td-card-body li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #4b5567; padding: 3px 0; }
.td-card-body li i { width: 16px; text-align: center; color: var(--ink); transition: color .3s, transform .4s var(--ease); }
.td-card:hover .td-card-body li i { color: var(--red); transform: scale(1.15); }
.td-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; }
.td-card-price strong { display: block; font-size: 23px; font-weight: 700; color: var(--red); line-height: 1.1; }
.td-card-price span { font-size: 13.5px; color: var(--muted); }
.td-card-btn { padding: 10px 16px; font-size: 14.5px; border-radius: 4px; box-shadow: none; white-space: nowrap; gap: 8px; }
/* arrow animation */
.td-card:hover .td-card-btn i { animation: arrowMove 1s ease-in-out infinite; }

/* =========================================================
   LIGHTBOX (prev / next)
   ========================================================= */
.td-lb-arrow {
  position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .15); color: #fff; font-size: 20px; transform: translateY(-50%); transition: background .3s;
}
.td-lb-arrow:hover { background: var(--red); }
.td-lb-prev { left: 24px; }
.td-lb-next { right: 24px; }
.td-lightbox img { max-width: 100%; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1399px) {
  .td-like-prev { left: -14px; }
  .td-like-next { right: -14px; }
}
@media (max-width: 1280px) {
  .td-top-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .td-facts { grid-template-columns: repeat(2, 1fr); }
  .td-day { grid-template-columns: 80px minmax(0, 1fr) 180px; gap: 0 26px; }
  .td-tabs-wrap { top: 88px; }
  .td-tab { padding: 0 22px; }
}
@media (max-width: 1100px) {
  .td-tabs-wrap { top: 90px; }
  .td-top-grid { grid-template-columns: minmax(0, 1fr); }
  .td-book { position: static; }
  .td-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .td-form .tdl, .td-form textarea, .td-send, .td-wa, .td-form-msg { grid-column: 1 / -1; }
  .td-form .tdl { margin-top: 0; }
  .td-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .td-side { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; }
  .td-hero-title { font-size: 48px; }
}
@media (max-width: 991px) {
  .td-hero { height: auto; padding: 40px 0 46px; }
  .td-hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 0; }
  .td-hero-price-wrap { margin-top: 0; }
  .td-hero-price { width: 220px; height: 130px; }
  .td-hero-price strong { font-size: 38px; }
  .td-hero-tags { gap: 14px 26px; }
  .td-stage { height: 420px; }
  .td-inex { grid-template-columns: 1fr; }
  .td-hotels, .td-reviews { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .td-tabs-wrap { top: 76px; }
  .td-hero-title { font-size: 36px; margin-top: 12px; }
  .td-hero-sub { font-size: 18px; }
  .td-hero-sub span { margin: 0 6px; }
  .td-hero-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
  .td-hero-tags li { font-size: 14.5px; gap: 10px; }
  .tht-icon { width: 38px; height: 38px; font-size: 15px; }
  .td-crumb { font-size: 13.5px; gap: 6px 10px; }
  .td-stage { height: 250px; }
  .td-stage-arrow { width: 38px; height: 38px; font-size: 15px; }
  .td-stage-prev { left: 10px; }
  .td-stage-next { right: 10px; }
  .td-play { width: 60px; height: 60px; font-size: 20px; }
  .td-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
  .td-thumb { height: 58px; border-radius: 6px; }
  .td-more span { font-size: 0; }
  .td-more b { font-size: 20px; }
  .td-intro h2, .td-h2 { font-size: 24px; }
  .td-intro p { font-size: 15.5px; }
  .td-facts { grid-template-columns: 1fr; padding: 18px; }
  .td-book { padding: 20px 16px; }
  .td-form { grid-template-columns: 1fr; }
  .td-book h3 { font-size: 24px; }
  .td-book-price strong { font-size: 34px; }
  .td-tab { height: 50px; padding: 0 18px; font-size: 15px; }
  .td-day { grid-template-columns: 1fr; padding-left: 36px; gap: 10px; }
  .td-day::before { left: 7px; }
  .td-day-no { width: 80px; height: 42px; font-size: 16px; }
  .td-day-body h3 { font-size: 17.5px; }
  .td-day-img { height: 180px; }
  .td-side { grid-template-columns: 1fr; }
  .td-in, .td-ex { padding: 22px 18px; }
  .td-inex li { font-size: 15px; padding-left: 36px; }
  .td-like .sec-head h2 { font-size: 28px; }
  .td-pgrid { grid-template-columns: 1fr 1fr; }
  .td-pgrid button { height: 130px; }
  .td-lb-arrow { width: 42px; height: 42px; top: auto; bottom: 20px; transform: none; }
  .td-lb-prev { left: calc(50% - 52px); }
  .td-lb-next { right: calc(50% - 52px); }
  .td-like-prev { left: -6px; }
  .td-like-next { right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .td-hero-bg { animation: none; transform: none; }
  .td-hero-price, .td-hero-price::before, .td-play::before { animation: none; }
}
