/* Responsive overrides for Vibgyor Holidays */

/* HtmlContent: ensure lists and paragraphs render correctly */
.html-content ul,
.html-content ol {
  padding-left: 1.25em;
  margin: 0 0 1em 0;
}
.html-content ul { list-style: disc; }
.html-content ol { list-style: decimal; }
.html-content li {
  margin-bottom: 0.35em;
}
.html-content p {
  margin-bottom: 1em;
}
.html-content p:last-child {
  margin-bottom: 0;
}

/*
 * Theme `style.css` sets all `input { width: 100%; height: 50px; }`, which blows up checkboxes/radios.
 */
input[type='checkbox'],
input[type='radio'] {
  width: 1.125rem !important;
  max-width: 1.125rem !important;
  height: 1.125rem !important;
  min-height: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  margin: 0;
  flex-shrink: 0;
  vertical-align: middle;
  box-sizing: border-box;
}
input[type='radio'] {
  border-radius: 50%;
}

/* Tour detail: Included = green tick, Excluded = red cross (replace list bullets) */
.tour-incl-excl--included .html-content ul,
.tour-incl-excl--included .html-content ol,
.tour-incl-excl--excluded .html-content ul,
.tour-incl-excl--excluded .html-content ol {
  list-style: none !important;
  padding-left: 0 !important;
}
.tour-incl-excl--included .html-content ul > li,
.tour-incl-excl--included .html-content ol > li,
.tour-incl-excl--excluded .html-content ul > li,
.tour-incl-excl--excluded .html-content ol > li {
  position: relative;
  padding-left: 1.65rem;
  list-style: none !important;
}
/* Filled green circle + white tick (inclusions) */
.tour-incl-excl--included .html-content ul > li::before,
.tour-incl-excl--included .html-content ol > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23059669'/%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M7.5 12.5l2.8 2.8 6.2-6.2'/%3E%3C/svg%3E")
    no-repeat center / contain;
}
/* Filled red circle + white cross (exclusions) */
.tour-incl-excl--excluded .html-content ul > li::before,
.tour-incl-excl--excluded .html-content ol > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23DC2626'/%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' d='M8.5 8.5l7 7M15.5 8.5l-7 7'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

/* Horizontal overflow: avoid overflow-x:hidden on html/body — it breaks position:sticky on the header. Clip content area only. */
html,
body {
  max-width: 100%;
}
main.main {
  overflow-x: clip;
  max-width: 100%;
}

/* Frontend site header: stay at top while scrolling (template JS only adds .stick after 200px → fixed). */
.header.sticky-bar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: var(--bs-neutral-0, #fff);
}
[data-bs-theme='dark'] .header.sticky-bar {
  background-color: var(--bs-background-body, #1a1a1a);
}
/* Dark: template .header uses neutral-200 — too light on black; safed line jaisa lagta tha */
[data-bs-theme='dark'] .header {
  border-bottom: 1px solid var(--bs-border-color, #313131) !important;
}
[data-bs-theme='dark'] .sticky-bar.stick {
  border-bottom: 1px solid var(--bs-border-color, #313131) !important;
}
.header.sticky-bar.stick {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  animation: none !important;
  -webkit-animation: none !important;
}

/* Compact header action styling */
.header .main-header {
  min-height: 72px;
  gap: 14px;
}
.header .main-header .header-right {
  gap: 8px;
}
.header .main-header .header-right .vh-header-action {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.header .main-header .header-right .vh-header-region {
  margin-right: 2px;
}
.header .main-header .header-right .vh-header-signin .btn-signin {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}
.header .main-header .header-right .change-mode {
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  color: #111827;
  border-radius: 14px !important;
}
.header .main-header .header-right .change-mode:hover {
  background: transparent !important;
  box-shadow: none !important;
}
.header .main-header .header-right .change-mode svg {
  width: 24px;
  height: 24px;
}
.header .main-header .header-right .vh-header-region-compact .rs-trigger {
  min-height: 46px;
}
.header .main-header .header-right .burger-icon-2 {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border-radius: 13px;
  line-height: 1;
  background: #ffea00;
  box-shadow: none;
}
.header .main-header .header-right .burger-icon-2 img {
  width: 18px;
  height: 18px;
  display: block;
  margin: 0;
  filter: brightness(0);
}
.header .main-header .header-right .burger-icon {
  display: none !important;
}
[data-bs-theme='dark'] .header .main-header .header-right .change-mode {
  color: #f9fafb;
}

@media (max-width: 767.98px) {
  .header .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header .main-header {
    min-height: 64px;
    gap: 8px;
  }
  .header .main-header .header-right {
    gap: 6px;
    padding-right: 0 !important;
  }
  .header .main-header .header-right .change-mode,
  .header .main-header .header-right .burger-icon-2 {
    width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
  }
  .header .main-header .header-right .burger-icon {
    display: block !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
    flex-shrink: 0;
  }
  .header .main-header .header-right .burger-icon-2 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .header .main-header .header-right .vh-header-region-compact .rs-trigger {
    min-height: 42px;
  }
}

/*
 * Mobile header taps: closed off-canvas layers are fixed full-height — must not intercept touches.
 * Also keep header-right above header-left (theme uses width:100% on .header-left / .header-nav).
 */
@media (max-width: 1199.98px) {
  .header .main-header .header-left {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 8px);
  }
  .header .main-header .header-left .header-nav {
    display: none !important;
  }
  .header .main-header .header-right {
    position: relative;
    z-index: 5;
    flex: 0 0 auto !important;
  }
  .header .main-header .header-right .burger-icon-2,
  .header .main-header .header-right .burger-icon {
    position: relative;
    z-index: 6;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
}

.mobile-header-wrapper-style:not(.sidebar-visible),
.sidebar-canvas-wrapper:not(.sidebar-canvas-visible) {
  pointer-events: none !important;
}
.mobile-header-wrapper-style.sidebar-visible,
.sidebar-canvas-wrapper.sidebar-canvas-visible {
  pointer-events: auto !important;
}

/* Main nav: active = logo indigo + same bottom bar on every item (template link is position:relative). */
:root {
  --vh-nav-active: #5e17eb;
  --vh-nav-active-hover: #4b14c7;
  --vh-nav-active-dark: #a78bfa;
  --vh-nav-active-dark-hover: #c4b5fd;
}
.header .nav-main-menu .main-menu > li > a.active {
  color: var(--vh-nav-active) !important;
  font-weight: 700 !important;
}
.header .nav-main-menu .main-menu > li > a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--vh-nav-active);
  pointer-events: none;
}
.header .nav-main-menu .main-menu > li > a.active:hover {
  color: var(--vh-nav-active-hover) !important;
}
.header .nav-main-menu .main-menu > li > a.active:hover::after {
  background: var(--vh-nav-active-hover);
}
[data-bs-theme='dark'] .header .nav-main-menu .main-menu > li > a.active {
  color: var(--vh-nav-active-dark) !important;
}
[data-bs-theme='dark'] .header .nav-main-menu .main-menu > li > a.active::after {
  background: var(--vh-nav-active-dark);
  bottom: -1px;
}
[data-bs-theme='dark'] .header .nav-main-menu .main-menu > li > a.active:hover {
  color: var(--vh-nav-active-dark-hover) !important;
}
[data-bs-theme='dark'] .header .nav-main-menu .main-menu > li > a.active:hover::after {
  background: var(--vh-nav-active-dark-hover);
}

/* Mobile drawer — same indigo + bottom line; full row width for underline */
.mobile-header-wrapper-style .mobile-menu-wrap nav .mobile-menu > li > a.active {
  color: var(--vh-nav-active) !important;
  font-weight: 700 !important;
  border-bottom: 3px solid var(--vh-nav-active);
  display: block;
  width: 100%;
  box-sizing: border-box;
}
[data-bs-theme='dark'] .mobile-header-wrapper-style .mobile-menu-wrap nav .mobile-menu > li > a.active {
  color: var(--vh-nav-active-dark) !important;
  border-bottom-color: var(--vh-nav-active-dark);
}

/* Off-canvas sidebar / mobile menu above sticky header (header is 1020; template default was 1006). */
.sidebar-canvas-wrapper.sidebar-canvas-visible,
.mobile-header-wrapper-style.sidebar-visible {
  z-index: 1040;
}

/* Dim overlay above page content but below panels + header so it does not trap clicks on the bar. */
.canvas-menu-active .body-overlay-1,
.mobile-menu-active .body-overlay-1 {
  z-index: 1015;
  pointer-events: auto;
}

/* Keep overlay inert until a drawer is opened. */
.body-overlay-1 {
  pointer-events: none;
}

/* Toasts must stay in the viewport (absolute anchored to tall body was off-screen below the fold). */
div[data-rht-toaster] {
  position: fixed !important;
  bottom: 16px !important;
  right: 16px !important;
  top: auto !important;
  left: auto !important;
  z-index: 2147483000 !important;
  pointer-events: none !important;
}
div[data-rht-toaster] > div {
  pointer-events: auto !important;
}

/* Default toast bar + message: theme flex/stacking was crushing width → one word per line. */
div[data-rht-toaster] > div > div {
  min-width: min(300px, calc(100vw - 48px)) !important;
  max-width: min(420px, calc(100vw - 32px)) !important;
  width: max-content !important;
  flex-shrink: 0 !important;
}
div[data-rht-toaster] div[role='status'] {
  white-space: nowrap !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-content: flex-start !important;
}

#scrollUp {
  position: absolute !important;
}

/* Datepicker arrows: PNGs (206x88) scale badly. Use inline SVG chevrons instead. */
.datepicker .prev,
.datepicker .next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23454545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
}
.datepicker .next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23454545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") !important;
}

/* Dark theme: chevrons must match light header text (was #454545 on dark = invisible) */
[data-bs-theme=dark] .datepicker .prev,
[data-bs-theme=dark] .datepicker .next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5E7EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") !important;
}
[data-bs-theme=dark] .datepicker .next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5E7EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") !important;
}

/* Search box + city dropdown: no clipping from parent overflow */
.block-banner-tourlist-search-wrap,
.block-banner-tourlist .block-banner-tourlist-search-wrap,
.box-banner-destination-search-wrap,
.box-banner-destination-section .box-banner-destination-search-wrap {
  overflow: visible !important;
}
.search-box-capsule .capsule-field-block:first-child .capsule-field-inner,
.search-box-capsule .capsule-field-block:first-child .capsule-value-row {
  overflow: visible;
}
.city-search-dropdown {
  position: relative;
}
.city-search-dropdown-menu {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  min-width: 0 !important;
}
.city-search-dropdown-menu input[type="text"] {
  padding: 4px 12px 4px 0 !important;
  min-height: 32px !important;
  height: 32px !important;
  text-align: left;
  box-sizing: border-box;
}
.city-search-dropdown-menu .dropdown-item {
  padding: 10px 12px !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Guests popover: full width Check-out + Guest columns; no arbitrary max-width */
.guests-rooms-popover {
  max-width: none !important;
  box-sizing: border-box;
}

/* Container padding on mobile */
@media (max-width: 767.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .section-box {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* Tour gallery: main image slide animation */
@keyframes gallerySlideNext {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes gallerySlidePrev {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Tour detail: banner margin top & bottom */
.section-box.box-banner-tour-detail-2 {
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Tour gallery: thumbnail boxes + hide scrollbar (layout: absolute overlay) */
.box-banner-tour-detail-2-inner .gallery-thumbnails {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.box-banner-tour-detail-2-inner .gallery-thumbnails::-webkit-scrollbar {
  display: none;
}
.box-banner-tour-detail-2-inner .gallery-thumbnails .banner-slide {
  aspect-ratio: 1;
  min-height: 90px;
}

/* Tour gallery: mobile – hide thumbnails (main image + arrows only) */
@media (max-width: 767.98px) {
  .box-banner-tour-detail-2-inner .slider-thumnail {
    display: none !important;
  }
  .box-banner-tour-detail-2-inner,
  .box-banner-tour-detail-2-inner .gallery-main {
    min-height: 280px !important;
  }
}

/* Tour detail: align booking form with left column (same line) */
.box-tour-detail .row.align-items-start .col-lg-4 {
  align-self: flex-start;
}
.box-tour-detail .sidebar-tour-detail {
  margin-top: 0;
}

/* Tour detail: booking widget stacks on mobile */
@media (max-width: 991.98px) {
  .box-tour-detail .row {
    flex-direction: column;
  }
  .box-tour-detail .col-lg-4 {
    max-width: 100%;
  }
}

.card-flight .card-image > a,
.card-flight .card-image > a:link,
.card-flight .card-image > a:visited {
  display: block;
  height: 100%;
}
.box-list-hotels-detail .card-flight .card-image {
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  overflow: hidden;
}
.box-list-hotels-detail .card-flight:nth-of-type(even) .card-image {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
}

/* Make left image stretch to full card height */
.box-list-hotels-detail .card-flight {
  align-items: stretch;
}
.box-list-hotels-detail .card-flight .card-image {
  height: auto !important;
  min-height: 311px;
  display: flex;
}
.box-list-hotels-detail .card-flight .card-image .box-swiper,
.box-list-hotels-detail .card-flight .card-image .swiper-room-card {
  flex: 1 1 auto;
  align-self: stretch;
  min-height: 100%;
}
.box-list-hotels-detail .card-flight .card-image .box-swiper img {
  object-fit: cover !important;
  object-position: center !important;
}
.box-list-hotels-detail .card-flight .card-info {
  min-height: 311px;
}

/* Hotel banner: keep 0 vertical padding on wrapper (mobile .section-box was overriding style.css) */
.box-banner-hotel-detail.section-box {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--bs-background-body) !important;
}

/* Hotel detail: banner slider rounded corners */
.box-banner-hotel-detail .item-banner-box,
.box-banner-hotel-detail .swiper-hotel-banner,
.box-banner-hotel-detail .swiper-hotel-banner .swiper-wrapper,
.box-banner-hotel-detail .swiper-hotel-banner .swiper-slide,
.box-banner-hotel-detail .swiper-hotel-banner img {
  border-radius: 16px !important;
  overflow: hidden;
}
.box-banner-hotel-detail .swiper-hotel-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hotel detail: remove theme overlay that blocks slider + avoid 404 bg-trans.png */
.box-banner-hotel-detail .item-banner-box::before {
  display: none !important;
  background-image: none !important;
}
.box-banner-hotel-detail .item-banner-box > * {
  position: relative;
  z-index: 2;
}

/* Hotel detail: keep side breathing space like reference */
.box-banner-hotel-detail .container {
  background: var(--bs-background-body) !important;
  padding-left: 4px;
  padding-right: 4px;
}
.box-banner-hotel-detail .item-banner-box {
  display: block !important;
  width: 100% !important;
  margin-top: 0 !important;
}
.box-banner-hotel-detail .item-banner-box > .box-swiper,
.box-banner-hotel-detail .item-banner-box .block-banner-destination-inner {
  width: 100% !important;
  max-width: 100% !important;
}

/* Hotel detail: less empty space between banner and "Our Rooms" block */
.box-banner-hotel-detail + .box-content-main-detail {
  padding-top: 0px !important;
}
@media (max-width: 767.98px) {
  .box-banner-hotel-detail .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.card-flight .card-image .box-swiper,
.card-flight .card-image .swiper-room-card,
.card-flight .card-image .swiper-room-card .swiper-wrapper,
.card-flight .card-image .swiper-room-card .swiper-slide {
  height: 100% !important;
}
.card-flight .card-image .swiper-room-card .swiper-slide {
  position: relative;
  overflow: hidden;
}
.card-flight .card-image .swiper-room-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Room list: sale badge (matches reference) */
.box-list-hotels-detail .card-flight .box-hotel-price {
  position: relative;
}
.box-list-hotels-detail .card-flight .box-hotel-price .saleoff {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #facc15;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

/* Room list: wishlist button styles (respect original left/right per odd/even card) */
.box-list-hotels-detail .card-flight .card-image .wish {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  z-index: 12;
}

/* Even cards (image on right): keep heart visible (avoid overlap with -25% badge) */
.box-list-hotels-detail .card-flight:nth-of-type(even) .card-image .wish {
  right: 54px !important;
  left: unset !important;
  z-index: 13;
}

/* Room card carousel: compact nav buttons (avoid giant pills) */
.card-flight .card-image .room-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  z-index: 15;
  cursor: pointer;
  padding: 0;
}
.card-flight .card-image .room-carousel-prev { left: 12px; }
.card-flight .card-image .room-carousel-next { right: 56px; }
.box-list-hotels-detail .card-flight:nth-of-type(even) .card-image .room-carousel-prev { left: 56px; }
.box-list-hotels-detail .card-flight:nth-of-type(even) .card-image .room-carousel-next { right: 12px; }
.card-flight .card-image .room-carousel-nav:hover {
  background: rgba(255, 255, 255, 1);
}

/* ── Tour Detail Card: Theme-aware layout ── */
.tour-detail-card-wrapper {
  background: var(--bs-background-body);
  padding-top: 24px;
  padding-bottom: 40px;
}
.tour-detail-card-dark {
  background: var(--bs-background-card);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.tour-detail-card-banner {
  overflow: hidden;
}
.tour-detail-card-banner .slick-prev,
.tour-detail-card-banner .slick-next {
  background: var(--bs-neutral-100) !important;
  border-color: var(--bs-border-color) !important;
  color: var(--bs-neutral-1000) !important;
}
.tour-detail-card-banner .box-banner-tour-detail-2-inner {
  border-radius: 16px 16px 0 0 !important;
}
.tour-detail-card-content {
  background: var(--bs-background-body);
}
.tour-detail-card-content .col-lg-8 {
  background: var(--bs-background-body);
}
.tour-detail-card-content .col-lg-4.tour-detail-sidebar-dark {
  background: var(--bs-background-card) !important;
}
.tour-detail-card-content .col-lg-4.border-start {
  border-color: var(--bs-border-color) !important;
}
@media (max-width: 991.98px) {
  .tour-detail-card-content .tour-detail-sidebar-dark {
    border-left: none !important;
    border-top: 1px solid var(--bs-border-color) !important;
  }
}

/* Tour info (theme) - smaller icons and fonts */
.box-info-tour.box-info-tour-dark {
  align-items: flex-start;
}
.box-info-tour-dark {
  background: var(--bs-background-card) !important;
  border-color: var(--bs-border-color) !important;
}

.box-info-tour-dark .tour-info-group .icon-item {
  background: var(--bs-neutral-100) !important;
  border-color: var(--bs-border-color) !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  line-height: 32px !important;
  margin-right: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.box-info-tour-dark .tour-info-group .icon-item svg {
  width: 14px !important;
  height: 14px !important;
}
/* Flex children can shrink for text wrapping */
.box-info-tour-dark .tour-info-group {
  min-width: 0;
}
.box-info-tour-dark .tour-info-group .info-item {
  flex: 1 1 0;
  min-width: 0;
}
/* Base theme uses width:25% per chip (4 slots). Fewer chips left a gap; grow to fill the row. */
@media (min-width: 768px) {
  .box-info-tour.box-info-tour-dark .tour-info-group {
    width: auto;
    flex: 1 1 0;
  }
}
/* Colorful icons - Suggested Duration (teal) */
.box-info-tour-dark .icon-duration {
  background: #CCFBF1 !important;
  border-color: #99F6E4 !important;
}
.box-info-tour-dark .icon-duration svg {
  stroke: #0D9488 !important;
  fill: none !important;
}
/* Colorful icons - Timings (amber) */
.box-info-tour-dark .icon-timings {
  background: #FEF3C7 !important;
  border-color: #FDE68A !important;
}
.box-info-tour-dark .icon-timings svg {
  stroke: #D97706 !important;
  fill: none !important;
}
/* Colorful icons - Entry Fee (green) */
.box-info-tour-dark .icon-entry-fee {
  background: #D1FAE5 !important;
  border-color: #A7F3D0 !important;
}
.box-info-tour-dark .icon-entry-fee svg {
  stroke: #059669 !important;
  fill: none !important;
}
/* Entry fee: use full column width before wrapping */
.box-info-tour-dark .entry-fee-value {
  display: block;
  width: 100%;
  white-space: normal;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* Colorful icons - Location (red) */
.box-info-tour-dark .icon-location {
  background: #FEE2E2 !important;
  border-color: #FECACA !important;
}
.box-info-tour-dark .icon-location svg {
  stroke: #DC2626 !important;
  fill: none !important;
}

/* Tour page colorful icons (Duration, Group Size, Tour Type, Languages) - stroke-based */
.box-info-tour-dark .icon-tour-duration {
  background: #CCFBF1 !important;
  border-color: #99F6E4 !important;
}
.box-info-tour-dark .icon-tour-duration svg {
  stroke: #0D9488 !important;
  fill: none !important;
}
.box-info-tour-dark .icon-tour-group {
  background: #DBEAFE !important;
  border-color: #93C5FD !important;
}
.box-info-tour-dark .icon-tour-group svg {
  stroke: #2563EB !important;
  fill: none !important;
}
.box-info-tour-dark .icon-tour-type {
  background: #EDE9FE !important;
  border-color: #C4B5FD !important;
}
.box-info-tour-dark .icon-tour-type svg {
  stroke: #7C3AED !important;
  fill: none !important;
}
.box-info-tour-dark .icon-tour-languages {
  background: #FEF3C7 !important;
  border-color: #FDE68A !important;
}
.box-info-tour-dark .icon-tour-languages svg {
  stroke: #D97706 !important;
  fill: none !important;
}

/* Booking form: colorful calendar icon (stroke-based) */
.booking-form .input-calendar svg {
  stroke: #0D9488 !important;
  fill: none !important;
}
.booking-form .box-need-help a svg {
  fill: #2563EB !important;
}
.box-info-tour-dark .info-item p.text-sm-medium {
  color: var(--bs-neutral-600) !important;
  font-size: 11px !important;
  margin-bottom: 2px !important;
}
.box-info-tour-dark .info-item p.text-lg-bold {
  color: var(--bs-neutral-1000) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  max-width: 100%;
}
.box-info-tour-dark .info-item a {
  font-size: 12px !important;
  font-weight: 500 !important;
  display: block !important;
  margin-top: 2px !important;
}

/* Collapse sections (theme) */
.box-collapse-expand-dark {
  background: var(--bs-background-card) !important;
  border-color: var(--bs-border-color) !important;
}
.box-collapse-expand-dark .btn-collapse h6,
.box-collapse-expand-dark .btn-collapse {
  color: var(--bs-neutral-1000) !important;
}
.box-collapse-expand-dark .btn-collapse svg {
  stroke: var(--bs-neutral-1000) !important;
}
.box-collapse-expand-dark .card.card-body {
  background: transparent !important;
}
.box-collapse-expand-dark .card.card-body p,
.box-collapse-expand-dark .card.card-body ul,
.box-collapse-expand-dark .card.card-body li {
  color: var(--bs-neutral-800) !important;
}
.box-collapse-expand-dark .head-question p,
.box-collapse-expand-dark .content-question p {
  color: var(--bs-neutral-1000) !important;
}
.box-collapse-expand-dark .list-questions .text-sm-medium {
  color: var(--bs-neutral-800) !important;
}
/* Do not restyle tour customize light cards (they keep #fafafa + dark text in dark theme) */
.box-collapse-expand-dark [style*="border: 1px solid"]:not(.tour-customize-light-surface) {
  border-color: var(--bs-border-color) !important;
  background: var(--bs-neutral-100) !important;
}
/* Tour customize inside collapse: beats .card.card-body p { color: neutral-800 } and neutral-* theme inversion */
[data-bs-theme=dark] .box-collapse-expand-dark .card.card-body .tour-customize-light-surface {
  background-color: #fafafa !important;
  border-color: #e5e7eb !important;
}
[data-bs-theme=dark] .box-collapse-expand-dark .card.card-body .tour-customize-light-surface p,
[data-bs-theme=dark] .box-collapse-expand-dark .card.card-body .tour-customize-light-surface li {
  color: #4b5563 !important;
}
[data-bs-theme=dark] .box-collapse-expand-dark .card.card-body .tour-customize-light-surface p.neutral-1000,
[data-bs-theme=dark] .box-collapse-expand-dark .card.card-body .tour-customize-light-surface .neutral-1000 {
  color: #111827 !important;
}
[data-bs-theme=dark] .box-collapse-expand-dark .card.card-body .tour-customize-light-surface .neutral-500,
[data-bs-theme=dark] .box-collapse-expand-dark .card.card-body .tour-customize-light-surface .neutral-600 {
  color: #4b5563 !important;
}
[data-bs-theme=dark] .box-collapse-expand-dark .card.card-body .tour-customize-light-surface .text-neutral-500 {
  color: #4b5563 !important;
}
.box-collapse-expand-dark .text-md-bold.neutral-1000,
.box-collapse-expand-dark .text-lg-bold {
  color: var(--bs-neutral-1000) !important;
}
.box-collapse-expand-dark .text-sm-medium.neutral-500,
.box-collapse-expand-dark .text-md-medium.neutral-500 {
  color: var(--bs-neutral-500) !important;
}
.box-collapse-expand-dark .head-reviews h6,
.box-collapse-expand-dark .review-info-inner h6,
.box-collapse-expand-dark .author-info p.text-lg-bold {
  color: var(--bs-neutral-1000) !important;
}
.box-collapse-expand-dark .review-info-inner p,
.box-collapse-expand-dark .author-info p.text-sm-medium,
.box-collapse-expand-dark .content-review p {
  color: var(--bs-neutral-800) !important;
}
.box-collapse-expand-dark .item-review-progress p,
.box-collapse-expand-dark .text-type-rv {
  color: var(--bs-neutral-800) !important;
}
.box-collapse-expand-dark .box-form-reviews h6 {
  color: var(--bs-neutral-1000) !important;
}
.box-collapse-expand-dark .form-control {
  background: var(--bs-neutral-0) !important;
  border-color: var(--bs-border-color) !important;
  color: var(--bs-neutral-1000) !important;
}

/* Booking form (theme) */
.booking-form-dark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.booking-form-dark .head-booking-form {
  background: var(--bs-neutral-100) !important;
  border-radius: 8px 8px 0 0;
  padding: 20px 24px;
}
.booking-form-dark .head-booking-form p {
  color: var(--bs-neutral-1000) !important;
}
.booking-form-dark .content-booking-form {
  background: var(--bs-background-card);
  padding: 24px 24px 28px;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--bs-border-color);
  border-top: none;
}
.booking-form-dark .content-booking-form strong,
.booking-form-dark .content-booking-form .text-md-bold,
.booking-form-dark .content-booking-form .text-xl-bold {
  color: var(--bs-neutral-1000) !important;
}
.booking-form-dark .content-booking-form .text-md-medium,
.booking-form-dark .content-booking-form .text-sm-medium {
  color: var(--bs-neutral-600) !important;
}
.booking-form-dark .content-booking-form .item-line-booking {
  border-bottom-color: var(--bs-border-color) !important;
}
.booking-form-dark .content-booking-form .form-control {
  background: var(--bs-neutral-0) !important;
  border-color: var(--bs-border-color) !important;
  color: var(--bs-neutral-1000) !important;
}
.booking-form-dark .content-booking-form .form-control::placeholder {
  color: var(--bs-neutral-500) !important;
}
.booking-form-dark .content-booking-form input[type="radio"] {
  accent-color: var(--bs-brand-primary);
}
.booking-form-dark .content-booking-form .box-need-help a {
  color: var(--bs-neutral-500) !important;
}
.booking-form-dark .content-booking-form .box-need-help a svg {
  stroke: var(--bs-neutral-500) !important;
}
.booking-form-dark .content-booking-form .dropdown-quantity button,
.booking-form-dark .content-booking-form .dropdown-quantity div button {
  background: var(--bs-neutral-100) !important;
  color: var(--bs-neutral-1000) !important;
  border-color: var(--bs-border-color) !important;
}
.booking-form-dark .content-booking-form .dropdown-quantity span {
  color: var(--bs-neutral-1000) !important;
}
.booking-form-dark .content-booking-form .dropdown-quantity > div {
  border-color: var(--bs-border-color) !important;
  background: transparent !important;
}

/* Checkbox: light theme – visible border, consistent label colors */
.booking-form .cb-container .checkmark {
  border: 2px solid #737373 !important;
  background-color: #fff !important;
}
.booking-form .cb-container .checkmark:hover {
  border-color: #525252 !important;
}
.booking-form .cb-container input:checked ~ .checkmark {
  border-color: #737373 !important;
}
.booking-form .cb-container input:checked ~ span.text-sm-medium.neutral-500 {
  color: var(--bs-neutral-1000) !important;
}

/* Checkbox: dark theme – light border, visible checkmark */
.booking-form-dark .cb-container .checkmark {
  border: 2px solid #a3a3a3 !important;
  background-color: transparent !important;
}
.booking-form-dark .cb-container .checkmark:hover {
  border-color: #d4d4d4 !important;
}
/* Light page theme: black checkmark (no invert) */
[data-bs-theme=light] .booking-form-dark .cb-container input:checked ~ .checkmark,
:root:not([data-bs-theme=dark]) .booking-form-dark .cb-container input:checked ~ .checkmark {
  background-image: url(../imgs/template/icons/checked.svg) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-color: #737373 !important;
  filter: none !important;
}
/* Dark page theme: white checkmark (invert for visibility) */
[data-bs-theme=dark] .booking-form-dark .cb-container input:checked ~ .checkmark {
  background-image: url(../imgs/template/icons/checked-dark.svg) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-color: #a3a3a3 !important;
  filter: brightness(0) invert(1);
}
.booking-form-dark .cb-container input:checked ~ span.text-sm-medium.neutral-500 {
  color: var(--bs-neutral-1000) !important;
}

/* Reduce gap between amount and stepper */
.booking-form .line-booking-tickets {
  justify-content: flex-start !important;
  gap: 12px !important;
}

/* Popular tours in sidebar */
.tour-detail-card-content .sidebar-left h6 {
  color: var(--bs-neutral-1000) !important;
}

.tour-detail-card-content .sidebar-left .card-info a,
.tour-detail-card-content .sidebar-left .card-info .price {
  color: var(--bs-neutral-800) !important;
}

/* City page: space between description paragraph and destinations grid */
.block-content-tourlist {
  padding-top: 40px;
}

/* Tour cards: round top corners of image to match card */
.card-journey-small .card-image {
  border-radius: 32px 32px 0 0 !important;
}

/* ── Tour cards: fix rating/badge overlap and clipping ── */
/* Allow badges to show (they use position:absolute top:-19px); parent overflow:hidden was clipping them */
.card-journey-small,
.card-journey-big {
  overflow: visible;
}
.card-journey-small .card-image,
.card-journey-big .card-image {
  overflow: hidden; /* keep image clipped */
}
/* Keep rating badges inside card bounds - reduce extension and ensure they don't overlap corners */
.card-journey-small:not(.card-journey-ref) .card-info .card-rating,
.card-journey-big .card-info .card-rating {
  left: 24px;
  right: 24px;
}

/* Reference layout: rating badge inside image at bottom-left, price + Book Now on same row */
/* Your Journey: native horizontal scroll (not Swiper — swiper-container is overflow:hidden) */
.box-your-journey .home-journey-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  /* Lets mobile slides use cqi / % relative to this strip, not a broken max-content parent */
  container-type: inline-size;
  container-name: journey-scroll;
}
.box-your-journey .home-journey-scroll::-webkit-scrollbar {
  height: 6px;
}
.box-your-journey .home-journey-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}
.box-your-journey .home-journey-scroll-track {
  display: flex;
  gap: 24px;
  width: max-content;
  min-width: 0;
}
.box-your-journey .box-button-slider-team button.swiper-button-prev-style-1,
.box-your-journey .box-button-slider-team button.swiper-button-next-style-1 {
  border: none;
  appearance: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.box-your-journey .box-button-slider-team button.swiper-button-prev-style-1 svg,
.box-your-journey .box-button-slider-team button.swiper-button-next-style-1 svg {
  display: block;
  flex-shrink: 0;
}
.box-your-journey .box-button-slider-team button.swiper-button-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
/* Ensure consistent card width in Your Journey carousel (all cards same size) */
.box-your-journey .swiper-group-journey .swiper-slide,
.box-your-journey .home-journey-scroll .swiper-slide {
  flex: 0 0 auto;
  width: 360px !important;
  max-width: 360px;
}
@media (max-width: 575.98px) {
  /* One card ≈ strip width; min-width:0 stops flex min-content overflow (left text clip) */
  .box-your-journey .swiper-group-journey .swiper-slide,
  .box-your-journey .home-journey-scroll .swiper-slide {
    flex: 0 0 calc(100vw - 32px) !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .box-your-journey .card-journey-small.card-journey-ref {
    max-width: none;
    width: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
  }
  .box-your-journey .home-journey-scroll-track {
    gap: 16px;
  }
}
/* Prefer true strip width when container queries are supported */
@supports (width: 100cqw) {
  @media (max-width: 575.98px) {
    .box-your-journey .home-journey-scroll .swiper-slide {
      flex: 0 0 100cqw !important;
      width: 100cqw !important;
      max-width: 100cqw !important;
    }
  }
}
/* Card ref: image container for overlay */
.box-your-journey .card-journey-ref .card-image {
  position: relative !important;
}
/* Rating badge: bottom-left of image, white pill, no overlap with card-info */
.box-your-journey .card-journey-ref .card-rating-overlay {
  position: absolute !important;
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  top: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  background: #fff !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  line-height: 1.4;
  z-index: 10;
}
.box-your-journey .card-journey-ref .card-rating-overlay .rating-star {
  font-size: 14px;
  color: #eab308 !important;
}
.box-your-journey .card-journey-ref .card-rating-overlay .rating-value {
  font-weight: 700;
  color: #171717 !important;
}
.box-your-journey .card-journey-ref .card-rating-overlay .rating-reviews {
  color: #737373 !important;
  font-size: 13px;
}
/* Card info: clean layout */
.box-your-journey .card-journey-ref .card-info {
  padding: 24px 24px 28px !important;
  margin-top: -40px;
  min-width: 0;
}
.box-your-journey .card-journey-ref .card-info .card-rating {
  display: none !important;
}
.box-your-journey .card-journey-ref .card-title {
  margin-bottom: 8px;
  min-width: 0;
  overflow: hidden;
}
.box-your-journey .card-journey-ref .card-title a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.box-your-journey .card-journey-ref .card-duration {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #737373;
}
.box-your-journey .card-journey-ref .card-price-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.box-your-journey .card-journey-ref .card-price-row .card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.box-your-journey .card-journey-ref .card-price-row .card-price h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.box-your-journey .card-journey-ref .card-price-row .btn {
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  background: #f5f5f5;
  color: #171717 !important;
  border: none;
  border-radius: 6px;
  font-weight: 500;
}
.box-your-journey .card-journey-ref .card-price-row .btn:hover {
  background: #e5e5e5 !important;
  color: #111111 !important;
  border: 1px solid #d4d4d4 !important;
}

/* Mobile tuning for reference tour cards - keep layout tight without breaking tablet/desktop */
@media (max-width: 575.98px) {
  .box-your-journey .container-slider {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .box-your-journey .box-swiper,
  .box-your-journey .swiper-group-journey:not(.home-journey-scroll) {
    overflow: visible;
  }
  .box-your-journey .home-journey-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  /* Theme uses min-width:100% on img — overflows narrow cards; cover + bounded width */
  .box-your-journey .card-journey-ref .card-image img {
    width: 100%;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .box-your-journey .card-journey-ref .card-image {
    min-width: 0;
  }
  .box-your-journey .card-journey-ref .card-info {
    padding: 20px 18px 22px !important;
    margin-top: -28px;
    min-width: 0;
  }
  .box-your-journey .card-journey-ref .card-rating-overlay {
    left: 12px !important;
    bottom: 12px !important;
    padding: 6px 10px 6px 9px;
    max-width: calc(100% - 24px);
    box-sizing: border-box;
  }
  /* Keep nav arrows visible under title on small screens */
  .box-your-journey .box-button-slider.box-button-slider-team {
    justify-content: center !important;
    padding-bottom: 4px;
  }
  .box-your-journey .card-journey-ref .card-duration {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .box-your-journey .card-journey-ref .card-price-row {
    min-width: 0;
    gap: 8px;
  }
  .box-your-journey .card-journey-ref .card-price-row .card-price {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }
  .box-your-journey .card-journey-ref .card-price-row .card-price h6 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .box-your-journey .card-journey-ref .card-price-row .btn {
    flex-shrink: 0;
  }
}

/* Home: Popular Destinations (dynamic grid) — ellipsis + mobile horizontal strip */
.home-popular-dynamic .card-popular .card-info {
  min-width: 0;
}
.home-popular-dynamic .card-popular .card-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.home-popular-dynamic .card-popular .card-meta .meta-links {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
@media (max-width: 575.98px) {
  .home-popular-dynamic .home-popular-destinations-row {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 12px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 8px;
  }
  .home-popular-dynamic .home-popular-destinations-col {
    flex: 0 0 auto !important;
    width: min(85vw, 300px) !important;
    max-width: min(85vw, 300px) !important;
    scroll-snap-align: start;
  }
}

/* card-journey-big: fix "Promotion will end in" layout - stack duration and endtime on smaller screens */
.card-journey-big .card-info .card-program {
  flex-wrap: wrap;
  gap: 20px;
}
.card-journey-big .card-info .card-program .duration {
  flex: 1 1 200px;
}
.card-journey-big .card-info .card-program .endtime {
  flex: 1 1 200px;
  min-width: 0;
}

/* Header: keep main menu in a single row on desktop; stretch nav row so active bar sits on header bottom edge */
@media (min-width: 992px) {
  /* ::after underline kabhi bottom: negative — clip na ho */
  .header .main-header,
  .header .nav-main-menu .main-menu > li {
    overflow: visible;
  }
  .header .main-header {
    align-items: stretch;
  }
  .header .main-header .header-left {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-start;
    gap: 32px;
    align-items: stretch;
  }
  .header .main-header .header-left .header-logo {
    display: flex;
    align-items: center;
  }
  .header .main-header .header-left .header-nav {
    flex: 1 1 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
  }
  .header .nav-main-menu {
    align-items: stretch;
    flex: 1;
    min-height: 0;
  }
  .header .nav-main-menu .main-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 100%;
    margin: 0;
  }
  .header .nav-main-menu .main-menu > li {
    float: none;
    display: flex;
  }
  .header .nav-main-menu .main-menu > li > a {
    display: flex;
    align-items: center;
    align-self: stretch;
  }
  .header .main-header .header-right {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/* Room detail: Included / Excluded — green circle checkmarks (theme tick), amber soft bullets for excluded */
.room-detail-included-excluded .list-checked-green--policy {
  margin-bottom: 0 !important;
}
.room-detail-included-excluded .list-checked-green--policy li {
  color: var(--bs-neutral-800, #1f2937);
}

.room-detail-included-excluded .list-policy-excluded {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Same icon size & text offset as .list-checked-green li (green tick) */
.room-detail-included-excluded .list-policy-excluded li {
  list-style: none !important;
  position: relative;
  padding: 0 30px 0 20px;
  margin-bottom: 5px;
  min-height: 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: var(--bs-neutral-800, #1f2937);
  background-image: url(../imgs/page/hotel/cross-red.svg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 16px 16px;
}

/* Tour customize (tour detail): light cards on dark pages — global [data-bs-theme=dark] inverts
   --bs-neutral-* for page text; these surfaces stay light so force dark, readable copy. */
[data-bs-theme=dark] .tour-customize-light-surface {
  background-color: #fafafa !important;
  border-color: #e5e7eb !important;
}
[data-bs-theme=dark] .tour-customize-light-surface .neutral-1000 {
  color: #111827 !important;
}
[data-bs-theme=dark] .tour-customize-light-surface .neutral-500,
[data-bs-theme=dark] .tour-customize-light-surface .neutral-600 {
  color: #4b5563 !important;
}
[data-bs-theme=dark] .tour-customize-light-surface .text-neutral-500 {
  color: #4b5563 !important;
}

/* ------------------------------
   UI safety nets (legacy template)
   ------------------------------ */

/* Ensure dropdown menus don't render as full visible lists by default.
   Bootstrap should toggle visibility using the `.show` class.

   IMPORTANT: Bootstrap Datepicker also renders a dropdown with both
   `.datepicker-dropdown` and `.dropdown-menu`. If we blanket-hide
   `.dropdown-menu`, datepicker will never open. */
.dropdown-menu:not(.datepicker-dropdown) {
  display: none !important;
}
.dropdown-menu:not(.datepicker-dropdown).show {
  display: block !important;
}

/* If Swiper JS init fails/times out, ensure the slider still shows content. */
.swiper-container:not(.swiper-initialized) .swiper-wrapper {
  transform: none !important;
}
.swiper-container:not(.swiper-initialized) .swiper-slide {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
}

/* Prevent journey overlay card from being clipped when Swiper hasn't initialized yet. */
.swiper-container:not(.swiper-initialized) .card-journey-small .card-info {
  margin-top: 0 !important;
}

/* ── Mobile typography, banners, header (site-wide) ── */
@media (max-width: 767.98px) {
  h1,
  .heading-1 {
    font-size: clamp(1.5rem, 5.5vw + 0.65rem, 2rem) !important;
    line-height: 1.22 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h2,
  .heading-2 {
    font-size: clamp(1.35rem, 4.5vw + 0.5rem, 1.75rem) !important;
    line-height: 1.28 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  h3 {
    font-size: clamp(1.125rem, 4vw + 0.45rem, 1.5rem) !important;
    line-height: 1.32 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .box-your-journey h1 {
    margin-bottom: 10px !important;
  }
  .box-your-journey .heading-6-medium {
    line-height: 1.4 !important;
  }
  .block-banner-tourlist {
    padding-top: 56px !important;
    padding-bottom: 40px !important;
  }
  .block-banner-tourlist .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .block-banner-tourlist h3 {
    padding-left: 4px;
    padding-right: 4px;
    hyphens: auto;
  }
  .item-banner-slide h1 {
    font-size: clamp(1.5rem, 5vw + 0.5rem, 2rem) !important;
    line-height: 1.2 !important;
  }
}

/* Template hid entire header-right between 1200–1440px — restore actions + region */
@media screen and (min-width: 1200px) and (max-width: 1440px) {
  .header .main-header .header-right {
    display: flex !important;
    align-items: center;
    min-width: 0;
  }
}

/* Both menu controls visible: template stacks absolute burger on bento — lay out in a row */
@media (max-width: 1399.98px) {
  .header .main-header .header-right {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0 !important;
    padding-right: 8px !important;
    position: relative;
  }
  .header .main-header .header-right .burger-icon {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    flex-shrink: 0;
  }
  .header .main-header .header-right .burger-icon-2 {
    flex-shrink: 0;
  }
}

/* Tours listing (/tours): sidebar must use full width on tablet/mobile (theme left max-width:295px breaks layout) */
@media (max-width: 1199.98px) {
  .block-content-tourlist .box-content-main {
    flex-direction: column;
    align-items: stretch;
  }
  .block-content-tourlist .box-content-main .content-left {
    order: -1;
  }
  .block-content-tourlist .box-content-main .content-right {
    order: 0;
  }
  .block-content-tourlist .box-content-main .content-left,
  .block-content-tourlist .box-content-main .content-right {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    flex: 1 1 auto;
  }
  .block-content-tourlist .box-content-main .content-left .sidebar-left {
    max-width: 100%;
  }
}

/* Tours / hotels hero: subheadline wraps on narrow screens */
@media (max-width: 767.98px) {
  .block-banner-tourlist .heading-6-medium {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 4px;
    line-height: 1.45 !important;
    font-size: clamp(0.8125rem, 2.8vw + 0.35rem, 0.9375rem) !important;
  }
}

/* Home filter strip: wrap category chips instead of overflowing */
@media (max-width: 767.98px) {
  .box-filter-search .block-filter-search {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-radius: 24px;
    overflow: visible;
  }
  .box-filter-search .block-filter-search .filter-left,
  .box-filter-search .block-filter-search .filter-right {
    width: 100% !important;
    text-align: left;
  }
  .box-filter-search .filter-right {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }
  .box-filter-search .filter-right .category-link,
  .box-filter-search .filter-right .home-discovery-tab {
    flex: 0 1 auto;
  }
  .box-filter-search .block-dropdown-filter {
    flex-direction: column;
    gap: 10px;
  }
  .box-filter-search .left-dropdown-filter {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/*
 * FIX: style.css has `@media (min-width:1200px) and (max-width:1440px) { .header-right { display:none } }`
 * which hides the ENTIRE header-right — including burger icons — on most Windows laptop resolutions
 * (1280px, 1366px, 1440px). This restores it so navigation is always accessible.
 */
@media screen and (min-width: 1200px) and (max-width: 1440px) {
  .header .main-header .header-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    min-width: auto;
  }
}

/*
 * FIX: At 1200-1399px: nav-main-menu is hidden but header-right was also hidden → no way to open menu.
 * With header-right restored, .burger-icon (display:block at that range) is now visible and functional.
 * Additionally ensure the header container doesn't overflow at tight widths.
 */
@media screen and (min-width: 1200px) and (max-width: 1399.98px) {
  .header .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Tours hero: enforce readable text on bright banners */
.block-banner-tourlist {
  position: relative;
  isolation: isolate;
}

.block-banner-tourlist::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.48) 0%, rgba(2, 6, 23, 0.64) 100%);
  z-index: 0;
  pointer-events: none;
}

.block-banner-tourlist .container {
  position: relative;
  z-index: 1;
}

.block-banner-tourlist h3 {
  color: #f8fafc !important;
  text-shadow: 0 3px 14px rgba(2, 6, 23, 0.85) !important;
}

.block-banner-tourlist .heading-6-medium {
  color: rgba(241, 245, 249, 0.96) !important;
  text-shadow: 0 2px 10px rgba(2, 6, 23, 0.8) !important;
}

.block-banner-tourlist .hero-readable-title {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

.block-banner-tourlist .hero-readable-subtitle {
  color: rgba(241, 245, 249, 0.96) !important;
  -webkit-text-fill-color: rgba(241, 245, 249, 0.96) !important;
}

/* btn-gray: dark theme pe background dark ho jaata hai aur text (neutral-1000 = light) invisible hota hai */
[data-bs-theme=dark] .btn.btn-gray {
  color: #f1f5f9 !important;
  background-color: #2d2d2d;
  border-color: #3f3f3f;
}
[data-bs-theme=dark] .btn.btn-gray svg {
  stroke: #f1f5f9;
}
[data-bs-theme=dark] .btn.btn-gray:hover {
  color: #000000 !important;
  background-color: #f1f5f9;
}

/* Home journey carousel has a more specific .card-price-row .btn rule; force dark contrast there too */
[data-bs-theme=dark] .box-your-journey .card-journey-ref .card-price-row .btn.btn-gray {
  color: #f1f5f9 !important;
  background: #2d2d2d !important;
  border: 1px solid #3f3f3f !important;
}
[data-bs-theme=dark] .box-your-journey .card-journey-ref .card-price-row .btn.btn-gray:hover {
  color: #000000 !important;
  background: #f1f5f9 !important;
  border-color: #f1f5f9 !important;
}
