.tour-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
}

/* UX refresh: make tour detail pages feel like travel products, not brochures. */
.tour-hero-media {
  background:
    linear-gradient(90deg, rgba(11, 31, 34, 0.9), rgba(11, 31, 34, 0.56) 48%, rgba(11, 31, 34, 0.16)),
    var(--tour-image) center/cover;
}

.tour-hero-copy {
  width: min(980px, 100%);
  padding: 92px clamp(22px, 6vw, 80px) 92px;
}

.tour-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 26px;
}

.tour-hero-stats div {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.tour-hero-stats strong,
.tour-hero-stats span {
  display: block;
}

.tour-hero-stats strong {
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
}

.tour-hero-stats span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 850;
}

.tour-detail-section {
  padding-top: 30px;
  background: #f4f8f7;
}

.tour-anchor-nav {
  position: sticky;
  top: 92px;
  z-index: 10;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(23, 48, 51, 0.08);
}

.tour-anchor-nav a {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 950;
}

.tour-anchor-nav a:hover {
  background: var(--mist);
  color: var(--teal-dark);
}

.journey-promise {
  padding: clamp(26px, 5vw, 56px);
  box-shadow: 0 22px 70px rgba(23, 48, 51, 0.18);
}

.tour-panel {
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 16px 42px rgba(23, 48, 51, 0.09);
}

.facts-panel,
.highlights-panel,
.itinerary-panel,
.price-panel {
  scroll-margin-top: 120px;
}

.facts-grid div {
  border-color: rgba(221, 231, 229, 0.9);
  padding: 16px;
  background: linear-gradient(180deg, white, #f8fbfa);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 56px);
  overflow: hidden;
}

.intro-panel::after {
  content: "";
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 48, 51, 0.06), rgba(23, 48, 51, 0.12)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1100&q=85") center/cover;
}

.feature-stack {
  grid-template-columns: repeat(5, minmax(260px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.feature-stack section {
  position: relative;
  min-height: 460px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 0;
  background: #0f2629;
  color: white;
  scroll-snap-align: start;
}

.feature-stack section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center/cover;
  opacity: 0.74;
  transition: transform 220ms ease;
}

.feature-stack section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 38, 41, 0.08), rgba(15, 38, 41, 0.92));
}

.feature-stack section:hover::before {
  transform: scale(1.04);
}

.feature-stack section:nth-child(1)::before {
  background-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=900&q=85");
}

.feature-stack section:nth-child(2)::before {
  background-image: url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=900&q=85");
}

.feature-stack section:nth-child(3)::before {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=85");
}

.feature-stack section:nth-child(4)::before {
  background-image: url("https://images.unsplash.com/photo-1543352634-a1c51d9f1fa7?auto=format&fit=crop&w=900&q=85");
}

.feature-stack section:nth-child(5)::before {
  background-image: url("https://images.unsplash.com/photo-1526772662000-3f88f10405ff?auto=format&fit=crop&w=900&q=85");
}

.feature-stack h3,
.feature-stack p {
  position: relative;
  z-index: 1;
}

.feature-stack h3 {
  margin: 0;
  padding: 24px 22px 8px;
  color: white;
  font-size: 24px;
}

.feature-stack p {
  margin: 0;
  padding: 0 22px 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.feature-stack .note {
  margin: 0 22px 22px;
  border-color: var(--gold);
  padding: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: white !important;
}

.daily-grid {
  gap: 0;
}

.daily-grid div {
  position: relative;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  border-top: 0;
  border-left: 2px solid var(--line);
  margin-left: 8px;
  padding: 0 0 22px 22px;
}

.daily-grid div::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--teal);
}

.price-table {
  gap: 0;
}

.price-table div {
  gap: 12px;
  align-items: center;
  padding: 14px 0;
}

.mobile-booking-bar {
  display: none;
}

.tour-hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 43, 47, 0.82), rgba(15, 43, 47, 0.36)), var(--tour-image) center/cover;
}

.tour-hero-copy {
  position: relative;
  width: min(850px, 100%);
  padding: 104px clamp(22px, 6vw, 80px) 120px;
}

.tour-hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.75;
}

.back-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 14px;
  font-weight: 900;
}

.tour-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.outline {
  border-color: var(--line);
  background: white;
  color: var(--charcoal);
}

.tour-detail-section {
  display: grid;
  gap: 24px;
  padding: 82px clamp(18px, 5vw, 72px);
}

.yunnan-product {
  display: grid;
  gap: 24px;
}

.yunnan-product[hidden] {
  display: none;
}

.tour-detail-section > [hidden] {
  display: none !important;
}

.journey-promise {
  border-radius: 8px;
  padding: clamp(24px, 5vw, 46px);
  background:
    linear-gradient(90deg, rgba(23, 48, 51, 0.9), rgba(20, 117, 104, 0.72)),
    url("https://source.unsplash.com/1600x900/?yunnan,old-town,travel") center/cover;
  color: white;
}

.journey-promise .eyebrow {
  color: var(--gold);
}

.journey-promise h2 {
  max-width: 840px;
}

.journey-promise p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.facts-grid div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--canvas);
}

.facts-grid strong {
  color: var(--teal-dark);
  font-size: 14px;
}

.facts-grid span {
  color: #344654;
  line-height: 1.45;
}

.product-copy p {
  max-width: 980px;
  font-size: 17px;
}

.feature-stack {
  display: grid;
  gap: 16px;
}

.feature-stack section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--canvas);
}

.feature-stack h3 {
  color: var(--teal-dark);
}

.note {
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  color: #344654 !important;
  font-weight: 800;
}

.daily-grid,
.price-table {
  display: grid;
  gap: 10px;
}

.daily-grid div,
.price-table div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.daily-grid strong,
.price-table strong {
  color: var(--teal-dark);
}

.daily-grid span,
.price-table span,
.price-table em {
  color: #344654;
  font-style: normal;
  line-height: 1.5;
}

.price-table div {
  grid-template-columns: minmax(150px, 1.2fr) minmax(90px, 0.7fr) minmax(110px, 0.8fr) minmax(130px, 0.8fr);
}

.price-table b {
  color: var(--teal-dark);
}

.compact-list li {
  color: #344654;
}

.price-cta {
  margin-top: 20px;
}

.tour-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.tour-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.tour-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.panel-head p {
  max-width: 360px;
  margin: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: #344654;
  font-weight: 850;
  line-height: 1.55;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.highlight-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--canvas);
}

.highlight-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 18px;
}

.highlight-card span {
  color: #344654;
  line-height: 1.55;
}

.departure-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.departure-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--canvas);
}

.departure-item time,
.departure-item strong,
.departure-item span {
  display: block;
}

.departure-item time {
  color: var(--charcoal);
  font-weight: 950;
}

.departure-item strong {
  margin-top: 6px;
  color: var(--teal-dark);
}

.departure-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.tour-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-radius: 8px;
  padding: 30px;
  background: var(--charcoal);
  color: white;
}

.tour-next p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.tour-next .eyebrow {
  color: var(--gold);
}

.tour-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 1040px) {
  .tour-detail-grid,
  .facts-grid,
  .highlight-grid,
  .departure-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-next {
    display: grid;
  }

  .tour-next-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .tour-hero {
    min-height: 700px;
  }

  .tour-hero-media {
    background: linear-gradient(180deg, rgba(15, 43, 47, 0.45), rgba(15, 43, 47, 0.86)), var(--tour-image) center/cover;
  }

  .tour-hero-copy {
    padding: 84px 18px 90px;
  }

  .tour-hero-actions .button,
  .tour-next-actions .button {
    width: 100%;
  }

  .tour-detail-section {
    padding: 58px 18px;
  }

  .tour-detail-grid,
  .facts-grid,
  .highlight-grid,
  .departure-list {
    grid-template-columns: 1fr;
  }

  .daily-grid div,
  .price-table div {
    grid-template-columns: 1fr;
  }

  .panel-head {
    display: grid;
  }
}

/* Final visual pass overrides */
.tour-hero-media {
  background:
    linear-gradient(90deg, rgba(11, 31, 34, 0.9), rgba(11, 31, 34, 0.56) 48%, rgba(11, 31, 34, 0.16)),
    var(--tour-image) center/cover;
}

.tour-hero-copy {
  width: min(980px, 100%);
  padding: 92px clamp(22px, 6vw, 80px) 92px;
}

.tour-detail-section {
  padding-top: 30px;
  background: #f4f8f7;
}

.journey-promise {
  padding: clamp(26px, 5vw, 56px);
  box-shadow: 0 22px 70px rgba(23, 48, 51, 0.18);
}

.tour-panel {
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 16px 42px rgba(23, 48, 51, 0.09);
}

.facts-grid div {
  border-color: rgba(221, 231, 229, 0.9);
  padding: 16px;
  background: linear-gradient(180deg, white, #f8fbfa);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 56px);
  overflow: hidden;
}

.intro-panel::after {
  content: "";
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 48, 51, 0.06), rgba(23, 48, 51, 0.12)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1100&q=85") center/cover;
}

.feature-stack {
  grid-template-columns: repeat(5, minmax(260px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.feature-stack section {
  position: relative;
  min-height: 460px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 0;
  background: #0f2629;
  color: white;
  scroll-snap-align: start;
}

.feature-stack section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center/cover;
  opacity: 0.74;
  transition: transform 220ms ease;
}

.feature-stack section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 38, 41, 0.08), rgba(15, 38, 41, 0.92));
}

.feature-stack section:hover::before {
  transform: scale(1.04);
}

.feature-stack section:nth-child(1)::before {
  background-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=900&q=85");
}

.feature-stack section:nth-child(2)::before {
  background-image: url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=900&q=85");
}

.feature-stack section:nth-child(3)::before {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=85");
}

.feature-stack section:nth-child(4)::before {
  background-image: url("https://images.unsplash.com/photo-1543352634-a1c51d9f1fa7?auto=format&fit=crop&w=900&q=85");
}

.feature-stack section:nth-child(5)::before {
  background-image: url("https://images.unsplash.com/photo-1526772662000-3f88f10405ff?auto=format&fit=crop&w=900&q=85");
}

.feature-stack h3,
.feature-stack p {
  position: relative;
  z-index: 1;
}

.feature-stack h3 {
  margin: 0;
  padding: 24px 22px 8px;
  color: white;
  font-size: 24px;
}

.feature-stack p {
  margin: 0;
  padding: 0 22px 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.feature-stack .note {
  margin: 0 22px 22px;
  border-color: var(--gold);
  padding: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: white !important;
}

.daily-grid {
  gap: 0;
}

.daily-grid div {
  position: relative;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  border-top: 0;
  border-left: 2px solid var(--line);
  margin-left: 8px;
  padding: 0 0 22px 22px;
}

.daily-grid div::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--teal);
}

.price-table {
  gap: 0;
}

.price-table div {
  gap: 12px;
  align-items: center;
  padding: 14px 0;
}

.mobile-booking-bar {
  display: none;
}

@media (max-width: 640px) {
  .tour-hero {
    min-height: 740px;
  }

  .tour-hero-media {
    background:
      linear-gradient(180deg, rgba(15, 43, 47, 0.45), rgba(15, 43, 47, 0.86)),
      var(--tour-image) center/cover;
  }

  .tour-hero-copy {
    padding: 84px 18px 90px;
  }

  .tour-hero-stats,
  .intro-panel {
    grid-template-columns: 1fr;
  }

  .intro-panel::after {
    min-height: 260px;
    order: -1;
  }

  .tour-detail-section {
    padding: 18px 18px 92px;
  }

  .tour-anchor-nav {
    top: 72px;
    margin-inline: -18px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .feature-stack {
    grid-template-columns: 88%;
  }

  .feature-stack section {
    min-height: 520px;
  }

  .daily-grid div,
  .price-table div {
    grid-template-columns: 1fr;
  }

  .mobile-booking-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-booking-bar a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--teal);
    color: white;
    font-weight: 950;
  }

  .mobile-booking-bar a + a {
    background: var(--charcoal);
  }
}

/* Yunnan product layout: split carousel + concise selling cards */
.tour-hero {
  min-height: calc(100vh - 78px);
  align-items: center;
  background: #f4f8f7;
  color: var(--ink);
}

.tour-hero-media {
  display: none;
}

.tour-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 72px) clamp(18px, 5vw, 72px);
}

.tour-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  box-shadow: 0 24px 70px rgba(23, 48, 51, 0.18);
}

.carousel-track {
  display: flex;
  width: 300%;
  min-height: inherit;
  height: 100%;
  animation: carouselSlide 16s infinite;
}

.carousel-track img {
  width: 33.333%;
  min-height: inherit;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.carousel-dots span {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

@keyframes carouselSlide {
  0%, 28% {
    transform: translateX(0);
  }
  34%, 62% {
    transform: translateX(-33.333%);
  }
  68%, 94% {
    transform: translateX(-66.666%);
  }
  100% {
    transform: translateX(0);
  }
}

.tour-hero-copy {
  width: 100%;
  padding: 0;
}

.tour-hero-copy p {
  color: var(--muted);
}

.tour-hero-copy h1 {
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
}

.tour-hero-copy .eyebrow {
  color: var(--rose);
}

.back-link {
  border-color: var(--line);
  background: white;
  color: var(--charcoal);
}

.tour-subtitle {
  color: var(--teal-dark) !important;
  font-weight: 950;
}

.hero-tag-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 20px;
}

.hero-tag-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  border: 1px solid rgba(47, 154, 142, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(180deg, white, #f3fbf9);
  box-shadow: 0 10px 24px rgba(23, 48, 51, 0.07);
}

.hero-tag-list article > span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mist);
  font-size: 20px;
}

.hero-tag-list strong {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.15;
}

.hero-tag-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.hero-date-card {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: white;
  box-shadow: 0 14px 34px rgba(23, 48, 51, 0.08);
}

.hero-date-card > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--charcoal);
  font-size: 18px;
}

.hero-date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hero-date-grid span {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-radius: 8px;
  padding: 9px 10px;
  background: var(--canvas);
  color: #344654;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.hero-date-grid strong,
.hero-date-grid em {
  font-style: normal;
}

.hero-date-grid em {
  color: var(--teal-dark);
  font-size: 13px;
}

.tour-hero-stats {
  display: none;
}

.highlights-panel h2 {
  max-width: 760px;
}

.feature-stack {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding-bottom: 0;
}

.feature-stack section {
  min-height: auto;
  display: block;
  border: 1px solid var(--line);
  padding: 18px;
  background: white;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 48, 51, 0.08);
}

.feature-stack section::before,
.feature-stack section::after {
  display: none;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--mist);
  font-size: 22px;
}

.feature-stack h3 {
  padding: 0;
  color: var(--charcoal);
  font-size: 20px;
}

.feature-stack p {
  padding: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .tour-hero-shell {
    grid-template-columns: 1fr;
  }

  .tour-carousel {
    min-height: 460px;
  }

  .feature-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tour-hero {
    min-height: auto;
  }

  .tour-hero-shell {
    padding: 18px;
  }

  .tour-carousel {
    min-height: 360px;
    order: -1;
  }

  .hero-date-grid,
  .feature-stack {
    grid-template-columns: 1fr;
  }

  .hero-tag-list {
    grid-template-columns: 1fr;
  }

  .hero-date-grid span {
    grid-template-columns: 1fr;
  }
}

/* Yunnan conversion page refinements */
.tour-hero-copy h1 {
  font-size: clamp(30px, 3.4vw, 46px);
}

.hero-date-grid span {
  grid-template-columns: 1fr;
}

.hero-date-grid strong {
  color: var(--charcoal);
}

.journey-promise {
  text-align: center;
  background: #fbf4e9;
  color: var(--charcoal);
  box-shadow: none;
}

.journey-promise .eyebrow {
  color: var(--rose);
}

.journey-promise h2,
.journey-promise p {
  margin-left: auto;
  margin-right: auto;
}

.journey-promise p {
  color: #4d5d60;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.difference-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(221, 231, 229, 0.9);
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: 0 12px 30px rgba(23, 48, 51, 0.07);
}

.difference-grid strong {
  color: var(--teal-dark);
  font-size: 30px;
  line-height: 1;
}

.difference-grid span {
  color: #344654;
  font-weight: 850;
  line-height: 1.45;
}

.proof-section {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
  text-align: center;
}

.proof-section h2 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
}

.proof-collage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.proof-collage img {
  width: 100%;
  height: clamp(210px, 20vw, 320px);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 48, 51, 0.1);
}

.proof-collage img:nth-child(5),
.proof-collage img:nth-child(8) {
  height: clamp(250px, 24vw, 360px);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.experience-grid a {
  display: grid;
  grid-template-rows: auto auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--charcoal);
  box-shadow: 0 12px 30px rgba(23, 48, 51, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.experience-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(23, 48, 51, 0.13);
}

.experience-grid img,
.stay-grid img,
.real-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-grid img {
  display: block;
  aspect-ratio: 1 / 1;
  height: auto;
}

.experience-photo-rail {
  object-position: 58% center;
}

.experience-photo-dinner {
  object-position: center center;
}

.experience-grid strong {
  padding: 16px 16px 6px;
  color: var(--charcoal);
  font-size: 18px;
}

.experience-grid span {
  padding: 0 16px 18px;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.55;
}

.section-cta {
  width: fit-content;
  margin-top: 10px;
}

.itinerary-panel .route-subtitle {
  margin: -6px 0 22px;
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 950;
}

.itinerary-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.itinerary-card-grid article {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 250, 0.96)),
    radial-gradient(circle at top right, rgba(47, 154, 142, 0.12), transparent 44%);
  box-shadow: 0 12px 28px rgba(23, 48, 51, 0.07);
}

.day-label {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.itinerary-card-grid h3 {
  margin: 14px 0 10px;
  color: var(--charcoal);
  font-size: 18px;
  line-height: 1.25;
}

.itinerary-card-grid p {
  margin: 0;
  color: #405457;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.58;
}

.itinerary-card-grid b {
  color: var(--teal-dark);
}

.route-badge {
  width: fit-content;
  margin-top: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff3d5;
  color: #735214;
  font-size: 12px;
  font-weight: 950;
}

.quality-panel {
  background: #fffdf8;
}

.quality-head {
  max-width: 880px;
  margin-bottom: 24px;
}

.quality-head h2 {
  margin-bottom: 12px;
}

.quality-head > p:not(.eyebrow) {
  max-width: 760px;
  color: #536569;
  font-size: 17px;
  line-height: 1.7;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quality-grid article {
  border: 1px solid rgba(221, 231, 229, 0.92);
  border-radius: 16px;
  padding: 20px;
  background: white;
  box-shadow: 0 12px 30px rgba(23, 48, 51, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quality-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(23, 48, 51, 0.12);
}

.quality-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.quality-grid article:nth-child(2) .quality-icon,
.quality-grid article:nth-child(6) .quality-icon {
  background: #edf7f2;
  color: var(--teal-dark);
}

.quality-grid article:nth-child(3) .quality-icon,
.quality-grid article:nth-child(5) .quality-icon {
  background: #eaf4f6;
  color: #396d82;
}

.quality-grid article:nth-child(4) .quality-icon {
  background: #fff3d5;
  color: #735214;
}

.quality-grid h3 {
  margin: 16px 0 8px;
  color: var(--charcoal);
  font-size: 20px;
  line-height: 1.25;
}

.quality-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.65;
}

.include-grid .tour-panel {
  box-shadow: 0 12px 30px rgba(23, 48, 51, 0.07);
}

.icon-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #344654;
  font-weight: 850;
  line-height: 1.55;
}

.icon-list li::before {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.included-list li::before {
  content: "✓";
  background: var(--mist);
  color: var(--teal-dark);
}

.excluded-list li::before {
  content: "×";
  background: #fff0ed;
  color: var(--rose);
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stay-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(23, 48, 51, 0.07);
}

.stay-grid img {
  height: 210px;
}

.stay-grid div {
  padding: 20px;
}

.stay-grid h3 {
  margin: 0 0 8px;
  color: var(--charcoal);
  font-size: 22px;
}

.stay-grid p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.real-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.real-grid img,
.testimonial-card {
  min-height: 260px;
  border-radius: 8px;
}

.testimonial-card {
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  padding: 20px;
  background: #fbf4e9;
}

.testimonial-card strong {
  color: var(--teal-dark);
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--charcoal);
  font-weight: 950;
}

.faq-list p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0 18px 16px;
}

.final-tour-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(26px, 5vw, 46px);
  background:
    linear-gradient(90deg, rgba(15, 43, 47, 0.9), rgba(15, 43, 47, 0.62)),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1600&q=85") center/cover;
  color: white;
}

.final-tour-cta h2 {
  max-width: 640px;
  color: white;
}

.final-tour-cta p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.final-tour-cta .eyebrow {
  color: var(--gold);
}

.final-tour-cta .ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

@media (max-width: 1180px) {
  .experience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .itinerary-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .real-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .difference-grid,
  .stay-grid {
    grid-template-columns: 1fr;
  }

  .proof-collage {
    display: flex;
    overflow-x: auto;
    margin-inline: -18px;
    padding: 0 18px 8px;
    scroll-snap-type: x mandatory;
  }

  .proof-collage img {
    flex: 0 0 78%;
    height: 310px;
    scroll-snap-align: start;
  }

  .experience-grid {
    display: flex;
    overflow-x: auto;
    margin-inline: 0;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
  }

  .experience-grid a {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .real-grid {
    grid-template-columns: 1fr;
  }

  .itinerary-card-grid {
    grid-template-columns: 1fr;
  }

  .itinerary-card-grid article {
    min-height: auto;
  }

  .quality-grid {
    display: flex;
    overflow-x: auto;
    margin-inline: -18px;
    padding: 0 18px 8px;
    scroll-snap-type: x mandatory;
  }

  .quality-grid article {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .final-tour-cta {
    display: grid;
  }

  .section-cta {
    width: 100%;
  }
}

/* Xi'an ancient capital product page */
.xian-product {
  display: grid;
  gap: 22px;
}

.xian-product[hidden] {
  display: none;
}

.xian-tour-detail .tour-hero {
  background: #f7f1e8;
}

.xian-tour-detail .tour-hero-copy .eyebrow,
.xian-tour-detail .month-chip-grid span {
  background: #fff3d5;
  color: #735214;
}

.xian-tour-detail .tour-subtitle {
  display: grid;
  gap: 10px;
  color: #3d2f29 !important;
}

.xian-tour-detail .tour-subtitle small {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.65;
}

.xian-tour-detail .hero-date-card > strong {
  color: #8a3c31;
  font-size: 22px;
}

.xian-tour-detail .hero-tag-list article:nth-child(1) > span,
.xian-tour-detail .hero-tag-list article:nth-child(5) > span {
  background: #fff3d5;
}

.xian-tour-detail .hero-tag-list article:nth-child(2) > span,
.xian-tour-detail .hero-tag-list article:nth-child(4) > span {
  background: #f0eee8;
}

.xian-tour-detail .hero-tag-list article:nth-child(3) > span {
  background: #edf7f2;
}

.xian-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.xian-highlight-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 24px rgba(23, 48, 51, 0.07);
}

.xian-highlight-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.xian-highlight-grid h3 {
  margin: 16px 18px 8px;
  color: var(--charcoal);
  font-size: 20px;
}

.xian-highlight-grid p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.6;
}

.xian-stay-grid,
.xian-highlight-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: white;
  box-shadow: 0 16px 42px rgba(23, 48, 51, 0.09);
}

.xian-cta {
  background:
    linear-gradient(90deg, rgba(23, 48, 51, 0.9), rgba(138, 60, 49, 0.62)),
    url("https://images.unsplash.com/photo-1539650116574-8efeb43e2750?auto=format&fit=crop&w=1600&q=86") center/cover;
}

@media (max-width: 900px) {
  .xian-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .xian-highlight-grid {
    display: flex;
    overflow-x: auto;
    margin-inline: -18px;
    padding: 0 18px 8px;
    scroll-snap-type: x mandatory;
  }

  .xian-highlight-grid article {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

/* Product-style hero gallery */
.tour-hero {
  background: #f7f5ef;
}

.tour-hero-shell {
  grid-template-columns: minmax(0, 55fr) minmax(420px, 45fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.tour-gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  background: var(--charcoal);
  box-shadow: 0 26px 68px rgba(23, 48, 51, 0.16);
}

.gallery-main img,
.gallery-main video,
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main img,
.gallery-main video {
  animation: galleryImageIn 0.55s ease both;
}

.gallery-video-card {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #11383c, #071f22);
}

.gallery-video-card video {
  object-fit: contain;
}

.gallery-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 34, 37, 0.08), rgba(8, 34, 37, 0.34));
  pointer-events: none;
}

.video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(23, 48, 51, 0.18);
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(23, 48, 51, 0.24);
}

.video-play-button span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 16px;
}

.gallery-video-card.is-playing::before,
.gallery-video-card.is-playing .video-badge,
.gallery-video-card.is-playing .video-play-button {
  display: none;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.gallery-thumbs button {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.gallery-thumbs button:hover,
.gallery-thumbs button.is-active {
  border-color: var(--teal);
  opacity: 1;
  transform: translateY(-2px);
}

.gallery-thumbs img {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(23, 48, 51, 0.08);
}

.gallery-thumbs .thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  background: rgba(9, 48, 53, 0.22);
  pointer-events: none;
}

.gallery-thumbs small {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  overflow: hidden;
  border-radius: 999px;
  padding: 3px 5px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  font-size: 9px;
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes galleryImageIn {
  from {
    opacity: 0.72;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tour-hero-copy .eyebrow {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: #edf7f2;
  color: var(--teal-dark);
  font-size: 12px;
}

.tour-hero-copy h1 {
  margin-top: 16px;
  font-size: clamp(38px, 4.4vw, 64px);
  letter-spacing: 0;
}

.tour-subtitle {
  color: #4a3f36 !important;
  font-size: clamp(18px, 1.7vw, 24px) !important;
}

.hero-feature-heading {
  margin: 22px 0 12px;
  color: var(--charcoal) !important;
  font-size: 16px !important;
  font-weight: 950;
}

.hero-tag-list {
  gap: 12px;
  margin: 0 0 18px;
}

.hero-tag-list article {
  border-radius: 16px;
  padding: 12px;
  background: white;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-tag-list article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(23, 48, 51, 0.12);
}

.hero-tag-list article:nth-child(1) {
  border-color: rgba(202, 145, 42, 0.28);
}

.hero-tag-list article:nth-child(1) > span,
.hero-tag-list article:nth-child(3) > span {
  background: #fff3d5;
}

.hero-tag-list article:nth-child(2) {
  border-color: rgba(92, 143, 164, 0.28);
}

.hero-tag-list article:nth-child(2) > span {
  background: #eaf4f6;
}

.hero-tag-list article:nth-child(4) {
  border-color: rgba(133, 43, 50, 0.26);
}

.hero-tag-list article:nth-child(4) > span {
  background: #fff0ed;
}

.hero-tag-list article:nth-child(5),
.hero-tag-list article:nth-child(6) {
  border-color: rgba(20, 96, 88, 0.22);
}

.hero-tag-list article:nth-child(5) > span,
.hero-tag-list article:nth-child(6) > span {
  background: var(--mist);
}

.hero-tag-list article > span {
  border-radius: 14px;
}

.hero-date-card {
  border-radius: 16px;
  padding: 16px;
  background: #fffdf8;
}

.hero-date-card > strong {
  margin-bottom: 10px;
}

.month-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.month-chip-grid span {
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.hero-date-card p {
  margin: 12px 0 10px;
  color: #536569 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.hero-date-card a {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 950;
}

.whatsapp-button::before {
  content: "☎";
  margin-right: 8px;
}

.tour-hero-actions .ghost {
  border: 1px solid var(--teal-dark);
  background: transparent;
  color: var(--teal-dark);
}

.hero-trust-line {
  margin: 12px 0 0;
  color: #5d6b6d !important;
  font-size: 13px !important;
  font-weight: 850;
}

.yunnan-price-table {
  grid-template-columns: 1fr;
}

.yunnan-price-table div {
  grid-template-columns: minmax(230px, 1.35fr) minmax(90px, 0.55fr) minmax(100px, 0.6fr) minmax(130px, 0.7fr);
  border-top: 1px solid var(--line);
  align-items: center;
}

.yunnan-price-table strong,
.yunnan-price-table b {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.yunnan-price-table b {
  text-align: right;
  white-space: nowrap;
}

.yunnan-price-table .price-table-head {
  border-top: 0;
  border-radius: 14px;
  padding: 12px 16px;
  background: #edf8f6;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.yunnan-price-table .price-table-head strong,
.yunnan-price-table .price-table-head span,
.yunnan-price-table .price-table-head em,
.yunnan-price-table .price-table-head b {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

@media (min-width: 1181px) {
  .gallery-main {
    max-height: 680px;
  }
}

@media (max-width: 1040px) {
  .tour-hero-shell {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .tour-hero-shell {
    gap: 22px;
  }

  .gallery-main {
    border-radius: 16px;
    aspect-ratio: 4 / 5;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(5, 72px);
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tour-hero-copy h1 {
    font-size: 36px;
  }

  .hero-tag-list {
    grid-template-columns: 1fr;
  }

  .tour-hero-actions {
    display: grid;
  }

  .yunnan-price-table div {
    grid-template-columns: 1fr;
  }

  .yunnan-price-table .price-table-head {
    display: none;
  }

  .yunnan-price-table b {
    text-align: left;
  }
}

/* Spacing and type balance pass */
.tour-detail-section {
  gap: 22px;
}

.yunnan-product {
  gap: 22px;
}

.tour-panel,
.journey-promise {
  padding: clamp(24px, 3.4vw, 38px);
}

.tour-panel h2,
.journey-promise h2,
.final-tour-cta h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.14;
}

.tour-panel .eyebrow,
.journey-promise .eyebrow {
  margin-bottom: 10px;
}

.tour-panel p {
  margin-top: 0;
}

.proof-section {
  gap: 22px;
}

.proof-section h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.proof-collage {
  gap: 10px;
}

.proof-collage img {
  height: clamp(190px, 18vw, 285px);
}

.proof-collage img:nth-child(5),
.proof-collage img:nth-child(8) {
  height: clamp(220px, 21vw, 320px);
}

.experience-grid a,
.itinerary-card-grid article,
.quality-grid article,
.stay-grid article,
.testimonial-card {
  box-shadow: 0 10px 24px rgba(23, 48, 51, 0.07);
}

.experience-grid strong,
.itinerary-card-grid h3,
.quality-grid h3,
.stay-grid h3 {
  font-size: 19px;
}

.experience-grid span,
.itinerary-card-grid p,
.quality-grid p,
.stay-grid p {
  font-size: 15px;
  line-height: 1.58;
}

.itinerary-card-grid article,
.quality-grid article {
  min-height: 168px;
  padding: 18px;
}

.quality-head {
  margin-bottom: 20px;
}

.quality-head > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.65;
}

.hero-tag-list article {
  min-height: 72px;
}

.hero-date-card {
  margin-top: 16px;
}

.tour-hero-actions {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .tour-hero-shell {
    padding: 14px 18px 20px;
  }

  .gallery-main {
    height: clamp(280px, 58vw, 360px);
    aspect-ratio: auto;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(5, 52px);
    gap: 8px;
  }

  .tour-hero-copy h1 {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.12;
  }

  .tour-subtitle {
    margin-bottom: 14px;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .hero-feature-heading {
    margin: 16px 0 10px;
    font-size: 15px !important;
  }

  .hero-tag-list {
    gap: 9px;
    margin-bottom: 14px;
  }

  .hero-tag-list article {
    min-height: 64px;
    border-radius: 14px;
    padding: 10px;
  }

  .hero-tag-list article > span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 18px;
  }

  .hero-tag-list strong {
    font-size: 14px;
  }

  .hero-tag-list small {
    font-size: 12px;
  }

  .hero-date-card {
    padding: 14px;
  }

  .month-chip-grid span {
    padding: 6px 10px;
    font-size: 12px;
  }

  .tour-detail-section {
    gap: 18px;
    padding: 18px 16px 92px;
  }

  .yunnan-product {
    gap: 18px;
  }

  .tour-panel,
  .journey-promise {
    padding: 22px 18px;
  }

  .tour-panel h2,
  .journey-promise h2,
  .final-tour-cta h2 {
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.16;
  }

  .proof-section {
    gap: 16px;
  }

  .proof-section h2 {
    font-size: 30px;
  }

  .proof-collage img {
    flex-basis: 72%;
    height: 240px;
  }

  .experience-grid a,
  .quality-grid article {
    flex-basis: 78%;
  }

  .experience-grid strong,
  .itinerary-card-grid h3,
  .quality-grid h3 {
    font-size: 18px;
  }

  .itinerary-card-grid article,
  .quality-grid article {
    min-height: auto;
    padding: 16px;
  }
}

/* Itinerary should read like a route timeline, not another card section. */
.itinerary-card-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 8px;
  padding-left: 18px;
}

.itinerary-card-grid::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 10px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), rgba(47, 154, 142, 0.12));
}

.itinerary-card-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 4px 22px;
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0 0 24px 34px;
  background: transparent;
  box-shadow: none;
}

.itinerary-card-grid article::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 14px;
  height: 14px;
  border: 3px solid #f7f5ef;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(47, 154, 142, 0.22);
}

.day-label {
  grid-row: span 3;
  align-self: start;
  margin-top: 0;
  background: #edf7f2;
}

.itinerary-card-grid h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.itinerary-card-grid p {
  max-width: 840px;
  font-size: 16px;
}

.route-badge {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .itinerary-card-grid {
    padding-left: 12px;
  }

  .itinerary-card-grid::before {
    left: 18px;
  }

  .itinerary-card-grid article {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 0 24px 32px;
  }

  .itinerary-card-grid article::before {
    left: 0;
  }

  .day-label {
    grid-row: auto;
  }

  .itinerary-card-grid h3 {
    font-size: 18px;
  }

  .itinerary-card-grid p {
    font-size: 15px;
  }
}

/* Jiuzhaigou child product pages */
.jzg-detail-product {
  display: grid;
  gap: 22px;
}

.jzg-detail-product[hidden] {
  display: none;
}

.jzg-tour-detail .tour-hero {
  background: #f7f5ef;
}

.jzg-tour-detail .tour-hero-copy .eyebrow {
  background: #edf7f2;
  color: var(--teal-dark);
}

.jzg-theme-autumn .tour-hero-copy .eyebrow,
.jzg-theme-autumn .month-chip-grid span,
.jzg-theme-autumn .hero-tag-list article:nth-child(1) > span {
  background: #fff3d5;
  color: #735214;
}

.jzg-theme-snow .tour-hero-copy .eyebrow,
.jzg-theme-snow .month-chip-grid span {
  background: #edf7fb;
  color: #366b82;
}

.jzg-theme-glacier .tour-hero-copy .eyebrow,
.jzg-theme-glacier .month-chip-grid span {
  background: #eaf4f6;
  color: #2d6f7f;
}

.jzg-theme-city .tour-hero-copy .eyebrow,
.jzg-theme-city .month-chip-grid span {
  background: #fff0ed;
  color: #8a3c31;
}

.jzg-tour-detail .tour-subtitle {
  display: grid;
  gap: 10px;
  color: #4a3f36 !important;
}

.jzg-tour-detail .tour-subtitle small {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.65;
}

.jzg-tour-detail .hero-date-card > strong {
  color: var(--teal-dark);
  font-size: 22px;
}

.jzg-detail-head {
  max-width: 850px;
  margin-bottom: 20px;
}

.jzg-detail-head h2 {
  margin-bottom: 10px;
}

.jzg-detail-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.jzg-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.jzg-fit-grid article,
.jzg-special-grid article,
.jzg-date-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 24px rgba(23, 48, 51, 0.07);
}

.jzg-fit-grid article {
  padding: 20px;
}

.jzg-fit-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mist);
  font-size: 22px;
}

.jzg-fit-grid h3,
.jzg-special-grid h3 {
  margin: 16px 0 8px;
  color: var(--charcoal);
  font-size: 20px;
}

.jzg-fit-grid p,
.jzg-special-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.jzg-special-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.jzg-special-grid article {
  padding: 18px;
}

.jzg-special-grid span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.jzg-route-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 18px;
}

.jzg-route-timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 10px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), rgba(47, 154, 142, 0.12));
}

.jzg-route-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 4px 22px;
  padding: 0 0 24px 34px;
}

.jzg-route-timeline article::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 14px;
  height: 14px;
  border: 3px solid #f7f5ef;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 2px rgba(47, 154, 142, 0.22);
}

.jzg-route-timeline article > span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: #edf7f2;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
}

.jzg-route-timeline h3 {
  margin: 0 0 6px;
  color: var(--charcoal);
  font-size: 20px;
}

.jzg-route-timeline p {
  margin: 0;
  color: #405457;
  font-weight: 820;
  line-height: 1.58;
}

.jzg-date-grid {
  display: grid;
  gap: 12px;
}

.jzg-date-grid article {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px 120px 150px;
  gap: 12px;
  align-items: center;
  padding: 15px;
}

.jzg-date-grid time,
.jzg-date-grid strong {
  color: var(--charcoal);
  font-weight: 950;
}

.jzg-date-grid span {
  color: var(--teal-dark);
  font-weight: 900;
}

.jzg-date-grid a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
  font-size: 13px;
  font-weight: 950;
}

.jzg-detail-cta {
  margin-top: 0;
}

.jzg-theme-autumn .jzg-detail-cta {
  background:
    linear-gradient(90deg, rgba(15, 43, 47, 0.9), rgba(115, 82, 20, 0.58)),
    url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1600&q=86") center/cover;
}

.jzg-theme-snow .jzg-detail-cta,
.jzg-theme-glacier .jzg-detail-cta {
  background:
    linear-gradient(90deg, rgba(15, 43, 47, 0.88), rgba(54, 107, 130, 0.62)),
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1600&q=86") center/cover;
}

.jzg-theme-city .jzg-detail-cta {
  background:
    linear-gradient(90deg, rgba(15, 43, 47, 0.9), rgba(138, 60, 49, 0.6)),
    url("https://images.unsplash.com/photo-1518002054494-3a6f94352e9d?auto=format&fit=crop&w=1600&q=86") center/cover;
}

@media (max-width: 1180px) {
  .jzg-fit-grid,
  .jzg-special-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .jzg-fit-grid {
    grid-template-columns: 1fr;
  }

  .jzg-special-grid {
    display: flex;
    overflow-x: auto;
    margin-inline: -18px;
    padding: 0 18px 8px;
    scroll-snap-type: x mandatory;
  }

  .jzg-special-grid article {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .jzg-route-timeline {
    padding-left: 12px;
  }

  .jzg-route-timeline::before {
    left: 18px;
  }

  .jzg-route-timeline article {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 0 24px 32px;
  }

  .jzg-route-timeline article::before {
    left: 0;
  }

  .jzg-date-grid article {
    grid-template-columns: 1fr;
  }
}

/* Shanghai Suzhou Hangzhou product page */
.shanghai-product {
  display: grid;
  gap: 22px;
}

.shanghai-product[hidden] {
  display: none;
}

.shanghai-tour-detail .tour-hero {
  background: #f6f8f5;
}

.shanghai-tour-detail .tour-hero-copy .eyebrow,
.shanghai-tour-detail .month-chip-grid span {
  background: #eef6f3;
  color: var(--teal-dark);
}

.shanghai-tour-detail .tour-subtitle {
  display: grid;
  gap: 10px;
  color: #2f3d4a !important;
}

.shanghai-tour-detail .tour-subtitle small {
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 680;
  line-height: 1.65;
}

.shanghai-tour-detail .hero-date-card > strong {
  color: #173c5c;
  font-size: 22px;
}

.shanghai-tour-detail .hero-tag-list article:nth-child(1) > span,
.shanghai-tour-detail .hero-tag-list article:nth-child(4) > span {
  background: #fff3d5;
}

.shanghai-tour-detail .hero-tag-list article:nth-child(2) > span,
.shanghai-tour-detail .hero-tag-list article:nth-child(3) > span,
.shanghai-tour-detail .hero-tag-list article:nth-child(5) > span {
  background: #eaf4f6;
}

.ab-section,
.shanghai-stay-grid {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: white;
  box-shadow: 0 16px 42px rgba(23, 48, 51, 0.09);
}

.ab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ab-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #fbf8ef;
}

.ab-grid article + article {
  background: #f0f7f5;
}

.ab-grid span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: white;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.ab-grid h3 {
  margin-top: 16px;
  color: var(--charcoal);
}

.ab-grid p,
.ab-grid li {
  color: var(--muted);
  line-height: 1.62;
}

.ab-grid ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
}

.choice-day {
  padding-bottom: 30px !important;
}

.choice-day p {
  border-left: 3px solid #f4c545;
  padding-left: 12px;
}

.shanghai-stay-grid {
  display: grid;
  gap: 18px;
}

.shanghai-cta {
  background:
    linear-gradient(90deg, rgba(15, 43, 47, 0.9), rgba(23, 60, 92, 0.62)),
    url("https://images.unsplash.com/photo-1538428494232-9c0d8a3ab403?auto=format&fit=crop&w=1600&q=86") center/cover;
}

@media (max-width: 760px) {
  .ab-grid {
    grid-template-columns: 1fr;
  }

  .shanghai-stay-grid .stay-grid {
    grid-template-columns: 1fr;
  }
}
