/* ==================================================================
   SINGLE TOUR PAGE — includes/single-tour-template.php
   Same protection as planner.css / tours.css:
   - page content under #tibs, fixed UI under #tibs-layer (moved to
     <body> by tour-single.js)
   - every selector starts with one of those IDs
   - scoped reset first
   Class prefix: "tibs-". --tibs-top is set by JS to the height of a
   sticky theme header so the section tabs sit just below it.
================================================================== */

#tibs,
#tibs-layer {
  --tibs-navy: #1f2b3b;
  --tibs-navy-2: #2c3b4f;
  --tibs-gold: #ffbf1d;
  --tibs-gold-dark: #e6a500;
  --tibs-gold-tint: #fff6dc;
  --tibs-ink: #1b1917;
  --tibs-body: #374151;
  --tibs-muted: #6b7280;
  --tibs-soft: #9ca3af;
  --tibs-line: #e9eaec;
  --tibs-band: #f4f6f8;
  --tibs-green: #16a34a;
  --tibs-green-tint: #eaf7ef;
  --tibs-red: #b42318;
  --tibs-r-lg: 20px;
  --tibs-r-md: 14px;
  --tibs-font:
    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--tibs-font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--tibs-ink);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
#tibs {
  --tibs-top: 0px;
  padding-bottom: 96px;
} /* space before the theme footer */ /* the hero band clears the transparent theme header (v1.6) */

/* ---------- Scoped reset ---------- */
#tibs *,
#tibs *::before,
#tibs *::after,
#tibs-layer *,
#tibs-layer *::before,
#tibs-layer *::after {
  box-sizing: border-box;
}
:is(#tibs, #tibs-layer)
  :is(
    div,
    section,
    article,
    aside,
    header,
    footer,
    nav,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    strong,
    small,
    em,
    b,
    i,
    s,
    a,
    output,
    ul,
    ol,
    li,
    dl,
    dt,
    dd,
    img,
    button,
    input,
    textarea,
    select,
    label,
    form,
    details,
    summary
  ) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  text-shadow: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  text-align: inherit;
  color: inherit;
  border-radius: 0;
  float: none;
  min-height: 0;
  min-width: 0;
  transition: none;
}
:is(#tibs, #tibs-layer) :is(ul, ol) {
  list-style: none;
}
:is(#tibs, #tibs-layer) img {
  display: block;
  max-width: 100%;
  height: auto;
}
:is(#tibs, #tibs-layer) svg {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
:is(#tibs, #tibs-layer) button {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
:is(#tibs, #tibs-layer) :focus-visible {
  outline: 3px solid var(--tibs-gold);
  outline-offset: 3px;
}
:is(#tibs, #tibs-layer) [hidden] {
  display: none !important;
}

/* ---------- Page frame ---------- */
#tibs .tibs-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  #tibs .tibs-wrap {
    padding: 0 20px;
  }
}

#tibs .tibs-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 36px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--tibs-muted);
}
#tibs .tibs-crumbs a {
  color: var(--tibs-muted);
}
#tibs .tibs-crumbs a:hover {
  color: var(--tibs-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#tibs .tibs-crumbs [aria-hidden] {
  color: var(--tibs-soft);
}

#tibs .tibs-titleblock {
  padding: 18px 0 28px;
}
#tibs .tibs-eyebrow {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--tibs-muted);
}
#tibs .tibs-h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--tibs-ink);
}
#tibs .tibs-titlemeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 14.5px;
  color: var(--tibs-muted);
}
#tibs .tibs-rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tibs-ink);
  font-weight: 700;
}
#tibs a.tibs-rate {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#tibs .tibs-rate svg {
  color: var(--tibs-gold);
}
#tibs .tibs-rate span {
  font-weight: 500;
  color: var(--tibs-muted);
}
#tibs .tibs-metaitem {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
#tibs .tibs-metaitem svg {
  color: var(--tibs-soft);
}

/* ---------- Hero band (v1.6) ----------
   Full-width dark band behind the theme header, built from the tour's
   own photo (blurred + darkened). The header keeps its white menu, and
   the gallery overlaps the band's bottom edge. */
body.single-tour {
  overflow-x: clip;
} /* lets the band run edge to edge without a side scrollbar */
#tibs .tibs-hero {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 124px 0 168px;
  background: #111a24;
  color: #fff;
}
#tibs .tibs-hero-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
} /* clips only the photo, never the share menu */
#tibs .tibs-hero-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.1);
  opacity: 0.55;
}
#tibs .tibs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 26, 36, 0.88) 0%,
    rgba(17, 26, 36, 0.72) 55%,
    rgba(17, 26, 36, 0.9) 100%
  );
  pointer-events: none;
}
#tibs .tibs-hero-inner {
  position: relative;
  z-index: 4;
}
#tibs .tibs-hero .tibs-crumbs {
  padding-top: 0;
  color: rgba(255, 255, 255, 0.7);
}
#tibs .tibs-hero .tibs-crumbs a {
  color: rgba(255, 255, 255, 0.7);
}
#tibs .tibs-hero .tibs-crumbs a:hover {
  color: #fff;
}
#tibs .tibs-hero .tibs-crumbs [aria-hidden] {
  color: rgba(255, 255, 255, 0.4);
}
#tibs .tibs-hero .tibs-titleblock {
  padding: 22px 0 0;
}
#tibs .tibs-hero .tibs-h1 {
  color: #fff;
  margin-bottom: 16px;
  max-width: 28ch;
}
#tibs .tibs-hero .tibs-titlemeta {
  color: rgba(255, 255, 255, 0.78);
}
#tibs .tibs-hero .tibs-rate,
#tibs .tibs-hero a.tibs-rate {
  color: #fff;
}
#tibs .tibs-hero .tibs-rate span {
  color: rgba(255, 255, 255, 0.78);
}
#tibs .tibs-hero .tibs-metaitem svg {
  color: rgba(255, 255, 255, 0.55);
}
#tibs .tibs-titlerow {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

#tibs .tibs-tagline {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  background: var(--tibs-gold);
  color: var(--tibs-navy);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
}
#tibs .tibs-tagline svg {
  width: 15px;
  height: 15px;
}
#tibs .tibs-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
#tibs .tibs-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
#tibs .tibs-badge svg {
  color: #4ade80;
}

/* Share menu */
#tibs .tibs-share {
  position: relative;
  margin-bottom: 16px;
}
#tibs .tibs-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}
#tibs .tibs-share-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
/* Share popup (v1.7.4): a small bubble with a row of round icons that
   springs out of the Share button, icons arriving one after another */
#tibs .tibs-share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  z-index: 30;
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #fff;
  border-radius: 999px;
  box-shadow:
    0 18px 40px rgba(15, 23, 32, 0.28),
    0 2px 6px rgba(15, 23, 32, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.85);
  transform-origin: calc(100% - 44px) 0;
  transition:
    opacity 0.18s ease,
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s linear 0.32s;
}
#tibs .tibs-share-menu::before {
  /* little pointer up to the Share button */
  content: "";
  position: absolute;
  top: -6px;
  right: 38px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 3px;
  transform: rotate(45deg);
}
#tibs .tibs-share-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.18s ease,
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s;
}
#tibs .tibs-share-item {
  position: relative;
  display: flex !important;
  padding: 0;
  border-radius: 50%;
  background: none;
  opacity: 0;
  transform: translateY(8px) scale(0.6);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.2s ease;
}
#tibs .tibs-share-item[hidden] {
  display: none !important;
}
#tibs .tibs-share-menu.is-open .tibs-share-item {
  opacity: 1;
  transform: none;
}
#tibs .tibs-share-menu.is-open .tibs-share-item:nth-child(1) {
  transition-delay: 0.04s;
}
#tibs .tibs-share-menu.is-open .tibs-share-item:nth-child(2) {
  transition-delay: 0.08s;
}
#tibs .tibs-share-menu.is-open .tibs-share-item:nth-child(3) {
  transition-delay: 0.12s;
}
#tibs .tibs-share-menu.is-open .tibs-share-item:nth-child(4) {
  transition-delay: 0.16s;
}
#tibs .tibs-share-menu.is-open .tibs-share-item:nth-child(5) {
  transition-delay: 0.2s;
}
#tibs .tibs-share-menu.is-open .tibs-share-item:nth-child(6) {
  transition-delay: 0.24s;
}
#tibs .tibs-share-menu.is-open .tibs-share-item:hover {
  transform: translateY(-3px) scale(1.08);
  transition-delay: 0s;
}
#tibs .tibs-share-item:focus-visible {
  outline: 3px solid var(--tibs-gold);
  outline-offset: 3px;
}
#tibs .tibs-share-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition:
    background 0.2s,
    color 0.2s;
}
#tibs .tibs-share-ico svg {
  width: 20px;
  height: 20px;
}
#tibs .tibs-share-ico--wa {
  background: #25d366;
}
#tibs .tibs-share-ico--fb {
  background: #1877f2;
}
#tibs .tibs-share-ico--x {
  background: #111;
}
#tibs .tibs-share-ico--mail {
  background: var(--tibs-navy);
}
#tibs .tibs-share-ico--link {
  background: var(--tibs-gold);
  color: var(--tibs-navy);
}
#tibs .tibs-share-ico--more {
  background: var(--tibs-band);
  color: var(--tibs-navy);
}
#tibs .tibs-share-item.is-copied .tibs-share-ico {
  background: var(--tibs-green);
  color: #fff;
}

/* Tooltip under each icon */
#tibs .tibs-share-item::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--tibs-navy);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#tibs .tibs-share-item:hover::after,
#tibs .tibs-share-item:focus-visible::after,
#tibs .tibs-share-item.is-copied::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Gallery overlaps the bottom of the band */
#tibs .tibs-gallery-wrap {
  margin-top: -128px;
  z-index: 2;
}
@media (max-width: 780px) {
  #tibs .tibs-hero {
    padding: 104px 0 120px;
  }
  #tibs .tibs-gallery-wrap {
    margin-top: -88px;
  }
  #tibs .tibs-share-menu {
    right: auto;
    left: 0;
    transform-origin: 44px 0;
  }
  #tibs .tibs-share-menu::before {
    right: auto;
    left: 38px;
  }
}

/* "Why book with us" in the booking card */
#tibs .tibs-trust {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--tibs-line);
}
#tibs .tibs-trust-label {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tibs-soft);
}
#tibs .tibs-trust-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--tibs-ink);
}
#tibs .tibs-trust-row svg {
  color: var(--tibs-navy);
}

/* ---------- Gallery ---------- */
#tibs .tibs-gallery-wrap {
  position: relative;
}
#tibs .tibs-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
  border-radius: var(--tibs-r-lg);
  overflow: hidden;
}
/* Layout per photo count so there's never an orphan tile */
#tibs .tibs-gallery--n1 {
  grid-template-columns: 1fr;
  grid-template-rows: 440px;
}
#tibs .tibs-gallery--n2 {
  grid-template-columns: 2fr 1fr;
}
#tibs .tibs-gallery--n2 .tibs-gphoto:nth-child(2) {
  grid-row: 1 / 3;
}
#tibs .tibs-gallery--n3 {
  grid-template-columns: 2fr 1fr;
}
#tibs .tibs-gallery--n4 .tibs-gphoto:nth-child(4) {
  grid-column: 2 / 4;
}
#tibs .tibs-gphoto {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--tibs-navy);
}
#tibs .tibs-gphoto:first-child {
  grid-row: 1 / 3;
}
#tibs .tibs-gallery--n1 .tibs-gphoto:first-child {
  grid-row: auto;
}
#tibs .tibs-gphoto img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s ease;
}
#tibs .tibs-gphoto:hover img {
  transform: scale(1.04);
}
#tibs .tibs-gallery-all {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--tibs-ink);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(15, 23, 32, 0.18);
}
#tibs .tibs-gallery-all:hover {
  background: #fff;
  color: var(--tibs-ink);
}
#tibs .tibs-gallery-count {
  display: none !important;
}
@media (max-width: 780px) {
  #tibs .tibs-gallery {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 16px;
    scrollbar-width: none;
  }
  #tibs .tibs-gallery::-webkit-scrollbar {
    display: none;
  }
  #tibs .tibs-gphoto {
    flex: 0 0 100%;
    height: 280px;
    scroll-snap-align: start;
  }
  #tibs .tibs-gallery-all {
    display: none;
  }
  #tibs .tibs-gallery-count {
    display: block !important;
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(15, 23, 32, 0.6);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    pointer-events: none;
  }
}

/* ---------- Two columns ---------- */
#tibs .tibs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 64px;
  align-items: start;
  padding-top: 40px;
}
@media (max-width: 1024px) {
  #tibs .tibs-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

/* Key facts */
#tibs .tibs-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--tibs-line);
}
@media (max-width: 560px) {
  #tibs .tibs-facts {
    grid-template-columns: 1fr;
  }
}
#tibs .tibs-fact {
  display: flex;
  gap: 16px;
  align-items: center;
}
#tibs .tibs-fact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #ffbf1d;
  color: var(--tibs-navy);
}
#tibs .tibs-fact-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
#tibs .tibs-fact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}
#tibs .tibs-fact span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #1f2b3b;
}

/* Sticky section tabs */
#tibs .tibs-tabs {
  position: sticky;
  top: var(--tibs-top);
  z-index: 20;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
  border-bottom: 1px solid var(--tibs-line);
}
#tibs .tibs-tabs::-webkit-scrollbar {
  display: none;
}
#tibs .tibs-tabs a {
  flex-shrink: 0;
  padding: 18px 0 16px;
  font-size: 14.5px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--tibs-muted);
  border-bottom: 2.5px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
#tibs .tibs-tabs a:hover {
  color: var(--tibs-ink);
}
#tibs .tibs-tabs a.is-active {
  color: var(--tibs-ink);
  border-color: var(--tibs-navy);
}

/* Sections */
#tibs .tibs-sec {
  padding: 48px 0;
  border-bottom: 1px solid var(--tibs-line);
  scroll-margin-top: calc(var(--tibs-top) + 64px);
}
#tibs .tibs-sec:last-child {
  border-bottom: 0;
}
#tibs .tibs-h2 {
  margin-bottom: 20px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--tibs-ink);
}
#tibs .tibs-h3 {
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--tibs-ink);
}
#tibs .tibs-sub {
  margin-top: 36px;
}

#tibs .tibs-readmore {
  position: relative;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--tibs-body);
}
#tibs .tibs-readmore p,
#tibs .tibs-readmore ul,
#tibs .tibs-readmore ol {
  margin-bottom: 16px;
}
#tibs .tibs-readmore > :last-child {
  margin-bottom: 0;
}
#tibs .tibs-readmore ul {
  list-style: disc;
  padding-left: 20px;
}
#tibs .tibs-readmore ol {
  list-style: decimal;
  padding-left: 20px;
}
#tibs .tibs-readmore a {
  color: var(--tibs-navy);
  text-decoration: underline;
}
#tibs .tibs-readmore strong,
#tibs .tibs-readmore b {
  font-weight: 700;
}
#tibs .tibs-readmore.is-clamped {
  max-height: 190px;
  overflow: hidden;
}
#tibs .tibs-readmore.is-clamped::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
#tibs .tibs-textbtn {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tibs-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#tibs .tibs-textbtn:hover {
  background: none;
  color: var(--tibs-navy-2);
}

#tibs .tibs-checklist {
  display: grid;
  gap: 12px;
}
#tibs .tibs-checklist li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--tibs-ink);
}
#tibs .tibs-checklist li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background: #ffbd00
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%231F2B3B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat;

  /* background: var(--tibs-gold-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%231F2B3B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat; */
}

/* Itinerary timeline */
#tibs .tibs-timeline {
  position: relative;
}
#tibs .tibs-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: var(--tibs-line);
  border-radius: 3px;
}
#tibs .tibs-timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 30px;
}
#tibs .tibs-timeline > li:last-child {
  padding-bottom: 0;
}
#tibs .tibs-tl-dot {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--tibs-navy);
  color: #fff;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--tibs-line);
}
#tibs .tibs-timeline > li.is-start .tibs-tl-dot {
  background: var(--tibs-gold);
  color: var(--tibs-navy);
}
#tibs .tibs-timeline > li.is-end .tibs-tl-dot {
  background: var(--tibs-green);
  color: #fff;
}
/* Itinerary animation — only when tour-single.js adds .tibs-anim
   (so everything stays visible without JS or with reduced motion) */
#tibs .tibs-timeline::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  width: 3px;
  border-radius: 3px;
  height: var(--tibs-tl-progress, 0px);
  max-height: calc(100% - 36px);
  background: var(--tibs-gold);
  transition: height 0.12s linear;
}
#tibs .tibs-timeline > li.is-reached:not(.is-start):not(.is-end) .tibs-tl-dot {
  background: var(--tibs-gold);
  color: var(--tibs-navy);
}
#tibs .tibs-timeline > li.is-reached .tibs-tl-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--tibs-gold);
  opacity: 0;
  animation: tibs-ping 0.9s ease-out 1;
}
@keyframes tibs-ping {
  0% {
    opacity: 0.9;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}
#tibs.tibs-anim .tibs-tl-dot {
  opacity: 0;
  transform: scale(0.4);
  transition:
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}
#tibs.tibs-anim .tibs-tl-card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease 0.08s,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s;
}
#tibs.tibs-anim .tibs-timeline > li.is-in .tibs-tl-dot {
  opacity: 1;
  transform: none;
}
#tibs.tibs-anim .tibs-timeline > li.is-in .tibs-tl-card {
  opacity: 1;
  transform: none;
}
#tibs .tibs-tl-card img {
  transition:
    transform 0.5s ease,
    box-shadow 0.3s ease;
}
#tibs .tibs-timeline > li:hover .tibs-tl-card img {
  transform: scale(1.04);
  box-shadow: 0 10px 22px rgba(31, 43, 59, 0.16);
}
#tibs .tibs-tl-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px;
  align-items: start;
  padding-top: 4px;
}
#tibs .tibs-tl-card.is-noimg {
  grid-template-columns: 1fr;
}
#tibs .tibs-tl-time {
  display: inline-block !important;
  margin-bottom: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tibs-muted);
}
#tibs .tibs-tl-title {
  margin-bottom: 6px;
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 700;
}
#tibs .tibs-tl-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--tibs-muted);
}
#tibs .tibs-tl-card img {
  width: 132px;
  height: 96px;
  max-width: none;
  border-radius: 12px;
  object-fit: cover;
  background: var(--tibs-navy);
}
@media (max-width: 560px) {
  #tibs .tibs-tl-card {
    grid-template-columns: 1fr;
  }
  #tibs .tibs-tl-card img {
    width: 100%;
    height: 160px;
  }
}

/* Included */
#tibs .tibs-incl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 640px) {
  #tibs .tibs-incl {
    grid-template-columns: 1fr;
  }
}
#tibs .tibs-incl ul {
  display: grid;
  gap: 12px;
  align-content: start;
}
#tibs .tibs-incl li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
}
#tibs .tibs-incl li svg {
  margin-top: 2px;
}
#tibs .tibs-incl-yes svg {
  color: var(--tibs-green);
}
#tibs .tibs-incl-no li {
  color: var(--tibs-muted);
}
#tibs .tibs-incl-no svg {
  color: var(--tibs-soft);
}
#tibs .tibs-info {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--tibs-line);
}
#tibs .tibs-info > div {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--tibs-line);
}
@media (max-width: 560px) {
  #tibs .tibs-info > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
#tibs .tibs-info dt {
  font-size: 14px;
  font-weight: 700;
}
#tibs .tibs-info dd {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--tibs-body);
}
#tibs .tibs-callout {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: var(--tibs-r-md);
  background: var(--tibs-green-tint);
}
#tibs .tibs-callout svg {
  color: var(--tibs-green);
  margin-top: 2px;
}
#tibs .tibs-callout strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 700;
}
#tibs .tibs-callout p {
  font-size: 14px;
  line-height: 1.6;
  color: #2f4f3b;
}

/* Meeting point */
#tibs .tibs-meet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  border: 1.5px solid var(--tibs-line);
  border-radius: var(--tibs-r-lg);
  overflow: hidden;
}
@media (max-width: 640px) {
  #tibs .tibs-meet {
    grid-template-columns: 1fr;
  }
}
#tibs .tibs-meet-text {
  padding: 26px;
  display: grid;
  gap: 18px;
  align-content: start;
}
#tibs .tibs-meet-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--tibs-body);
}
#tibs .tibs-meet-text .tibs-btn {
  justify-self: start;
}
#tibs .tibs-meet-map {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tibs-navy);
  background:
    linear-gradient(90deg, rgba(31, 43, 59, 0.05) 1px, transparent 1px) 0 0 /
      28px 28px,
    linear-gradient(rgba(31, 43, 59, 0.05) 1px, transparent 1px) 0 0 / 28px 28px,
    #eef2f5;
}

/* Reviews */
#tibs .tibs-revsum {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
  padding: 24px;
  border-radius: var(--tibs-r-lg);
  background: var(--tibs-band);
}
@media (max-width: 560px) {
  #tibs .tibs-revsum {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
#tibs .tibs-revscore strong {
  display: block;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
#tibs .tibs-revcount {
  display: block !important;
  font-size: 13.5px;
  color: var(--tibs-muted);
}
#tibs .tibs-stars {
  display: inline-flex !important;
  gap: 2px;
  color: var(--tibs-gold);
  margin: 8px 0 4px;
}
#tibs .tibs-star {
  display: inline-flex !important;
}
#tibs .tibs-star.is-off {
  opacity: 0.25;
}
#tibs .tibs-bars {
  display: grid;
  gap: 8px;
}
#tibs .tibs-bar {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--tibs-muted);
}
#tibs .tibs-bar-track {
  display: block !important;
  height: 8px;
  border-radius: 8px;
  background: #e1e4e8;
  overflow: hidden;
}
#tibs .tibs-bar-track span {
  display: block !important;
  height: 100%;
  border-radius: 8px;
  background: var(--tibs-navy);
}
#tibs .tibs-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) {
  #tibs .tibs-reviews {
    grid-template-columns: 1fr;
  }
}
#tibs .tibs-review {
  border: 1.5px solid var(--tibs-line);
  border-radius: var(--tibs-r-md);
  padding: 20px;
}
#tibs .tibs-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
#tibs .tibs-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--tibs-navy);
  color: #fff;
  font-weight: 700;
}
#tibs .tibs-review-head strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}
#tibs .tibs-review-head span {
  font-size: 12.5px;
  color: var(--tibs-muted);
}
#tibs .tibs-review .tibs-stars {
  margin: 0 0 8px;
}
#tibs .tibs-review p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--tibs-body);
}
#tibs .tibs-more {
  margin-top: 20px;
}

/* FAQ */
#tibs .tibs-faq {
  border-top: 1px solid var(--tibs-line);
}
#tibs .tibs-faq details {
  border-bottom: 1px solid var(--tibs-line);
}
#tibs .tibs-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}
#tibs .tibs-faq summary::-webkit-details-marker {
  display: none;
}
#tibs .tibs-faq summary svg {
  color: var(--tibs-muted);
  transition: transform 0.25s;
}
#tibs .tibs-faq details[open] summary svg {
  transform: rotate(45deg);
}
#tibs .tibs-faq details p {
  padding: 0 40px 20px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--tibs-muted);
}

/* ---------- Booking card ---------- */
#tibs .tibs-book {
  position: sticky;
  top: calc(var(--tibs-top) + 24px);
  width: 100%;
  scroll-margin-top: calc(var(--tibs-top) + 16px);
}
#tibs .tibs-book-card {
  border: 1.5px solid var(--tibs-line);
  border-radius: var(--tibs-r-lg);
  padding: 24px;
  background: #fff;
}
#tibs .tibs-book-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 4px;
}
#tibs .tibs-book-price small {
  font-size: 13.5px;
  color: var(--tibs-muted);
}
#tibs .tibs-book-price strong {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
#tibs .tibs-book-price s {
  font-size: 16px;
  color: var(--tibs-soft);
  text-decoration: line-through;
}
#tibs .tibs-save {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  color: #6b4e00;
  background: var(--tibs-gold-tint);
  padding: 3px 8px;
  border-radius: 999px;
}
#tibs .tibs-book-per {
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--tibs-muted);
}
#tibs .tibs-sk {
  display: block;
  border-radius: 12px;
  background: linear-gradient(90deg, #f1f3f5 25%, #e7eaee 50%, #f1f3f5 75%);
  background-size: 200% 100%;
  animation: tibs-sk 1.4s ease-in-out infinite;
}
#tibs .tibs-sk--t {
  height: 20px;
  width: 55%;
}
#tibs .tibs-sk--c {
  height: 250px;
}
#tibs .tibs-sk--b {
  height: 50px;
}
#tibs .tibs-sk-note {
  font-size: 13px;
  color: var(--tibs-muted);
  text-align: center;
}
@keyframes tibs-sk {
  to {
    background-position: -200% 0;
  }
}
/* ---------- Availability calendar (v1.7) ---------- */
#tibs .tibs-bk {
  display: grid;
  gap: 20px;
}
#tibs .tibs-bk-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tibs-ink);
}
#tibs .tibs-bk-label span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tibs-muted);
}
#tibs .tibs-bk-step[hidden] {
  display: none !important;
}
#tibs .tibs-next-avail {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1.5px solid var(--tibs-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--tibs-navy);
}
#tibs .tibs-next-avail[hidden] {
  display: none !important;
}
#tibs .tibs-next-avail:hover {
  border-color: var(--tibs-navy);
  background: #fff;
  color: var(--tibs-navy);
}
#tibs .tibs-next-avail i {
  display: inline-block !important;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tibs-green);
}
/* Smooth fold/unfold: animate grid rows 0fr ↔ 1fr (height of the content) */
#tibs .tibs-collapse {
  display: grid !important;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.25s ease,
    margin 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#tibs .tibs-collapse.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
#tibs .tibs-collapse-inner {
  min-height: 0;
  overflow: hidden;
}
#tibs .tibs-collapse:not(.is-open) .tibs-collapse-inner {
  visibility: hidden;
  transition: visibility 0s 0.38s;
}
#tibs .tibs-collapse .tibs-cal {
  transform: translateY(-6px);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#tibs .tibs-collapse.is-open .tibs-cal {
  transform: none;
}
@keyframes tibs-step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#tibs #tibs-slot-step:not([hidden]) {
  animation: tibs-step-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#tibs .tibs-date-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--tibs-navy);
  border-radius: 14px;
  background: #fff;
  color: var(--tibs-ink);
  text-align: left;
  transition: background 0.15s;
}
#tibs .tibs-date-card:hover {
  background: var(--tibs-band);
  color: var(--tibs-ink);
}
#tibs .tibs-date-card-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--tibs-gold-tint);
  color: var(--tibs-navy);
}
#tibs .tibs-date-card-text {
  flex: 1;
  min-width: 0;
  display: block !important;
}
#tibs .tibs-date-card-text small {
  display: block;
  font-size: 12px;
  color: var(--tibs-muted);
}
#tibs .tibs-date-card-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
#tibs .tibs-date-card-change {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tibs-navy);
}
#tibs .tibs-cal {
  border: 1.5px solid var(--tibs-line);
  border-radius: 16px;
  padding: 14px 12px 12px;
}
#tibs .tibs-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
#tibs .tibs-cal-head strong {
  font-size: 15px;
  font-weight: 700;
}
#tibs .tibs-cal-nav {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1.5px solid var(--tibs-line);
  background: #fff;
  color: var(--tibs-navy);
  display: flex !important;
  align-items: center;
  justify-content: center;
}
#tibs .tibs-cal-nav:hover:not(:disabled) {
  border-color: var(--tibs-navy);
  background: #fff;
}
#tibs .tibs-cal-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
#tibs .tibs-cal-week,
#tibs .tibs-cal-grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
#tibs .tibs-cal-week {
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--tibs-soft);
}
#tibs .tibs-day {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tibs-ink);
  transition:
    background 0.15s,
    color 0.15s;
}
#tibs .tibs-day::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
}
#tibs .tibs-day.is-open::after {
  background: var(--tibs-green);
}
#tibs .tibs-day.is-low::after {
  background: var(--tibs-gold-dark);
}
#tibs .tibs-day.is-open:hover,
#tibs .tibs-day.is-low:hover {
  background: var(--tibs-band);
  color: var(--tibs-ink);
}
#tibs .tibs-day:disabled {
  cursor: default;
  color: #c9cdd3;
  font-weight: 500;
}
#tibs .tibs-day.is-soldout {
  text-decoration: line-through;
}
#tibs .tibs-day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--tibs-line);
}
#tibs .tibs-day.is-selected,
#tibs .tibs-day.is-selected:hover {
  background: var(--tibs-navy);
  color: #fff;
}
#tibs .tibs-day.is-selected::after {
  background: #fff;
}
#tibs .tibs-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--tibs-line);
  font-size: 12px;
  color: var(--tibs-muted);
}
#tibs .tibs-cal-legend span {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
#tibs .tibs-cal-legend i {
  display: inline-block !important;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
#tibs .tibs-cal-legend i.is-open {
  background: var(--tibs-green);
}
#tibs .tibs-cal-legend i.is-low {
  background: var(--tibs-gold-dark);
}
#tibs .tibs-cal-legend s {
  text-decoration: line-through;
  color: #c9cdd3;
}
#tibs .tibs-slots {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
#tibs .tibs-slot {
  display: grid !important;
  gap: 2px;
  padding: 10px 12px;
  border: 1.5px solid var(--tibs-line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  color: var(--tibs-ink);
  transition:
    border-color 0.15s,
    background 0.15s;
}
#tibs .tibs-slot strong {
  font-size: 15px;
  font-weight: 700;
}
#tibs .tibs-slot span {
  font-size: 12px;
  color: var(--tibs-muted);
}
#tibs .tibs-slot.is-low span {
  color: #8a6500;
  font-weight: 700;
}
#tibs .tibs-slot:hover:not(:disabled) {
  border-color: var(--tibs-navy);
  background: #fff;
  color: var(--tibs-ink);
}
#tibs .tibs-slot.is-selected,
#tibs .tibs-slot.is-selected:hover {
  border-color: var(--tibs-navy);
  background: var(--tibs-navy);
  color: #fff;
}
#tibs .tibs-slot.is-selected span {
  color: rgba(255, 255, 255, 0.75);
}
#tibs .tibs-slot:disabled {
  cursor: default;
  opacity: 0.45;
}
#tibs .tibs-party {
  border: 1.5px solid var(--tibs-line);
  border-radius: 16px;
}
#tibs .tibs-party-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 14px;
}
#tibs .tibs-party-row + .tibs-party-row {
  border-top: 1px solid var(--tibs-line);
}
#tibs .tibs-party-row strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}
#tibs .tibs-party-row small {
  font-size: 12.5px;
  color: var(--tibs-muted);
}
#tibs .tibs-pctrl {
  display: flex;
  align-items: center;
  gap: 4px;
}
#tibs .tibs-pctrl button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--tibs-line);
  background: #fff;
  color: var(--tibs-navy);
  display: flex !important;
  align-items: center;
  justify-content: center;
}
#tibs .tibs-pctrl button:hover:not(:disabled) {
  border-color: var(--tibs-navy);
  background: #fff;
}
#tibs .tibs-pctrl button:disabled {
  opacity: 0.35;
  cursor: default;
}
#tibs .tibs-pctrl output {
  min-width: 34px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}
#tibs .tibs-party-hint {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--tibs-muted);
}
/* Desktop: the card scrolls on its own, never taller than the screen */
@media (min-width: 1025px) {
  #tibs .tibs-book-card {
    max-height: calc(100vh - var(--tibs-top) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d5d9de transparent;
  }
  #tibs .tibs-book-card::-webkit-scrollbar {
    width: 8px;
  }
  #tibs .tibs-book-card::-webkit-scrollbar-thumb {
    background: #d5d9de;
    border-radius: 8px;
    border: 2px solid #fff;
  }
  #tibs .tibs-bk-cta {
    position: sticky;
    bottom: -24px;
    z-index: 2;
    margin: 0 -24px -24px;
    padding: 4px 24px 24px;
    background: #fff;
    box-shadow: 0 -14px 18px -10px rgba(31, 43, 59, 0.1);
  }
  #tibs .tibs-bk-cta .tibs-bk-sum {
    border-top: 0;
  }
}
#tibs .tibs-bk-cta {
  display: grid;
  gap: 14px;
}
#tibs .tibs-bk-sum {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--tibs-line);
  border-bottom: 1px solid var(--tibs-line);
  font-size: 14px;
}
#tibs .tibs-bk-sum > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
#tibs .tibs-bk-sum span {
  color: var(--tibs-muted);
}
#tibs .tibs-bk-sum .is-total {
  font-size: 16px;
  font-weight: 700;
}
#tibs .tibs-bk-sum .is-total span {
  color: var(--tibs-ink);
}

#tibs .tibs-perks {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
#tibs .tibs-perks:empty {
  display: none;
}
#tibs .tibs-perks li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
}
#tibs .tibs-perks svg {
  color: var(--tibs-green);
  margin-top: 1px;
}
#tibs .tibs-perks strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
#tibs .tibs-perks span {
  color: var(--tibs-muted);
}
@media (max-width: 1024px) {
  #tibs .tibs-book {
    position: static;
    margin-top: 48px;
  }
  #tibs .tibs-book-card {
    box-shadow: none;
  }
}

/* ---------- Similar tours ---------- */
#tibs .tibs-similar {
  margin-top: 64px;
  padding: 88px 0 112px;
  background: var(--tibs-band);
  box-shadow: 0 0 0 100vmax var(--tibs-band);
  clip-path: inset(0 -100vmax);
}
#tibs .tibs-similar-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
#tibs .tibs-similar-head .tibs-h2 {
  margin: 0;
  font-size: 28px;
}
#tibs .tibs-similar-head a {
  font-weight: 700;
  color: var(--tibs-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#tibs .tibs-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 960px) {
  #tibs .tibs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  #tibs .tibs-cards {
    grid-template-columns: 1fr;
  }
}
#tibs .tibs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: var(--tibs-r-lg);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.2s;
}
#tibs .tibs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(31, 43, 59, 0.12);
  border-color: var(--tibs-gold);
}
#tibs .tibs-card-media {
  position: relative;
  height: 200px;
  background: var(--tibs-navy);
  overflow: hidden;
}
#tibs .tibs-card-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
#tibs .tibs-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 32, 0.58);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
}
#tibs .tibs-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#tibs .tibs-card-tag {
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--tibs-muted);
}
#tibs .tibs-card-title {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}
#tibs .tibs-card-title a {
  color: inherit;
}
#tibs .tibs-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
#tibs .tibs-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--tibs-line);
  font-size: 13.5px;
  color: var(--tibs-muted);
}
#tibs .tibs-card-foot strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--tibs-ink);
}
#tibs .tibs-card-rate {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--tibs-ink);
  font-weight: 700;
}
#tibs .tibs-card-rate svg {
  color: var(--tibs-gold);
}

/* ---------- Buttons ---------- */
:is(#tibs, #tibs-layer) .tibs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14.5px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
:is(#tibs, #tibs-layer) .tibs-btn:hover {
  transform: translateY(-2px);
}
:is(#tibs, #tibs-layer) .tibs-btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
:is(#tibs, #tibs-layer) .tibs-btn--gold,
:is(#tibs, #tibs-layer) .tibs-btn--gold:hover {
  color: var(--tibs-navy);
}
:is(#tibs, #tibs-layer) .tibs-btn--gold {
  background: var(--tibs-gold);
}
:is(#tibs, #tibs-layer) .tibs-btn--gold:hover {
  background: var(--tibs-gold-dark);
}
:is(#tibs, #tibs-layer) .tibs-btn--navy {
  background: var(--tibs-navy);
  color: #fff;
}
:is(#tibs, #tibs-layer) .tibs-btn--navy:hover {
  background: var(--tibs-navy-2);
  color: #fff;
}
:is(#tibs, #tibs-layer) .tibs-btn--ghost {
  background: #fff;
  color: var(--tibs-navy);
  border-color: var(--tibs-line);
}
:is(#tibs, #tibs-layer) .tibs-btn--ghost:hover {
  background: #fff;
  color: var(--tibs-navy);
  border-color: var(--tibs-navy);
}
:is(#tibs, #tibs-layer) .tibs-btn--block {
  width: 100%;
  padding: 15px;
  font-size: 15px;
}
:is(#tibs, #tibs-layer) .tibs-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tibs-band);
  color: var(--tibs-ink);
}
:is(#tibs, #tibs-layer) .tibs-close:hover {
  background: #e7eaee;
  color: var(--tibs-ink);
}
#tibs-layer .tibs-close--dark,
#tibs-layer .tibs-close--dark:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---------- Fixed layer: mobile bar ---------- */
#tibs-layer .tibs-mbar {
  display: none;
}
@media (max-width: 1024px) {
  #tibs-layer .tibs-mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100040;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--tibs-line);
    box-shadow: 0 -10px 30px rgba(15, 23, 32, 0.08);
  }
  #tibs-layer .tibs-mbar small {
    display: block;
    font-size: 12px;
    color: var(--tibs-muted);
  }
  #tibs-layer .tibs-mbar strong {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  body.tibs-has-mbar {
    padding-bottom: 84px;
  }
}

/* ---------- Fixed layer: overlay + booking drawer ---------- */
#tibs-layer .tibs-overlay {
  position: fixed;
  inset: 0;
  z-index: 100090;
  background: rgba(15, 23, 32, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
#tibs-layer .tibs-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
#tibs-layer .tibs-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100100;
  width: 480px;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.38s;
}
#tibs-layer .tibs-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}
body.admin-bar #tibs-layer .tibs-drawer {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar #tibs-layer .tibs-drawer {
    top: 46px;
  }
}
#tibs-layer .tibs-dhead {
  padding: 20px 24px;
  border-bottom: 1px solid var(--tibs-line);
}
#tibs-layer .tibs-dtour {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
#tibs-layer .tibs-dtour img,
#tibs-layer .tibs-dthumb {
  display: block !important;
  width: 72px;
  height: 56px;
  max-width: none;
  border-radius: 10px;
  object-fit: cover;
  background: var(--tibs-navy);
  flex-shrink: 0;
}
#tibs-layer .tibs-dtour > div {
  flex: 1;
  min-width: 0;
}
#tibs-layer .tibs-dtour small {
  display: block;
  margin-bottom: 2px;
  font-size: 12.5px;
  color: var(--tibs-muted);
}
#tibs-layer .tibs-dtitle {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}
#tibs-layer .tibs-steps {
  display: flex;
  align-items: center;
  gap: 12px;
}
#tibs-layer .tibs-snav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tibs-soft);
  white-space: nowrap;
}
#tibs-layer .tibs-snav > span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  background: var(--tibs-band);
  color: var(--tibs-muted);
}
#tibs-layer .tibs-snav.is-current {
  color: var(--tibs-ink);
}
#tibs-layer .tibs-snav.is-current > span {
  background: var(--tibs-navy);
  color: #fff;
}
#tibs-layer .tibs-snav.is-done > span {
  background: var(--tibs-green);
  color: #fff;
}
#tibs-layer .tibs-snav-line {
  flex: 1;
  height: 2px;
  min-width: 24px;
  background: var(--tibs-line);
}
#tibs-layer .tibs-dbody {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 24px;
}
#tibs-layer .tibs-dfoot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--tibs-line);
}
#tibs-layer .tibs-dfoot small {
  display: block;
  font-size: 12px;
  color: var(--tibs-soft);
}
#tibs-layer .tibs-dfoot strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
#tibs-layer .tibs-fields {
  display: grid;
  gap: 20px;
}
#tibs-layer .tibs-field {
  display: grid;
  gap: 6px;
}
#tibs-layer .tibs-lbl {
  font-size: 13.5px;
  font-weight: 600;
}
#tibs-layer .tibs-opt {
  font-weight: 500;
  color: var(--tibs-soft);
}
#tibs-layer .tibs-hint {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--tibs-muted);
}
#tibs-layer .tibs-err {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--tibs-red);
}
#tibs-layer .tibs-err:empty {
  display: none;
}
#tibs-layer .tibs-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  #tibs-layer .tibs-row2 {
    grid-template-columns: 1fr;
  }
}
#tibs-layer .tibs-input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--tibs-line);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
  color: var(--tibs-ink);
  box-shadow: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
#tibs-layer textarea.tibs-input {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}
#tibs-layer .tibs-input:focus {
  outline: none;
  border-color: var(--tibs-navy);
  box-shadow: 0 0 0 3px rgba(31, 43, 59, 0.08);
}
#tibs-layer .tibs-input[aria-invalid="true"] {
  border-color: #d92d20;
}
#tibs-layer .tibs-people {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1.5px solid var(--tibs-line);
  border-radius: 12px;
  padding: 8px 8px 8px 16px;
}
#tibs-layer .tibs-people strong {
  font-size: 15px;
  font-weight: 700;
}
#tibs-layer .tibs-people-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
}
#tibs-layer .tibs-people-ctrl button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--tibs-line);
  background: #fff;
  color: var(--tibs-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
#tibs-layer .tibs-people-ctrl button:hover:not(:disabled) {
  border-color: var(--tibs-navy);
  background: #fff;
}
#tibs-layer .tibs-people-ctrl button:disabled {
  opacity: 0.35;
  cursor: default;
}
#tibs-layer .tibs-people-ctrl output {
  min-width: 40px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}
#tibs-layer .tibs-grey {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--tibs-band);
  font-size: 14px;
}
#tibs-layer .tibs-grey > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
#tibs-layer .tibs-grey span {
  color: var(--tibs-muted);
}
#tibs-layer .tibs-grey strong {
  font-weight: 700;
  text-align: right;
}
#tibs-layer .tibs-summary {
  margin-bottom: 20px;
}
#tibs-layer .tibs-link {
  justify-self: start;
  padding: 0;
  background: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tibs-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
#tibs-layer .tibs-link:hover {
  background: none;
  color: var(--tibs-navy-2);
}
#tibs-layer .tibs-note {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--tibs-muted);
}
#tibs-layer .tibs-formmsg {
  font-size: 14px;
  line-height: 1.5;
  color: var(--tibs-red);
}
#tibs-layer .tibs-formmsg:empty {
  display: none;
}
#tibs-layer .tibs-success {
  text-align: center;
  padding: 40px 8px;
}
#tibs-layer .tibs-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--tibs-green);
  color: #fff;
}
#tibs-layer .tibs-success h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
}
#tibs-layer .tibs-success p {
  margin: 0 auto;
  max-width: 36ch;
  line-height: 1.6;
  color: var(--tibs-muted);
}

/* ---------- Fixed layer: lightbox + toast ---------- */
#tibs-layer .tibs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100150;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(10, 14, 20, 0.94);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}
#tibs-layer .tibs-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
#tibs-layer .tibs-lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
#tibs-layer .tibs-lb-stage {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  min-height: 0;
}
#tibs-layer .tibs-lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}
#tibs-layer .tibs-lb-nav {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
#tibs-layer .tibs-lb-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
#tibs-layer .tibs-lb-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 14px 20px 20px;
  overflow-x: auto;
}
#tibs-layer .tibs-lb-thumbs button {
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #222;
  opacity: 0.55;
}
#tibs-layer .tibs-lb-thumbs button.is-active {
  border-color: var(--tibs-gold);
  opacity: 1;
}
#tibs-layer .tibs-lb-thumbs img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
@media (max-width: 640px) {
  #tibs-layer .tibs-lb-stage {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
  #tibs-layer .tibs-lb-nav {
    width: 38px;
    height: 38px;
  }
}

#tibs-layer .tibs-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 100200;
  transform: translate(-50%, -160%);
  visibility: hidden;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--tibs-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  pointer-events: none;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.35s;
}
#tibs-layer .tibs-toast.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
}

html.tibs-lock,
html.tibs-lock body {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  #tibs *,
  #tibs-layer * {
    transition: none !important;
    animation: none !important;
  }
}

/* Sample reviews + GetYourGuide rating (v1.9.3) */
#tibs .tibs-revnote p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tibs-ink);
}
#tibs .tibs-revnote a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#tibs .tibs-revnote .tibs-revnote-small {
  margin: 0;
  font-size: 13.5px;
  color: var(--tibs-muted);
}
#tibs .tibs-sample {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tibs-band);
  color: var(--tibs-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
}

#tibs-layer .tibs-drawer {
  z-index: 100100000000;
}
