
/* BUNDLED FROM back-navigation-v435.css */
/* V435 — Scoped Back navigation visibility and Explore-context restoration.
   This file intentionally touches navigation controls only. */
#aboutModal.v84-full-page > .site-modal-panel > [data-close-about],
#contactModal.v84-full-page > .site-modal-panel > [data-close-contact],
#exploreCategoryModal.v84-full-page > .content-tab-panel > [data-close-explore-category],
#tzSafarisTab.v84-full-page[data-safari-view-mode="all"] > .content-tab-panel > [data-close-tz-safaris],
.v435-from-explore.v84-full-page > .tour-modal-panel > .tour-modal-close,
.v435-from-explore.v84-full-page > .content-tab-panel > .content-tab-close{
  position:sticky!important;
  top:calc(var(--v435-header-offset, 78px) + 10px)!important;
  float:none!important;
  margin:10px 0 -56px 14px!important;
  z-index:4900!important;
  width:auto!important;
  min-width:96px!important;
  max-width:max-content!important;
  height:42px!important;
  padding:0 16px!important;
  border:2px solid #f56b16!important;
  border-radius:999px!important;
  background:#062a47!important;
  color:#fff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  font-size:16px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 5px 18px rgba(0,0,0,.22)!important;
  cursor:pointer!important;
  visibility:visible!important;
  opacity:1!important;
  white-space:nowrap!important;
}
#aboutModal.v84-full-page > .site-modal-panel > [data-close-about]:hover,
#contactModal.v84-full-page > .site-modal-panel > [data-close-contact]:hover,
#exploreCategoryModal.v84-full-page > .content-tab-panel > [data-close-explore-category]:hover,
#tzSafarisTab.v84-full-page[data-safari-view-mode="all"] > .content-tab-panel > [data-close-tz-safaris]:hover,
.v435-from-explore.v84-full-page > .tour-modal-panel > .tour-modal-close:hover,
.v435-from-explore.v84-full-page > .content-tab-panel > .content-tab-close:hover{
  background:#f56b16!important;
  color:#fff!important;
}
#aboutModal [data-close-about] .back-label,
#contactModal [data-close-contact] .back-label,
#exploreCategoryModal [data-close-explore-category] .back-label,
#tzSafarisTab [data-close-tz-safaris] .back-label,
.v435-from-explore .back-label{
  display:inline!important;
  color:inherit!important;
  font-size:.9rem!important;
}
@media(max-width:700px){
  #aboutModal.v84-full-page > .site-modal-panel > [data-close-about],
  #contactModal.v84-full-page > .site-modal-panel > [data-close-contact],
  #exploreCategoryModal.v84-full-page > .content-tab-panel > [data-close-explore-category],
  #tzSafarisTab.v84-full-page[data-safari-view-mode="all"] > .content-tab-panel > [data-close-tz-safaris],
  .v435-from-explore.v84-full-page > .tour-modal-panel > .tour-modal-close,
  .v435-from-explore.v84-full-page > .content-tab-panel > .content-tab-close{
    top:calc(var(--v435-header-offset, 68px) + 8px)!important;
    margin:8px 0 -52px 10px!important;
    min-width:90px!important;
    height:40px!important;
    padding:0 13px!important;
    font-size:15px!important;
  }
}


/* BUNDLED FROM infant-tier-policy-v447.css */
/* V447 — visual clarification only; no pricing arithmetic is defined here. */
.v447-infant-tier-note{
  margin:12px 0 0;
  padding:11px 13px;
  border-left:4px solid #f56b16;
  border-radius:8px;
  background:#fff8f2;
  color:#334155;
  font-size:13px;
  line-height:1.55;
}
.v447-infant-tier-note strong{color:#062a47}


/* BUNDLED FROM water-sports-chrome-v437.css */
/* V437 — Isolated Water Sports & Leisure activity-detail global chrome fix.
   Scope is limited to #v385LeisureActivityDetail so unrelated page/booking styles remain untouched. */
#v385LeisureActivityDetail.v84-full-page{
  background:#fff!important;
  overflow:auto!important;
}
#v385LeisureActivityDetail.v84-full-page > .v385-leisure-detail-panel{
  width:100%!important;
  max-width:none!important;
  min-height:100dvh!important;
  margin:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#v385LeisureActivityDetail.v84-full-page > .v385-leisure-detail-panel > .v84-page-footer{
  width:100%!important;
  margin-top:48px!important;
}
#v385LeisureActivityDetail.v84-full-page .v385-detail-back{
  position:sticky!important;
  top:calc(var(--v437-leisure-header-height, 78px) + 10px)!important;
  left:auto!important;
  margin:10px 0 -62px 14px!important;
  z-index:12195!important;
}
@media(max-width:700px){
  #v385LeisureActivityDetail.v84-full-page .v385-detail-back{
    top:calc(var(--v437-leisure-header-height, 68px) + 8px)!important;
    margin:8px 0 -56px 10px!important;
  }
  #v385LeisureActivityDetail.v84-full-page > .v385-leisure-detail-panel > .v84-page-footer{margin-top:34px!important}
}


/* BUNDLED FROM performance-v481.css */
/* V481 — Smooth package-detail scrolling performance layer.
   Long itinerary/detail content for Mount Kilimanjaro, Tanzania Safari Packages,
   and Tanzania & Zanzibar Packages is intentionally NOT deferred with
   content-visibility. Those details are already present in the DOM and should
   paint normally so guests can scroll through fully rendered text without
   late pop-in/reveal effects. Safe card/media optimizations remain below. */

@supports (content-visibility: auto) {
  /* Lightweight/repeatable cards outside the three long package-detail families. */
  .tour-card,
  .combo-card,
  .leisure-card,
  .hotel-name-card,
  .hotel-info-card,
  .holiday-package-block,
  .transfer-price-card,
  .transfer-inclusion-note,
  .transfer-vehicle-showcase,
  .rock-transfer-pricing,
  .v381-public-facts,
  .horse-riding-gallery {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
    contain: layout paint style;
  }

  /* Zanzibar Holiday Package day rows retain the existing safe optimization. */
  .holiday-day {
    content-visibility: auto;
    contain-intrinsic-size: 1px 220px;
    contain: layout paint style;
  }
}

/* Small paint containment wins on media wrappers only; this does not defer text. */
.transfer-category-main-hero,
.tz-package-hero,
.tzbz-photo-hero,
.kili-photo-hero,
.hotel-card-hero,
.leisure-photo-hero {
  contain: paint;
}


/* BUNDLED FROM featured-experiences-v502.css?v=514 */
/* V502 Featured Experiences: cards are in a horizontal grid.
   The generic V481 900px content-visibility placeholder made the whole mobile
   slider ~900px tall and moved its booking/view CTA below the screen.
   The ten tiny thumbnails are now light enough to render normally. */
@supports (content-visibility: auto) {
  #tourSlider > .tour-card {
    content-visibility: visible;
    contain: none;
    contain-intrinsic-size: auto;
  }
}

/* V511: accessible manual carousel controls alongside four-second autoplay. */
#tours .featured-scroll-controls{display:flex;align-items:center;justify-content:flex-end;gap:11px;margin:-18px 0 16px}
#tours .featured-scroll-controls button{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;border:1px solid #c8d7e3;background:#fff;color:#062a47;font-size:28px;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease}
#tours .featured-scroll-controls button:not(:disabled):hover{background:#fff0e7;border-color:#f56b16}
#tours .featured-scroll-controls button:focus-visible{outline:3px solid #f56b16;outline-offset:3px}
#tours .featured-scroll-controls button:disabled{opacity:.38;cursor:default}
#tours .featured-scroll-counter{min-width:47px;text-align:center;font-size:13px;font-weight:700;color:#38506a}
@media(max-width:800px){#tours .featured-scroll-controls{margin:-14px 0 12px}}


/* BUNDLED FROM runtime-stability-v444.css */
/* V444 — Mobile navigation interaction safety.
   A hidden drawer backdrop must never remain a painted or interactive layer. */
@media (max-width:860px){
  .site-header .mobile-nav-backdrop[hidden]{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}

/* Keep Zanzibar Day Tour / Sunset Back control below the cloned sticky header
   in both normal navigation and Explore-context navigation. */
#tourDetailsModal.v84-full-page > .tour-modal-panel > .tour-modal-close,
#sunsetModal.v84-full-page > .tour-modal-panel > .tour-modal-close{
  top:calc(var(--v435-header-offset, 78px) + 10px)!important;
}
@media (max-width:700px){
  #tourDetailsModal.v84-full-page > .tour-modal-panel > .tour-modal-close,
  #sunsetModal.v84-full-page > .tour-modal-panel > .tour-modal-close{
    top:calc(var(--v435-header-offset, 68px) + 8px)!important;
  }
}

/* V444 — Full-page Back controls must remain below the sticky site header.
   Applies to ordinary full-page tour/category controls; Tanzania Safari hero Back
   (.tz-safari-package-back) keeps its established V338 hero position. */
#mikumiModal.v84-full-page > .tour-modal-panel > .tour-modal-close,
#nyerereModal.v84-full-page > .nyerere-panel > .nyerere-close,
.content-tab-modal.v84-full-page > .content-tab-panel > .content-tab-close:not(.tz-safari-package-back){
  top:calc(var(--v435-header-offset, 82px) + 8px)!important;
}
@media (max-width:700px){
  #mikumiModal.v84-full-page > .tour-modal-panel > .tour-modal-close,
  #nyerereModal.v84-full-page > .nyerere-panel > .nyerere-close,
  .content-tab-modal.v84-full-page > .content-tab-panel > .content-tab-close:not(.tz-safari-package-back){
    top:calc(var(--v435-header-offset, 72px) + 8px)!important;
  }
}


/* BUNDLED FROM availability-workflow-v445.css */
/* V445 global availability workflow UI helpers */
.mts-av-ref{display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .7rem;border-radius:999px;background:#eef6fb;color:#062a47;font-weight:800;font-size:.84rem}
.mts-av-pending{color:#7a4b00}.mts-av-confirmed{color:#0b6b3a}.mts-av-declined{color:#9b1c1c}


/* BUNDLED FROM water-sports-wheel-scroll-v438.css */
/* V438 — Zanzibar Water Sports & Leisure activity-detail mouse-wheel scroll ownership.
   Scope is deliberately limited to #v385LeisureActivityDetail.
   The outer full-page activity view is the one vertical scroll host; the inner detail
   panel must not trap wheel/trackpad scrolling through the global V416 scroll-host rules. */
#v385LeisureActivityDetail.v84-full-page{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
}
#v385LeisureActivityDetail.v84-full-page > .v385-leisure-detail-panel{
  overflow:visible!important;
  overscroll-behavior:auto!important;
  scrollbar-gutter:auto!important;
}


/* BUNDLED FROM accommodation-chrome-scroll-v439.css */
/* V439 — Accommodation detail global chrome + PC mouse-wheel scroll ownership.
   Scope is deliberately limited to #v386HotelDetail so unrelated categories,
   booking engines, prices, galleries, policies and global scroll behavior are untouched. */
#v386HotelDetail.v84-full-page{
  background:#fff!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
}
#v386HotelDetail.v84-full-page > .v386-hotel-detail-panel{
  width:100%!important;
  max-width:none!important;
  min-height:100dvh!important;
  margin:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  /* The outer accommodation page is the only vertical scroll owner. */
  overflow:visible!important;
  overscroll-behavior:auto!important;
  scrollbar-gutter:auto!important;
}
#v386HotelDetail.v84-full-page > .v386-hotel-detail-panel > .v84-page-footer{
  width:100%!important;
  margin-top:48px!important;
}
#v386HotelDetail.v84-full-page .v386-hotel-detail-back{
  position:sticky!important;
  top:calc(var(--v439-accommodation-header-height, 78px) + 10px)!important;
  left:auto!important;
  margin:10px 0 -62px 14px!important;
  z-index:12220!important;
}
@media(max-width:800px){
  #v386HotelDetail.v84-full-page .v386-hotel-detail-back{
    top:calc(var(--v439-accommodation-header-height, 68px) + 8px)!important;
    left:auto!important;
    margin:8px 0 -56px 10px!important;
  }
  #v386HotelDetail.v84-full-page > .v386-hotel-detail-panel > .v84-page-footer{
    margin-top:34px!important;
  }
}
/* While an accommodation detail is open, no hidden mobile header backdrop may intercept the Back control. */
body.v386-hotel-detail-open .mobile-nav-backdrop[hidden]{
  display:none!important;
  pointer-events:none!important;
}


/* BUNDLED FROM tanzania-safari-navigation-v440.css */
/* ==========================================================
   V440 — Tanzania Safari package full-width detail alignment
   Scope: Tanzania Safari 3–6 day package detail views only.
   Matches the existing V84 full-page presentation used by other
   product detail pages without changing package content/pricing.
   ========================================================== */
#tz3mikumi-road.v84-full-page > .tz-package-panel,
#tz3north.v84-full-page > .tz-package-panel,
#tz3serengeti.v84-full-page > .tz-package-panel,
#tz4serengeti.v84-full-page > .tz-package-panel,
#tz5circuit.v84-full-page > .tz-package-panel,
#tz6circuit.v84-full-page > .tz-package-panel{
  width:100% !important;
  max-width:none !important;
  min-height:100dvh !important;
  max-height:none !important;
  margin:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
  background:#fff !important;
}

/* Full-width package heroes align visually with Zanzibar Tour full-page heroes. */
#tz3mikumi-road.v84-full-page .tz-package-hero,
#tz3north.v84-full-page .tz-package-hero,
#tz3serengeti.v84-full-page .tz-package-hero,
#tz4serengeti.v84-full-page .tz-package-hero,
#tz5circuit.v84-full-page .tz-package-hero,
#tz6circuit.v84-full-page .tz-package-hero{
  border-radius:0 !important;
}


/* BUNDLED FROM nyerere-daytrip-layout-v441.css */
/* V441 — Nyerere day-trip layout refinement only.
   Aligns the Nyerere day trip presentation with the Mikumi day-trip visual hierarchy
   while keeping the existing Nyerere booking/open/close behavior unchanged. */

#nyerereModal .nyerere-panel{
  max-width:1100px;
}
#nyerereModal.v84-full-page .nyerere-panel{
  max-width:none!important;
}

#nyerereModal .nyerere-hero{
  position:relative;
  min-height:430px!important;
  height:430px;
  overflow:hidden;
  background:#041d30;
}
#nyerereModal .nyerere-hero>img{
  width:100%!important;
  height:430px!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block;
  opacity:.78;
}
#nyerereModal .nyerere-hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(6,42,71,.90),rgba(6,42,71,.28) 68%,transparent);
}
#nyerereModal .nyerere-hero-copy{
  position:absolute;
  z-index:2;
  left:48px;
  right:auto;
  bottom:46px;
  color:#fff;
  max-width:650px;
}
#nyerereModal .nyerere-hero-copy small{
  color:#f56b16;
  font-weight:800;
  letter-spacing:.12em;
}
#nyerereModal .nyerere-hero-copy h2{
  font-size:44px;
  line-height:1.04;
  margin:10px 0;
}
#nyerereModal .nyerere-hero-copy p{
  margin:0;
  font-size:18px;
  line-height:1.55;
}
#nyerereModal .nyerere-modal-tags{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px;
}
#nyerereModal .nyerere-modal-tags span{
  background:rgba(255,255,255,.16);
  backdrop-filter:blur(6px);
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}
#nyerereModal .nyerere-pricing{
  margin-top:14px;
}
#nyerereModal .nyerere-pricing strong{
  display:inline-block;
  background:#fff;
  color:#f56b16;
  padding:10px 15px;
  border-radius:12px;
  font-size:18px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

#nyerereModal .nyerere-content{
  padding:38px 44px 46px;
}
#nyerereModal .nyerere-content h3{
  color:#062a47;
  margin:0 0 12px;
}
#nyerereModal .nyerere-content p,
#nyerereModal .nyerere-content li{
  color:#647480;
  line-height:1.75;
}
#nyerereModal .nyerere-overview p{
  margin:0 0 14px;
}

/* Plain itinerary: deliberately no cards/boxes. */
#nyerereModal .nyerere-itinerary-plain{
  margin-top:34px;
}
#nyerereModal .nyerere-itinerary-plain h3{
  margin-bottom:20px;
}
#nyerereModal .nyerere-itinerary-plain h4{
  color:#062a47;
  font-size:17px;
  line-height:1.45;
  margin:24px 0 7px;
}
#nyerereModal .nyerere-itinerary-plain p{
  margin:0;
  max-width:940px;
}

#nyerereModal .nyerere-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:34px 0;
}
#nyerereModal .nyerere-detail-grid section{
  background:#f7f5ef;
  border:1px solid #ece6da;
  border-radius:16px;
  padding:24px;
}
#nyerereModal .nyerere-detail-grid h3{
  margin:0 0 10px;
}
#nyerereModal .nyerere-detail-grid ul{
  padding-left:19px;
  margin:0;
}
#nyerereModal .nyerere-detail-grid a{
  color:#f56b16;
  font-weight:800;
  overflow-wrap:anywhere;
}

#nyerereModal .nyerere-gallery-section{
  margin-top:34px;
}
#nyerereModal .nyerere-gallery-section h3{
  margin-top:6px;
}
#nyerereModal .nyerere-gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:16px 0;
}
#nyerereModal .nyerere-gallery img,
#nyerereModal .nyerere-gallery video{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
}
#nyerereModal .nyerere-book-row{
  margin-top:30px;
  padding:24px;
  border-radius:16px;
  background:#062a47;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
#nyerereModal .nyerere-book-row>div{
  display:flex;
  flex-direction:column;
  gap:5px;
}
#nyerereModal .nyerere-book-row span{
  color:#dbe6ed;
}
#nyerereModal .nyerere-book{
  margin-top:0;
  border:0;
  cursor:pointer;
  white-space:nowrap;
}

@media(max-width:800px){
  #nyerereModal .nyerere-hero{
    min-height:400px!important;
    height:400px;
  }
  #nyerereModal .nyerere-hero>img{
    height:400px!important;
  }
  #nyerereModal .nyerere-hero-copy{
    left:24px;
    right:24px;
    bottom:28px;
    max-width:none;
  }
  #nyerereModal .nyerere-hero-copy h2{
    font-size:34px;
  }
  #nyerereModal .nyerere-content{
    padding:28px 20px 36px;
  }
  #nyerereModal .nyerere-detail-grid{
    grid-template-columns:1fr;
  }
  #nyerereModal .nyerere-gallery{
    grid-template-columns:1fr 1fr;
  }
  #nyerereModal .nyerere-gallery img,
  #nyerereModal .nyerere-gallery video{
    height:150px;
  }
  #nyerereModal .nyerere-book-row{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* BUNDLED FROM kili-full-image-v473.css */
/* V473 Kilimanjaro full-image hero treatment.
   Shows the complete source photo inside the existing hero frame while a
   softened copy of the same photo fills any unused space behind it. */
.kili-full-image-v473{
  isolation:isolate;
  background:#062a47;
}
.kili-full-image-v473::before{
  content:"";
  position:absolute;
  inset:-28px;
  z-index:0;
  background-image:var(--kili-full-image-v473,none);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:blur(20px) brightness(.48) saturate(.9);
  transform:scale(1.08);
  pointer-events:none;
}
.kili-full-image-v473>img{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
}
.seo-hero.kili-full-image-v473::after{
  z-index:2;
  background:linear-gradient(90deg,rgba(3,29,48,.92),rgba(3,29,48,.58) 55%,rgba(3,29,48,.20));
}
.seo-hero.kili-full-image-v473 .seo-hero-copy{
  z-index:3;
}
.kili-hero.kili-photo-hero.kili-full-image-v473::after{
  z-index:2;
}
.kili-hero.kili-photo-hero.kili-full-image-v473>span,
.kili-hero.kili-photo-hero.kili-full-image-v473>.v393-kili-from{
  z-index:3;
}

