/* ================================================================
   Umbrella Trip — Master Tour Itinerary & Detail Page (tour-detail.css)
   STRICT RULE: NO 'px' units used anywhere in this stylesheet.
   Uses rem, em, %, vh, vw only.

   FONT STRATEGY:
   Base font-size is established as 1.6rem  on the wrapper.
   All child components scale naturally using 'em' units so typography
   is crystal clear, readable, and properly proportioned.
   ================================================================ */

/* ── Base Wrapper & Font Base ───────────────────────────────── */
.td-page-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.6rem;
  /* establishes base font size */
  color: #1e293b;
  background-color: #f8fafc;
  line-height: 1.6;
  padding-bottom: 4em;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.td-breadcrumb {
  background: #ffffff;
  border-bottom: 0.0625em solid #e2e8f0;
  padding: 0.65em 0;
}

.td-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.75em;
  line-height: 1.4;
}

.td-crumbs li {
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.td-crumbs .fa-chevron-right {
  font-size: 0.7em;
  color: #94a3b8;
}

.td-crumbs a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.td-crumbs a:hover {
  color: #2e9e3e;
}

.td-crumb-active {
  color: #0f172a !important;
  font-weight: 600;
}

/* ── Hero & Header Section (Compact & Refined) ──────────────── */
.td-header-section {
  background: #ffffff;
  border-bottom: 0.0625em solid #e2e8f0;
  padding: 0.9em 0 1em;
}

.td-header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5em;
  margin-bottom: 0;
}

.td-header-info {
  flex: 1;
}

.td-badge-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
  margin-bottom: 0.35em;
}

.td-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.72em;
  font-weight: 600;
  padding: 0.22em 0.65em;
  border-radius: 999em;
  line-height: 1.3;
}

.td-badge-duration {
  background: #eff6ff;
  color: #1d4ed8;
  border: 0.0625em solid #bfdbfe;
}

.td-badge-route {
  background: #f1f5f9;
  color: #334155;
  border: 0.0625em solid #e2e8f0;
}

.td-badge-rating {
  background: #f0fdf4;
  color: #15803d;
  border: 0.0625em solid #bbf7d0;
}

.td-badge-custom {
  background: #faf5ff;
  color: #7e22ce;
  border: 0.0625em solid #e9d5ff;
}

.td-badge-featured {
  background: #fffbeb;
  color: #b45309;
  border: 0.0625em solid #fde68a;
}

.td-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #1b1b1b;
  padding: 1rem 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0.15em 0 0.3em;
}

.td-intro-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 100%);
  border: 0.0625em solid #e2e8f0;
  border-left: 0.25em solid #2e9e3e;
  border-radius: 0 0.55em 0.55em 0;
  padding: 0.6em 1em;
  margin: 0.35em 0 0.2em;
  max-width: 54em;
  box-shadow: 0 0.125em 0.35em rgba(46, 158, 62, 0.06);
}

.td-intro-icon {
  width: 2em;
  height: 2em;
  border-radius: 0.4em;
  background: #ecfdf5;
  color: #2e9e3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  flex-shrink: 0;
  border: 0.0625em solid #a7f3d0;
  margin-top: 0.1em;
}

.td-intro-body {
  font-size: 0.875em;
  line-height: 1.55;
  color: #334155;
}

.td-intro-lead {
  color: #0b1a3c;
  font-weight: 700;
  margin-right: 0.3em;
}

.td-intro-text {
  color: #475569;
}

/* Header Right Actions - Compact & Integrated */
.td-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4em;
  flex-shrink: 0;
}

.td-price-callout {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.td-pill-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: #ecfdf5;
  color: #047857;
  border: 0.0625em solid #a7f3d0;
  font-size: 0.68em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.18em 0.55em;
  border-radius: 999em;
  margin-bottom: 0.15em;
}

.td-price-main {
  font-size: 1.45em;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.15;
}

.td-price-sub {
  font-size: 0.72em;
  color: #64748b;
  margin-top: 0.1em;
}

.td-cta-cluster {
  display: flex;
  gap: 0.45em;
  margin-top: 0.2em;
}

.td-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: linear-gradient(135deg, #2e9e3e 0%, #1e7e2c 100%);
  color: #ffffff;
  font-size: 0.85em;
  font-weight: 700;
  padding: 0.55em 1.15em;
  border-radius: 0.4em;
  border: none;
  cursor: pointer;
  box-shadow: 0 0.2em 0.6em rgba(46, 158, 62, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.td-btn-primary:hover {
  transform: translateY(-0.08em);
  box-shadow: 0 0.3em 0.8em rgba(46, 158, 62, 0.35);
  color: #ffffff;
}

.td-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: #25d366;
  color: #ffffff;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.55em 1.1em;
  border-radius: 0.4em;
  text-decoration: none;
  box-shadow: 0 0.2em 0.6em rgba(37, 211, 102, 0.2);
  transition: transform 0.15s ease, background 0.15s ease;
}

.td-btn-whatsapp:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-0.08em);
}

/* ── Full-Width Visual Gallery Showcase (Hero + Thumbnail Row) ── */
.td-gallery-hero-section {
  width: 100%;
  background: #ffffff;
  padding: 0.75em 1.5em 1em;
  border-bottom: 0.0625em solid #e2e8f0;
}

.td-gallery-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

/* Big Main Stage Image on Top */
.td-gallery-stage {
  position: relative;
  width: 100%;
  height: clamp(16em, 24vw, 22em);
  border-radius: 0.5em;
  overflow: hidden;
  box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.08);
  background: #0f172a;
}

.td-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.td-stage-badge {
  position: absolute;
  bottom: 0.9em;
  left: 1em;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(0.5em);
  color: #ffffff;
  font-size: 0.75em;
  font-weight: 600;
  padding: 0.35em 0.85em;
  border-radius: 999em;
  border: 0.0625em solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

/* Horizontal Thumbnail Strip Directly Below */
.td-thumb-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5em;
  width: 100%;
}

.td-thumb-card {
  position: relative;
  height: clamp(3.8em, 5.5vw, 4.8em);
  border-radius: 0.35em;
  overflow: hidden;
  cursor: pointer;
  background: #f1f5f9;
  border: 0.1875em solid transparent;
  padding: 0;
  margin: 0;
  box-shadow: 0 0.125em 0.35em rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.td-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.td-thumb-card:hover {
  transform: translateY(-0.1em);
  border-color: #94a3b8;
}

.td-thumb-card.is-active {
  border-color: #0f172a;
  box-shadow: 0 0 0 0.0625em #0f172a, 0 0.25em 0.75em rgba(0, 0, 0, 0.25);
}

.td-thumb-card.is-active img {
  transform: scale(1.02);
}


/* ── Sticky Section Navigation Bar ──────────────────────────── */
.td-nav-tabs-bar {
  position: sticky;
  top: 6.1rem;
  /* Aligns smoothly under site header */
  z-index: 90;
  background: #ffffff;
  border-bottom: 0.0625em solid #e2e8f0;
  box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.03);
}

.td-nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.5em;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.td-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 1em 1.4em;
  color: #64748b;
  font-size: 0.9375em;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 0.1875em solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.td-tab-link:hover {
  color: #2e9e3e;
}

.td-tab-link.active {
  color: #2e9e3e;
  border-bottom-color: #2e9e3e;
  background: #f0fdf4;
}

/* ── 2-Column Main Container Layout ─────────────────────────── */
.td-main-container {
  padding: 2.2em 0;
}

.td-two-col-grid {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 2em;
  align-items: stretch;
}

.td-content-col {
  min-width: 0;
}

.td-sidebar-col {
  position: relative;
  align-self: stretch;
  height: 100%;
}

/* ── Section Cards (General) ────────────────────────────────── */
.td-section-card {
  background: #ffffff;
  border: 0.0625em solid #e2e8f0;
  border-radius: 0.875em;
  padding: 2em;
  margin-bottom: 2em;
  box-shadow: 0 0.125em 0.5em rgba(0, 0, 0, 0.02);
}

.td-section-title-wrap {
  margin-bottom: 1.4em;
  border-bottom: 0.0625em solid #f1f5f9;
  padding-bottom: 0.9em;
}

.td-section-subtitle {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  color: #2e9e3e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35em;
}

.td-section-heading {
  font-size: 1.375em;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.td-section-intro {
  font-size: 0.9375em;
  color: #475569;
  margin: 0 0 1.4em;
  line-height: 1.6;
}

/* Overview & Highlights */
.td-overview-prose p {
  font-size: 1em;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.4em;
}

.td-subheading {
  font-size: 1.0625em;
  font-weight: 600;
  color: #1e293b;
  margin: 1.4em 0 0.9em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.td-subheading i {
  color: #2e9e3e;
}

.td-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
  gap: 0.85em;
}

.td-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  background: #f8fafc;
  border: 0.0625em solid #e2e8f0;
  border-left: 0.2em solid #2e9e3e;
  border-radius: 0.6em;
  padding: 0.9em 1.1em;
}

.td-hl-icon {
  color: #2e9e3e;
  font-size: 1.1em;
  margin-top: 0.1em;
  flex-shrink: 0;
}

.td-hl-text {
  font-size: 0.9375em;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.5;
}

/* ── Day-by-Day Master Itinerary (Timeline) ──────────────────── */
.td-itinerary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 0.0625em solid #f1f5f9;
  padding-bottom: 1.1em;
  margin-bottom: 1.6em;
}

.td-itinerary-count {
  font-size: 0.875em;
  color: #64748b;
  margin: 0.3em 0 0;
}

.td-itinerary-actions {
  display: flex;
  gap: 0.6em;
}

.td-btn-toggle-all {
  background: #f1f5f9;
  border: 0.0625em solid #cbd5e1;
  color: #334155;
  font-size: 0.8125em;
  font-weight: 600;
  padding: 0.45em 0.95em;
  border-radius: 0.4em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: all 0.15s ease;
}

.td-btn-toggle-all:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.td-timeline-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}

/* Connecting Line */
.td-timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 2.85em;
  top: 2em;
  bottom: 2em;
  width: 0.125em;
  background: #e2e8f0;
  z-index: 1;
}

/* Individual Day Card */
.td-day-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 0.0625em solid #e2e8f0;
  border-radius: 0.75em;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.td-day-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.04);
}

.td-day-card.is-open {
  border-color: #93c5fd;
  box-shadow: 0 0.35em 1em rgba(21, 101, 192, 0.07);
}

/* Accordion Trigger Button */
.td-day-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 1.05em 1.4em;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.td-day-trigger:hover {
  background: #fafafa;
}

.td-day-badge-col {
  flex-shrink: 0;
}

.td-day-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e7e2c 0%, #2e9e3e 100%);
  color: #ffffff;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.28em 0.58em;
  border-radius: 0.35em;
  line-height: 1.2;
  box-shadow: 0 0.1em 0.3em rgba(46, 158, 62, 0.18);
}

.td-day-header-main {
  flex: 1;
}

.td-day-title {
  font-size: 0.95em;
  font-weight: 600;
  color: #242e3f;
  margin: 0;
  line-height: 1.42;
  transition: color 0.15s ease;
}

.td-day-trigger:hover .td-day-title {
  color: #1e7e2c;
}

.td-day-card.is-open .td-day-title {
  color: #1a202c;
}

.td-day-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}

.td-day-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.78125em;
  font-weight: 600;
  padding: 0.25em 0.65em;
  border-radius: 0.35em;
}

.td-tag-meals {
  background: #fff7ed;
  color: #c2410c;
  border: 0.0625em solid #ffedd5;
}

.td-tag-stay {
  background: #f0fdf4;
  color: #15803d;
  border: 0.0625em solid #dcfce7;
}

.td-day-toggle-icon {
  font-size: 0.9375em;
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.td-day-card.is-open .td-day-toggle-icon {
  transform: rotate(180deg);
  color: #2e9e3e;
}

/* Accordion Panel Body */
.td-day-panel {
  border-top: 0.0625em solid #f1f5f9;
  background: #ffffff;
}

.td-day-body-inner {
  padding: 1.4em 1.5em 1.6em 1.5em;
}

.td-day-description {
  font-size: 0.96875em;
  color: #334155;
  line-height: 1.75;
  margin: 0 0 1.2em;
}

.td-day-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16em, 1fr));
  gap: 0.75em;
  background: #f8fafc;
  border: 0.0625em solid #e2e8f0;
  border-radius: 0.5em;
  padding: 0.9em 1.1em;
}

.td-day-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.875em;
  color: #475569;
}

.td-day-feature-item i {
  color: #2e9e3e;
  font-size: 1em;
}

.td-fallback-itinerary {
  background: #eff6ff;
  border: 0.0625em solid #bfdbfe;
  color: #1d4ed8;
  padding: 1.4em;
  border-radius: 0.6em;
  font-size: 0.9375em;
}

/* ── Inclusions & Exclusions ────────────────────────────────── */
.td-inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6em;
}

.td-inc-box,
.td-exc-box {
  background: #f8fafc;
  border: 0.0625em solid #e2e8f0;
  border-radius: 0.75em;
  overflow: hidden;
}

.td-box-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.0625em;
  font-weight: 700;
  padding: 1em 1.4em;
}

.td-head-included {
  background: #ecfdf5;
  color: #065f46;
  border-bottom: 0.0625em solid #a7f3d0;
}

.td-head-excluded {
  background: #fef2f2;
  color: #991b1b;
  border-bottom: 0.0625em solid #fecaca;
}

.td-list {
  list-style: none;
  margin: 0;
  padding: 1.2em 1.4em;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
}

.td-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  font-size: 0.9375em;
  line-height: 1.55;
  color: #334155;
}

.td-list-included li i {
  color: #16a34a;
  font-size: 1em;
  margin-top: 0.15em;
  flex-shrink: 0;
}

.td-list-excluded li i {
  color: #dc2626;
  font-size: 1em;
  margin-top: 0.15em;
  flex-shrink: 0;
}

/* ── Hotels & Accommodations ────────────────────────────────── */
.td-hotel-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
  gap: 1.4em;
}

.td-hotel-card {
  background: #f8fafc;
  border: 0.0625em solid #e2e8f0;
  border-radius: 0.75em;
  padding: 1.5em;
}

.td-hotel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.78125em;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 0.0625em solid #bbf7d0;
  padding: 0.25em 0.65em;
  border-radius: 999em;
  margin-bottom: 0.75em;
}

.td-hotel-name {
  font-size: 1.125em;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35em;
}

.td-hotel-rating {
  font-size: 0.875em;
  font-weight: 600;
  color: #d97706;
  margin-bottom: 0.7em;
}

.td-hotel-desc {
  font-size: 0.875em;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.1em;
}

.td-hotel-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}

.td-hotel-perks span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.78125em;
  font-weight: 600;
  background: #ffffff;
  border: 0.0625em solid #e2e8f0;
  padding: 0.35em 0.65em;
  border-radius: 0.35em;
  color: #334155;
}

/* ── Things to Carry ────────────────────────────────────────── */
.td-essentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18em, 1fr));
  gap: 0.85em;
}

.td-essential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  background: #f8fafc;
  border: 0.0625em solid #e2e8f0;
  border-left: 0.1875em solid #2e9e3e;
  border-radius: 0.55em;
  padding: 0.9em 1.1em;
  font-size: 0.9375em;
  color: #334155;
  line-height: 1.5;
}

.td-essential-item i {
  color: #2e9e3e;
  font-size: 1.15em;
  margin-top: 0.1em;
  flex-shrink: 0;
}

/* ── Policies & Cancellation ────────────────────────────────── */
.td-policy-box {
  background: #f8fafc;
  border: 0.0625em solid #e2e8f0;
  border-radius: 0.75em;
  padding: 1.4em 1.6em;
}

.td-policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85em;
}

.td-policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  font-size: 0.9375em;
  color: #334155;
  line-height: 1.6;
}

.td-policy-list li i {
  color: #64748b;
  font-size: 0.7em;
  margin-top: 0.4em;
  flex-shrink: 0;
}

/* ── Sticky Sidebar (Clean Unified Column) ──────────────────── */
.td-sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 12.2rem;
  /* Offsets smoothly below site header (6.1rem) and sticky nav (~5.1rem) */
  display: flex;
  flex-direction: column;
  z-index: 20;
}

/* ── Master Booking & Trust Card (Unified Luxury Widget) ─────── */
.td-booking-card {
  background: #ffffff;
  border: 0.0625em solid #e2e8f0;
  border-radius: 0.875em;
  box-shadow: 0 0.4em 1.5em rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

/* Card Header: Midnight to Sapphire Gradient (Compact) */
.td-bcard-header {
  background: linear-gradient(135deg, #0b1a3c 0%, #1565c0 100%);
  color: #ffffff;
  padding: 0.65em 1.1em 0.6em;
  text-align: center;
}

.td-bcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
  border: 0.0625em solid rgba(167, 243, 208, 0.35);
  font-size: 0.59375em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.12em 0.5em;
  border-radius: 999em;
  margin-bottom: 0.2em;
}

.td-bcard-price {
  font-size: 1.3em;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.td-bcard-note {
  font-size: 0.6875em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.12em;
  line-height: 1.25;
}

/* Card Summary Metadata Rows (Refined & Visual) */
.td-bcard-summary {
  padding: 0.7em 1.1em;
  background: #ffffff;
  border-bottom: 0.0625em solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.td-bsummary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25em 0.35em;
  border-radius: 0.35em;
  transition: background 0.15s ease;
}

.td-bsummary-row:hover {
  background: #f8fafc;
}

.td-bsummary-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}

.td-bsummary-icon {
  width: 1.85em;
  height: 1.85em;
  border-radius: 0.375em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  flex-shrink: 0;
}

.td-icon-time {
  background: #eff6ff;
  color: #1d4ed8;
  border: 0.0625em solid #dbeafe;
}

.td-icon-dest {
  background: #ecfdf5;
  color: #059669;
  border: 0.0625em solid #a7f3d0;
}

.td-icon-stay {
  background: #fffbeb;
  color: #d97706;
  border: 0.0625em solid #fde68a;
}

.td-bsummary-label {
  font-size: 0.8125em;
  font-weight: 500;
  color: #64748b;
}

.td-bsummary-value {
  font-size: 0.8125em;
  font-weight: 500;
  color: #1e293b;
  text-align: right;
}

.td-bsummary-route {
  display: flex;
  align-items: center;
  gap: 0.45em;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 0.0625em solid #e2e8f0;
  border-radius: 0.35em;
  padding: 0.35em 0.65em;
  font-size: 0.72em;
  color: #475569;
  font-weight: 500;
  margin-top: 0.15em;
}

.td-bsummary-route i {
  color: #1565c0;
  font-size: 0.85em;
  flex-shrink: 0;
}

/* Action CTAs */
.td-bcard-ctas {
  padding: 0.75em 1.1em 0.65em;
  display: flex;
  flex-direction: column;
  gap: 0.45em;
}

.td-bcard-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  width: 100%;
}

.td-btn-book-primary {
  flex: 1;
  max-width: 10.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: linear-gradient(135deg, #2e9e3e 0%, #1e7e2c 100%);
  color: #ffffff;
  font-size: 0.8125em;
  font-weight: 600;
  padding: 0.55em 0.8em;
  border-radius: 0.4em;
  border: none;
  cursor: pointer;
  box-shadow: 0 0.15em 0.45em rgba(46, 158, 62, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.td-btn-book-primary:hover {
  transform: translateY(-0.0625em);
  box-shadow: 0 0.25em 0.65em rgba(46, 158, 62, 0.35);
  color: #ffffff;
}

.td-btn-book-wa {
  flex: 1;
  max-width: 10.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: #25d366;
  color: #ffffff;
  font-size: 0.8125em;
  font-weight: 600;
  padding: 0.55em 0.8em;
  border-radius: 0.4em;
  text-decoration: none;
  box-shadow: 0 0.15em 0.45em rgba(37, 211, 102, 0.2);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.td-btn-book-wa:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-0.0625em);
  box-shadow: 0 0.25em 0.65em rgba(37, 211, 102, 0.3);
}

.td-bcard-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  font-size: 0.6875em;
  color: #15803d;
  font-weight: 600;
  margin-top: 0.1em;
  text-align: center;
}

/* Integrated Trust Assurance Matrix (Standard for All Itineraries) */
.td-bcard-trust-section {
  background: #f8fafc;
  border-top: 0.0625em solid #e2e8f0;
  padding: 0.8em 1.1em 0.85em;
}

.td-bcard-trust-heading {
  font-size: 0.72em;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.55em;
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.td-bcard-trust-heading i {
  color: #2e9e3e;
}

.td-bcard-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55em 0.5em;
}

.td-btrust-item {
  display: flex;
  align-items: center;
  gap: 0.45em;
}

.td-btrust-icon {
  width: 1.75em;
  height: 1.75em;
  border-radius: 0.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72em;
  flex-shrink: 0;
}

.td-btrust-icon.td-icon-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 0.0625em solid #dbeafe;
}

.td-btrust-icon.td-icon-green {
  background: #ecfdf5;
  color: #2e9e3e;
  border: 0.0625em solid #a7f3d0;
}

.td-btrust-icon.td-icon-gold {
  background: #fffbeb;
  color: #d97706;
  border: 0.0625em solid #fde68a;
}

.td-btrust-icon.td-icon-navy {
  background: #f1f5f9;
  color: #1a2b5e;
  border: 0.0625em solid #cbd5e1;
}

.td-btrust-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.td-btrust-text strong {
  font-size: 0.73em;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.td-btrust-text span {
  font-size: 0.64em;
  color: #64748b;
  margin-top: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Integrated Call Assistance Footer */
.td-bcard-call-footer {
  background: #f1f5f9;
  border-top: 0.0625em solid #e2e8f0;
  padding: 0.65em 1em;
  text-align: center;
  font-size: 0.72em;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}

.td-bcard-call-footer i {
  color: #2e9e3e;
}

.td-bcard-call-footer a {
  color: #1a2b5e;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.td-bcard-call-footer a:hover {
  color: #2e9e3e;
  text-decoration: underline;
}

/* ── Similar Holiday Packages handled by reusable package-slider.css ── */

/* ── Responsive Rules ───────────────────────────────────────── */
@media (max-width: 64em) {
  .td-two-col-grid {
    grid-template-columns: 1fr;
  }

  .td-sidebar-col {
    height: auto;
  }

  .td-sidebar-sticky {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .td-header-top-row {
    flex-direction: column;
    align-items: stretch;
  }

  .td-header-actions {
    align-items: flex-start;
    min-width: unset;
  }

  .td-price-callout {
    text-align: left;
  }

  .td-gallery-stage {
    height: 16em;
  }

  .td-thumb-strip {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.35em;
  }

}

@media (max-width: 48em) {
  .td-gallery-stage {
    height: 13em;
  }

  .td-thumb-strip {
    grid-template-columns: repeat(6, minmax(4.2em, 1fr));
    overflow-x: auto;
    padding-bottom: 0.4em;
    scrollbar-width: thin;
  }

  .td-thumb-card {
    height: 3.2em;
    min-width: 4.2em;
  }


  .td-title {
    font-size: 1.5em;
  }

  .td-inc-exc-grid {
    grid-template-columns: 1fr;
  }

  .td-timeline-wrapper::before {
    display: none;
  }

  .td-day-trigger {
    flex-wrap: wrap;
    gap: 0.6em;
  }

  .td-day-badge-col {
    width: 100%;
  }

  .td-day-toggle-icon {
    margin-left: auto;
  }

  .td-cta-cluster {
    flex-direction: column;
    width: 100%;
  }

  .td-btn-primary,
  .td-btn-whatsapp {
    width: 100%;
  }
}