/* Tour detail pages — shared with manu-reserve-zone.html template */
:root { --booking-bar-h: 56px; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-padding-top: calc(var(--nav-h) + var(--booking-bar-h));
}

body {
  background: var(--surface-light);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
}

.tour-hero--carousel {
  background: var(--brand-deep);
}

.tour-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tour-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.tour-hero__slide.is-active {
  opacity: 1;
}

.tour-hero__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
}

.tour-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(245, 242, 235, 0.55);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.tour-hero__dot.is-active,
.tour-hero__dot:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

.tour-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  max-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: calc(var(--logo-overhang) + 16px);
  background: var(--tour-hero-img, none) center/cover no-repeat, var(--brand-deep);
}

.tour-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--overlay-brand) 0%, var(--overlay-brand-mid) 55%, transparent 100%),
    linear-gradient(to top, rgba(0, 38, 20, 0.88) 0%, transparent 52%);
}

.tour-hero__foliage { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.tour-hero__content {
  position: relative;
  z-index: 5;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-x) 48px;
}

.tour-hero__breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tour-hero__breadcrumb a,
.tour-hero__breadcrumb span { font-size: var(--text-xs); font-weight: 500; color: var(--cream-soft); text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; }
.tour-hero__breadcrumb a:hover { color: var(--cream); }
.tour-hero__breadcrumb .sep { color: rgba(245, 242, 235, 0.25); }

.tour-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tour-hero__eyebrow-line { width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.tour-hero__eyebrow-text { font-size: var(--text-xs); font-weight: 500; color: var(--gold-lt); letter-spacing: 0.22em; text-transform: uppercase; }

.tour-hero__title {
  font-family: var(--font-display);
  font-size: var(--title-hero);
  font-weight: 400;
  color: var(--cream);
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tour-hero__title em { font-style: normal; color: var(--gold-lt); }

.tour-hero__duration { font-size: var(--text-sm); font-weight: 300; color: var(--cream-soft); letter-spacing: 0.05em; }

.tour-hero__tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tour-hero__tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--cream-muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-on-dark);
  padding: 6px 14px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.tour-hero__tag svg { width: 13px; height: 13px; stroke: var(--brand-soft); fill: none; stroke-width: 1.5; stroke-linecap: round; flex-shrink: 0; }

.booking-bar { position: relative; z-index: 900; background: var(--bar-on-dark-bg); border-bottom: 1px solid var(--border-on-dark); margin: 0; }
.booking-bar.is-pinned { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1001; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18); }
body.booking-bar-pinned #aw-header-wrap { visibility: hidden; pointer-events: none; }
.booking-bar-placeholder { display: none; height: 0; }
body.booking-bar-pinned .booking-bar-placeholder { display: block; }
body.booking-bar-pinned .tour-sidebar { top: calc(var(--booking-bar-h) + 16px); }

.booking-bar__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--section-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--booking-bar-h);
  height: var(--booking-bar-h);
}

.booking-bar__tabs { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: none; }
.booking-bar__tabs::-webkit-scrollbar { display: none; }

.booking-bar__tab {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 0 16px;
  height: var(--booking-bar-h);
  display: flex;
  align-items: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.booking-bar__tab:hover { color: rgba(255, 255, 255, 0.8); }
.booking-bar__tab.active,
.booking-bar__tab[aria-current="true"] { color: var(--gold-lt); border-color: var(--gold); }

.booking-bar__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.booking-bar__price { text-align: right; }
.booking-bar__from { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: rgba(255, 255, 255, 0.45); letter-spacing: var(--track-label); text-transform: uppercase; }
.booking-bar__amount { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--cream); line-height: 1; letter-spacing: var(--track-display); }

.booking-bar__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-on-gold);
  background: var(--gold-lt);
  padding: 10px 24px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
}

.booking-bar__cta:hover { background: var(--gold); }

.tour-body {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 64px var(--section-x);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: start;
}

.t-section { margin-bottom: 56px; }
.t-section:last-child { margin-bottom: 0; }

.t-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.t-eyebrow span:first-child { width: 24px; height: 1px; background: var(--gold); display: block; flex-shrink: 0; }
.t-eyebrow span:last-child {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--eyebrow-on-light);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}

.t-title {
  font-size: var(--title-block);
  color: var(--ink);
  margin-bottom: 20px;
}
.t-title em { font-style: normal; color: var(--brand); }

.t-body { font-size: var(--text-prose); font-weight: var(--weight-light); color: var(--ink-muted); line-height: var(--lh-prose); }
.t-body strong { font-weight: 500; color: var(--ink); }
.t-body p + p { margin-top: 16px; }

.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-on-light);
  margin-bottom: 48px;
  background: var(--surface-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 40, 20, 0.05);
}

.fact-item { padding: 18px 20px; border-right: 1px solid var(--border-on-light); }
.fact-item:last-child { border-right: none; }
.fact-label { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--ink-soft); letter-spacing: var(--track-eyebrow); text-transform: uppercase; margin-bottom: 6px; }
.fact-value { font-size: var(--text-md); color: var(--ink); line-height: 1.2; }

.itinerary { display: flex; flex-direction: column; gap: 0; }

.itin-day {
  border: 1px solid var(--border-on-light);
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: var(--surface-white);
  box-shadow: 0 2px 16px rgba(0, 40, 20, 0.05);
}

.itin-day__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  transition: background 0.2s;
}

.itin-day__header:hover { background: var(--fill-on-light); }

.itin-day__num {
  width: 64px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  flex-shrink: 0;
  border-right: 1px solid var(--border-on-light);
}

.itin-day__num-label { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--brand); letter-spacing: var(--track-label); text-transform: uppercase; }
.itin-day__num-n { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--brand-deep); line-height: 1; letter-spacing: var(--track-display); }
.itin-day__info { flex: 1; padding: 0 24px; }
.itin-day__route { font-size: var(--text-sm); font-weight: 500; color: var(--ink); letter-spacing: 0.03em; }
.itin-day__sub { font-size: var(--text-xs); font-weight: 300; color: var(--ink-soft); margin-top: 3px; }
.itin-day__arrow { width: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.itin-day__arrow svg { width: 16px; height: 16px; stroke: var(--ink-soft); fill: none; stroke-width: 1.5; stroke-linecap: round; transition: transform 0.25s; }
.itin-day.open .itin-day__arrow svg { transform: rotate(180deg); }
.itin-day__body { display: none; padding: 28px 28px 28px 88px; border-top: 1px solid var(--border-on-light); background: var(--fill-on-light); }
.itin-day.open .itin-day__body { display: block; }
.itin-day__text { font-size: var(--text-prose); font-weight: var(--weight-light); color: var(--ink-muted); line-height: var(--lh-prose); margin-bottom: 20px; }
.itin-day__text + .itin-day__text { margin-top: 12px; }

.itin-highlights { margin-top: 20px; }
.itin-highlights__title { font-size: var(--text-xs); font-weight: 600; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.itin-highlight { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-on-light); }
.itin-highlight:last-child { border-bottom: none; }
.itin-highlight__num { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: rgba(184, 137, 42, 0.45); line-height: 1; flex-shrink: 0; width: 24px; text-align: center; }
.itin-highlight__text { font-size: var(--text-sm); font-weight: var(--weight-light); color: var(--ink-muted); line-height: 1.65; }
.itin-highlight__text strong { font-weight: 500; color: var(--ink); }

.itin-day__photo {
  --itin-photo-h: 380px;
  min-height: var(--itin-photo-h);
  height: var(--itin-photo-h);
  margin-top: 20px;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: linear-gradient(160deg, #1a3a22 0%, #0d2414 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itin-day__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.itin-day__photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0, 38, 20, 0.85), transparent);
  font-family: var(--font-serif);
  font-size: var(--text-xs);
  font-style: normal;
  color: var(--cream-soft);
}

.includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.includes-col { background: var(--surface-white); border: 1px solid var(--border-on-light); padding: 24px; border-radius: var(--card-radius); box-shadow: 0 2px 16px rgba(0, 40, 20, 0.05); }
.includes-col__title { font-size: var(--text-xs); font-weight: 600; color: var(--brand); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.includes-col__title svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }
.includes-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.includes-list li { font-size: var(--text-sm); font-weight: var(--weight-light); color: var(--ink-muted); padding-left: 14px; position: relative; line-height: 1.6; }
.includes-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 1px; background: var(--brand-soft); }
.includes-list.excl li::before { background: rgba(160, 60, 60, 0.5); }

.packing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.packing-item { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; background: var(--surface-white); border: 1px solid var(--border-on-light); border-radius: var(--card-radius); }
.packing-item svg { width: 13px; height: 13px; stroke: var(--brand-soft); fill: none; stroke-width: 1.5; stroke-linecap: round; flex-shrink: 0; margin-top: 1px; }
.packing-item span { font-size: var(--text-sm); font-weight: var(--weight-light); color: var(--ink-muted); line-height: 1.5; }

.map-wrapper { border-radius: var(--card-radius); overflow: hidden; border: 1px solid var(--border-on-light); box-shadow: 0 4px 24px rgba(0, 40, 20, 0.08); }
.map-wrapper iframe { display: block; width: 100%; height: 420px; border: none; }

.tour-sidebar { position: sticky; top: calc(var(--nav-h) + var(--booking-bar-h)); }
.sidebar-card { background: var(--surface-white); border: 1px solid var(--border-on-light); border-radius: var(--card-radius); overflow: hidden; margin-bottom: 16px; box-shadow: 0 4px 24px rgba(0, 40, 20, 0.08); }
.sidebar-card__head { padding: 20px 22px; border-bottom: 1px solid var(--border-on-light); background: var(--brand-light); }
.sidebar-card__title { font-family: var(--font-display); font-size: var(--title-card); font-weight: 400; color: var(--ink); margin-bottom: 4px; letter-spacing: var(--track-display); text-transform: uppercase; }
.sidebar-card__sub { font-size: var(--text-xs); font-weight: 300; color: var(--ink-soft); letter-spacing: 0.04em; }
.sidebar-card__body { padding: 20px 22px; }

.price-block { margin-bottom: 20px; }
.price-block__from { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--ink-soft); letter-spacing: var(--track-label); text-transform: uppercase; margin-bottom: 4px; }
.price-block__amount { font-family: var(--font-display); font-size: 38px; font-weight: 400; color: var(--ink); line-height: 1; letter-spacing: var(--track-display); }
.price-block__per { font-size: var(--text-xs); font-weight: 300; color: var(--ink-soft); margin-left: 6px; }
.price-block__note { font-size: var(--text-xs); font-weight: 300; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }

.sidebar-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; padding: 16px 0; border-top: 1px solid var(--border-on-light); border-bottom: 1px solid var(--border-on-light); }
.sidebar-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sidebar-meta-label { font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.sidebar-meta-label svg { width: 13px; height: 13px; stroke: var(--brand-soft); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.sidebar-meta-value { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink); text-align: right; }

.btn-book-full {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-on-gold);
  background: var(--gold-lt);
  padding: 15px;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: background 0.2s, transform 0.15s;
}

.btn-book-full:hover { background: var(--gold); transform: translateY(-1px); }

.btn-enquire {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--brand);
  background: transparent;
  padding: 13px;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-on-light);
  transition: border-color 0.2s, background 0.2s;
}

.btn-enquire:hover { border-color: var(--brand); background: var(--fill-on-light); }

.sidebar-dates { display: flex; flex-direction: column; gap: 6px; }
.sidebar-date-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: var(--fill-on-light); border: 1px solid var(--border-on-light); border-radius: var(--card-radius); text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.sidebar-date-item:hover { background: var(--fill-on-light-hover); border-color: var(--brand-soft); }
.sidebar-date-item__date { font-size: var(--text-xs); font-weight: 500; color: var(--ink); }
.sidebar-date-item__spots { font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--gold-lt); }
.sidebar-date-item__spots.urgent { color: #c45a20; }
.sidebar-dates-link { font-size: var(--text-xs); font-weight: 500; color: var(--brand); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 5px; margin-top: 10px; transition: gap 0.2s; }
.sidebar-dates-link:hover { gap: 9px; color: var(--brand-hover); }
.sidebar-dates-link::after { content: '→'; }

.similar-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--fill-on-light); border: 1px solid var(--border-on-light); border-radius: var(--card-radius); text-decoration: none; margin-bottom: 8px; transition: background 0.2s; }
.similar-card:hover { background: var(--fill-on-light-hover); }
.similar-card__icon { width: 40px; height: 40px; border-radius: var(--card-radius); background: var(--brand-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.similar-card__icon svg { width: 18px; height: 18px; stroke: var(--brand-soft); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.similar-card__name { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink); line-height: 1.25; }
.similar-card__dur { font-size: var(--text-sm); font-weight: var(--weight-light); color: var(--ink-soft); margin-top: 2px; }
.similar-card__arrow { margin-left: auto; font-size: var(--text-sm); color: var(--gold); flex-shrink: 0; }

@media (max-width: 960px) {
  .tour-body { grid-template-columns: 1fr; padding: 40px var(--section-x); }
  .tour-sidebar { position: static; order: -1; }
  .tour-main { order: 0; }
  .facts-strip { grid-template-columns: repeat(2, 1fr); }
  .includes-grid { grid-template-columns: 1fr; }
  .packing-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-hero__content { padding-bottom: 40px; }
  .itin-day__body { padding: 24px; }
}

@media (max-width: 580px) {
  .tour-hero__title { font-size: 38px; }
  .packing-grid { grid-template-columns: 1fr; }
  .facts-strip { grid-template-columns: 1fr 1fr; }
  .booking-bar__inner { flex-wrap: wrap; min-height: 0; height: auto; padding: 12px var(--section-x); }
  .booking-bar__tabs { width: 100%; order: 2; }
  .booking-bar__actions { width: 100%; justify-content: space-between; order: 1; margin-bottom: 8px; }
}
