body {
  background: #f9f9f9;
}
.hero-content.single.itinerary h1 {
  color: #fff;
  font-size: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.tab-navigation {
  width: 100%;
  padding: 20px;
  z-index: 99;

  display: flex;
  justify-content: center;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Fixed state */
.tab-navigation.is-fixed {
  position: fixed;
  left: 0;
}

/* Smooth hide */
.tab-navigation.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
}

.castle-container-small.tab {
  position: relative;
  background: var(--secondary);
  border-radius: 30px;
  /* border: 5px solid var(--primary); */
  overflow: hidden;
  padding: 0;
}
.castle-container-small.tab {
  display: inline-flex;
  width: auto;
  max-width: 100%;
}

/* .tabs {
  display: flex;
  width: 100%;
  gap: 0;

  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
} */
.tabs {
  display: flex;
  width: auto;
  max-width: 100%;
  gap: 0;

  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  height: 4px;
}

.tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* .tab-btn {
  color: white;

  font-size: 16px;
  flex: 1 1 120px;
  text-align: center;
  padding: 12px 0;
  box-sizing: border-box;
  white-space: normal;
  transition: all 0.3s;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  font-weight: 600;
} */
.tab-btn {
  color: white;
  border-left: 1px solid rgba(233, 195, 195, 0.25);
  border-right: 1px solid rgba(233, 195, 195, 0.25);
  border-top: none;

  font-size: 16px;
  flex: 0 0 auto;
  padding: 12px 18px;
  padding-top: 15px;
  box-sizing: border-box;
  white-space: nowrap;
  transition: all 0.3s;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  text-align: center;
}
.tab-btn:first-child {
  border-left: none;
}
.tab-btn:last-child {
  border-right: none;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
  background: var(--primary);
}
.departure-dates form {
  display: flex;

  justify-content: center;
  gap: 10px;
}
/* Main Content */
.trip-content {
  padding-top: 40px;
  padding-bottom: 60px;
}
.trip-content:has(+ .popular-treks) {
    padding-bottom: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.5fr 400px;
  gap: 50px;
}
/* Trip Info Grid */
.trip-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 30px;
  border-radius: 10px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-item .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.info-item .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-item .label {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 5px;
  font-weight: 600;
}

.info-item .value {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.4;
}

.tab-content {
  padding: 10px;
}

.tab-content:last-child {
  margin-bottom: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content h2 {
  font-size: 28px;
  margin: 10px 0;
  color: var(--secondary);
  font-weight: 600;
  font-family: var(--primary-font);
}

.tab-content h3 {
  font-size: 20px;

  color: #000;
}

.tab-content p {
  line-height: 26px;
  font-size: 16px;
  font-weight: 400;
  color: #525252;
}
.tab-content ul {
  margin-bottom: 40px;
}
.tab-content li {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 3px;
  line-height: 30px;
  font-family: var(--primary-font);
  color: #404040;
}
.tab-content li::marker {
  font-size: 20px;
  margin-left: 0;
  color: var(--secondary);
}
/* Pricing Sidebar - STICKY */

.pricing-sidebar {
  position: relative;
}
/* .pricing-wrapper {
  position: sticky;
  top: 120px; 
} */

.pricing-sidebar > div.pricing-sticky-wrapper {
  position: sticky;
  top: 200px;
}

.price-card {
  border: 3px solid var(--secondary);
  border-radius: 20px;
  padding: 30px 0;
  position: relative;
  padding-bottom: 40px;
  margin-bottom: 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
  font-family: var(--primary-font);
}

.price-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.price-card h3 {
  text-align: center;
  font-size: 14px;
  margin: 0;
  color: #3b3b3b;
  background: #fff;
  border: 1px solid var(--secondary);
  padding: 0 15px;
  font-weight: 400;
  position: absolute;
  top: -15px;
  border-radius: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 1px;

  z-index: 3;
  white-space: nowrap;
}
.price-main {
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--secondary) 50%, transparent);
}
.price-main.blue {
  border-bottom: none;
  background: var(--secondary);
}
.price-main.info {
  border-bottom: 1px solid color-mix(in srgb, var(--secondary) 50%, transparent);
}
.price-card.supplements {
  margin-bottom: 25px;
  padding-bottom: 0;
}
.price-card.supplements p {
  font-size: 18px;
}
.price-card.supplements .price-main.info {
  border-top: 1px solid color-mix(in srgb, var(--secondary) 50%, transparent);
  border-bottom: none;
}
.price-main p {
  font-size: 20px;
  margin: 10px;

  display: flex;
  text-align: center;
  justify-content: center;
}
.price-main.blue p {
  color: rgba(255, 255, 255, 0.8);
}
.price-main.info p {
  color: rgba(0, 0, 0, 0.75);
  font-weight: 400;
}

.price-main.info.conversion p {
  font-weight: 600;
}
.price-main.blue .price-amount {
  color: #fff;
}

.price-amount {
  color: var(--secondary);
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
}

.currency,
.amount {
  font-size: 28px;
}

.amount span,
.currency span {
  font-size: 20px;
}

.price-amount.info {
  color: var(--secondary);
}

.price-card .hero-btn {
  position: absolute;
  bottom: -25px;

  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 3;
  font-size: 16px;
  white-space: nowrap;
}

.price-card .hero-btn:hover {
  color: white;
  background: var(--secondary);
}
.trip-map {
  margin-top: 0;
  max-width: 100%;
  width: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--secondary);
}

.trip-map img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 600px) {
  .tabs {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  }
}

/* ================
Tentative itinerary
=================== */
.itinerary-wrapper h3 {
  color: rgba(13, 13, 13, 0.8);

  font-weight: 600;
}
.itinerary-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px 0;
  padding-bottom: 36px;
  border-bottom: 1px solid #d9d9d9;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.itinerary-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--primary-font);
  width: 70px;
  min-height: 40px;
  position: relative;
}
.itinerary-header {
  min-height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  top: 5px;
}

.itinerary-day {
  position: absolute;
  display: flex;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-size: 20px;
  color: var(--secondary);
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.itinerary-left img {
  width: 56px;
  height: 56px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Content */
.itinerary-content {
  flex: 1;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* Toggle Icon */
.itinerary-toggle {
  color: var(--secondary);
  display: inline-block;
  transform-origin: center;
  font-size: 28px;
}

.day-badge {
  position: absolute;
  top: 30px;
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
}

.day-label {
  position: absolute;
  top: 58px;
  font-size: 16px;
  font-weight: 600;

  color: var(--secondary);
}
.itinerary-body {
  flex: 1;
}

.itinerary-body h3 {
  font-weight: 600;
  line-height: 1.6;
  margin: 0;

  transition: color 0.3s ease;
}
.itinerary-body ul {
  margin-left: 20px;
  margin-bottom: 10px !important;
}

.itinerary-item.active .itinerary-body h3 {
  color: var(--secondary);
}

.itinerary-collapse {
  max-height: 0;

  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}
.itinerary-collapse p {
  margin-top: 10px;
}

.itinerary-body > ul {
  margin-left: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.itinerary-item.active .itinerary-body > p {
  margin-top: 16px;
  margin-bottom: 16px;
}

.itinerary-item.active .itinerary-collapse {
  max-height: 100%;
  opacity: 1;
  transform: translateY(0);
}

.itinerary-meta {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);

  display: flex;
  gap: 40px;

  background: #efefef;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0s;
  border-radius: 5px;
}

.itinerary-item.active .itinerary-meta {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding: 16px;
  margin-top: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-item img {
  width: 30px;
  height: 30px;
}

.meta-item span {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.77);

  line-height: 1.4;
}

.meta-item strong {
  display: block;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 13px;
}

.itinerary-item.active .itinerary-toggle {
  transform: rotate(45deg);
}
#dates {
  background: #efefef;
  margin: 30px 0;
  border-radius: 20px;
}
#dates h2 {
  margin: 20px 15px;
}

.departure-item {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #d9d9d9;
  gap: 20px;
}

.departure-dates {
  padding-bottom: 10px;
}
.departure-dates > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.departure-dates > div:first-child h2 {
  margin: 0;
}

.departure-dates > div:first-child h3 {
  display: none;
}

.departure-dates .dep-not {
  margin: 0 15px;
}

.departure-dates > div:first-child select {
  width: auto;
  padding: 10px 20px;
  border: 2px solid var(--secondary);
  border-radius: 30px;
  background-color: white;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  min-width: 120px;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  background-size: 20px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E")
    no-repeat right 5px center;
}

.departure-dates > div:first-child select#month-select {
  min-width: 155px;
}

.departure-dates > div:first-child select:hover {
  border-color: var(--secondary);
  box-shadow: 0 2px 8px rgba(0, 116, 193, 0.2);
}

.departure-dates > div:first-child select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 116, 193, 0.1);
}
#includes-excludes {
  padding: 0 20px;
}

#includes-excludes h2 {
  margin-top: 30px;
}

.departure-item .date-info {
  font-family: var(--primary-font);
  color: rgba(0, 0, 0, 0.77);
  max-width: 100%;
}
.departure-item .date-info p {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}

.departure-item .rate-info {
  text-align: center;
}

.departure-item .rate-info p {
  font-weight: 600;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 8px;
}
.departure-item .hero-btn {
  padding: 10px 0;
  text-align: center;
  background: var(--secondary);
  color: #fff;
  border: none;
}

.date-info .label,
.date-info .seats,
.rate-info .label {
  display: none;
}

.package-section ul {
  list-style: none;
  margin: 0;

  padding: 0 10px;
}

.package-section ul li {
  position: relative;
  padding: 0 30px;
}

.package-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  background-image: url("../images/icons/icon-includes.svg");
  background-size: contain;
}
.package-section {
  margin-top: 10px;
}
.package-section.excludes ul li::before {
  content: "";
  background-image: url("../images/icons/icon-excludes.svg");
}

/* Additional Information */
.additional-information {
  background: rgba(2, 108, 181, 0.1);
  border-radius: 20px;
  margin-top: 30px;
  padding: 40px;
}

.info-box h2 {
  margin: 10px 15px;
}
.info-box.red h2 {
  color: #b51602;
}

.additional-information li::marker {
  font-size: 20px;
  margin-left: 0;
  color: var(--secondary);
}
.tab-content ul li.long-text {
  line-height: 26px;
}
.additional-information ul {
  margin: 0 20px;
}
.additional-information p {
  margin-bottom: 10px;
}

.related-section .section-title {
  margin-bottom: 30px;
}
@media (max-width: 1200px) {
  .hero-content.single.itinerary h1 {
    font-size: 40px;

    line-height: 1.3;
  }
  .content-grid {
    grid-template-columns: 1fr 350px;
    gap: 40px;
  }

  .tab-content h2 {
    text-align: left;
    font-size: 28px;
  }
  .pricing-sticky-wrapper {
    padding: 20px;
  }
}
@media (max-width: 992px) {
}
/* Tablet Responsive - 900px */
@media (max-width: 900px) {
  .hero-content.single.itinerary {
    padding: 25px 0;

    background-color: var(--secondary);
  }

  .hero-content.single.itinerary h1 {
    font-size: 22px;
    line-height: 28px;
    color: #fff;
  }
  .hero-content.single.itinerary h1 br {
    display: none;
  }
  .departure-item {
    grid-template-columns: 1.5fr 1fr 0.8fr;
    gap: 15px;
    padding: 18px;
  }
  .tab-navigation {
    position: sticky;
    top: 0;
  }
  .tab-navigation.sticky {
    width: 100%;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pricing-sidebar {
    order: 2;
  }

  .content-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .trip-details {
    order: 1 !important;
  }

  .pricing-sticky-wrapper {
    position: static !important;
    top: auto !important;
    padding: 10px;
  }
  .trip-map {
    width: 100%;
  }

  .itinerary-item {
    padding: 20px 0;
  }
  .departure-item .date-info p,
  .departure-item .rate-info p {
    margin-bottom: 10px;
  }
}
@media (min-width: 769px) {
  .departure-item .date-info p:first-of-type {
    display: block;
    margin-right: 8px;
  }

  .departure-item .date-info p:last-of-type {
    display: block;
    font-weight: 400;
    font-size: 14px;
  }
}

/* Mobile Responsive - 768px */
@media (max-width: 768px) {
  .hero-content.single.itinerary h1 {
    font-size: 20px;
    line-height: 26px;
  }
  .departure-dates > div:first-child select {
    display: block;
    margin: 2px;
  }
  .tab-navigation {
    top: 70px;
  }

  .tab-btn {
    font-size: 14px;
    font-size: 14px;
  }

  .trip-content {
    padding: 20px 0;
  }

  .price-card h3 {
    font-size: 12px;
    padding: 8px 15px;
  }
  .tab-content h3 {
    font-size: 18px;
  }
  .tab-content p,
  .tab-content li {
    font-size: 15px;
    line-height: 24px;
  }

  .trip-content {
    padding: 20px 0;
  }

  .content-grid {
    gap: 30px;
  }

  .price-card h3 {
    font-size: 12px;
    padding: 0 15px;
  }

  .amount,
  .currency {
    font-size: 25px;
  }
  .price-main p {
    font-size: 18px;
  }

  .itinerary-item {
    padding: 20px 0;
  }

  .itinerary-left {
    min-width: 35px;
  }

  .itinerary-left img {
    width: 35px;
    height: 35px;
  }

  .day-badge {
    font-size: 16px;
    top: 16px;
  }

  .day-label {
    top: 35px;
  }

  .itinerary-toggle {
    font-size: 24px;
  }

  .trip-info-grid {
    gap: 20px;
  }

  .info-item .label {
    font-size: 13px;
  }

  .info-item .value {
    font-size: 15px;
  }

  .departure-item {
    display: block;
    padding: 20px;
  }

  .date-info .label,
  .date-info .seats,
  .rate-info .label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    font-family: var(--primary-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 80px;
  }

  .departure-item .rate-info {
    margin-bottom: 15px;
    margin-right: 0;
    text-align: left;
  }

  .date-info .label {
    float: left;
  }

  .date-info p {
    display: block;

    text-align: right;
    margin: 10px 0;
  }

  .date-info .seats {
    float: left;
    clear: left;
  }

  .rate-info {
    display: block;
    clear: both;
    overflow: hidden;
  }

  .rate-info .label {
    float: left;
  }

  .rate-info p {
    display: block;
    margin-left: 80px;
    text-align: right;
  }

  .departure-item .hero-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }

  .departure-item .rate-info p {
    font-size: 15px;
  }

  .package-section ul li::before {
    top: 4px;
  }
  .itinerary-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .itinerary-item.active .itinerary-meta {
    max-height: 300px;
  }

  .meta-item {
    gap: 8px;
  }

  .meta-item img {
    width: 24px;
    height: 24px;
  }

  .meta-item span {
    font-size: 13px;
  }

  .meta-item strong {
    font-size: 12px;
  }
}

/* Medium Mobile - 600px */
@media (max-width: 600px) {
  .hero-content.single.itinerary h1 {
    font-size: 18px;
    line-height: 24px;
  }
  .castle-container-small.tab {
    margin: 0;
  }

  .tab-btn {
    font-size: 13px;
  }

  .tab-content h2 {
    font-size: 26px;
  }

  .price-card {
    padding: 25px 0;
  }

  .price-main {
    padding: 8px 0;
  }

  .currency {
    font-size: 26px;
  }

  .per {
    font-size: 18px;
  }

  .pax {
    font-size: 18px;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .hero-content.single.itinerary h1 {
    font-size: 16px;
    line-height: 22px;
  }
  .tab-btn {
    font-size: 13px;
    flex: 1 1 80px;
  }

  .trip-info-grid {
    padding: 15px;
    gap: 15px;
  }
  .content-grid {
    gap: 0;
  }
  .info-item .icon {
    width: 20px;
    height: 20px;
  }

  .info-item .value {
    font-size: 13px;
  }

  .price-inr .amount {
    font-size: 20px;
  }

  .tab-btn {
    font-size: 12px;
  }

  .trip-info-grid {
    padding: 12px;
    gap: 12px;
  }

  .info-item {
    gap: 10px;
  }

  .info-item .icon {
    width: 20px;
    height: 20px;
  }

  .info-item .label {
    font-size: 12px;
  }

  .info-item .value {
    font-size: 13px;
  }

  .tab-content {
    padding: 8px 15px;
  }

  .tab-content h3 {
    font-size: 16px;
  }

  .tab-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .tab-content li {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 12px;
  }
  .itinerary-item {
    gap: 12px;
  }

  .itinerary-left {
    min-width: 30px;
  }

  .itinerary-left img {
    width: 30px;
    height: 30px;
  }

  .day-badge {
    font-size: 15px;
    top: 14px;
  }

  .day-label {
    top: 30px;
  }

  .itinerary-body h3 {
    line-height: 1.6;
    padding: 0 8px;
  }

  .itinerary-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .itinerary-item.active .itinerary-meta {
    max-height: 400px;
  }

  .meta-item {
    gap: 10px;
  }

  .meta-item img {
    width: 20px;
    height: 20px;
  }

  .meta-item span {
    font-size: 11px;
  }

  .meta-item strong {
    font-size: 12px;
  }
  .price-card {
    padding: 20px 0;
    margin-bottom: 60px;
  }

  .price-card h3 {
    font-size: 11px;
    padding: 6px 12px;
    top: -25px;
  }

  .currency,
  .amount {
    font-size: 18px;
  }

  .per {
    font-size: 10px;
  }

  .pax.info.supplements {
    font-size: 13px;
  }

  .price-card .hero-btn {
    padding: 12px 30px;
    font-size: 14px;
    bottom: -20px;
  }
  .departure-item {
    padding: 15px;
    gap: 6px 12px;
  }

  .date-info .label,
  .date-info .seats,
  .rate-info .label {
    font-size: 11px;
  }

  .departure-item .date-info p,
  .departure-item .rate-info p {
    font-size: 14px;
  }

  .departure-item .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 6px;
  }
  .departure-dates > div:first-child h2 {
    font-size: 20px;
  }

  .departure-dates > div:first-child select {
    padding: 8px 20px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .tab-content {
    padding: 0;
  }
}
