/*
  Shared itinerary tab chrome (pill nav, accordion hotels, accessibility helpers).
  Use with body.tl-tour-keep-tabs on all tour landing pages alongside tour-conversion-hero.css
*/

body.tl-tour-keep-tabs .tour-tabs-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 0;
  border-bottom: none;
}

body.tl-tour-keep-tabs .tour-tabs-nav button {
  cursor: pointer;
}

body.tl-tour-keep-tabs .tour-tab-content {
  display: none;
}

body.tl-tour-keep-tabs .tour-tab-content.active {
  display: block;
}

/* Hotels accordion rows */
body.tl-tour-keep-tabs .ut-tab-wrap .accordion-item,
body.tl-tour-keep-tabs .tour-tabs-wrapper .accordion-item {
  margin-bottom: 10px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

body.tl-tour-keep-tabs .ut-tab-wrap .accordion-header,
body.tl-tour-keep-tabs .tour-tabs-wrapper .accordion-header {
  padding: 12px 18px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-family: Roboto, system-ui, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111827;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  transition: background 0.2s ease;
}

body.tl-tour-keep-tabs .ut-tab-wrap .accordion-header:hover,
body.tl-tour-keep-tabs .tour-tabs-wrapper .accordion-header:hover {
  background: #f9fafb;
}

body.tl-tour-keep-tabs .ut-tab-wrap .accordion-body,
body.tl-tour-keep-tabs .tour-tabs-wrapper .accordion-body {
  display: none;
  padding: 18px 20px;
  background: #fff;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

body.tl-tour-keep-tabs div#highlights.tour-tab-content {
  padding: 1.25rem 1.25rem 1.5rem;
  background-color: #fff;
}

body.tl-tour-keep-tabs .accordion-header div {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
}

body.tl-tour-keep-tabs .accordion-header .arrow {
  height: 16px;
  transition: 0.2s;
}

body.tl-tour-keep-tabs .accordion-header.active .arrow {
  transform: rotate(180deg);
}

body.tl-tour-keep-tabs span.question-icon img {
  width: 20px;
}

/* Visually hide mobile-only duplicate select; synced by tour page script */
body.tl-tour-keep-tabs .tour-tabs-dropdown {
  display: none !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
