/* WST template — native single-tour (Product Page).
 * Loaded only on is_singular('tf_tours'). Uses design tokens; pairs with
 * assets/js/single-tour.js. Warm paper palette, serif headlines, mono
 * eyebrows, terracotta accent — same visual language as the homepage.
 *
 * Two halves: the page shell (header, gallery, sections, sidebar shell)
 * and the booking-widget internals. The widget markup is the contract with
 * single-tour.js, so its classes are kept stable. */

.wst-tour { display: block; }

.wst-sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------------------
 * Product header
 * ------------------------------------------------------------------- */
.wst-pt-head {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding: 26px 0 34px;
}
.wst-pt-head .breadcrumbs {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.wst-pt-head .breadcrumbs a:hover { color: var(--ink); }
.wst-pt-head .breadcrumbs .sep { margin: 0 8px; opacity: .55; }

.wst-pt-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}
.wst-pt-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 14px;
}
.wst-pt-pin {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 3px rgba(184, 90, 60, .2);
}
.wst-pt-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}
.wst-pt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.wst-pt-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 15px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
}
.wst-pt-stat__k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.wst-pt-stat__v { font-size: 13.5px; font-weight: 600; color: var(--ink); }

.wst-pt-head__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.wst-pt-rating { display: flex; align-items: baseline; gap: 8px; }
.wst-pt-rating__stars { color: var(--gold); font-size: 16px; letter-spacing: 1px; }
.wst-pt-rating__n { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.wst-pt-rating__ct {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--muted);
  margin: 0;
}
.wst-pt-share {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 99px;
  padding: 6px 14px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.wst-pt-share:hover { border-color: var(--ink); color: var(--ink); }
.wst-pt-share svg { color: currentColor; }
.wst-pt-share.is-copied {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.wst-pt-actions { display: flex; align-items: center; gap: 8px; }
.wst-pt-save {
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 99px;
  background: var(--white);
}
.wst-pt-save svg { width: 15px; height: 15px; }
.wst-pt-save .wst-heart__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.wst-pt-save:hover { border-color: var(--ink); }
.wst-pt-save.is-saved { border-color: var(--terra); }

/* ---------------------------------------------------------------------
 * Gallery
 * ------------------------------------------------------------------- */
.wst-pt-gallery { padding: 28px 0 0; }
.wst-pt-gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 12px;
  height: clamp(320px, 42vw, 480px);
}
.wst-pt-gallery__grid.is-single { grid-template-columns: 1fr; }
.wst-pt-gg {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--teal-deep) center/cover no-repeat;
  transition: transform .3s ease;
}
.wst-pt-gg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.32));
  opacity: 0;
  transition: opacity .25s ease;
}
.wst-pt-gg:hover { transform: scale(1.012); }
.wst-pt-gg:hover::after { opacity: 1; }
.wst-pt-gg--main { grid-row: span 2; }
.wst-pt-gallery__grid.is-single .wst-pt-gg--main { grid-row: auto; }
.wst-pt-gg--more::after {
  opacity: 1;
  background: rgba(10, 40, 40, .62);
}
.wst-pt-gg__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--paper);
  z-index: 1;
}

/* Trust bar */
.wst-pt-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 16px 0 0;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}
.wst-pt-trust__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 22px;
  border-right: 1px solid var(--rule);
}
.wst-pt-trust__cell:last-child { border-right: 0; }
.wst-pt-trust__cell:first-child { padding-left: 0; }
.wst-pt-trust__t { font-size: 14px; font-weight: 600; color: var(--ink); }
.wst-pt-trust__d { font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* ---------------------------------------------------------------------
 * Main layout
 * ------------------------------------------------------------------- */
.wst-pt-main { padding: clamp(38px, 5vw, 70px) 0 clamp(60px, 8vw, 110px); }
.wst-pt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}
.wst-pt-content { min-width: 0; }

/* Sections */
.wst-pt-sec {
  padding-bottom: clamp(34px, 4vw, 56px);
  margin-bottom: clamp(34px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
}
.wst-pt-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.wst-pt-sec__head { margin-bottom: 22px; }
.wst-pt-sec__num {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
}
.wst-pt-sec__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.07;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
}

/* Prose */
.wst-prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.wst-prose p { margin: 0 0 1em; }
.wst-prose p:last-child { margin-bottom: 0; }
.wst-prose a { color: var(--terra); text-decoration: underline; }
.wst-prose ul, .wst-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.wst-prose li { margin-bottom: .4em; }
.wst-prose h2, .wst-prose h3, .wst-prose h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 1.3em 0 .5em;
}

/* Spots */
.wst-pt-spots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.wst-pt-spots__lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.wst-pt-spot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 99px;
  font-size: 13px;
  color: var(--ink);
}
.wst-pt-spot__n {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--terra);
}

/* Highlights */
.wst-pt-hl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.wst-pt-hl__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}
.wst-pt-hl__n {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--paper);
  background: var(--teal);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wst-pt-hl__t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  margin: 4px 0 6px;
}
.wst-pt-hl__d { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* Itinerary */
.wst-pt-itin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}
.wst-pt-timeline { list-style: none; margin: 0; padding: 0; }
.wst-pt-tl {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding-bottom: 26px;
}
.wst-pt-tl:last-child { padding-bottom: 0; }
.wst-pt-tl__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.wst-pt-tl:not(:last-child) .wst-pt-tl__dot::after {
  content: "";
  position: absolute;
  left: 20px; top: 46px; bottom: -26px;
  width: 2px;
  background: var(--rule);
  transform: translateX(-50%);
}
.wst-pt-tl__body { padding-top: 3px; }
.wst-pt-tl__time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra);
}
.wst-pt-tl__dur { color: var(--muted); }
.wst-pt-tl__t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  color: var(--ink);
  margin: 4px 0 9px;
}
.wst-pt-tl__img {
  margin: 0 0 11px;
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 340px;
}
.wst-pt-tl__img img { display: block; width: 100%; height: auto; }

.wst-pt-itin__map {
  position: sticky;
  top: 96px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
}
.wst-pt-itin__mapimg,
.wst-pt-itin__mapframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  object-fit: cover;
}
.wst-pt-itin__mapcap { padding: 14px 16px 16px; }
.wst-pt-itin__mapcap p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* Includes / excludes */
.wst-pt-inex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.wst-pt-inex__col {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 22px 24px;
}
.wst-pt-inex__col--yes { border-top: 3px solid var(--teal); }
.wst-pt-inex__col--no { border-top: 3px solid var(--terra); }
.wst-pt-inex__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
}
.wst-pt-inex__pip {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.wst-pt-inex__col--yes .wst-pt-inex__pip { background: rgba(12, 74, 74, .12); color: var(--teal); }
.wst-pt-inex__col--no .wst-pt-inex__pip { background: rgba(184, 90, 60, .14); color: var(--terra); }
.wst-pt-inex__list { list-style: none; margin: 0; padding: 0; }
.wst-pt-inex__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 9px;
}
.wst-pt-inex__list li:last-child { margin-bottom: 0; }
.wst-pt-inex__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rule);
}

/* Meet the guide */
.wst-pt-guide {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
}
.wst-pt-guide__photo {
  border-radius: var(--r-md);
  background: var(--teal-deep) center/cover no-repeat;
  aspect-ratio: 4 / 5;
}
.wst-pt-guide__pre {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.wst-pt-guide__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 4px;
}
.wst-pt-guide__role {
  font-size: 13.5px;
  color: var(--terra);
  margin: 0 0 14px;
}
.wst-pt-guide__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.wst-pt-guide__stat { display: flex; flex-direction: column; gap: 2px; }
.wst-pt-guide__stat strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
}
.wst-pt-guide__stat span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Reviews */
.wst-pt-rv__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}
.wst-pt-rv__score {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
}
.wst-pt-rv__score sup { font-size: 18px; color: var(--gold); }
.wst-pt-rv__stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.wst-pt-rv__stars--sm { font-size: 13px; letter-spacing: 1px; }
.wst-pt-rv__total {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.wst-pt-rv__list { list-style: none; margin: 0 0 28px; padding: 0; }
.wst-pt-rv__item {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.wst-pt-rv__item:first-child { border-top: 0; }
.wst-pt-rv__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.wst-pt-rv__who { font-weight: 600; color: var(--ink); }
.wst-pt-rv__date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--muted);
}
.wst-pt-rv__item .wst-prose { margin-top: 8px; font-size: 14.5px; }

/* Review form */
.wst-pt-rv__form,
#wst-reviews .comment-respond {
  margin-top: 8px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
}
#wst-reviews .comment-reply-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 16px;
}
.wst-pt-rv__rate,
.wst-pt-rv__field,
#wst-reviews .comment-form-author,
#wst-reviews .comment-form-email {
  margin: 0 0 14px;
}
#wst-reviews .comment-form label,
.wst-pt-rv__rate label,
.wst-pt-rv__field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
#wst-reviews .comment-form input[type="text"],
#wst-reviews .comment-form input[type="email"],
#wst-reviews .comment-form input[type="url"],
.wst-pt-rv__rate select,
.wst-pt-rv__field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
}
.wst-pt-rv__field textarea { resize: vertical; }
.wst-pt-rv__submit { margin-top: 4px; }

/* Practical info */
.wst-pt-prac {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wst-pt-prac__card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 20px;
}
.wst-pt-prac__card h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 10px;
}
.wst-pt-prac__card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 6px;
}
.wst-pt-prac__card p:last-child { margin-bottom: 0; }
.wst-pt-prac__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wst-pt-prac__card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.wst-pt-prac__card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 11px;
}

/* FAQ */
.wst-pt-faq { border-top: 1px solid var(--rule); }
.wst-pt-faq__item { border-bottom: 1px solid var(--rule); }
.wst-pt-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
}
.wst-pt-faq__q::-webkit-details-marker { display: none; }
.wst-pt-faq__ico {
  flex-shrink: 0;
  position: relative;
  width: 16px; height: 16px;
}
.wst-pt-faq__ico::before,
.wst-pt-faq__ico::after {
  content: "";
  position: absolute;
  background: var(--terra);
  transition: transform .2s ease, opacity .2s ease;
}
.wst-pt-faq__ico::before { inset: 7px 0; height: 2px; }
.wst-pt-faq__ico::after { inset: 0 7px; width: 2px; }
.wst-pt-faq__item[open] .wst-pt-faq__ico::after { transform: scaleY(0); opacity: 0; }
.wst-pt-faq__a { padding: 0 4px 20px; font-size: 15px; }

/* Similar */
.wst-pt-similar {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: clamp(48px, 6vw, 80px) 0;
}
.wst-pt-similar .wst-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

/* ---------------------------------------------------------------------
 * Booking widget (sticky sidebar) — markup is the JS contract; keep stable.
 * ------------------------------------------------------------------- */
/* Stretch the aside to the grid row height so the sticky widget inside it has
   travel room — with align-items:start the aside would shrink-wrap the widget
   (equal heights = zero sticky travel). */
.wst-pt-aside { position: relative; align-self: stretch; }
.wst-booking {
  position: sticky;
  top: 96px;
  /* When the widget is taller than the viewport, scroll it internally
     instead of letting its bottom run off-screen below the fold.
     96px = sticky `top` offset, 24px = breathing gap at the bottom.
     Overridden in the <=1080px bottom-sheet block (max-height: none). */
  max-height: calc(100vh - 96px - 24px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  box-shadow: 0 30px 60px -42px rgba(10, 40, 40, .4);
}
.wst-booking-head {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.wst-booking-from {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
}
.wst-booking-from-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.wst-booking-from-price {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--ink);
}
.wst-booking-from-unit {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--muted);
}
.wst-booking-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0;
}

/* Fields */
.wst-field { margin-bottom: 16px; }
.wst-field-label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.wst-field-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  transition: border-color .15s ease;
}
.wst-field-input:focus {
  outline: none;
  border-color: var(--teal);
}
select.wst-field-input { cursor: pointer; }

/* Steppers */
.wst-steppers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wst-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wst-stepper-label { font-size: 14px; color: var(--ink); }
.wst-stepper-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
}
.wst-stepper-btn {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.wst-stepper-btn:hover {
  background: var(--paper-2);
  border-color: var(--ink-2);
}
.wst-stepper-input {
  width: 44px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 0;
  -moz-appearance: textfield;
}
.wst-stepper-input::-webkit-outer-spin-button,
.wst-stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Packages */
.wst-packages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wst-package { display: block; cursor: pointer; }
.wst-package input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.wst-package-body {
  display: block;
  padding: 13px 15px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color .15s ease, background .15s ease;
}
.wst-package:hover .wst-package-body { border-color: var(--ink-2); }
.wst-package.is-selected .wst-package-body,
.wst-package input:focus-visible + .wst-package-body {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--teal);
}
.wst-package-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.wst-package-name {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.wst-package-price {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--terra);
}
.wst-package-desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.wst-package-meta {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Extras */
.wst-extras {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wst-extra {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--paper);
  padding: 11px 13px;
  transition: border-color .15s ease, background .15s ease;
}
.wst-extra.is-on {
  border-color: var(--teal);
  background: var(--white);
}
.wst-extra-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.wst-extra-check {
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: var(--teal);
  flex-shrink: 0;
}
.wst-extra-info { display: flex; flex-direction: column; gap: 2px; }
.wst-extra-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.wst-extra-desc { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.wst-extra-price {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--terra);
}
.wst-extra-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding-left: 26px;
}

/* Estimate */
.wst-booking-estimate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 6px;
  margin-top: 6px;
  border-top: 1px solid var(--rule);
}
.wst-estimate-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.wst-estimate-value {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
}
.wst-booking-note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.4;
}

/* Messages */
.wst-booking-msg {
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  background: rgba(12, 74, 74, .08);
  color: var(--teal-deep);
}
.wst-booking-msg.is-error {
  background: rgba(184, 90, 60, .12);
  color: #8a3d27;
}

/* Submit */
.wst-booking-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
}
.wst-booking-submit[disabled] {
  opacity: .65;
  cursor: progress;
  transform: none;
}
.wst-booking-spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: wst-spin .7s linear infinite;
}
.wst-booking.is-busy .wst-booking-spinner { display: inline-block; }
@keyframes wst-spin { to { transform: rotate(360deg); } }

/* WhatsApp enquiry link below the booking submit button */
.wst-booking-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--muted);
  text-decoration: none;
  margin: 12px 0 0;
  transition: color .15s ease;
}
.wst-booking-wa:hover { color: #25d366; }
.wst-booking-wa svg { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }

/* Trust badges */
.wst-booking-trust {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wst-booking-trust li {
  position: relative;
  padding-left: 22px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.wst-booking-trust li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---------------------------------------------------------------------
 * Mobile sticky booking bar
 * ------------------------------------------------------------------- */
.wst-pt-mobilebar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 20px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .2);
}
.wst-pt-mobilebar__from {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.wst-pt-mobilebar__amt {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}
.wst-pt-mobilebar__cta { white-space: nowrap; }

/* ---------------------------------------------------------------------
 * Bottom-sheet chrome (drag-handle + close + backdrop)
 * Hidden on desktop; revealed inside the ≤1080px media query.
 * ------------------------------------------------------------------- */
.wst-sheet-head { display: none; }
.wst-pt-sheet-backdrop { display: none; }

/* ---------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .wst-pt-grid { grid-template-columns: 1fr; }
  .wst-pt-itin { grid-template-columns: 1fr; }
  .wst-pt-itin__map { position: static; max-width: 420px; }

  /* Mobile bar shown for the whole ≤1080px range; clear it with padding. */
  .wst-pt-mobilebar { display: flex; }
  .wst-pt-main { padding-bottom: 90px; }

  /* Booking widget becomes a slide-up bottom-sheet. */
  .wst-pt-aside {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;                 /* above .wst-pt-mobilebar (60) */
    display: flex;
    flex-direction: column;
    max-height: 88vh;
    background: var(--white);
    border-top: 1px solid var(--rule);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    box-shadow: 0 -24px 50px -20px rgba(10, 40, 40, .4);
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.32, .72, 0, 1);
    will-change: transform;
  }
  .wst-pt-aside.is-open { transform: translateY(0); }

  /* Sheet header: drag-handle + close, sticky at the sheet top. */
  .wst-sheet-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px 16px 4px;
    background: var(--white);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .wst-sheet-handle {
    width: 40px; height: 4px;
    border-radius: 99px;
    background: var(--rule);
  }
  .wst-sheet-close {
    position: absolute;
    top: 6px; right: 10px;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    color: var(--ink-2);
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 50%;
    cursor: pointer;
  }
  .wst-sheet-close:hover { border-color: var(--ink); color: var(--ink); }

  /* Inner widget scrolls within the sheet; drop sticky + desktop framing.
     Reset the desktop viewport-based max-height — the sheet sizes the
     widget, not the viewport. */
  .wst-booking {
    position: static;
    max-width: none;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 4px 22px calc(24px + env(safe-area-inset-bottom));
  }

  /* Full-screen dimmed backdrop below the sheet, above the page. */
  .wst-pt-sheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;                 /* below sheet (80), above mobile bar (60) */
    background: rgba(10, 30, 30, .5);
    opacity: 0;
    pointer-events: none;        /* closed: invisible AND must not eat taps
                                    meant for the mobile bar below it */
    transition: opacity .28s ease;
  }
  .wst-pt-sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
}
@media (max-width: 820px) {
  .wst-pt-head__grid { grid-template-columns: 1fr; align-items: start; }
  .wst-pt-head__side { align-items: flex-start; text-align: left; flex-direction: row; gap: 14px; }
  /* Gallery → horizontal swipe strip on mobile. The desktop 5-tile grid
     leaves lonely tiles / gaps at phone widths; a snap-scroll strip shows
     every photo cleanly regardless of count. */
  .wst-pt-gallery__grid {
    display: flex;
    height: auto;
    grid-auto-rows: auto;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .wst-pt-gallery__grid::-webkit-scrollbar { display: none; }
  .wst-pt-gg {
    flex: 0 0 82%;
    height: 230px;
    grid-row: auto;
    scroll-snap-align: start;
  }
  .wst-pt-gallery__grid.is-single .wst-pt-gg { flex-basis: 100%; }
  .wst-pt-trust { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wst-pt-trust__cell { padding: 0; border-right: 0; }
  .wst-pt-hl { grid-template-columns: 1fr; }
  .wst-pt-inex { grid-template-columns: 1fr; }
  .wst-pt-guide { grid-template-columns: 1fr; }
  .wst-pt-guide__photo { aspect-ratio: 5 / 3; }
  .wst-pt-prac { grid-template-columns: 1fr; }
  .wst-pt-similar .wst-tour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wst-booking { padding: 4px 18px calc(20px + env(safe-area-inset-bottom)); }
  .wst-pt-tl { grid-template-columns: 34px 1fr; gap: 14px; }
  .wst-pt-tl__dot { width: 34px; height: 34px; font-size: 12px; }
  .wst-pt-tl:not(:last-child) .wst-pt-tl__dot::after { left: 17px; top: 40px; }
}
