/* Agent · Tour packages: start, package, booking pages. Builds on flight.css + pages.css. */

/* ---------- Balance-due banner ---------- */
.pk-due {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 16px;
  padding: 12px 14px 12px 16px;
  border: 1px solid #f5d9a8;
  border-radius: 14px;
  background: #fff8ea;
  color: #6b4500;
  font-size: 13.5px;
}
.pk-due > .icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.pk-due span {
  min-width: 0;
  flex: 1;
}

/* ---------- Search ---------- */
.pk-search {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 0.9fr) auto;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
}
.pk-search .qbox select {
  appearance: none;
  cursor: pointer;
}
.pk-search__go {
  min-width: 130px;
  min-height: 66px;
  border-radius: 12px;
  font-size: 15px;
}
.pk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.pk-bar .tabs {
  min-width: 0;
}
.pk-bar .tabs button .icon {
  width: 16px;
  height: 16px;
}
.pk-bar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.pk-sort select {
  height: 40px;
  padding: 0 34px 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.pk-head {
  margin: 24px 0 14px;
}
.pk-head h2 {
  font-size: 18px;
}
.pk-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Package cards ---------- */
.pk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.pk-grid > .emp-card-wrap {
  grid-column: 1 / -1;
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  animation: rise 0.7s var(--ease) backwards;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.pcard:hover,
.pcard:focus-visible {
  box-shadow: 0 24px 44px -20px rgba(16, 23, 48, 0.32);
  transform: translateY(-3px);
}
.pcard:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.pcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.pcard:hover .pcard__media img {
  transform: scale(1.05);
}
.pcard__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
  content: '';
  pointer-events: none;
}
.pcard__tags {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pcard__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.pcard__tag.is-hot {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
}
.pcard__tag .icon {
  width: 12px;
  height: 12px;
  fill: #f4c979;
  stroke: #f4c979;
}
.pcard__place {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 12px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.pcard__place span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.pcard__place .icon {
  width: 15px;
  height: 15px;
  flex: none;
}
.pcard__rate .icon {
  width: 13px;
  height: 13px;
  fill: #f4c979;
  stroke: #f4c979;
}
.pcard__rate em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.85;
}
.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 14px;
}
.pcard__body h3 {
  font-size: 16.5px;
  line-height: 1.3;
}
.pcard__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  margin-top: -4px;
  color: var(--muted);
  font-size: 12.5px;
}
.pcard__route i {
  color: #c4c4c4;
  font-style: normal;
}
.pcard__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pcard__facts li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  background: var(--page);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 500;
}
.pcard__facts li.is-air {
  background: var(--primary-soft);
  color: var(--primary);
}
.pcard__facts .icon {
  width: 13px;
  height: 13px;
  flex: none;
}
.pcard__incl {
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.pcard__incl span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px dashed #dcdcdc;
  border-radius: 50%;
  color: #c4c4c4;
}
.pcard__incl span.is-on {
  border: 1px solid #d6f0e0;
  background: #ecf8f1;
  color: #11804a;
}
.pcard__incl span.is-opt {
  border: 1px dashed #b9c8ff;
  background: #f3f6ff;
  color: var(--primary);
}
.pcard__incl .icon {
  width: 14px;
  height: 14px;
}
.pcard__dep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--page);
}
.pcard__dep-ic {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: var(--ink-2);
}
.pcard__dep-ic.is-req {
  color: var(--primary);
}
.pcard__dep-ic .icon {
  width: 15px;
  height: 15px;
}
.pcard__dep > div:not(.pcard__seats) {
  min-width: 0;
  flex: 1;
}
.pcard__dep > div > span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.pcard__dep b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pcard__seats {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.pcard__seats em,
.pcard__req {
  color: var(--ink-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.pcard__req {
  color: var(--primary);
}
.pcard__seats i {
  position: relative;
  width: 64px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e2e2;
}
.pcard__seats i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  border-radius: inherit;
  background: var(--ok);
  content: '';
}
.pcard__seats.is-low em {
  color: var(--bad);
}
.pcard__seats.is-low i::before {
  background: var(--bad);
}
.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 18px;
  padding: 14px 0 16px;
}
.pcard__price span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.pcard__price strong {
  display: block;
  font: 600 23px/1.2 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.pcard__price em {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6f6ee;
  color: var(--ok);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}
.pcard__go {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition:
    background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.pcard__go .icon {
  width: 18px;
  height: 18px;
}
.pcard:hover .pcard__go {
  background: var(--primary);
  transform: translateX(2px);
}
@supports (grid-template-rows: subgrid) {
  .pk-grid .pcard {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
}

/* ---------- Your bookings and requests ---------- */
.pk-mine {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 28px;
}
.pk-mine .card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pk-bk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin: 0 -10px;
  border-radius: 12px;
  transition: background-color 0.3s var(--ease);
}
.pk-bk:hover {
  background: var(--page);
}
.pk-bk img {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
}
.pk-bk__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.pk-bk__body b {
  font-size: 14px;
  font-weight: 600;
}
.pk-bk__body span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pk-bk__body .is-due {
  color: var(--bad);
  font-weight: 600;
}
.pk-bk .pill {
  flex: none;
}
.pk-rq {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}
.pk-rq + .pk-rq {
  border-top: 1px solid var(--line);
}
.pk-rq__ic {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}
.pk-rq__ic .icon {
  width: 17px;
  height: 17px;
}
.pk-rq__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.pk-rq__body b {
  font-size: 14px;
  font-weight: 600;
}
.pk-rq__body span {
  color: var(--muted);
  font-size: 12.5px;
}
.pk-rq__body .pk-rq__reply {
  color: var(--ok);
  font-weight: 600;
}
.pk-rq .pill {
  flex: none;
}

/* ---------- Request drawer ---------- */
.pk-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}
.pkr .field__lab {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.pkr-seg {
  display: flex;
  width: 100%;
}
.pkr-seg button {
  min-width: 0;
  flex: 1;
  padding: 0 8px;
  font-size: 13px;
}
.pkr-people {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--page);
}
.pkr-people b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.pkr-people span {
  color: var(--muted);
  font-size: 12px;
}
.pkr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pkr-chips button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.pkr-chips button[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.pkr-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 16px;
}
.pkr-lead {
  display: flex;
  gap: 8px;
}
.pkr-lead input {
  min-width: 0;
  flex: 1;
}
.pkr-lead .tvp-btn {
  height: 44px;
  flex: none;
}

@media (max-width: 1100px) {
  .pk-search {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .pk-search__where {
    grid-column: 1 / -1;
  }
  .pk-search__go {
    grid-column: 1 / -1;
    min-height: 52px;
  }
  .pk-mine {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .pk-search {
    padding: 12px;
  }
  .pk-bar,
  .pk-bar__right {
    align-items: stretch;
    flex-direction: column;
  }
  .pk-bar__right .seg {
    display: flex;
  }
  .pk-bar__right .seg button {
    flex: 1;
    padding: 0 8px;
  }
  .pk-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pk-bk {
    flex-wrap: wrap;
  }
  .pk-bk__body {
    flex-basis: calc(100% - 64px);
  }
  .pk-bk .pill {
    margin-left: 64px;
  }
  .pk-bk .btn {
    margin-left: auto;
  }
  .pk-rq {
    flex-wrap: wrap;
  }
  .pk-rq .pill {
    margin-left: 48px;
  }
  .pkr-people {
    gap: 10px;
  }
}

/* ================= Package page ================= */
.pd-hero {
  position: relative;
  height: 340px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  color: #fff;
}
.pd-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.66) 100%);
  content: '';
}
.pd-hero__in {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 24px;
  left: 28px;
}
.pd-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.pd-hero__tags span {
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 26px;
}
.pd-hero__tags .is-dark {
  background: rgba(16, 16, 16, 0.72);
  color: #fff;
}
.pd-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.pd-hero__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.95;
}
.pd-hero__route > .icon {
  width: 16px;
  height: 16px;
  margin-right: -5px;
}
.pd-hero__route i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.pd-hero__rate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pd-hero__rate .icon {
  width: 14px;
  height: 14px;
  fill: #f4c979;
  stroke: #f4c979;
}
.pd-hero__credit {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-size: 10.5px;
}
.pd-hero__credit:hover {
  color: #fff;
}
.pd-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 16px 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.pd-facts > div {
  min-width: 0;
  padding: 14px 18px;
}
.pd-facts > div + div {
  border-left: 1px solid var(--line);
}
.pd-facts dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.pd-facts dt .icon {
  width: 14px;
  height: 14px;
}
.pd-facts dd {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}
.pd-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}
.pd-sec {
  padding: 22px 24px;
}
.pd-sec__h {
  margin-bottom: 16px;
}
.pd-sec__h--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pd-sec__h h2 {
  font-size: 17px;
}
.pd-sec__h p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.pd-pitch {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.pd-high {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.pd-high li {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.45;
}
.pd-high .icon {
  width: 18px;
  height: 18px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}
.pd-incl {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pd-incl span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  border-radius: 12px;
  color: #b5b5b5;
  text-align: center;
}
.pd-incl .icon {
  width: 20px;
  height: 20px;
  margin-bottom: 4px;
}
.pd-incl b {
  font-size: 12.5px;
  font-weight: 600;
}
.pd-incl em {
  font-size: 11px;
  font-style: normal;
}
.pd-incl .is-on {
  background: #f1faf5;
  color: #11804a;
}
.pd-incl .is-on b,
.pd-incl .is-opt b {
  color: var(--ink);
}
.pd-incl .is-opt {
  background: #f3f6ff;
  color: var(--primary);
}
/* Day by day */
.pd-days {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pd-days::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 31px;
  border-left: 2px dashed var(--line);
  content: '';
}
.pd-day {
  position: relative;
}
.pd-day__h {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  text-align: left;
}
.pd-day__n {
  position: relative;
  z-index: 1;
  flex: none;
  width: 64px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}
.pd-day:first-child .pd-day__n,
.pd-day:last-child .pd-day__n {
  background: var(--primary);
}
.pd-day__h b {
  min-width: 0;
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
}
.pd-day__caret {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}
.pd-day.is-open .pd-day__caret {
  transform: rotate(180deg);
}
.pd-day__b {
  display: none;
  padding: 0 0 12px 78px;
}
.pd-day.is-open .pd-day__b {
  display: block;
}
.pd-day__b p {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
}
.pd-day__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.pd-day__chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--page);
  color: var(--ink-2);
  font-size: 12px;
}
.pd-day__chips .icon {
  width: 13px;
  height: 13px;
}
/* Hotel levels */
.pd-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.pd-level {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.pd-level:hover {
  border-color: #cfcfcf;
}
.pd-level.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.pd-level__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pd-level__top b {
  font-size: 14px;
  font-weight: 600;
}
.pd-level__dot {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d0d0;
  border-radius: 50%;
}
.pd-level.is-on .pd-level__dot {
  border: 5px solid var(--ink);
}
.pd-level ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pd-level li {
  font-size: 13px;
  line-height: 1.35;
}
.pd-level li span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
.pd-level__price {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.pd-level__price strong {
  font: 600 17px 'Poppins', sans-serif;
}
.pd-level__price em {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
/* Included / not included */
.pd-io {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pd-io h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}
.pd-io h3 .icon {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}
.pd-io .is-out h3 .icon {
  background: var(--bad-soft);
  color: var(--bad);
}
.pd-io ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 28px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}
.pd-io li::marker {
  color: #c4c4c4;
}
.pd-sec .note {
  margin-top: 16px;
}
/* Dates */
.pd-deps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pd-dep {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  text-align: left;
  transition: border-color 0.3s var(--ease);
}
.pd-dep:hover:not(:disabled) {
  border-color: #cfcfcf;
}
.pd-dep.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.pd-dep:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.pd-dep__date b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.pd-dep__date span,
.pd-dep__note em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.pd-dep__note .is-bad {
  color: var(--bad);
  font-weight: 600;
}
.pd-dep__seats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}
.pd-dep__seats i {
  position: relative;
  width: 100%;
  max-width: 140px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e8e8;
}
.pd-dep__seats i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  border-radius: inherit;
  background: var(--ok);
  content: '';
}
.pd-dep__seats.is-low {
  color: var(--bad);
}
.pd-dep__seats.is-low i::before {
  background: var(--bad);
}
.pd-dep__price {
  font: 600 15px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
/* Payment and cancellation */
.pd-pay {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pd-pay li {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--page);
}
.pd-pay li > span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: #fff;
}
.pd-pay li > span .icon {
  width: 16px;
  height: 16px;
}
.pd-pay b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
.pd-pay em {
  display: block;
  color: var(--primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.pd-pay p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.45;
}
.pd-cancel {
  margin-top: 18px;
}
.pd-cancel h3 {
  margin-bottom: 8px;
  font-size: 14px;
}
.pd-cancel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pd-cancel th {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}
.pd-cancel td {
  padding: 9px 8px 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.pd-cancel td b {
  color: var(--ink);
}
.pd-cancel__fine {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
/* FAQ */
.pd-faq details {
  border-bottom: 1px solid var(--line);
}
.pd-faq details:last-child {
  border-bottom: 0;
}
.pd-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.pd-faq summary::-webkit-details-marker {
  display: none;
}
.pd-faq summary .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}
.pd-faq details[open] summary .icon {
  transform: rotate(180deg);
}
.pd-faq p {
  padding-bottom: 14px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
}
/* Booking box */
.pd-buy {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}
.pd-buy__head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.pd-buy__head strong {
  font: 600 26px/1.2 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.pd-buy__head em {
  display: block;
  color: var(--ink-2);
  font-size: 12.5px;
  font-style: normal;
}
.pd-buy__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-buy__lab {
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}
.pd-buy__sub {
  color: var(--muted);
  font-size: 12px;
}
.pd-buy__sub--date {
  margin-top: -8px;
}
.pd-select {
  position: relative;
}
.pd-select select {
  width: 100%;
  height: 46px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
}
.pd-select .icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}
.pd-seg {
  display: flex;
  width: 100%;
}
.pd-seg button {
  min-width: 0;
  flex: 1;
  padding: 0 8px;
}
.pd-buy__air {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
}
.pd-buy__air .icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.pd-buy__air b {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.pd-buy__air span {
  color: var(--ink-2);
}
.pd-rooms {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pd-room {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pd-room__h {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-room__h b {
  font-size: 13.5px;
  font-weight: 600;
}
.pd-room__h span {
  flex: 1;
  color: var(--muted);
  font-size: 12px;
}
.pd-room__x {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
}
.pd-room__x:hover {
  background: var(--page);
  color: var(--bad);
}
.pd-room__x .icon {
  width: 14px;
  height: 14px;
}
.pd-room__r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.pd-room__r em {
  color: var(--muted);
  font-size: 11.5px;
  font-style: normal;
}
.pd-rooms__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0;
}
.pd-rooms__foot .link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.pd-rooms__foot .link .icon {
  width: 14px;
  height: 14px;
}
.stepper--sm button {
  width: 30px;
  height: 30px;
}
.stepper--sm output {
  min-width: 22px;
  font-size: 14px;
}
.pd-adds {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-add {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
}
.pd-add:has(input:checked) {
  border-color: var(--ink);
  background: var(--page);
}
.pd-add input {
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--ink);
}
.pd-add span {
  min-width: 0;
  flex: 1;
}
.pd-add em {
  flex: none;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.pd-add small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.pd-warn {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bad-soft);
  color: #a3262b;
  font-size: 12.5px;
}
.pd-warn .icon {
  width: 16px;
  height: 16px;
  flex: none;
}
.pd-total {
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.pd-total .price-row {
  gap: 10px;
  padding: 4px 0;
}
.pd-total .price-row span:last-child {
  flex: none;
}
.pd-total .is-add {
  color: var(--muted);
}
.pd-earn {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--ok);
  font-size: 13px;
  font-weight: 600;
}
.pd-earn .icon {
  width: 14px;
  height: 14px;
}
.pd-due {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #e9f7ef;
  color: #11603d;
  font-size: 12.5px;
}
.pd-due.is-full {
  background: #fff4e5;
  color: #8a5300;
}
.pd-due .icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.pd-due b {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.pd-buy .btn--block + .btn--block {
  margin-top: -6px;
}
.pd-buy__custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.pd-buy__custom .icon {
  width: 15px;
  height: 15px;
}
@media (max-width: 1100px) {
  .pd-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .pd-buy {
    position: static;
  }
  .pd-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pd-facts > div:nth-child(4) {
    border-left: 0;
  }
  .pd-facts > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 720px) {
  .pd-hero {
    height: 300px;
    border-radius: 18px;
  }
  .pd-hero__in {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
  .pd-hero h1 {
    font-size: 23px;
  }
  .pd-hero__route {
    font-size: 12.5px;
  }
  .pd-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-facts > div {
    padding: 12px 14px;
  }
  .pd-facts > div:nth-child(n) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .pd-facts > div:nth-child(-n + 2) {
    border-top: 0;
  }
  .pd-facts > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .pd-facts > div:last-child {
    grid-column: 1 / -1;
  }
  .pd-sec {
    padding: 18px 16px;
  }
  .pd-high,
  .pd-io,
  .pd-pay {
    grid-template-columns: minmax(0, 1fr);
  }
  .pd-incl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pd-days::before {
    left: 27px;
  }
  .pd-day__n {
    width: 56px;
  }
  .pd-day__b {
    padding-left: 0;
  }
  .pd-dep {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
  }
  .pd-dep__note {
    grid-row: 2;
  }
  .pd-dep__price {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .pd-dep__seats {
    grid-column: 2;
    grid-row: 2;
    align-items: flex-end;
  }
  .pd-dep__seats i {
    width: 90px;
  }
  .pd-buy {
    padding: 16px;
  }
}
/* Booking box: choices scroll, the total and buttons stay in view */
.pd-buy {
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.pd-buy__scroll {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.pd-buy__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -10px 18px -16px rgba(16, 16, 16, 0.25);
}
.pd-lines {
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--page);
  font-size: 12.5px;
}
.pd-lines .price-row {
  gap: 10px;
  padding: 5px 0;
}
.pd-lines .price-row span:last-child {
  flex: none;
  font-weight: 600;
}
.pd-lines .is-add {
  color: var(--muted);
}
.pd-sum {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.pd-sum span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.pd-sum strong {
  font: 600 22px/1.2 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.pd-sum > div:last-child {
  text-align: right;
}
.pd-sum em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e6f6ee;
  color: var(--ok);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.pd-sum em .icon {
  width: 12px;
  height: 12px;
}
.pd-buy__foot .btn--block + .btn--block {
  margin-top: -2px;
}
@media (min-width: 1101px) {
  .pd-buy {
    max-height: calc(100vh - 32px);
  }
}

/* ================= Book a package / booking page ================= */
.pb-layout {
  margin-top: 18px;
}
.pb-room + .pb-room {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pb-room__h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 10px;
}
.pb-room__h > .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.pb-room__h b {
  font-size: 14.5px;
  font-weight: 600;
}
.pb-room__h span {
  flex: 1;
  color: var(--muted);
  font-size: 12.5px;
}
.pb-bed button {
  height: 28px;
  padding: 0 12px;
  font-size: 12.5px;
}
.pb-pax {
  padding: 14px 14px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pb-pax + .pb-pax {
  margin-top: 10px;
}
.pb-pax.has-err {
  border-color: #f2b8ba;
  background: #fffafa;
}
.pb-pax__h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pb-pax__n {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--page);
  font-size: 13px;
  font-weight: 600;
}
.pb-pax__n .tv-av {
  width: 30px;
  height: 30px;
}
.pb-pax__h > div {
  min-width: 0;
  flex: 1;
}
.pb-pax__h b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.pb-pax__h span {
  color: var(--muted);
  font-size: 12px;
}
.pb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 12px;
}
.pb-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pb-grid .field {
  margin-bottom: 14px;
}
.pb-grid .field label {
  font-size: 12px;
  white-space: nowrap;
}
.pb-grid input,
.pb-grid select {
  padding: 0 10px;
}
.pb-grid input:not([type='date']) {
  text-transform: uppercase;
}
.pb-pax__warn,
.pb-pax__err {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0 12px;
  color: #8a5300;
  font-size: 12.5px;
  font-weight: 600;
}
.pb-pax__err {
  color: var(--bad);
}
.pb-pax__warn .icon,
.pb-pax__err .icon {
  width: 14px;
  height: 14px;
  flex: none;
}
.pb-save {
  margin-top: 16px;
}
.pb-hold {
  display: flex;
  gap: 14px;
  background: #fffaf0;
}
.pb-hold__ic {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: #fff1d6;
  color: #8a5300;
}
.pb-hold h2 {
  font-size: 16px;
}
.pb-hold p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.pb-pay {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pb-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.pb-opt input {
  position: absolute;
  opacity: 0;
}
.pb-opt.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.pb-opt__dot {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid #d0d0d0;
  border-radius: 50%;
}
.pb-opt.is-on .pb-opt__dot {
  border: 5px solid var(--ink);
}
.pb-opt:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.pb-opt__main {
  min-width: 0;
  flex: 1;
}
.pb-opt__main b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.pb-opt__main span {
  color: var(--muted);
  font-size: 12.5px;
}
.pb-opt strong {
  flex: none;
  font: 600 17px 'Poppins', sans-serif;
  font-variant-numeric: tabular-nums;
}
.pb-opt-tag {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--page);
  color: var(--muted);
  font: 600 11px 'Inter', sans-serif;
  font-style: normal;
  vertical-align: middle;
}
.pb-adv {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0 16px;
}
.pb-adv > .field:last-child:nth-child(3) {
  grid-column: 1 / -1;
}
.pb-lab {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.pb-methods {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}
/* Summary */
.pb-sum {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}
.pb-sum__h {
  font-size: 16px;
}
.pb-sum__top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pb-sum__top img {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 14px;
  object-fit: cover;
}
.pb-sum__top b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}
.pb-sum__top span {
  color: var(--muted);
  font-size: 12.5px;
}
.pb-kv {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}
.pb-kv > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.pb-kv dt {
  color: var(--muted);
}
.pb-kv dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.pb-kv dd.is-ok {
  color: var(--ok);
}
.pb-kv dd.is-bad {
  color: var(--bad);
}
.pb-kv--money {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.pb-sum__note {
  display: flex;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.pb-sum__note .icon {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
}
/* Booking page */
.pb-done {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #e9f7ef;
  color: #11603d;
}
.pb-done.is-hold {
  background: #fff6e6;
  color: #8a5300;
}
.pb-done > .icon {
  width: 24px;
  height: 24px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
}
.pb-done.is-hold > .icon {
  background: var(--warn);
}
.pb-done b {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}
.pb-done span {
  font-size: 13px;
}
.pb-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pb-head > img {
  width: 76px;
  height: 76px;
  flex: none;
  border-radius: 18px;
  object-fit: cover;
}
.pb-head__main {
  min-width: 0;
  flex: 1;
}
.pb-head__id {
  color: var(--muted);
  font-size: 12.5px;
}
.pb-head h1 {
  font-size: 24px;
  line-height: 1.25;
}
.pb-head p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 13.5px;
}
.pb-head .pill {
  flex: none;
}
.pb-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.pb-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.pb-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.pb-steps i {
  display: grid;
  width: 28px;
  height: 28px;
  grid-row: span 2;
  place-items: center;
  border-radius: 50%;
  background: var(--page);
  color: var(--muted);
}
.pb-steps i .icon {
  width: 14px;
  height: 14px;
}
.pb-steps b {
  font-size: 13.5px;
  font-weight: 600;
}
.pb-steps span {
  color: var(--muted);
  font-size: 12px;
}
.pb-steps .is-done i {
  background: var(--ok-soft);
  color: var(--ok);
}
.pb-steps .is-now {
  border-color: #f5d9a8;
}
.pb-steps .is-now i {
  background: #fff1d6;
  color: #8a5300;
}
.pb-steps .is-alert {
  border-color: #f2b8ba;
}
.pb-steps .is-alert i {
  background: var(--bad-soft);
  color: var(--bad);
}
.pb-steps .is-alert span {
  color: var(--bad);
  font-weight: 600;
}
.pb-rl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.pb-rl__room {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pb-rl__h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pb-rl__h .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.pb-rl__h b {
  font-size: 13.5px;
  font-weight: 600;
}
.pb-rl__h span {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.pb-rl ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-rl li span {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
}
.pb-rl li em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
.pb-plan {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-plan li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 12px;
  padding: 10px 0;
}
.pb-plan li + li {
  border-top: 1px solid var(--line);
}
.pb-plan span {
  grid-row: span 2;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
}
.pb-plan b {
  font-size: 13.5px;
  font-weight: 600;
}
.pb-plan em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}
@media (max-width: 1100px) {
  .pb-sum {
    position: static;
  }
}
@media (max-width: 720px) {
  .pb-grid,
  .pb-grid.is-dom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pb-grid--2,
  .pb-adv {
    grid-template-columns: minmax(0, 1fr);
  }
  .pb-pax {
    padding: 12px 12px 0;
  }
  .pb-pax__h {
    flex-wrap: wrap;
  }
  .pb-pax__h .tvp-btn {
    margin-left: 40px;
  }
  .pb-head {
    flex-wrap: wrap;
  }
  .pb-head > img {
    width: 60px;
    height: 60px;
  }
  .pb-head h1 {
    font-size: 20px;
  }
  .pb-head {
    align-items: flex-start;
  }
  .pb-head__main {
    flex: 1 1 200px;
  }
  .pb-head .pill {
    margin-left: 76px;
  }
  .pb-acts .btn {
    flex: 1 1 auto;
  }
  .pb-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media print {
  .pb-acts,
  .pb-steps,
  .pb-sum,
  .res-back,
  .pb-done {
    display: none !important;
  }
  .pb-layout {
    display: block !important;
  }
}
@media (max-width: 720px) {
  .pk-sort select {
    width: 100%;
  }
}

/* Phones: price bar at the bottom of the package page */
.pd-mbar {
  display: none;
}
@media (max-width: 1100px) {
  .pd-mbar {
    position: fixed;
    z-index: 30;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 40px -12px rgba(16, 16, 16, 0.3);
    backdrop-filter: blur(8px);
    transition:
      transform 0.35s var(--ease),
      opacity 0.35s var(--ease);
  }
  .pd-mbar.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
  }
  .pd-mbar span {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
  }
  .pd-mbar strong {
    font: 600 18px/1.2 'Poppins', sans-serif;
  }
  .pd-mbar .btn {
    flex: none;
  }
  body[data-page="package"] .pd-layout,
  body[data-page="activity"] .pd-layout {
    padding-bottom: 72px;
  }
}
.pb-grid input::placeholder {
  text-transform: none;
}
@media (max-width: 720px) {
  .pb-pax__h > div {
    flex: 1 1 150px;
  }
  .pb-pax__h .tvp-btn {
    margin-left: 40px;
  }
}
@media (max-width: 480px) {
  .pkr-lv {
    display: none;
  }
}

/* ================= PrismTrip dropdown (pk-select.js) ================= */
.pkdd {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.pkdd:hover {
  border-color: #cfcfcf;
}
.pkdd:focus-visible,
.pkdd.is-open {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.pkdd__face {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: baseline;
  gap: 8px;
}
.pkdd__val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pkdd__sub {
  flex: none;
  color: var(--ok);
  font-size: 12px;
  font-weight: 600;
}
.pkdd__sub.is-bad {
  color: var(--bad);
}
.pkdd__caret {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}
.pkdd.is-open .pkdd__caret {
  color: var(--ink);
  transform: rotate(180deg);
}
/* In the search boxes: borderless, big value like the other boxes */
.qbox .pkdd {
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font: 600 18px/22px 'Poppins', sans-serif;
  letter-spacing: -0.01em;
}
.qbox .pkdd__caret {
  width: 18px;
  height: 18px;
}
.qbox:has(.pkdd.is-open) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.qbox:has(.pkdd) {
  cursor: pointer;
}
/* Sort: a pill */
.pk-sort .pkdd {
  height: 40px;
  padding: 0 12px 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.pk-sort .pkdd__face::before {
  color: var(--muted);
  font-weight: 500;
  content: 'Sort:';
}
/* Departure in the price box */
.pd-select > .icon {
  display: none;
}
.pd-select .pkdd {
  height: 48px;
  border-radius: 12px;
  font-weight: 600;
}
.field .pkdd {
  font-weight: 500;
}
.pb-grid .pkdd {
  padding: 0 10px;
}

/* Menu */
.pkdd-pop {
  position: fixed;
  z-index: 90;
  max-width: calc(100vw - 24px);
  max-height: 340px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 50px -16px rgba(16, 16, 16, 0.28), 0 2px 6px rgba(16, 16, 16, 0.05);
  opacity: 0;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.pkdd-pop.is-up {
  transform-origin: bottom left;
  transform: translateY(4px) scale(0.98);
}
.pkdd-pop.is-in {
  opacity: 1;
  transform: none;
}
.pkdd-pop__list {
  max-height: 326px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.pkdd-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px 8px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 14px;
  cursor: pointer;
}
.pkdd-opt + .pkdd-opt {
  margin-top: 2px;
}
.pkdd-opt.is-act {
  background: var(--page);
  color: var(--ink);
}
.pkdd-opt.is-on {
  color: var(--ink);
  font-weight: 600;
}
.pkdd-opt__ck {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--primary);
  opacity: 0;
}
.pkdd-opt.is-on .pkdd-opt__ck {
  opacity: 1;
}
.pkdd-opt__t {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
}
.pkdd-opt__s {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 11.5px;
  font-weight: 600;
}
.pkdd-opt__s.is-bad {
  background: var(--bad-soft);
  color: var(--bad);
}
.pkdd-opt.is-off {
  color: #b9b9b9;
  cursor: not-allowed;
}
.pkdd-opt.is-off .pkdd-opt__s {
  background: var(--surface);
  color: var(--muted);
}
/* Phones: bottom sheet */
.pkdd-back {
  position: fixed;
  z-index: 89;
  inset: 0;
  background: rgba(16, 16, 16, 0.35);
}
.pkdd-pop.is-sheet {
  top: auto !important;
  right: 0;
  bottom: 0;
  left: 0 !important;
  max-width: none;
  max-height: 72vh;
  padding: 6px 10px calc(14px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 22px 22px 0 0;
  transform: translateY(24px);
}
.pkdd-pop.is-sheet.is-in {
  transform: none;
}
.pkdd-pop.is-sheet .pkdd-pop__list {
  max-height: calc(72vh - 70px);
}
.pkdd-pop.is-sheet .pkdd-opt {
  min-height: 48px;
  font-size: 15px;
}
.pkdd-pop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 10px 10px;
}
.pkdd-pop__head::before {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 36px;
  height: 4px;
  margin-left: -18px;
  border-radius: 999px;
  background: #dcdcdc;
  content: '';
}
.pkdd-pop__head b {
  font-size: 16px;
  font-weight: 600;
}
.pkdd-pop__x {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--page);
}
.pkdd-pop__x .icon {
  width: 16px;
  height: 16px;
}
.pk-sort {
  display: block;
}
.pk-sort .pkdd {
  width: auto;
  min-width: 200px;
}
@media (max-width: 720px) {
  .pk-sort .pkdd {
    width: 100%;
  }
}

/* ---------- Compact cards and header row, shared by Packages and Activities ---------- */
.ac-strip {
  position: relative;
  margin-top: 14px;
}
.ac-strip .ac-cities {
  margin-top: 0;
  padding-bottom: 0;
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 0, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 0, #000 calc(100% - 56px), transparent 100%);
}
.ac-strip:not(.is-start) .ac-cities {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.ac-strip.is-end:not(.is-start) .ac-cities {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px);
  mask-image: linear-gradient(90deg, transparent 0, #000 56px);
}
.ac-strip.is-start.is-end .ac-cities {
  -webkit-mask-image: none;
  mask-image: none;
}
.ac-strip__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px -4px rgba(16, 16, 16, 0.2);
  transform: translateY(-50%);
}
.ac-strip__nav[hidden] {
  display: none;
}
.ac-strip__nav.is-prev {
  left: 0;
}
.ac-strip__nav.is-next {
  right: 0;
}
.ac-strip__nav .icon {
  width: 16px;
  height: 16px;
}
.ac-cities button {
  height: 34px;
}
.ac-tabs {
  width: fit-content;
  margin-top: 12px;
}
.ac-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 20px 0 14px;
}
.ac-head h2 {
  font-size: 18px;
}
.ac-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.ac-head__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ac-head .ac-chips button,
.ac-head .pk-sort .pkdd {
  height: 36px;
}
/* Compact card */
.acard .pcard__media {
  aspect-ratio: 16 / 9;
}
.acard .pcard__body {
  gap: 8px;
  padding: 14px 16px 12px;
}
.acard .pcard__body h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15.5px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.acard .pcard__foot {
  margin: 0 16px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
}
.ac-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.acard .pcard__price strong {
  font-size: 20px;
}
.acard .pcard__price em {
  margin-top: 0;
}
.acard .pcard__go {
  width: 40px;
  height: 40px;
}
@supports (grid-template-rows: subgrid) {
  .pk-grid .acard {
    grid-row: span 3;
  }
}
@media (max-width: 720px) {
  .ac-tabs {
    width: auto;
  }
  .ac-head__tools {
    width: 100%;
  }
  .ac-head .ac-chips {
    flex: 1 1 100%;
  }
  .ac-head .pk-sort {
    flex: 1 1 100%;
  }
  .ac-strip__nav {
    display: none !important;
  }
}
@media (max-width: 720px) {
  .ac-head__tools .seg {
    display: flex;
    flex: 1 1 100%;
  }
  .ac-head__tools .seg button {
    flex: 1;
    padding: 0 8px;
  }
}

/* Card info: two columns so the icons line up; each icon centred on the first line of its text */
.ac-info {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 16px;
  margin-top: auto;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 18px;
}
.ac-info > span {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 6px;
}
.ac-info .icon {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px; /* (18px line - 14px icon) / 2, less 1px: lines up with the middle of the letters */
  color: var(--muted);
}
.ac-info > span:nth-child(n + 3) {
  font-weight: 600;
}
.ac-info em {
  color: var(--muted);
  font-style: normal;
}
.ac-info b {
  font-weight: 600;
}
.ac-info b.is-low,
.ac-info .is-bad {
  color: var(--bad);
  font-weight: 600;
}
.ac-info .is-free,
.ac-info .is-free .icon {
  color: #11804a;
}
.ac-info .is-instant .icon {
  color: var(--primary);
}
.ac-info .is-none,
.ac-info .is-none .icon {
  color: #b4383c;
}
/* Date gets its own full row; the short facts sit in two even columns underneath */
.ac-info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ac-info > .is-wide {
  grid-column: 1 / -1;
  color: var(--ink);
  font-weight: 500;
}
.ac-info > span > span {
  min-width: 0;
}
.ac-info {
  column-gap: 10px;
}
.ac-info > span:not(.is-wide) {
  font-size: 12px;
  gap: 5px;
}

/* ---------- Custom package quote (agent) ---------- */
.pk-rq__open {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
}
.pk-rq__open .icon {
  width: 14px;
  height: 14px;
}
.pkq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pkq h3 {
  margin-bottom: 8px;
  font-size: 14px;
}
.pkq-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  background: var(--page);
}
.pkq-sum span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.pkq-sum strong {
  font: 600 26px/1.2 'Poppins', sans-serif;
}
.pkq-sum em {
  display: block;
  color: var(--ink-2);
  font-size: 12.5px;
  font-style: normal;
}
.pkq-valid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}
.pkq-valid .icon {
  width: 14px;
  height: 14px;
}
.pkq-valid.is-bad {
  color: var(--bad);
}
.pkq-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pkq-tbl td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.pkq-tbl td:last-child {
  padding-left: 12px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}
.pkq-tbl .is-mut td {
  color: var(--muted);
  font-weight: 500;
}
.pkq-tbl .is-earn td {
  border-bottom: 0;
  color: var(--ok);
}
.pkq-line {
  display: flex;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
}
.pkq-line .icon {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--muted);
}
.pkq-days {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.pkq-days li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
}
.pkq-days li span {
  color: var(--primary);
  font-weight: 600;
}
.pkq-io {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pkq-io ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .pkq-io {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pd-dep__note .is-ok {
  display: block;
  color: var(--ok);
  font-weight: 600;
}
