/* 2026-11-08: stable Coco De Tour navigation and native scrolling.
   This stylesheet is deliberately loaded after the legacy theme stack.
   Nav appearance no longer flips between white and dark elements after 12px. */
body.app-theme .navbar_new.nav-minimal,
body.app-theme .navbar_new.nav-minimal.nav-solid,
body.editorial-home.app-theme .navbar_new.nav-minimal,
body.editorial-home.app-theme .navbar_new.nav-minimal.nav-solid,
body.editorial-home.app-theme .navbar_new.nav-minimal:not(.nav-solid),
body.home-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) {
  position: fixed !important;
  inset: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 0 8px !important;
  background: rgba(249, 246, 240, .98) !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(26, 65, 55, .12) !important;
  box-shadow: 0 2px 14px rgba(22, 39, 32, .045) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
  z-index: 1000 !important;
}
body.app-theme .nav-minimal__content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  max-width: 1440px !important;
  min-height: 48px !important;
  gap: 14px !important;
  margin-inline: auto !important;
  padding-inline: clamp(18px, 3.5vw, 48px) !important;
}
body.app-theme .navbar_new.nav-minimal .nav-cell--left {
  grid-column: 1;
  justify-self: start;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}
body.app-theme .navbar_new.nav-minimal .nav-cell--brand {
  grid-column: 2;
  justify-self: center;
  justify-content: center;
  min-width: 0;
}
body.app-theme .navbar_new.nav-minimal .nav-cell--right {
  grid-column: 3;
  justify-self: end;
  justify-content: flex-end;
  min-width: 0;
  gap: 10px;
}
body.app-theme .navbar_new.nav-minimal .nav-link,
body.app-theme .navbar_new.nav-minimal.nav-solid .nav-link,
body.editorial-home.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-link,
body.home-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-link,
body.destination-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-link {
  color: #1b443d !important;
  -webkit-text-fill-color: #1b443d !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  opacity: 1 !important;
  transition: opacity .15s ease !important;
}
body.app-theme .navbar_new.nav-minimal .nav-link:hover { opacity: .68 !important; }
body.app-theme .navbar_new.nav-minimal .nav_logo--image {
  width: 69px !important;
  height: 47px !important;
}
body.app-theme .navbar_new.nav-minimal .nav_logo--image img,
body.app-theme .navbar_new.nav-minimal.nav-solid .nav_logo--image img,
body.editorial-home.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav_logo--image img,
body.home-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav_logo--image img,
body.destination-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav_logo--image img {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  filter: none !important;
  transition: none !important;
}
body.app-theme .navbar_new.nav-minimal .nav-profile,
body.app-theme .navbar_new.nav-minimal.nav-solid .nav-profile,
body.editorial-home.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-profile,
body.home-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-profile,
body.destination-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-profile {
  color: #1b443d !important;
  -webkit-text-fill-color: #1b443d !important;
  transition: none !important;
}
body.app-theme .navbar_new.nav-minimal .nav-profile--initials {
  display: inline-grid;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  place-items: center !important;
  border: 1px solid #d0d8d0 !important;
  border-radius: 50% !important;
  background: #fffdf9 !important;
  color: #1b443d !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
body.app-theme .navbar_new.nav-minimal .nav-book-link,
body.app-theme .navbar_new.nav-minimal.nav-solid .nav-book-link,
body.editorial-home.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-book-link,
body.home-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-book-link,
body.destination-page.app-theme .navbar_new.nav-minimal:not(.nav-solid) .nav-book-link {
  min-height: 40px !important;
  padding: 10px 17px !important;
  border: 1px solid #19483e !important;
  border-radius: 999px !important;
  background: #19483e !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .15s ease !important;
}
body.app-theme .navbar_new.nav-minimal .nav-book-link:hover {
  background: #2c6555 !important;
  border-color: #2c6555 !important;
}
/* Preserve the previous rule: don't offer a duplicated CTA on its destination. */
body.request-selection-page .navbar_new.nav-minimal .nav-book-link,
body.profile-page .navbar_new.nav-minimal .nav-book-link { display: none !important; }
/* No snapping or gesture hijacking in the older landing experiment either. */
body.app-theme .coco-landing.coco-story-feed,
body.luxury-home .coco-landing.coco-story-feed {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  overscroll-behavior-y: auto !important;
}
body.app-theme .coco-story,
body.luxury-home .coco-story { scroll-snap-align: none !important; scroll-snap-stop: normal !important; }
/* Keep native wheel/touch scrolling and avoid jumpy CSS smooth-scroll rules. */
html:has(body.app-theme) { scroll-behavior: auto !important; }
body.app-theme .page-container.swipe-stack { scroll-snap-type: none !important; scroll-behavior: auto !important; }
@media (max-width: 700px) {
  body.app-theme .navbar_new.nav-minimal,
  body.editorial-home.app-theme .navbar_new.nav-minimal:not(.nav-solid) {
    padding: calc(7px + env(safe-area-inset-top, 0px)) 0 7px !important;
  }
  body.app-theme .nav-minimal__content {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    min-height: 47px !important;
    padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)) !important;
  }
  body.app-theme .navbar_new.nav-minimal .nav-cell--left { display: none !important; }
  body.app-theme .navbar_new.nav-minimal .nav-cell--brand { grid-column: 1; justify-self: start; }
  body.app-theme .navbar_new.nav-minimal .nav-cell--right { grid-column: 2; justify-self: end; gap: 11px; }
  body.app-theme .navbar_new.nav-minimal .nav_logo--image { width: 66px !important; height: 43px !important; }
  body.app-theme .navbar_new.nav-minimal .nav-book-link { min-height: 39px !important; padding: 10px 14px !important; font-size: 11px !important; }
  body.app-theme .navbar_new.nav-minimal .nav-login__icon { width: 24px !important; height: 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.app-theme .navbar_new.nav-minimal *,
  body.app-theme .navbar_new.nav-minimal *::before,
  body.app-theme .navbar_new.nav-minimal *::after { animation: none !important; transition: none !important; }
}
/* Stabilize exact navbar geometry; the old nav-solid state changed its height. */
body.app-theme .navbar_new.nav-minimal,
body.app-theme .navbar_new.nav-minimal.nav-solid,
body.editorial-home.app-theme .navbar_new.nav-minimal:not(.nav-solid) {
  height: calc(72px + env(safe-area-inset-top, 0px)) !important;
  box-sizing: border-box !important;
}
body.app-theme .nav-minimal__content {
  height: 55px !important;
  min-height: 55px !important;
}
/* Keep one clear booking action reachable while the homepage scrolls. */
body.editorial-home.app-theme .navbar_new.nav-minimal .nav-book-link {
  display: inline-flex !important;
}
@media (max-width: 700px) {
  body.app-theme .navbar_new.nav-minimal,
  body.app-theme .navbar_new.nav-minimal.nav-solid,
  body.editorial-home.app-theme .navbar_new.nav-minimal:not(.nav-solid) {
    height: calc(64px + env(safe-area-inset-top, 0px)) !important;
  }
  body.app-theme .nav-minimal__content {
    height: 49px !important;
    min-height: 49px !important;
  }
}

/* The old .nav-solid selector has higher specificity: cover both states. */
body.editorial-home.app-theme .navbar_new.nav-minimal.nav-solid,
body.home-page.app-theme .navbar_new.nav-minimal.nav-solid,
body.destination-page.app-theme .navbar_new.nav-minimal.nav-solid {
  height: calc(72px + env(safe-area-inset-top, 0px)) !important;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 0 8px !important;
  box-sizing: border-box !important;
}
@media (max-width: 700px) {
  body.editorial-home.app-theme .navbar_new.nav-minimal.nav-solid,
  body.home-page.app-theme .navbar_new.nav-minimal.nav-solid,
  body.destination-page.app-theme .navbar_new.nav-minimal.nav-solid {
    height: calc(64px + env(safe-area-inset-top, 0px)) !important;
    padding: calc(7px + env(safe-area-inset-top, 0px)) 0 7px !important;
  }
}
