/* Tour detail page — card-style sections (Amenities, FAQ) */
.pkg-tour-section-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 12px 40px rgba(21, 25, 35, 0.07);
  padding: 28px 22px 32px;
}

@media (min-width: 992px) {
  .pkg-tour-section-card {
    padding: 36px 36px 40px;
  }
}

.pkg-tour-faq-heading {
  margin-bottom: 0;
}

/* FAQ accordion chevron — fix position vs theme `right:-50px` + Bootstrap mask */
.pkg-tour-section-card .tg-tour-about-faq .accordion-button::after {
  background: transparent !important;
  background-image: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  margin-left: auto !important;
  width: auto !important;
  height: auto !important;
  flex-shrink: 0;
  content: "\f107" !important;
  font-family: var(--tg-ff-fontawesome), "Font Awesome 6 Free", sans-serif !important;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  left: auto;
  border: none !important;
  transition: transform 0.35s ease, color 0.25s ease;
}

.pkg-tour-section-card .tg-tour-about-faq .accordion-button.collapsed::after {
  transform: translateY(-50%) rotate(0deg);
  color: var(--tg-common-black-2, #1f1f1f);
}

.pkg-tour-section-card .tg-tour-about-faq .accordion-button:not(.collapsed)::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--tg-theme-primary, #560ce3);
}

/*
 * Header: `.tg-transparent` is position:absolute with white nav (for hero pages).
 * Tour detail has no hero — at scroll 0 the bar sits over white content and looks empty.
 * Use a solid in-flow bar until `.header-sticky` kicks in (theme scroll handler).
 */
body.page-package-tour #header-sticky:not(.header-sticky) {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 1px 3px rgba(18, 20, 32, 0.12);
  backdrop-filter: blur(8px);
}

body.page-package-tour #header-sticky:not(.header-sticky) .navigation > li > a {
  color: var(--tg-common-black, #1f1f1f) !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .navigation > li:hover > a,
body.page-package-tour #header-sticky:not(.header-sticky) .navigation > li.active > a {
  color: var(--tg-theme-primary, #560ce3) !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .tg-header-contact-number span {
  color: var(--tg-grey-1, #6b6b6b) !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .tg-header-contact-number a {
  color: var(--tg-common-black, #1f1f1f) !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .tg-header-contact-icon {
  color: var(--tg-common-black, #1f1f1f) !important;
  border-color: #dadada !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .tg-header-border {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .tgmenu-offcanvas-open-btn span {
  background-color: var(--tg-common-black, #1f1f1f) !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .logo-1 {
  display: none !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .logo-2 {
  display: block !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .india-header-search {
  color: #333 !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .india-header-search:hover {
  color: var(--tg-theme-primary, #560ce3) !important;
}

body.page-package-tour #header-sticky:not(.header-sticky) .india-btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: #6a1b9a;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: 2px solid rgba(106, 27, 154, 0.2);
}

body.page-package-tour #header-sticky:not(.header-sticky) .india-btn-book:hover {
  background: #4a148c;
  color: #fff !important;
}

.pkg-tour-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  gap: 0.35rem 0.45rem;
}

.pkg-tour-breadcrumb-list > li {
  margin: 0;
  padding: 0;
  text-transform: none;
}

.pkg-tour-breadcrumb-list a {
  color: var(--tg-grey-1, #6b6b6b) !important;
  font-weight: 500;
  text-decoration: none;
}

.pkg-tour-breadcrumb-list a:hover {
  color: var(--tg-theme-primary, #560ce3) !important;
}

.pkg-tour-breadcrumb-sep {
  color: var(--tg-grey-1, #9a9a9a);
  font-weight: 500;
  user-select: none;
}

.pkg-tour-breadcrumb-current {
  color: var(--tg-common-black-2, #1f1f1f) !important;
  font-weight: 600;
}

#pkg-overview,
#pkg-places {
  scroll-margin-top: 120px;
}

.pkg-tour-quicklink {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--tg-common-black-2, #1f1f1f);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pkg-tour-quicklink:hover {
  color: var(--tg-theme-primary, #560ce3);
}

.pkg-tour-quicklink-icon {
  flex-shrink: 0;
  color: currentColor;
}

/* Tour detail — breadcrumb vertical spacing (avoid overriding every `.mb-10` on the page) */
body.page-package-tour .pkg-tour-breadcrumb.mb-10 {
  margin-bottom: 32px !important;
  margin-top: 20px !important;
}

body.page-package-tour .pkg-tour-book-form .pkg-book-qty {
  width: 48px;
  height: 34px;
  font-weight: 600;
}

body.page-package-tour .pkg-tour-book-form .pkg-book-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--tg-common-black-2, #1f1f1f);
}

body.page-package-tour .pkg-tour-book-form .pkg-book-sublabel {
  font-size: 0.8125rem;
  color: var(--tg-grey-1, #6b6b6b);
  line-height: 1.35;
}

body.page-package-tour .pkg-tour-book-form .pkg-book-know-more {
  font-size: 0.875rem;
  color: var(--tg-theme-primary, #560ce3);
  text-decoration: underline;
  font-weight: 500;
}

body.page-package-tour .pkg-tour-book-form .pkg-book-know-more:hover {
  color: var(--tg-common-black-2, #1f1f1f);
}

body.page-package-tour .pkg-tour-book-form .pkg-tour-quote-btn {
  letter-spacing: 0.04em;
  font-weight: 700;
}

body.page-package-tour .pkg-tour-book-form a.pkg-tour-quote-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

body.page-package-tour .pkg-tour-book-form .pkg-tour-total {
  color: var(--tg-theme-primary, #560ce3);
}

/* Extra air between main package content (gallery, tabs…) and booking sidebar */
@media (min-width: 992px) {
  body.page-package-tour .tg-tour-about-wrap.mr-lg-55 {
    margin-right: 3.5rem !important;
  }

  body.page-package-tour .tg-tour-about-area > .container > .row > .col-xl-3.col-lg-4 .tg-tour-about-sidebar {
    padding-left: 1.5rem;
  }
}

@media (min-width: 1200px) {
  body.page-package-tour .tg-tour-about-wrap.mr-lg-55 {
    margin-right: 4.5rem !important;
  }

  body.page-package-tour .tg-tour-about-area > .container > .row > .col-xl-3.col-lg-4 .tg-tour-about-sidebar {
    padding-left: 2rem;
  }
}

.pkg-rich-text img {
  max-width: 100%;
  height: auto;
}

/* Itinerary day gallery — same side-by-side constraints as accommodations */
#pkg-nav-Itinerary .pkg-itin-day-wrap {
  min-width: 0;
  max-width: 100%;
}

#pkg-nav-Itinerary .pkg-itin-day-wrap .pkg-acc-day-row {
  --pkg-acc-media-max-h: 220px;
  --pkg-acc-media-max-w: 340px;
}

#pkg-nav-Itinerary .pkg-itin-day-wrap--media-only .pkg-acc-day__media {
  max-width: min(100%, var(--pkg-acc-media-max-w));
}

#pkg-nav-Itinerary .pkg-itin-timeline-item .timeline-content {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

#pkg-acc-tabContent .timeline-item {
  min-width: 0;
}

#pkg-acc-tabContent .timeline-content {
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
}

.pkg-acc-day-wrap {
  min-width: 0;
  max-width: 100%;
}

.pkg-acc-day-row {
  --pkg-acc-media-max-h: 220px;
  --pkg-acc-media-max-w: 340px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 1.5rem;
  margin-left: 0;
  margin-right: 0;
  min-width: 0;
  max-width: 100%;
}

.pkg-acc-day-row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.pkg-acc-day__media {
  flex: 0 1 auto;
  width: 100%;
  max-width: min(100%, var(--pkg-acc-media-max-w));
  min-width: 0;
  overflow: hidden;
}

.pkg-acc-day__copy {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 768px) {
  .pkg-acc-day__media {
    flex: 0 0 min(46%, var(--pkg-acc-media-max-w));
    width: min(46%, var(--pkg-acc-media-max-w));
    max-width: min(46%, var(--pkg-acc-media-max-w));
  }

  .pkg-acc-day__copy {
    flex: 1 1 0;
  }
}

.pkg-acc-hotel-media-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: var(--pkg-acc-media-max-h);
  border-radius: 4px;
  overflow: hidden;
  background: #ebe6df;
  box-sizing: border-box;
}

.pkg-acc-hotel-media-frame__img,
.pkg-acc-hotel-gallery__slide img {
  display: block;
  width: 100%;
  height: var(--pkg-acc-media-max-h);
  max-height: var(--pkg-acc-media-max-h);
  object-fit: cover;
}

.pkg-acc-hotel-photo-placeholder {
  min-height: var(--pkg-acc-media-max-h);
  max-height: var(--pkg-acc-media-max-h);
  background: #f3f4f6;
  border: 1px dashed #d1d5db;
}

.pkg-acc-hotel-gallery {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.pkg-acc-hotel-gallery__main {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: var(--pkg-acc-media-max-h);
  overflow: hidden;
  box-sizing: border-box;
}

.pkg-acc-hotel-gallery__main .swiper-wrapper {
  max-width: 100%;
}

.pkg-acc-hotel-gallery__main .swiper-slide {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

.pkg-acc-hotel-gallery__main .swiper-slide {
  height: 100%;
}

.pkg-acc-hotel-gallery__slide {
  height: 100%;
  overflow: hidden;
  background: #ebe6df;
}

.pkg-acc-hotel-gallery__nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.pkg-acc-hotel-gallery__prev,
.pkg-acc-hotel-gallery__next {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.95);
  color: #4a4a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: background 0.2s ease;
}

.pkg-acc-hotel-gallery__prev:hover,
.pkg-acc-hotel-gallery__next:hover {
  background: #fff;
}

.pkg-acc-hotel-gallery__prev {
  left: 8px;
}

.pkg-acc-hotel-gallery__next {
  right: 8px;
}

.pkg-acc-hotel-gallery__pagination {
  position: absolute;
  bottom: 10px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
}

.pkg-acc-hotel-gallery__pagination .swiper-pagination-bullet {
  width: 24px;
  height: 2px;
  border-radius: 1px;
  margin: 0 !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.pkg-acc-hotel-gallery__pagination .swiper-pagination-bullet-active {
  width: 32px;
  background: #5c2d4a;
}

/* At a glance — tour route map (Leaflet / OpenStreetMap) */
#pkg-nav-glance .pkg-glance-layout {
  align-items: flex-start;
}

#pkg-nav-glance .pkg-glance-timeline-col .timeline {
  margin-bottom: 0;
}

#pkg-nav-glance .pkg-glance-map-col {
  min-width: 0;
}

.pkg-tour-map {
  width: 100%;
  min-height: 320px;
  height: min(52vh, 480px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  z-index: 0;
}

@media (min-width: 992px) {
  #pkg-nav-glance .pkg-glance-map-col {
    position: sticky;
    top: 7.5rem;
  }

  .pkg-tour-map {
    min-height: 400px;
  }
}

.pkg-tour-map-marker-wrap {
  background: transparent;
  border: 0;
}

.pkg-tour-map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 5px;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.45);
  border: 2px solid #fff;
}

.pkg-tour-map-marker--wide {
  min-width: 34px;
  font-size: 0.68rem;
}

.pkg-tour-map-popup-city {
  font-size: 0.85em;
  color: #64748b;
}

.pkg-tour-map-flight-wrap {
  background: transparent;
  border: 0;
}

.pkg-tour-map-flight {
  display: block;
  font-size: 1rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
}

.leaflet-container {
  font-family: inherit;
}
