/*
 * CHORN EASY TOUR – Modern Single Tour Page
 * File name: chorn-modern-tour-page.css
 * Typography integrates with CET Global Styles v1.1+ with local fallbacks
 */

.cmt-page {
  /* CET Global Design System aliases (with safe fallbacks) */
  --cmt-font: var(--cet-font, "Figtree", "Noto Sans Thai", Arial, sans-serif);
  --cmt-type-display: var(--cet-type-display, 3rem);
  --cmt-type-h1: var(--cet-type-h1, 2.5rem);
  --cmt-type-h2: var(--cet-type-h2, 2rem);
  --cmt-type-h3: var(--cet-type-h3, 1.625rem);
  --cmt-type-h4: var(--cet-type-h4, 1.375rem);
  --cmt-type-body-lg: var(--cet-type-body-lg, 1.125rem);
  --cmt-type-body: var(--cet-type-body, 1rem);
  --cmt-type-small: var(--cet-type-small, .875rem);
  --cmt-type-caption: var(--cet-type-caption, .8125rem);
  --cmt-weight-regular: var(--cet-weight-regular, 400);
  --cmt-weight-medium: var(--cet-weight-medium, 500);
  --cmt-weight-semibold: var(--cet-weight-semibold, 600);
  --cmt-weight-bold: var(--cet-weight-bold, 700);
  --cmt-weight-extrabold: var(--cet-weight-extrabold, 800);
  --cmt-line-display: var(--cet-line-display, 1.08);
  --cmt-line-h1: var(--cet-line-h1, 1.12);
  --cmt-line-h2: var(--cet-line-h2, 1.18);
  --cmt-line-h3: var(--cet-line-h3, 1.22);
  --cmt-line-normal: var(--cet-line-normal, 1.5);
  --cmt-line-relaxed: var(--cet-line-relaxed, 1.55);

  --cmt-primary: #2563eb;
  --cmt-primary-dark: #1d4ed8;
  --cmt-navy: #102747;
  --cmt-ink: #172033;
  --cmt-text: #435066;
  --cmt-muted: #748097;
  --cmt-line: #e5eaf2;
  --cmt-soft: #f6f8fc;
  --cmt-white: #ffffff;
  --cmt-orange: #ff7a1a;
  --cmt-green: #138a55;
  --cmt-green-soft: #edf9f3;
  --cmt-red: #d64b4b;
  --cmt-red-soft: #fff2f2;

  --cmt-radius-sm: 10px;
  --cmt-radius-md: 16px;
  --cmt-radius-lg: 24px;
  --cmt-radius-xl: 32px;

  --cmt-shadow-sm: 0 6px 20px rgba(16, 39, 71, 0.06);
  --cmt-shadow-md: 0 18px 52px rgba(16, 39, 71, 0.11);
  --cmt-shadow-lg: 0 28px 80px rgba(16, 39, 71, 0.16);

  color: var(--cmt-text);
  background: var(--cmt-white);
  font-family: var(--cmt-font);
  font-size: var(--cmt-type-body);
  line-height: var(--cmt-line-normal);
  font-weight: var(--cmt-weight-regular);
}

.cmt-page,
.cmt-page *,
.cmt-page *::before,
.cmt-page *::after {
  box-sizing: border-box;
}

.cmt-page :where(h1, h2, h3, p, ul, ol, figure) {
  margin-top: 0;
}

.cmt-page :where(h1, h2, h3) {
  color: var(--cmt-ink);
  letter-spacing: -0.025em;
}

.cmt-page img {
  display: block;
  max-width: 100%;
}

.cmt-page button,
.cmt-page input,
.cmt-page select,
.cmt-page textarea {
  font: inherit;
}

.cmt-container {
  width: min(calc(100% - 32px), 1280px);
  margin-inline: auto;
}

.cmt-container--reading {
  width: min(calc(100% - 32px), 900px);
}

.cmt-section {
  padding-block: clamp(64px, 8vw, 112px);
}

.cmt-section--soft {
  background: var(--cmt-soft);
}

.cmt-section-heading {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.cmt-section-heading h2,
.cmt-booking-heading h2,
.cmt-map-copy h2 {
  margin-bottom: 12px;
  font-size: var(--cmt-type-h2);
  line-height: var(--cmt-line-h2);
  font-weight: var(--cmt-weight-extrabold);
}

.cmt-section-heading p,
.cmt-booking-heading p,
.cmt-map-copy p {
  margin-bottom: 0;
  color: var(--cmt-muted);
  font-size: var(--cmt-type-body);
  line-height: var(--cmt-line-relaxed);
}

.cmt-eyebrow {
  margin-bottom: 10px;
  color: var(--cmt-primary);
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Hero */

.cmt-hero {
  padding: clamp(36px, 6vw, 82px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.cmt-hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.cmt-hero-copy {
  max-width: 680px;
}

.cmt-package-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 20px;
  padding: 8px 13px;
  color: #a64600;
  background: #fff0e3;
  border: 1px solid #ffd3b5;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cmt-hero h1 {
  max-width: 750px;
  margin-bottom: 18px;
  font-size: var(--cmt-type-display);
  line-height: var(--cmt-line-display);
  font-weight: var(--cmt-weight-extrabold);
  letter-spacing: var(--cet-tracking-display, -0.035em);
}

.cmt-location-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--cmt-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.cmt-location-line svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.cmt-hero-excerpt {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--cmt-text);
  font-size: var(--cmt-type-body-lg);
  line-height: var(--cmt-line-relaxed);
}

.cmt-quick-facts {
  display: grid;
  gap: 12px;
}

.cmt-quick-fact {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--cmt-line);
  border-radius: 14px;
  box-shadow: var(--cmt-shadow-sm);
  backdrop-filter: blur(12px);
}

.cmt-quick-fact__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cmt-primary);
  background: #edf3ff;
  border-radius: 12px;
}

.cmt-quick-fact__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cmt-quick-fact small,
.cmt-quick-fact strong {
  display: block;
}

.cmt-quick-fact small {
  margin-bottom: 2px;
  color: var(--cmt-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.cmt-quick-fact strong {
  color: var(--cmt-ink);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 700;
}

/* Modern mosaic gallery */

.cmt-gallery {
  min-width: 0;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 480px;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--cmt-radius-xl);
  box-shadow: var(--cmt-shadow-lg);
}

.cmt-gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #dfe5ee;
  border: 0;
  cursor: pointer;
}

.cmt-gallery-item--1 {
  grid-row: 1 / 3;
}

/*
 * Dynamic location layouts (1–8 places).
 * The PHP renderer adds cmt-gallery--count-N based on the number of
 * attraction covers available for the package. Mobile keeps the swipe
 * carousel and therefore ignores these grid positions.
 */
.cmt-gallery-item:nth-child(n) {
  display: block;
}

.cmt-gallery-item:nth-child(n + 9) {
  display: none;
}

/* Tablet / compact desktop defaults. */
.cmt-gallery--count-1 {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.cmt-gallery--count-1 .cmt-gallery-item--1 {
  grid-column: 1;
  grid-row: 1;
}

.cmt-gallery--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
}

.cmt-gallery--count-2 .cmt-gallery-item {
  grid-column: auto;
  grid-row: auto;
}

.cmt-gallery--count-3 {
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.cmt-gallery--count-3 .cmt-gallery-item--1 {
  grid-column: 1;
  grid-row: 1 / 3;
}

.cmt-gallery--count-3 .cmt-gallery-item--2 {
  grid-column: 2;
  grid-row: 1;
}

.cmt-gallery--count-3 .cmt-gallery-item--3 {
  grid-column: 2;
  grid-row: 2;
}

.cmt-gallery--count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.cmt-gallery--count-4 .cmt-gallery-item {
  grid-column: auto;
  grid-row: auto;
}

.cmt-gallery--count-5,
.cmt-gallery--count-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.cmt-gallery--count-5 .cmt-gallery-item,
.cmt-gallery--count-6 .cmt-gallery-item {
  grid-column: auto;
  grid-row: auto;
}

.cmt-gallery--count-5 .cmt-gallery-item--1 {
  grid-column: 1;
  grid-row: 1 / 3;
}

.cmt-gallery--count-7,
.cmt-gallery--count-8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.cmt-gallery--count-7 .cmt-gallery-item,
.cmt-gallery--count-8 .cmt-gallery-item {
  grid-column: auto;
  grid-row: auto;
}

.cmt-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cmt-gallery-item:hover img {
  transform: scale(1.035);
}

.cmt-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 14, 30, 0.28), transparent 45%);
  pointer-events: none;
}

.cmt-gallery-place {
  position: absolute;
  left: 14px;
  right: 104px;
  bottom: 14px;
  z-index: 2;
  overflow: hidden;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.cmt-gallery-more {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 9px 12px;
  color: #fff;
  background: rgba(10, 20, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Overview */

.cmt-overview-grid {
  display: grid;
  gap: 16px;
}

.cmt-overview-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px;
  background: var(--cmt-white);
  border: 1px solid var(--cmt-line);
  border-radius: var(--cmt-radius-md);
  box-shadow: var(--cmt-shadow-sm);
}

.cmt-overview-card__number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cmt-primary);
  background: #edf3ff;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 800;
}

.cmt-overview-card h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
  line-height: 1.35;
  font-weight: 700;
}

.cmt-overview-card p {
  margin-bottom: 0;
  color: var(--cmt-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}


/* =========================================================
   Activities Included
   Position: after Gallery/Tour destinations, before Map
   ========================================================= */

.cmt-activity-section {
  padding-block: clamp(52px, 7vw, 88px);
  background: #ffffff;
}

.cmt-activity-section__head {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.cmt-activity-section__head h2 {
  max-width: 720px;
  margin-bottom: 10px;
  color: var(--cmt-ink);
  font-size: var(--cmt-type-h2);
  line-height: var(--cmt-line-h2);
  font-weight: var(--cmt-weight-extrabold);
  letter-spacing: var(--cet-tracking-h2, -0.025em);
}

.cmt-activity-section__head p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--cmt-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.cmt-activity-section__count {
  width: fit-content;
  min-width: 92px;
  display: grid;
  justify-items: center;
  padding: 13px 16px;
  color: #ffffff;
  background: var(--cmt-primary);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
}

.cmt-activity-section__count span {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
}

.cmt-activity-section__count small {
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  opacity: 0.88;
}

.cmt-activity-included {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.cmt-activity-included__card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dfe7f5;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 39, 71, 0.07);
}

.cmt-activity-included__media {
  min-height: 138px;
  overflow: hidden;
  background: #e8eef8;
}

.cmt-activity-included__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmt-activity-included__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cmt-primary);
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.18), transparent 45%),
    #edf3ff;
}

.cmt-activity-included__media--placeholder span {
  font-size: 1.15rem;
  font-weight: 800;
}

.cmt-activity-included__body {
  align-self: center;
  min-width: 0;
  padding: 18px;
}

.cmt-activity-included__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--cmt-green);
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cmt-activity-included__check {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--cmt-green);
  border-radius: 8px;
}

.cmt-activity-included__check svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cmt-activity-included__card h3 {
  margin-bottom: 6px;
  color: var(--cmt-ink);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}

.cmt-activity-included__card p {
  margin-bottom: 0;
  color: var(--cmt-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (min-width: 700px) {
  .cmt-activity-section__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

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

@media (min-width: 1100px) {
  .cmt-activity-included {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cmt-activity-included__card {
    grid-template-columns: 1fr;
  }

  .cmt-activity-included__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (max-width: 699px) {
  .cmt-activity-section {
    padding-block: 48px;
  }

  .cmt-activity-section__head {
    margin-bottom: 20px;
  }

  .cmt-activity-section__head h2 {
    font-size: var(--cmt-type-h2);
  }

  .cmt-activity-section__head p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .cmt-activity-section__count {
    display: none;
  }

  .cmt-activity-included {
    width: 100vw;
    max-width: none;
    display: flex;
    gap: 12px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 16px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cmt-activity-included::-webkit-scrollbar {
    display: none;
  }

  .cmt-activity-included__card {
    width: 88%;
    min-width: 88%;
    flex: 0 0 88%;
    grid-template-columns: 96px minmax(0, 1fr);
    height: 168px;
    min-height: 0;
    max-height: 168px;
    align-self: flex-start;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .cmt-activity-included__media {
    height: 168px;
    min-height: 0;
  }

  .cmt-activity-included__media img {
    height: 168px;
  }

  .cmt-activity-included__body {
    padding: 15px;
  }

  .cmt-activity-included__card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}


/* Map */

.cmt-section--map {
  padding-block: clamp(60px, 8vw, 104px);
  color: #fff;
  background:
    radial-gradient(circle at 8% 10%, rgba(73, 124, 255, 0.34), transparent 28%),
    var(--cmt-navy);
}

.cmt-map-layout {
  display: grid;
  gap: 30px;
  align-items: stretch;
}

.cmt-map-copy {
  align-self: center;
}

.cmt-map-copy .cmt-eyebrow {
  color: #9fc0ff;
}

.cmt-map-copy h2,
.cmt-map-copy p {
  color: #fff;
}

.cmt-map-copy p {
  color: #c9d3e5;
}

.cmt-map-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
}

.cmt-map-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.cmt-map-stops {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.cmt-map-stops li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #edf3ff;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cmt-map-stops li span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  color: #fff;
  background: var(--cmt-primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.cmt-map-frame {
  min-height: 390px;
  overflow: hidden;
  background: #dfe5ee;
  border: 6px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cmt-radius-xl);
  box-shadow: var(--cmt-shadow-lg);
}

.cmt-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

/* Itinerary */

.cmt-itinerary {
  max-width: 900px;
}

.cmt-itinerary-item {
  display: grid;
  grid-template-columns: 90px 32px minmax(0, 1fr);
  gap: 16px;
  min-height: 112px;
}

.cmt-itinerary-time {
  padding-top: 7px;
  color: var(--cmt-primary);
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 700;
  text-align: right;
}

.cmt-itinerary-line {
  position: relative;
}

.cmt-itinerary-line::before {
  content: "";
  position: absolute;
  top: 21px;
  bottom: -21px;
  left: 50%;
  width: 2px;
  background: #dbe5fa;
  transform: translateX(-50%);
}

.cmt-itinerary-item:last-child .cmt-itinerary-line::before {
  display: none;
}

.cmt-itinerary-line span {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  display: block;
  margin: 7px auto 0;
  background: var(--cmt-primary);
  border: 5px solid #eaf1ff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px #bfd2ff;
}

.cmt-itinerary-content {
  padding: 0 0 32px 4px;
}

.cmt-itinerary-index {
  margin-bottom: 5px;
  color: var(--cmt-muted);
  font-size: 0.75rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cmt-itinerary-content h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 700;
}

/* Highlights */

.cmt-section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.28), transparent 28%),
    #0c1e37;
}

.cmt-section--dark .cmt-eyebrow {
  color: #8cb4ff;
}

.cmt-section--dark .cmt-section-heading h2 {
  color: #fff;
}

.cmt-highlight-grid {
  display: grid;
  gap: 14px;
}

.cmt-highlight-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 20px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--cmt-radius-md);
  backdrop-filter: blur(10px);
}

.cmt-highlight-card > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--cmt-primary);
  border-radius: 13px;
}

.cmt-highlight-card svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cmt-highlight-card p {
  margin: 5px 0 0;
  color: #edf3ff;
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 600;
}

/* Description */

.cmt-description {
  color: var(--cmt-text);
  font-size: 1rem;
  line-height: 1.85;
}

.cmt-description-block {
  margin-bottom: 20px;
}

.cmt-description :where(p, ul, ol) {
  margin-bottom: 18px;
}

.cmt-description :where(ul, ol) {
  padding-left: 22px;
}

.cmt-text-button {
  min-height: 44px;
  padding: 10px 15px;
  color: var(--cmt-primary);
  background: #edf3ff;
  border: 1px solid #cadbff;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}

/* Included / excluded */

.cmt-inclusion-grid {
  display: grid;
  gap: 18px;
}

.cmt-inclusion-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--cmt-radius-lg);
}

.cmt-inclusion-card--yes {
  background: var(--cmt-green-soft);
  border: 1px solid #c9eedc;
}

.cmt-inclusion-card--no {
  background: var(--cmt-red-soft);
  border: 1px solid #ffd6d6;
}

.cmt-inclusion-card__heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}

.cmt-inclusion-card__heading span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
}

.cmt-inclusion-card--yes .cmt-inclusion-card__heading span {
  color: #fff;
  background: var(--cmt-green);
}

.cmt-inclusion-card--no .cmt-inclusion-card__heading span {
  color: #fff;
  background: var(--cmt-red);
}

.cmt-inclusion-card__heading svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cmt-inclusion-card h3 {
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 700;
}

.cmt-inclusion-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmt-inclusion-card li {
  position: relative;
  padding-left: 22px;
  color: var(--cmt-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cmt-inclusion-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.cmt-inclusion-card--yes li::before {
  background: var(--cmt-green);
}

.cmt-inclusion-card--no li::before {
  background: var(--cmt-red);
}

/* Accordion */

.cmt-accordion {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cmt-line);
  border-radius: var(--cmt-radius-lg);
  box-shadow: var(--cmt-shadow-sm);
}

.cmt-accordion-item + .cmt-accordion-item {
  border-top: 1px solid var(--cmt-line);
}

.cmt-accordion-trigger {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--cmt-ink);
  background: #fff;
  border: 0;
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.cmt-accordion-trigger:hover {
  background: var(--cmt-soft);
}

.cmt-accordion-arrow {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  color: var(--cmt-primary);
  background: #edf3ff;
  border-radius: 9px;
  transition: transform 0.2s ease;
}

.cmt-accordion-arrow svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.cmt-accordion-item.is-open .cmt-accordion-arrow {
  transform: rotate(90deg);
}

.cmt-accordion-panel {
  padding: 0 22px 22px;
  color: var(--cmt-text);
  font-size: 0.92rem;
  line-height: 1.7;
}

.cmt-accordion-panel :where(p, ul) {
  margin-bottom: 0;
}

.cmt-accordion-panel ul {
  padding-left: 20px;
}

/* Booking */

.cmt-booking-section {
  padding-block: clamp(70px, 9vw, 118px);
  overflow: visible;
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.15), transparent 28%),
    linear-gradient(180deg, #f5f8ff, #ffffff);
}

.cmt-booking-heading {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.cmt-booking-note {
  width: fit-content;
  align-self: end;
  padding: 10px 13px;
  color: var(--cmt-primary-dark);
  background: #eaf1ff;
  border: 1px solid #cadbff;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
}

.cmt-booking-host {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(12px, 2vw, 22px);
  overflow: visible !important;
  isolation: isolate;
  background: #fff;
  border: 1px solid var(--cmt-line);
  border-radius: var(--cmt-radius-xl);
  box-shadow: var(--cmt-shadow-md);
}

.cmt-booking-host,
.cmt-booking-host > *,
.cmt-booking-host .elementor-shortcode {
  overflow: visible !important;
}

/* Related */

.cmt-related-section {
  background: #fff;
}

.cmt-related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.cmt-related-title {
  min-width: 0;
}

.cmt-related-title .cmt-eyebrow {
  margin-bottom: 10px;
}

.cmt-related-title h2 {
  margin: 0;
  color: var(--cmt-ink);
  font-size: var(--cmt-type-h2);
  line-height: var(--cmt-line-h2);
  font-weight: var(--cmt-weight-extrabold);
  letter-spacing: -0.025em;
}

.cmt-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 6px 0;
  color: var(--cmt-primary) !important;
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.28);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.cmt-view-all-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.cmt-view-all-link:hover {
  color: var(--cmt-primary-dark) !important;
  border-color: var(--cmt-primary-dark);
}

.cmt-view-all-link:hover svg {
  transform: translateX(4px);
}

.cmt-view-all-link:focus-visible {
  outline: 2px solid var(--cmt-primary);
  outline-offset: 5px;
  border-radius: 3px;
}

.cmt-related-host {
  min-width: 0;
}

@media (max-width: 699px) {
  .cmt-related-header {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .cmt-related-title {
    flex: 1 1 auto;
  }

  .cmt-related-title h2 {
    font-size: 1.55rem;
  }

  .cmt-view-all-link {
    margin-top: 25px;
    font-size: 0.86rem;
  }
}



/* Mobile Gallery pagination dots */

.cmt-gallery-pagination {
  display: none;
}

@media (max-width: 699px) {
  .cmt-gallery-pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
    padding-inline: 16px;
  }

  .cmt-gallery-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    padding: 0;
    background: #cbd3df;
    border: 0;
    border-radius: 999px;
    opacity: 0.9;
    cursor: pointer;
    transition:
      width 0.2s ease,
      background-color 0.2s ease,
      opacity 0.2s ease;
  }

  .cmt-gallery-dot.is-active {
    width: 24px;
    background: var(--cmt-primary);
    opacity: 1;
  }

  .cmt-gallery-dot:focus-visible {
    outline: 2px solid var(--cmt-primary);
    outline-offset: 3px;
  }
}

/* Tour destination summary under Gallery */

.cmt-place-summary {
  margin-top: 26px;
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
  border: 1px solid var(--cmt-line);
  border-radius: var(--cmt-radius-lg);
  box-shadow: var(--cmt-shadow-sm);
}

.cmt-place-summary__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.cmt-place-summary__heading .cmt-eyebrow {
  margin-bottom: 7px;
}

.cmt-place-summary__heading h2 {
  margin: 0;
  color: var(--cmt-ink);
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.cmt-place-summary__count {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  color: #ffffff;
  background: var(--cmt-primary);
  border-radius: 20px;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.cmt-place-summary__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmt-place-summary__list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 8px 14px 8px 8px;
  background: var(--cmt-soft);
  border: 1px solid var(--cmt-line);
  border-radius: 14px;
}

.cmt-place-summary__number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cmt-primary);
  background: #eaf1ff;
  border-radius: 11px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
}

.cmt-place-summary__name {
  min-width: 0;
  color: var(--cmt-ink);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 700;
}

@media (min-width: 700px) {
  .cmt-place-summary__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .cmt-place-summary {
    margin-top: 30px;
  }

  .cmt-place-summary__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .cmt-place-summary {
    margin-top: 18px;
    padding: 18px;
    border-radius: 18px;
  }

  .cmt-place-summary__heading {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .cmt-place-summary__count {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 16px;
    font-size: 1.15rem;
  }

  .cmt-place-summary__heading h2 {
    font-size: 1.25rem;
  }
}

/* Fullscreen Gallery Lightbox */

html.cmt-no-scroll,
html.cmt-no-scroll body {
  overflow: hidden !important;
}

.cmt-lightbox[hidden] {
  display: none !important;
}

.cmt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  color: #ffffff;
  background: #030712;
}

.cmt-lightbox-topbar {
  position: relative;
  z-index: 4;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  background: linear-gradient(
    to bottom,
    rgba(3, 7, 18, 0.96),
    rgba(3, 7, 18, 0.72)
  );
}

.cmt-lightbox-place {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cmt-lightbox-close,
.cmt-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.cmt-lightbox-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  font-size: 1.35rem;
}

.cmt-lightbox-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: pan-y;
}

.cmt-lightbox-stage > img {
  width: 100vw;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.cmt-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  transform: translateY(-50%);
}

.cmt-lightbox-nav--prev {
  left: 12px;
}

.cmt-lightbox-nav--next {
  right: 12px;
}

.cmt-lightbox-footer {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 12px;
  padding: 10px 12px max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(
    to top,
    rgba(3, 7, 18, 0.98),
    rgba(3, 7, 18, 0.78)
  );
}

.cmt-lightbox-mobile-meta {
  display: none;
}

.cmt-lightbox-caption {
  color: #dbe3f0;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}

.cmt-lightbox-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.cmt-lightbox-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.36);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    width 0.2s ease,
    background-color 0.2s ease;
}

.cmt-lightbox-dot.is-active {
  width: 24px;
  background: #ffffff;
}

.cmt-lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.cmt-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.cmt-lightbox-thumb {
  width: 68px;
  height: 52px;
  flex: 0 0 68px;
  padding: 0;
  overflow: hidden;
  background: #111827;
  border: 2px solid transparent;
  border-radius: 0;
  opacity: 0.58;
  cursor: pointer;
  scroll-snap-align: center;
}

.cmt-lightbox-thumb.is-active {
  border-color: #ffffff;
  opacity: 1;
}

.cmt-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.cmt-lightbox :where(button):focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .cmt-lightbox-topbar {
    min-height: 72px;
    padding: 12px 20px;
  }

  .cmt-lightbox-place {
    font-size: 1rem;
  }

  .cmt-lightbox-nav {
    width: 54px;
    height: 54px;
  }

  .cmt-lightbox-nav--prev {
    left: 20px;
  }

  .cmt-lightbox-nav--next {
    right: 20px;
  }

  .cmt-lightbox-footer {
    padding-inline: 20px;
  }

  .cmt-lightbox-thumbs {
    justify-content: center;
  }

  .cmt-lightbox-thumb {
    width: 84px;
    height: 62px;
    flex-basis: 84px;
  }
}

@media (max-width: 699px) {
  /*
   * Mobile Lightbox:
   * ชื่อสถานที่อยู่เหนือรูป
   * รูปขนาดคงที่ 4:3 เต็มความกว้าง ไม่มีมุม
   * Pagination Dots และตัวนับอยู่ใต้รูปตรงกลาง
   */
  .cmt-lightbox {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100dvh;
    padding: 0;
    overflow: hidden;
    background: #030712;
  }

  .cmt-lightbox-topbar {
    width: 100%;
    min-height: 72px;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 12px;
    align-items: center;
    padding: 12px 12px 10px 16px;
    background: #030712;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .cmt-lightbox-place {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 700;
    white-space: normal;
    text-overflow: clip;
  }

  .cmt-lightbox-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .cmt-lightbox-stage {
    position: relative;
    width: 100vw;
    min-width: 100vw;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #030712;
  }

  .cmt-lightbox-stage > img {
    display: block;
    width: 100vw;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
  }

  .cmt-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
    background: rgba(3, 7, 18, 0.52);
    border-color: rgba(255, 255, 255, 0.24);
  }

  .cmt-lightbox-nav--prev {
    left: 8px;
  }

  .cmt-lightbox-nav--next {
    right: 8px;
  }

  .cmt-lightbox-footer {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 16px max(18px, env(safe-area-inset-bottom));
    background: #030712;
  }

  .cmt-lightbox-mobile-meta,
  .cmt-lightbox-thumbs {
    display: none;
  }

  .cmt-lightbox-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 12px;
  }

  .cmt-lightbox-caption {
    display: block;
    margin: 0;
    color: #cbd5e1;
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
  }

  .cmt-lightbox-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    padding: 0;
    background: rgba(255, 255, 255, 0.36);
    border: 0;
    border-radius: 999px;
  }

  .cmt-lightbox-dot.is-active {
    width: 24px;
    background: #ffffff;
  }
}

/* Tablet */

@media (min-width: 700px) {
  .cmt-quick-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .cmt-booking-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

/* Desktop */

@media (min-width: 1024px) {
  /*
   * Desktop Hero:
   * ข้อมูลทัวร์อยู่ด้านบน และ Gallery ใช้ความกว้างเต็ม Container
   */
  .cmt-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .cmt-hero-copy {
    max-width: 920px;
  }

  .cmt-quick-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .cmt-gallery-item:nth-child(n) {
    display: block;
  }

  .cmt-gallery-item:nth-child(n + 9) {
    display: none;
  }

  .cmt-gallery {
    width: 100%;
    height: 650px;
    min-height: 0;
  }

  /* 1 location: one full-width feature image. */
  .cmt-gallery--count-1 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .cmt-gallery--count-1 .cmt-gallery-item--1 {
    grid-column: 1;
    grid-row: 1;
  }

  /* 2 locations: balanced side-by-side layout. */
  .cmt-gallery--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
  }

  .cmt-gallery--count-2 .cmt-gallery-item {
    grid-column: auto;
    grid-row: auto;
  }

  /* 3 locations: one feature image + two stacked cards. */
  .cmt-gallery--count-3 {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .cmt-gallery--count-3 .cmt-gallery-item--1 {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .cmt-gallery--count-3 .cmt-gallery-item--2 {
    grid-column: 2;
    grid-row: 1;
  }

  .cmt-gallery--count-3 .cmt-gallery-item--3 {
    grid-column: 2;
    grid-row: 2;
  }

  /* 4 locations: balanced 2 × 2 grid. */
  .cmt-gallery--count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .cmt-gallery--count-4 .cmt-gallery-item {
    grid-column: auto;
    grid-row: auto;
  }

  /* 5 locations: feature image + 2 × 2 supporting grid. */
  .cmt-gallery--count-5 {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.75fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .cmt-gallery--count-5 .cmt-gallery-item--1 {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .cmt-gallery--count-5 .cmt-gallery-item--2 {
    grid-column: 2;
    grid-row: 1;
  }

  .cmt-gallery--count-5 .cmt-gallery-item--3 {
    grid-column: 3;
    grid-row: 1;
  }

  .cmt-gallery--count-5 .cmt-gallery-item--4 {
    grid-column: 2;
    grid-row: 2;
  }

  .cmt-gallery--count-5 .cmt-gallery-item--5 {
    grid-column: 3;
    grid-row: 2;
  }

  /* 6 locations: clean 3 × 2 grid. */
  .cmt-gallery--count-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .cmt-gallery--count-6 .cmt-gallery-item {
    grid-column: auto;
    grid-row: auto;
  }

  /* 7 locations: feature image + six compact cards. */
  .cmt-gallery--count-7 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .cmt-gallery--count-7 .cmt-gallery-item {
    grid-column: auto;
    grid-row: auto;
  }

  .cmt-gallery--count-7 .cmt-gallery-item--1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  /* 8 locations: balanced 4 × 2 grid. */
  .cmt-gallery--count-8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .cmt-gallery--count-8 .cmt-gallery-item {
    grid-column: auto;
    grid-row: auto;
  }

  .cmt-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }



  .cmt-map-layout {
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
    gap: 56px;
  }

  .cmt-map-frame,
  .cmt-map-frame iframe {
    min-height: 520px;
  }

  .cmt-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


@media (min-width: 1280px) {
  .cmt-hero .cmt-container {
    width: min(calc(100% - 48px), 1480px);
  }
}

/* Mobile */

@media (max-width: 699px) {
  .cmt-section {
    padding-block: 62px;
  }

  .cmt-hero {
    padding-top: 28px;
  }

  .cmt-hero h1 {
    font-size: var(--cmt-type-display);
  }

  /*
   * Mobile Gallery เต็มความกว้างหน้าจอ
   * การ์ดแต่ละสถานที่เกือบเต็มจอ และปัดซ้าย–ขวาได้
   */
  .cmt-gallery {
    width: 100vw;
    max-width: none;
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 12px;
    height: auto;
    min-height: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 12px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 0;
    box-shadow: none;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cmt-gallery::-webkit-scrollbar {
    display: none;
  }

  .cmt-gallery-item,
  .cmt-gallery-item:nth-child(n) {
    width: calc(100vw - 24px);
    min-width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    flex: 0 0 calc(100vw - 24px);
    display: block !important;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .cmt-gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .cmt-gallery-place {
    left: 16px;
    right: 112px;
    bottom: 16px;
    display: block;
    overflow: visible;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 700;
    white-space: normal;
    text-overflow: clip;
  }

  .cmt-gallery-more {
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .cmt-itinerary-item {
    grid-template-columns: 62px 24px minmax(0, 1fr);
    gap: 10px;
  }

  .cmt-itinerary-time {
    font-size: 0.78rem;
  }

  .cmt-map-frame {
    height: clamp(240px, 68vw, 320px);
    min-height: 0;
    max-height: 320px;
  }

  .cmt-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .cmt-booking-host {
    padding: 8px;
    border-radius: 20px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .cmt-page *,
  .cmt-page *::before,
  .cmt-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   Compact & Modern Tour Overview
   Mobile: horizontal swipe cards
   Desktop: compact grid
   ========================================================= */

.cmt-overview-grid {
  gap: 14px;
}

.cmt-overview-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background:
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dfe7f5;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16, 39, 71, 0.07);
}

.cmt-overview-card::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -28px;
  width: 84px;
  height: 84px;
  background: rgba(37, 99, 235, 0.07);
  border-radius: 999px;
  pointer-events: none;
}

.cmt-overview-card__number {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--cmt-primary);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.cmt-overview-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.cmt-overview-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--cmt-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Mobile compact slider */
@media (max-width: 699px) {
  .cmt-section--soft .cmt-section-heading {
    margin-bottom: 22px;
  }

  .cmt-section--soft .cmt-section-heading h2 {
    font-size: var(--cmt-type-h2);
  }

  .cmt-section--soft .cmt-section-heading p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .cmt-overview-grid {
    width: 100vw;
    max-width: none;
    display: flex;
    gap: 12px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 16px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cmt-overview-grid::-webkit-scrollbar {
    display: none;
  }

  .cmt-overview-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    width: 84%;
    min-width: 84%;
    flex: 0 0 84%;
    min-height: 154px;
    padding: 17px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .cmt-overview-card__number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .cmt-overview-card h3 {
    font-size: 0.98rem;
  }

  .cmt-overview-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.84rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
}

/* Tablet/Desktop */
@media (min-width: 700px) {
  .cmt-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cmt-overview-card {
    min-height: 150px;
  }
}

@media (min-width: 1100px) {
  .cmt-overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cmt-overview-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 168px;
  }
}


/* =========================================================
   Floating Book Now
   ========================================================= */

.cmt-floating-booking {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99990;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cmt-primary), #3978f5);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.32);
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.cmt-floating-booking:hover {
  transform: translateY(-2px);
}

.cmt-floating-booking.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.cmt-floating-booking__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.cmt-floating-booking__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#cmt-booking-section {
  scroll-margin-top: 22px;
}

@media (max-width: 699px) {
  .cmt-floating-booking {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: calc(100% - 24px);
    min-height: 56px;
    border-radius: 16px;
  }

  #cmt-booking-section {
    scroll-margin-top: 10px;
  }
}

body.cet-calendar-open .cmt-floating-booking,
body.cet-selector-open .cmt-floating-booking,
body.cet-summary-popup-open .cmt-floating-booking,
body.cet-booking-form-open .cmt-floating-booking,
html.cmt-no-scroll .cmt-floating-booking {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* ===== Floating Book Now — viewport bottom bar correction ===== */
body > .cmt-floating-booking {
  position: fixed !important;
  z-index: 2147483000 !important;
}

@media (max-width: 699px) {
  body > .cmt-floating-booking {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding:
      14px
      18px
      max(14px, env(safe-area-inset-bottom)) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--cmt-primary), #3978f5) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 -8px 28px rgba(16, 39, 71, 0.22) !important;
  }

  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  body.cet-calendar-open,
  body.cet-selector-open,
  body.cet-summary-popup-open,
  body.cet-booking-form-open {
    padding-bottom: 0 !important;
  }
}


/* ===== Floating Book Now V4 ===== */
.cmt-floating-booking-v4 {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  z-index: 2147483000 !important;
  min-height: 56px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 14px 22px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb, #3978f5) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.34) !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

.cmt-floating-booking-v4__icon,
.cmt-floating-booking-v4__icon svg {
  width: 22px !important;
  height: 22px !important;
}

.cmt-floating-booking-v4__icon svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

@media (max-width: 699px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }

  .cmt-floating-booking-v4 {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-height: 64px !important;
    padding:
      15px
      18px
      max(15px, env(safe-area-inset-bottom)) !important;
    border-radius: 0 !important;
    box-shadow: 0 -8px 28px rgba(16, 39, 71, 0.22) !important;
  }
}

html.cet-overlay-root-open .cmt-floating-booking-v4,
body.cet-calendar-open .cmt-floating-booking-v4,
body.cet-selector-open .cmt-floating-booking-v4,
body.cet-summary-popup-open .cmt-floating-booking-v4,
body.cet-booking-form-open .cmt-floating-booking-v4,
html.cmt-no-scroll .cmt-floating-booking-v4 {
  display: none !important;
}


/* =========================================================
   Fix: Related Tours slider horizontal overflow on mobile
   Keep the next card visible without widening the document
   ========================================================= */

.cmt-related-section,
.cmt-related-section .cmt-container,
.cmt-related-host,
.cmt-related-host > *,
.cmt-related-host .cet-home-tour-slider,
.cmt-related-host .cet-home-tour-slider__viewport {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 767px) {
  .cmt-related-section {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  @supports not (overflow: clip) {
    .cmt-related-section {
      overflow-x: hidden;
    }
  }

  .cmt-related-section .cmt-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .cmt-related-host {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
  }

  .cmt-related-host .cet-home-tour-slider,
  .cmt-related-host .cet-home-tour-slider__viewport {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
  }

  /*
   * The Swiper itself may remain visually wider so the next card peeks in,
   * but its viewport clips the excess and prevents document-level overflow.
   */
  .cmt-related-host .cet-home-tour-slider__swiper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cmt-related-host .swiper-wrapper {
    max-width: none !important;
  }

  .cmt-related-host .swiper-slide {
    min-width: 0 !important;
  }
}

/* Final page-level guard against accidental horizontal expansion */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

/* =========================================================
   v1.1.1 — Wide Desktop Typography Balance
   Increase reading scale on large desktop screens only.
   Mobile/tablet sizing and the mobile height fixes are unchanged.
   ========================================================= */
@media (min-width: 1280px) {
  .cmt-page {
    --cmt-type-display: 3.25rem;   /* 52px */
    --cmt-type-h1: 2.75rem;        /* 44px */
    --cmt-type-h2: 2.25rem;        /* 36px */
    --cmt-type-h3: 1.75rem;        /* 28px */
    --cmt-type-h4: 1.5rem;         /* 24px */
    --cmt-type-body-lg: 1.1875rem; /* 19px */
    --cmt-type-body: 1.0625rem;    /* 17px */
    --cmt-type-small: .9375rem;    /* 15px */
  }

  /* Hero supporting copy */
  .cmt-location-line { font-size: 1rem; }
  .cmt-quick-fact small { font-size: .8125rem; }
  .cmt-quick-fact strong { font-size: 1rem; }

  /* Gallery + destination summary */
  .cmt-gallery-place { font-size: .95rem; }
  .cmt-place-summary__heading h2 { font-size: var(--cmt-type-h2); }
  .cmt-place-summary__name { font-size: 1rem; }

  /* At-a-glance cards */
  .cmt-overview-card h3 { font-size: 1.125rem; }
  .cmt-overview-card p { font-size: 1rem; line-height: 1.65; }

  /* Activities included */
  .cmt-activity-section__head p { font-size: 1rem; }
  .cmt-activity-included__card h3 { font-size: 1.0625rem; }
  .cmt-activity-included__card p { font-size: .9375rem; line-height: 1.6; }

  /* Map */
  .cmt-map-stops li { font-size: .95rem; }

  /* Itinerary */
  .cmt-itinerary-time { font-size: .95rem; }
  .cmt-itinerary-content h3 { font-size: 1.125rem; }

  /* Highlights */
  .cmt-highlight-card p { font-size: 1rem; line-height: 1.62; }

  /* Long-form description */
  .cmt-description { font-size: 1.0625rem; line-height: 1.82; }

  /* Included / not included */
  .cmt-inclusion-card h3 { font-size: 1.1875rem; }
  .cmt-inclusion-card li { font-size: 1rem; line-height: 1.62; }

  /* Important information */
  .cmt-accordion-trigger { font-size: 1rem; }
  .cmt-accordion-panel { font-size: 1rem; line-height: 1.7; }

  /* Booking heading/supporting text remains tied to the shared tokens. */
  .cmt-booking-heading p,
  .cmt-section-heading p,
  .cmt-map-copy p { font-size: var(--cmt-type-body); }
}

/* =========================================================
   v1.1.2 — Wide Desktop Readability & Visual Balance
   Final desktop pass from live-page review.
   Mobile/tablet rules and v1.0.2 height fixes remain unchanged.
   ========================================================= */
@media (min-width: 1280px) {
  /* Shared section hierarchy */
  .cmt-eyebrow {
    font-size: .8125rem; /* 13px */
    font-weight: 800;
    letter-spacing: .12em;
  }

  .cmt-section-heading h2,
  .cmt-booking-heading h2,
  .cmt-map-copy h2,
  .cmt-activity-section__head h2,
  .cmt-place-summary__heading h2 {
    font-size: 2rem; /* 32px */
    line-height: 1.18;
    font-weight: 800;
  }

  .cmt-section-heading p,
  .cmt-booking-heading p,
  .cmt-map-copy p,
  .cmt-activity-section__head p {
    font-size: 1.0625rem; /* 17px */
    line-height: 1.58;
    font-weight: 500;
  }

  /* Hero */
  .cmt-package-badge {
    min-height: 38px;
    padding: 9px 15px;
    color: #9a3f00;
    background: #ffead8;
    border-color: #ffbd8c;
    font-size: .8125rem; /* 13px */
    font-weight: 800;
    letter-spacing: .055em;
    box-shadow: 0 6px 16px rgba(166, 70, 0, .08);
  }

  .cmt-location-line {
    color: var(--cmt-primary);
    font-size: .875rem; /* 14px */
    font-weight: 600;
  }

  .cmt-location-line svg {
    color: var(--cmt-primary);
  }

  .cmt-hero-excerpt {
    font-size: 1.125rem; /* 18px */
    line-height: 1.58;
    font-weight: 500;
  }

  .cmt-quick-fact small {
    font-size: .8125rem; /* 13px */
    font-weight: 500;
  }

  .cmt-quick-fact strong {
    font-size: 1rem; /* 16px */
    font-weight: 700;
  }

  .cmt-gallery-place {
    font-size: .875rem; /* 14px */
    font-weight: 700;
  }

  .cmt-gallery-more {
    font-size: .75rem; /* 12px */
    font-weight: 700;
  }

  /* Tour destinations */
  .cmt-place-summary {
    padding: 30px 32px;
  }

  .cmt-place-summary__heading {
    margin-bottom: 20px;
  }

  .cmt-place-summary__count {
    font-size: 1.375rem; /* 22px */
    font-weight: 800;
  }

  .cmt-place-summary__list li {
    min-height: 58px;
    padding: 9px 15px 9px 9px;
  }

  .cmt-place-summary__number {
    font-size: .8125rem; /* 13px */
    font-weight: 800;
  }

  .cmt-place-summary__name {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    font-weight: 700;
  }

  /* Pull the next information section closer to destinations. */
  .cmt-place-summary + * {
    margin-top: 0;
  }

  /* At a glance */
  .cmt-overview-card {
    padding: 22px;
  }

  .cmt-overview-card__number {
    font-size: .8125rem; /* 13px */
    font-weight: 800;
  }

  .cmt-overview-card h3 {
    font-size: 1rem; /* 16px */
    line-height: 1.35;
    font-weight: 700;
  }

  .cmt-overview-card p {
    color: #596984;
    font-size: 1rem; /* 16px */
    line-height: 1.58;
    font-weight: 500;
  }

  /* Activities Included */
  .cmt-activity-section__count span {
    font-size: 1.125rem; /* 18px */
    font-weight: 800;
  }

  .cmt-activity-section__count small {
    font-size: .75rem; /* 12px */
    font-weight: 700;
  }

  .cmt-activity-included__meta {
    font-size: .8125rem; /* 13px */
    font-weight: 800;
  }

  .cmt-activity-included__card h3 {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    font-weight: 700;
  }

  .cmt-activity-included__card p {
    color: #596984;
    font-size: 1rem; /* 16px */
    line-height: 1.58;
    font-weight: 500;
  }

  /* Tour route */
  .cmt-map-stops {
    gap: 13px;
  }

  .cmt-map-stops li {
    gap: 12px;
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    font-weight: 600;
  }

  .cmt-map-stops li span {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: .8125rem;
    font-weight: 700;
  }

  /* Schedule / itinerary */
  .cmt-itinerary {
    max-width: 840px;
  }

  .cmt-itinerary-item {
    grid-template-columns: 116px 36px minmax(0, 1fr);
    gap: 18px;
    min-height: 118px;
  }

  .cmt-itinerary-time {
    font-size: 1rem; /* 16px */
    line-height: 1.35;
    font-weight: 700;
  }

  .cmt-itinerary-index {
    font-size: .8125rem; /* 13px */
    font-weight: 700;
  }

  .cmt-itinerary-content h3 {
    font-size: 1.125rem; /* 18px */
    line-height: 1.4;
    font-weight: 600;
  }

  .cmt-itinerary-line::before {
    width: 2px;
    background: #c8d8f7;
  }

  .cmt-itinerary-line span {
    width: 20px;
    height: 20px;
  }

  /* Highlights */
  .cmt-highlight-grid {
    gap: 16px;
  }

  .cmt-highlight-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    padding: 21px 22px;
  }

  .cmt-highlight-card > span {
    width: 46px;
    height: 46px;
  }

  .cmt-highlight-card p {
    margin-top: 0;
    color: #f4f7ff;
    font-size: 1rem; /* 16px */
    line-height: 1.5;
    font-weight: 600;
  }

  /* Full tour description */
  .cmt-container--reading {
    width: min(calc(100% - 32px), 820px);
  }

  .cmt-description {
    color: #34445f;
    font-size: 1.0625rem; /* 17px */
    line-height: 1.68;
    font-weight: 500;
  }

  .cmt-description :where(p, ul, ol) {
    margin-bottom: 22px;
  }

  .cmt-description strong,
  .cmt-description b {
    color: var(--cmt-ink);
    font-weight: 600;
  }

  /* Included / Not included */
  .cmt-inclusion-card__heading span {
    width: 40px;
    height: 40px;
  }

  .cmt-inclusion-card h3 {
    font-size: 1.125rem; /* 18px */
    font-weight: 700;
  }

  .cmt-inclusion-card ul {
    gap: 12px;
  }

  .cmt-inclusion-card li {
    color: #42526c;
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    font-weight: 500;
  }

  .cmt-inclusion-card li::before {
    width: 8px;
    height: 8px;
  }

  /* Important information */
  .cmt-accordion-trigger {
    min-height: 74px;
    padding: 20px 22px;
    font-size: 1.0625rem; /* 17px */
    font-weight: 600;
  }

  .cmt-accordion-panel {
    padding: 0 22px 22px;
    color: #42526c;
    font-size: 1rem; /* 16px */
    line-height: 1.65;
    font-weight: 500;
  }

  .cmt-accordion-arrow {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  /* Pricing & Booking */
  .cmt-booking-heading {
    margin-bottom: 28px;
  }

  .cmt-booking-note {
    padding: 10px 14px;
    font-size: .8125rem;
    font-weight: 700;
  }

  .cmt-booking-host {
    padding: 26px;
  }

  /* Let the embedded CET booking UI use the available desktop width. */
  .cmt-booking-host .elementor-shortcode,
  .cmt-booking-host .elementor-shortcode > * {
    width: 100% !important;
    max-width: none !important;
  }

  .cmt-booking-host :where(button, input, select) {
    min-height: 48px;
  }
}

/* =========================================================
   v1.1.3 — Inclusion Cards Readability Boost
   Desktop-only refinement requested after live review.
   ========================================================= */
@media (min-width: 1280px) {
  .cmt-inclusion-card__heading {
    gap: 13px;
    margin-bottom: 22px;
  }

  .cmt-inclusion-card__heading span {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .cmt-inclusion-card__heading svg {
    width: 20px;
    height: 20px;
  }

  .cmt-inclusion-card h3 {
    font-size: 1.25rem; /* 20px */
    line-height: 1.25;
    font-weight: 800;
  }

  .cmt-inclusion-card ul {
    gap: 14px;
  }

  .cmt-inclusion-card li {
    padding-left: 25px;
    color: var(--cmt-ink);
    font-size: 1.0625rem; /* 17px */
    line-height: 1.58;
    font-weight: 600;
  }

  .cmt-inclusion-card li::before {
    left: 2px;
    width: 9px;
    height: 9px;
  }
}

/* =========================================================
   v1.1.4 — Mobile Typography & Readability Refinement
   iPhone / small-screen pass. Keeps existing mobile layout,
   carousels, map height, sticky booking bar and height fixes.
   ========================================================= */
@media (max-width: 699px) {
  /* Shared small-screen hierarchy */
  .cmt-eyebrow {
    font-size: .8125rem; /* 13px */
    font-weight: 800;
    letter-spacing: .12em;
  }

  .cmt-section-heading h2,
  .cmt-booking-heading h2,
  .cmt-map-copy h2,
  .cmt-activity-section__head h2,
  .cmt-place-summary__heading h2 {
    font-weight: 800;
  }

  .cmt-section-heading p,
  .cmt-booking-heading p,
  .cmt-map-copy p,
  .cmt-activity-section__head p {
    color: #64738c;
    font-size: .9375rem; /* 15px */
    line-height: 1.58;
    font-weight: 500;
  }

  /* Hero */
  .cmt-package-badge {
    font-weight: 800;
    color: #9a3f00;
    background: #ffead8;
    border-color: #ffbd8c;
  }

  .cmt-location-line,
  .cmt-location-line svg {
    color: var(--cmt-primary);
  }

  .cmt-location-line {
    font-size: .9375rem; /* 15px */
    font-weight: 600;
  }

  .cmt-hero-excerpt {
    font-size: 1rem; /* 16px */
    line-height: 1.58;
    font-weight: 500;
  }

  .cmt-quick-fact small {
    font-size: .8125rem; /* 13px */
    font-weight: 500;
  }

  .cmt-quick-fact strong {
    font-size: .9375rem; /* 15px */
    font-weight: 700;
  }

  /* Tour destinations */
  .cmt-place-summary__name {
    font-size: .9375rem; /* 15px */
    line-height: 1.4;
    font-weight: 600;
  }

  .cmt-place-summary__number {
    font-size: .75rem;
    font-weight: 800;
  }

  /* At a glance horizontal cards */
  .cmt-overview-grid {
    grid-auto-columns: min(86vw, 320px);
  }

  .cmt-overview-card h3 {
    font-size: 1rem; /* 16px */
    line-height: 1.35;
    font-weight: 700;
  }

  .cmt-overview-card p {
    color: #596984;
    font-size: .9375rem; /* 15px */
    line-height: 1.58;
    font-weight: 500;
  }

  .cmt-overview-card__number {
    font-weight: 800;
  }

  /* Activities Included — typography only; preserve height fix */
  .cmt-activity-included__meta {
    font-size: .8125rem; /* 13px */
    font-weight: 800;
  }

  .cmt-activity-included__card h3 {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    font-weight: 700;
  }

  .cmt-activity-included__card p {
    color: #596984;
    font-size: .875rem; /* 14px */
    line-height: 1.55;
    font-weight: 500;
  }

  /* Tour route */
  .cmt-map-stops {
    gap: 12px;
  }

  .cmt-map-stops li {
    gap: 10px;
    font-size: .9375rem; /* 15px */
    line-height: 1.4;
    font-weight: 600;
  }

  .cmt-map-stops li span {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: .8125rem;
    font-weight: 800;
  }

  /* Schedule / itinerary */
  .cmt-itinerary-item {
    grid-template-columns: 78px 28px minmax(0, 1fr);
    gap: 10px;
  }

  .cmt-itinerary-time {
    font-size: .875rem; /* 14px */
    line-height: 1.32;
    font-weight: 700;
  }

  .cmt-itinerary-index {
    font-size: .75rem; /* 12px */
    font-weight: 700;
  }

  .cmt-itinerary-content h3 {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    font-weight: 700;
  }

  /* Highlights */
  .cmt-highlight-card p {
    margin-top: 2px;
    font-size: .9375rem; /* 15px */
    line-height: 1.5;
    font-weight: 600;
  }

  /* Full tour description */
  .cmt-description {
    color: #34445f;
    font-size: 1rem; /* 16px */
    line-height: 1.65;
    font-weight: 500;
  }

  .cmt-description strong,
  .cmt-description b {
    color: var(--cmt-ink);
    font-weight: 700;
  }

  .cmt-text-button {
    font-size: .9375rem; /* 15px */
    font-weight: 600;
  }

  /* Included / Not included */
  .cmt-inclusion-card__heading {
    gap: 11px;
  }

  .cmt-inclusion-card h3 {
    font-size: 1.0625rem; /* 17px */
    line-height: 1.3;
    font-weight: 700;
  }

  .cmt-inclusion-card ul {
    gap: 12px;
  }

  .cmt-inclusion-card li {
    color: #34445f;
    font-size: .9375rem; /* 15px */
    line-height: 1.55;
    font-weight: 500;
  }

  /* Important information */
  .cmt-accordion-trigger {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    font-weight: 600;
  }

  .cmt-accordion-panel {
    color: #42526c;
    font-size: .9375rem; /* 15px */
    line-height: 1.6;
    font-weight: 500;
  }

  /* Booking wrapper + common embedded form text.
     Scoped under the booking host so other CET UI is untouched. */
  .cmt-booking-host :where(label, small) {
    font-size: .8125rem !important; /* 13px */
    line-height: 1.35 !important;
  }

  .cmt-booking-host :where(input, select, button) {
    font-size: .9375rem !important; /* 15px */
    font-weight: 600 !important;
  }

  .cmt-booking-host :where(button) {
    min-height: 46px;
    font-weight: 700 !important;
  }
}

/* =========================================================
   v1.1.5 — Mobile Spacing & Carousel Polish
   Mobile-only layout refinement based on real iPhone review.
   Keeps v1.1.4 typography and desktop layout unchanged.
   ========================================================= */
@media (max-width: 699px) {
  /* Shorter page rhythm without shrinking type */
  .cmt-section {
    padding-block: 52px;
  }

  .cmt-section-heading {
    margin-bottom: 22px;
  }

  /* Destinations: remove excessive empty tail */
  .cmt-place-summary {
    margin-bottom: 0;
  }

  .cmt-place-summary__list {
    gap: 8px;
  }

  .cmt-place-summary__list li {
    min-height: 52px;
  }

  /* At a Glance: one clear card + deliberate next-card peek */
  .cmt-overview-grid {
    width: 100vw;
    gap: 12px;
    padding: 0 16px 6px;
    scroll-padding-inline: 16px;
  }

  .cmt-overview-card {
    width: 86vw;
    min-width: 86vw;
    flex: 0 0 86vw;
    min-height: 148px;
    padding: 16px;
    scroll-snap-align: start;
  }

  /* Activities: same swipe language as overview, slightly shorter */
  .cmt-activity-section {
    padding-block: 44px;
  }

  .cmt-activity-section__head {
    margin-bottom: 18px;
  }

  .cmt-activity-included {
    width: 100vw;
    gap: 12px;
    padding: 0 16px 6px;
    scroll-padding-inline: 16px;
  }

  .cmt-activity-included__card {
    width: 86vw;
    min-width: 86vw;
    flex: 0 0 86vw;
    height: 158px;
    max-height: 158px;
    grid-template-columns: 96px minmax(0, 1fr);
    scroll-snap-align: start;
  }

  .cmt-activity-included__media,
  .cmt-activity-included__media img {
    height: 158px;
  }

  .cmt-activity-included__body {
    padding: 14px;
  }

  /* Tour Route: preserve content, reduce vertical footprint */
  .cmt-section--map {
    padding-block: 48px;
  }

  .cmt-map-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }

  .cmt-map-stops {
    margin-top: 22px;
    gap: 10px;
  }

  .cmt-map-frame,
  .cmt-map-frame iframe {
    min-height: 315px;
  }

  .cmt-map-layout {
    gap: 24px;
  }

  /* Schedule: keep readability, remove unnecessary vertical stretch */
  .cmt-itinerary-item {
    min-height: 98px;
  }

  .cmt-itinerary-content {
    padding-bottom: 24px;
  }

  .cmt-itinerary-line::before {
    bottom: -15px;
  }

  /* Highlights: compact cards, same typography */
  .cmt-highlight-grid {
    gap: 12px;
  }

  .cmt-highlight-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
  }

  /* Description / inclusions: spacing polish only */
  .cmt-container--reading .cmt-section-heading {
    margin-bottom: 20px;
  }

  .cmt-inclusion-card {
    padding: 20px;
  }

  /* Important information: reduce oversized whitespace */
  .cmt-accordion-trigger {
    min-height: 62px;
    padding: 17px 18px;
  }

  .cmt-accordion-panel {
    padding: 0 18px 18px;
  }

  /* Pricing & Booking */
  .cmt-booking-section {
    padding-block: 54px;
  }

  .cmt-booking-heading {
    gap: 16px;
    margin-bottom: 24px;
  }

  /* iPhone home-indicator / browser-safe fixed CTA */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }

  .cmt-floating-booking-v4 {
    min-height: 64px !important;
    padding-top: 14px !important;
    padding-bottom: max(14px, env(safe-area-inset-bottom)) !important;
  }
}
