/**
 * Single Tour / Package Stylesheet - Salkantay Treks Peru
 * Theme: Salkantay Treks Peru (Bootstrap 5 Master Theme)
 * Version: 2.0.0
 */

/* ==========================================================================
   Hero Section & Swiper Slider
   ========================================================================== */
.slider-box {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  min-height: 85vh;
}

.slider-box #slider-tour,
.slider-box #slider-tour .swiper-slide,
.slider-box #slider-tour img,
.slider-box .card-img-top,
.slider-box .stp-hero-img {
  height: 900px;
  min-height: 85vh;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1400px) {
  .slider-box #slider-tour,
  .slider-box #slider-tour .swiper-slide,
  .slider-box #slider-tour img,
  .slider-box .card-img-top,
  .slider-box .stp-hero-img {
    height: 960px;
    min-height: 90vh;
  }
}

@media (max-width: 991.98px) {
  .slider-box {
    min-height: 75vh;
  }
  .slider-box #slider-tour,
  .slider-box #slider-tour .swiper-slide,
  .slider-box #slider-tour img,
  .slider-box .card-img-top,
  .slider-box .stp-hero-img {
    height: 750px;
    min-height: 75vh;
  }
}

@media (max-width: 767.98px) {
  .slider-box {
    min-height: 65vh;
  }
  .slider-box #slider-tour,
  .slider-box #slider-tour .swiper-slide,
  .slider-box #slider-tour img,
  .slider-box .card-img-top,
  .slider-box .stp-hero-img {
    height: 620px;
    min-height: 65vh;
  }
}

.stp-hero-bottom-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: 2rem;
  z-index: 3;
}

.stp-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

@media (max-width: 991.98px) {
  .stp-hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 575.98px) {
  .stp-hero-title {
    font-size: 1.7rem;
  }
  .stp-hero-bottom-content {
    padding-bottom: 1.25rem;
  }
}

.stp-hero-slogan {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.5;
}

.stp-hero-price-badge {
  background-color: #ffffff;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  min-width: 290px;
  max-width: 340px;
}

.stp-hero-price-from-badge {
  display: inline-block;
  background: linear-gradient(135deg, #004b87 0%, #003366 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 7px 28px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 12px rgba(0, 75, 135, 0.35);
}

.stp-hero-old-price {
  font-size: 1.15rem;
  color: #94a3b8 !important;
  font-style: italic;
  font-weight: 600;
}

.stp-hero-price-val {
  font-size: 2.15rem;
  font-weight: 800;
  color: #004b87 !important;
  letter-spacing: -0.5px;
}

.stp-hero-price-val .currency-symbol {
  font-size: 1.85rem;
  color: #004b87;
  font-weight: 800;
}

.stp-hero-price-val .currency-code {
  font-size: 1.15rem;
  color: #004b87;
  font-weight: 800;
  margin-left: 2px;
}

.stp-hero-price-sub {
  font-size: 0.84rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 4px;
}

.stp-hero-book-btn {
  background: linear-gradient(135deg, #ffb703 0%, #fca311 100%) !important;
  color: #003366 !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.6px;
  border: none !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px rgba(252, 163, 17, 0.4) !important;
}

.stp-hero-book-btn:hover {
  background: linear-gradient(135deg, #ffc300 0%, #ffb703 100%) !important;
  color: #002244 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(252, 163, 17, 0.55) !important;
}

.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ==========================================================================
   Meta Details Bar (Linear Minimalist Strip)
   ========================================================================== */
.box-details {
  background-color: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 1.15rem 0;
}

.stp-details-strip {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 0.4rem 0.5rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.stp-details-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 0;
}

.stp-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  border-right: 1px solid #f1f5f9;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  min-width: 0;
  cursor: default;
}

.stp-detail-item:last-child {
  border-right: none;
}

.stp-detail-item:hover {
  background-color: #f8fafc;
}

.stp-detail-icon {
  font-size: 1.25rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.stp-detail-item:hover .stp-detail-icon {
  color: #78c044;
}

.stp-detail-data {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.stp-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  line-height: 1.15;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stp-detail-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.stp-detail-item:hover .stp-detail-val {
  color: #0f172a;
}

@media (max-width: 991.98px) {
  .stp-details-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stp-detail-item {
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.6rem 0.75rem;
  }
  .stp-detail-item:nth-child(3n) {
    border-right: none;
  }
  .stp-detail-item:nth-last-child(-n+3) {
    border-bottom: none;
  }
}

@media (max-width: 575.98px) {
  .stp-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stp-detail-item {
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.5rem 0.65rem;
    gap: 0.55rem;
  }
  .stp-detail-item:nth-child(3n) {
    border-right: 1px solid #f1f5f9;
  }
  .stp-detail-item:nth-child(2n) {
    border-right: none;
  }
  .stp-detail-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .stp-detail-icon {
    font-size: 1.1rem;
  }
  .stp-detail-val {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Intro Box (Overview, Trip Details & Specs Pricing Card)
   ========================================================================== */
.intro-box {
  background-color: #ffffff !important;
  background-image: none !important;
  position: relative;
}

.stp-overview-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
}

.stp-overview-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.stp-overview-body {
  position: relative;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stp-overview-body.stp-overview-collapsed {
  max-height: 410px; /* ~15 lines of text */
  overflow: hidden;
}

.stp-overview-body.stp-overview-expanded {
  max-height: 4000px;
  overflow: visible;
  transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.stp-overview-fade {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 55%, #ffffff 100%);
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 2;
}

.stp-overview-body.stp-overview-expanded + .stp-overview-fade {
  opacity: 0;
  visibility: hidden;
}

.stp-overview-toggle-wrap {
  margin-top: 0.75rem;
  position: relative;
  z-index: 3;
}

.stp-overview-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: #2d6a4f;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.stp-overview-btn:hover,
.stp-overview-btn:focus {
  color: #1b4332;
  outline: none;
  transform: translateY(-1px);
}

.stp-overview-btn-icon {
  font-size: 0.82rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.stp-overview-btn.is-expanded .stp-overview-btn-icon {
  transform: rotate(180deg);
}

.stp-specs-pricing-card {
  background-color: #ffffff;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 40px -6px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03) !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stp-card-top-badge {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.stp-badge-pill {
  display: inline-block;
  background-color: #76c043;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 7px 32px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 12px rgba(118, 192, 67, 0.35);
}

.stp-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.stp-card-duration {
  font-size: 0.98rem;
  font-weight: 600;
  color: #64748b;
}

.stp-card-divider {
  height: 1px;
  background-color: #e2e8f0;
  border-radius: 1px;
}

.stp-card-price-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stp-price-rosette-wrap {
  width: 60px;
  height: 60px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stp-rosette-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 6px rgba(0, 180, 50, 0.25));
}

.stp-price-seal-text {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stp-price-v-line {
  width: 1px;
  height: 48px;
  background-color: #e2e8f0;
}

.stp-best-price-badge {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
}

.stp-best-price-badge i {
  color: #f59e0b;
}

.stp-price-number {
  font-size: 2.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.8px;
  line-height: 1;
}

.stp-price-suffix {
  font-size: 0.84rem;
  font-weight: 500;
  color: #64748b;
}

.stp-spec-feature-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px !important;
  background-color: #f8fafc;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.stp-spec-feature-box:hover {
  background-color: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.stp-feature-icon-circle {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.stp-spec-feature-box:hover .stp-feature-icon-circle {
  color: #0f172a;
  border-color: #cbd5e1;
}

.stp-feature-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.stp-feature-val {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.25;
  font-weight: 500;
}

.stp-trust-urgency-box {
  border-color: #e2e8f0 !important;
  background-color: #fafbfc !important;
}

.stp-tripadvisor-badge {
  width: 18px;
  height: 18px;
  background-color: #00aa6c;
  color: #ffffff;
  border-radius: 50%;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stp-urgency-badge {
  font-size: 0.82rem;
}

.stp-availability-link {
  color: #1e293b;
  font-weight: 700;
  transition: color 0.2s ease;
}

.stp-availability-link:hover {
  color: #78c044;
}

.stp-card-action-btn {
  border-radius: 14px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.stp-card-action-btn:hover .stp-action-arrow-icon {
  transform: translateX(3px);
}

.stp-action-contact {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none;
}

.stp-action-contact:hover {
  background-color: #ffffff;
  border-color: #cbd5e1 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.stp-action-book {
  background: linear-gradient(135deg, #78c044 0%, #5ea32a 100%) !important;
  border: 1px solid #78c044 !important;
  box-shadow: 0 4px 14px rgba(120, 192, 68, 0.35);
}

.stp-action-book:hover {
  background: linear-gradient(135deg, #84d04b 0%, #6cac3a 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(120, 192, 68, 0.45);
}

.stp-action-main-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.stp-action-sub-title {
  font-size: 0.76rem;
  line-height: 1.2;
}

.stp-action-arrow-icon {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.stp-card-action-btn:hover .stp-action-arrow-icon {
  transform: translateX(3px);
}

@media (min-width: 576px) {
  .border-start-sm {
    border-left: 1px solid #e2e8f0 !important;
  }
}

@media (max-width: 575.98px) {
  .stp-card-title {
    font-size: 1.35rem;
  }
  .stp-price-number {
    font-size: 1.8rem;
  }
  .stp-price-rosette-wrap {
    width: 54px;
    height: 54px;
  }
  .stp-price-v-line {
    height: 44px;
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
  }
  .stp-action-main-title {
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   Travel Map Box
   ========================================================================== */
.boxmap {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.boxmap img {
  transition: transform 0.3s ease;
}

.boxmap:hover img {
  transform: scale(1.04);
}

.map_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease;
}

.boxmap:hover .map_overlay {
  background: transparent;
}

.icono_lupa {
  transition: transform 0.2s ease;
}

.boxmap:hover .icono_lupa {
  transform: scale(1.15);
}

/* ==========================================================================
   Content Tour & Sticky Sub-Navigation (.box-menu)
   ========================================================================== */
.content-tour {
  background-color: #f8fafc;
}

.stp-sticky-subnav {
  position: sticky;
  top: 15px;
  z-index: 1020;
  margin-bottom: 1.5rem;
}

.box-menu {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #e2e8f0 !important;
  border-radius: 50rem !important;
  padding: 5px 8px !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s ease;
}

.box-menu:hover {
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08) !important;
}

#nav {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  list-style: none !important;
  overflow-x: auto !important;
  flex-wrap: nowrap !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#nav::-webkit-scrollbar {
  display: none;
}

.box-menu li,
.box-menu li:hover,
.box-menu li.current,
#nav li,
#nav li:hover,
#nav li.current {
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-width: auto !important;
}

#nav a,
.stp-subnav-link {
  color: #475569 !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 50rem !important;
  padding: 7px 15px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

#nav a .icon-nav,
.stp-subnav-link .icon-nav {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

#nav a:hover,
.stp-subnav-link:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: transparent !important;
  transform: none !important;
}

#nav a:hover .icon-nav,
.stp-subnav-link:hover .icon-nav {
  background-color: #e2e8f0;
  color: #1e293b;
  transform: none !important;
}

#nav li.current a,
#nav li.active a,
#nav a.active,
.stp-subnav-link.active {
  background: linear-gradient(135deg, #78c044 0%, #5ea32a 100%) !important;
  color: #ffffff !important;
  border-color: #78c044 !important;
  box-shadow: 0 4px 12px rgba(120, 192, 68, 0.35) !important;
}

#nav li.current a .icon-nav,
#nav li.active a .icon-nav,
#nav a.active .icon-nav,
.stp-subnav-link.active .icon-nav {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Itinerary at a Glance Minimalist List
   ========================================================================== */
.atglance {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.glancer {
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  background-color: transparent !important;
  transition: background-color 0.2s ease !important;
  margin: 0 !important;
}

.glancer:last-child {
  border-bottom: none !important;
}

.glancer:hover {
  background-color: #f8fafc !important;
}

.glancer-day {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  letter-spacing: -0.2px !important;
}

.glancer-title {
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.5 !important;
  transition: color 0.2s ease !important;
}

.glancer:hover .glancer-title {
  color: #0f172a !important;
}

/* ==========================================================================
   Accordion & Section Cards / Detailed Itinerary
   ========================================================================== */
.section-wrapper.section {
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
}

.stp-itinerary-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stp-itinerary-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background-color: #ffffff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.stp-itinerary-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Active / Open state styling */
.stp-itinerary-card:has(.collapse.show),
.stp-itinerary-card:has(.stp-itinerary-trigger[aria-expanded="true"]) {
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

.stp-itinerary-header {
  user-select: none;
  background-color: transparent !important;
}

.stp-itinerary-trigger {
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 15px;
}

.stp-itinerary-trigger:hover {
  background-color: #f8fafc;
}

/* Day Badge */
.stp-itinerary-day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 50rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.stp-itinerary-card:hover .stp-itinerary-day-badge {
  background-color: #e2e8f0;
  color: #1e293b;
}

/* Active Day Badge */
.stp-itinerary-card:has(.collapse.show) .stp-itinerary-day-badge,
.stp-itinerary-card:has(.stp-itinerary-trigger[aria-expanded="true"]) .stp-itinerary-day-badge {
  background: linear-gradient(135deg, #78c044 0%, #5ea32a 100%);
  color: #ffffff;
  border-color: #78c044;
  box-shadow: 0 3px 10px rgba(120, 192, 68, 0.3);
}

/* Day Title */
.stp-itinerary-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  letter-spacing: -0.2px;
  transition: color 0.2s ease;
}

.stp-itinerary-card:hover .stp-itinerary-title {
  color: #166534;
}

/* Toggle Circle Button */
.stp-accordion-circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.82rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stp-itinerary-trigger:hover .stp-accordion-circle-btn {
  background-color: #ffffff;
  border-color: #cbd5e1;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Rotate Chevron when expanded */
.stp-itinerary-trigger:not(.collapsed) .stp-accordion-circle-btn,
.stp-itinerary-card:has(.collapse.show) .stp-accordion-circle-btn {
  transform: rotate(180deg);
  background-color: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

/* Expanded Card Body */
.stp-itinerary-body {
  border-top: none;
}

.stp-itinerary-inner-box {
  background-color: #fafbfc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
}

/* Itinerary Image Gallery */
.stp-itinerary-gallery-item {
  position: relative;
  overflow: hidden;
  height: 150px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  display: block;
  background-color: #0f172a;
}

.stp-itinerary-gallery-item .stp-itinerary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.stp-itinerary-gallery-item:hover .stp-itinerary-img {
  transform: scale(1.08);
  opacity: 0.9;
}

.stp-gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  color: #ffffff;
  font-size: 1.15rem;
}

.stp-itinerary-gallery-item:hover .stp-gallery-zoom-overlay {
  opacity: 1;
  visibility: visible;
}

/* Description Typography */
.stp-itinerary-desc {
  font-size: 0.94rem;
  line-height: 1.85;
  color: #334155 !important;
}

.stp-itinerary-desc p:last-child {
  margin-bottom: 0;
}

.stp-itinerary-desc ul {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.stp-itinerary-desc li {
  margin-bottom: 0.4rem;
}

.stp-itinerary-desc strong {
  color: #0f172a;
  font-weight: 700;
}

/* Expand / Collapse All Button */
.stp-toggle-all-itinerary {
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  transition: all 0.2s ease;
}

.stp-toggle-all-itinerary:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}

.glancer {
  font-size: 0.94rem;
  color: #334155;
}

/* ==========================================================================
   Pricing Tables - Elegant, Minimalist & Well-Distributed
   ========================================================================== */
.stp-price-table-wrap {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background-color: #ffffff;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.stp-price-table {
  margin-bottom: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.stp-price-table thead {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.stp-price-table thead th {
  padding: 14px 20px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  color: #64748b !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background-color: #f8fafc !important;
  white-space: nowrap;
}

.stp-price-table .stp-th-persons {
  width: 48%;
}

.stp-price-table .stp-th-price {
  width: 28%;
}

.stp-price-table .stp-th-action {
  width: 24%;
}

.stp-price-table tbody tr {
  background-color: #ffffff;
  transition: background-color 0.2s ease;
}

.stp-price-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid #f1f5f9 !important;
}

.stp-price-table tbody tr:last-child td {
  border-bottom: none !important;
}

.stp-price-table tbody tr:hover {
  background-color: #f8fafc !important;
}

.stp-price-table tbody td {
  padding: 16px 20px !important;
  vertical-align: middle !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background-color: transparent !important;
}

.stp-price-table .stp-td-persons {
  color: #1e293b;
  font-size: 0.94rem;
}

.stp-price-table .stp-td-price {
  white-space: nowrap;
}

.stp-price-table .stp-price-tag {
  color: #166534 !important;
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.stp-price-table .stp-price-cents {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.stp-price-table .stp-price-curr {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-left: 4px;
}

.stp-table-inquire-btn {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  padding: 7px 18px !important;
  border-radius: 50rem !important;
  border: 1px solid #78c044 !important;
  color: #2d6a4f !important;
  background-color: rgba(120, 192, 68, 0.08) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.stp-table-inquire-btn:hover {
  background: linear-gradient(135deg, #78c044 0%, #5ea32a 100%) !important;
  color: #ffffff !important;
  border-color: #5ea32a !important;
  box-shadow: 0 4px 12px rgba(120, 192, 68, 0.3) !important;
  transform: translateY(-1px);
}

.stp-table-inquire-btn:hover i {
  color: #ffffff !important;
}

@media (max-width: 575.98px) {
  .stp-price-table thead th,
  .stp-price-table tbody td {
    padding: 12px 14px !important;
  }

  .stp-price-table .stp-th-persons {
    width: 45%;
  }

  .stp-price-table .stp-price-tag {
    font-size: 1rem !important;
  }

  .stp-table-inquire-btn {
    padding: 5px 12px !important;
    font-size: 0.78rem !important;
  }
}

/* ==========================================================================
   Sidebar Styling & WeTravel Booking Calendar
   ========================================================================== */
.sidebar {
  border-radius: 18px !important;
  border: 1px solid #e2e8f0 !important;
}

.book_form {
  background-color: #ffffff !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.stp-wetravel-calendar-wrapper,
.book_form .stp-wetravel-calendar-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  display: block !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

.book_form iframe,
.book_form iframe[id*="wetravel"],
.book_form iframe[src*="wetravel"],
.book_form .wtrvl-calendar-iframe,
.book_form .wtrvl-checkout_embed,
.book_form .wtrvl_calendar_embed,
.book_form > div,
.book_form > div > iframe,
.stp-wetravel-calendar-wrapper iframe {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 auto !important;
  border: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.whatsapp {
  border-radius: 18px !important;
  border: 1px solid #e2e8f0 !important;
}

.sidebar_content img {
  max-width: 180px;
  display: inline-block;
}

/* ==========================================================================
   Tour Information Unified Tabs (What to Bring, Travel Guide, FAQs, How to Book)
   ========================================================================== */
.stp-tour-tabs-wrapper {
  background-color: #ffffff;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
}

.stp-nav-tabs-pills {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px !important;
  border-radius: 50rem !important;
  scrollbar-width: none;
}

.stp-nav-tabs-pills::-webkit-scrollbar {
  display: none;
}

.stp-nav-tabs-pills .nav-link {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50rem !important;
  padding: 10px 20px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  background-color: transparent;
}

.stp-nav-tabs-pills .nav-link:hover {
  color: #1e293b;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stp-nav-tabs-pills .nav-link.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #78c044 0%, #5ea32a 100%) !important;
  box-shadow: 0 4px 14px rgba(120, 192, 68, 0.35) !important;
}

.stp-nav-tabs-pills .nav-link.active i {
  color: #ffffff !important;
}

.stp-tab-content {
  padding-top: 0.5rem;
}

.stp-tab-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
}

.stp-faqs-accordion .accordion-item {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.stp-faqs-accordion .accordion-button {
  font-weight: 700;
  color: #1e293b;
  background-color: #f8fafc;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

.stp-faqs-accordion .accordion-button:not(.collapsed) {
  background-color: #f0fdf4;
  color: #166534;
  box-shadow: none;
}

/* ==========================================================================
   Images inside .stp-tour-tabs-wrapper (50% Width + Elegant Border)
   ========================================================================== */
.stp-tour-tabs-wrapper img,
.stp-tour-tabs-wrapper .stp-tab-body img,
.stp-tour-tabs-wrapper .tab-pane img,
.stp-tour-tabs-wrapper figure img {
  width: 50% !important;
  max-width: 50% !important;
  height: auto !important;
  display: block !important;
  margin: 1.25rem auto !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 5px !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.stp-tour-tabs-wrapper img:hover,
.stp-tour-tabs-wrapper .stp-tab-body img:hover,
.stp-tour-tabs-wrapper .tab-pane img:hover,
.stp-tour-tabs-wrapper figure img:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.04) !important;
  transform: translateY(-2px);
}

.stp-tour-tabs-wrapper figure {
  margin: 1.25rem auto !important;
  text-align: center !important;
}

.stp-tour-tabs-wrapper figcaption {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
  font-style: italic;
}

@media (max-width: 767.98px) {
  .stp-tour-tabs-wrapper img,
  .stp-tour-tabs-wrapper .stp-tab-body img,
  .stp-tour-tabs-wrapper .tab-pane img,
  .stp-tour-tabs-wrapper figure img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   Inclusions & Exclusions Tabs Content
   ========================================================================== */
.stp-inclusions-content ul {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.stp-inclusions-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.stp-inclusions-content strong {
  color: #0f172a;
  font-weight: 700;
}

.stp-inclusions-acomodacion {
  border-top-color: #e2e8f0 !important;
}

/* ==========================================================================
   Open-Meteo Live Cusco Weather Widget
   ========================================================================== */
.stp-weather-widget {
  background-color: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.04) !important;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  margin-bottom: 1.75rem;
}

.stp-weather-widget:hover {
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.08) !important;
}

.stp-weather-header {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  position: relative;
}

.stp-weather-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 3px 9px;
  border-radius: 50rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffffff;
}

.stp-weather-pulse {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: stpWeatherPulse 1.8s infinite;
}

@keyframes stpWeatherPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.stp-weather-hero {
  background-color: #ffffff;
}

.stp-weather-current-temp {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
  letter-spacing: -1px;
}

.stp-temp-degree {
  font-size: 1.1rem;
  font-weight: 700;
  color: #64748b;
  margin-left: 2px;
}

.stp-weather-main-icon {
  font-size: 2.5rem;
  transition: transform 0.3s ease;
}

.stp-weather-main-icon:hover {
  transform: scale(1.1) rotate(6deg);
}

.stp-metric-box {
  border-color: #f1f5f9 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stp-metric-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stp-metric-icon {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.stp-forecast-item {
  border-color: #f1f5f9 !important;
  transition: all 0.2s ease;
}

.stp-forecast-item:hover {
  background-color: #f8fafc !important;
  border-color: #e2e8f0 !important;
  transform: translateX(2px);
}




/* Mobile package layout: heading, image, then booking details. */
@media (max-width: 767.98px) {
  body:has(.stp-hero-heading) {
    overflow-x: clip;
  }

  body:has(.stp-hero-heading) .csp-site-header,
  body:has(.stp-hero-heading) .csp-site-header.is-sticky,
  body:has(.stp-hero-heading) .csp-site-header.mth-header-sticky {
    position: relative !important;
    top: auto;
  }

  body:has(.stp-hero-heading) .csp-header-mobile-bar {
    gap: 0.35rem;
  }

  body:has(.stp-hero-heading) .csp-brand {
    min-width: 0;
  }

  body:has(.stp-hero-heading) .csp-brand-logo {
    width: clamp(100px, 30vw, 145px);
    max-width: 100%;
    height: auto;
  }

  body:has(.stp-hero-heading) .csp-mobile-quick-actions a {
    width: 2rem;
  }

  .slider-box:has(.stp-hero-heading) {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .stp-hero-bottom-content,
  .stp-hero-bottom-content > .container,
  .stp-hero-bottom-content > .container > .row {
    display: contents;
  }

  .stp-hero-heading {
    order: -1;
  }

  .stp-hero-heading,
  .stp-hero-pricing {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 1.25rem;
    overflow-wrap: anywhere;
  }

  .stp-tour-hero-overlay {
    display: none;
  }

  .slider-box #featured-image,
  .slider-box #overview,
  .slider-box #slider-tour {
    min-width: 0;
    max-width: 100%;
  }

  .slider-box #slider-tour,
  .slider-box #slider-tour .swiper-slide,
  .slider-box #slider-tour img,
  .slider-box .card-img-top,
  .slider-box .stp-hero-img {
    height: clamp(240px, 75vw, 460px);
    min-height: 0;
  }

  .stp-hero-price-badge {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .content-tour [class*="col-"],
  .stp-sticky-subnav,
  .box-menu,
  .stp-tour-tabs-wrapper {
    min-width: 0;
    max-width: 100%;
  }

  .content-tour {
    overflow-wrap: anywhere;
  }

  .content-tour iframe,
  .content-tour img {
    max-width: 100%;
  }

  .content-tour .table-responsive,
  .content-tour .stp-tab-body {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* WeTravel checks event.target, so clicks on labels/icons must hit the link. */
.wtrvl-checkout_button.custom-wetravel-button * {
  pointer-events: none;
}

/* Package booking sidebar: contact, planning and inspiration. */
.stp-package-sidebar .book_form {
  padding: 1.5rem !important;
  border-top: 4px solid #78c044;
}

.stp-sidebar-support {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  min-width: 0;
  overflow-wrap: anywhere;
}

.stp-sidebar-support section {
  min-width: 0;
}

.stp-sidebar-support h3 {
  margin: 0 0 0.65rem;
  color: #162c25;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.stp-sidebar-support p {
  margin: 0 0 1rem;
  color: #52635c;
  font-size: 0.875rem;
  line-height: 1.65;
}

.stp-sidebar-eyebrow {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #527044;
}

.stp-sidebar-eyebrow i {
  margin-right: 0.3rem;
}

.stp-sidebar-notice {
  padding: 1.15rem;
  background: #fff8e8;
  border: 1px solid #f0d9a3;
  border-radius: 14px;
}

.stp-sidebar-notice .stp-sidebar-eyebrow,
.stp-sidebar-notice h3,
.stp-sidebar-notice .stp-sidebar-text-link {
  color: #805617;
}

.stp-sidebar-contact {
  padding: 0.25rem 0;
}

.stp-sidebar-contact-links {
  display: grid;
  gap: 0.6rem;
}

.stp-sidebar-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.85rem;
  border: 1px solid #e1e8e2;
  border-radius: 12px;
  background: #f8faf8;
  color: #234637;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.stp-sidebar-contact-link > i {
  flex: 0 0 20px;
  text-align: center;
  font-size: 1.1rem;
}

.stp-sidebar-contact-link > i:last-child:not(:first-child) {
  margin-left: auto;
  font-size: 0.8rem;
}

.stp-sidebar-contact-link span {
  min-width: 0;
}

.stp-sidebar-contact-link strong,
.stp-sidebar-contact-link small {
  display: block;
}

.stp-sidebar-contact-link strong {
  font-size: 0.88rem;
}

.stp-sidebar-contact-link small {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  line-height: 1.5;
}

.stp-sidebar-contact-link:hover {
  background: #edf5e9;
  border-color: #78c044;
  color: #234637;
}

.stp-sidebar-whatsapp {
  background: #216744;
  border-color: #216744;
  color: #fff;
}

.stp-sidebar-whatsapp:hover {
  background: #194f34;
  border-color: #194f34;
  color: #fff;
}

.stp-sidebar-promo {
  padding: 1.25rem;
  border-radius: 14px;
}

.stp-sidebar-promo-domes {
  background: radial-gradient(ellipse at top right, #356846, #132f29 80%);
  color: #fff;
}

.stp-sidebar-promo-icon {
  display: block;
  margin-bottom: 1rem;
  color: #b3d887;
  font-size: 2rem;
}

.stp-sidebar-promo-domes h3,
.stp-sidebar-promo-domes .stp-sidebar-text-link {
  color: #fff;
}

.stp-sidebar-promo-domes p {
  color: #d4e2d8;
}

.stp-sidebar-promo-domes .stp-sidebar-eyebrow {
  color: #b3d887;
}

.stp-sidebar-promo-private {
  background: #eff4ed;
  border: 1px solid #dce7d6;
}

.stp-sidebar-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: #285435;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.stp-sidebar-follow {
  padding-top: 0.5rem;
  text-align: center;
}

.stp-sidebar-socials {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.stp-sidebar-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 44px;
  min-width: 0;
  height: 44px;
  border: 1px solid #dce7d6;
  border-radius: 50%;
  color: #285435;
  background: #f4f7f1;
  text-decoration: none;
}

.stp-sidebar-socials a:hover {
  color: #fff;
  background: #285435;
}

.stp-sidebar-support a:focus-visible {
  outline: 3px solid #78c044;
  outline-offset: 3px;
}
