/* =======================================================
   TRIPFLORIC TOUR DETAILS — MODERN EXPERIENCES SHELL
   Layout matching TripFloric Experiences Mockup
   ======================================================= */

:root {
  --tf-teal-primary: #0C5F58;
  --tf-teal-dark: #094B46;
  --tf-teal-accent: #0C5F58;
  --tf-teal-light: #E8F4F3;
  --tf-teal-border: rgba(12, 95, 88, 0.2);
  --tf-teal-gradient: linear-gradient(135deg, #0C5F58 0%, #094B46 100%);

  --tf-text-main: #0f172a;
  --tf-text-body: #334155;
  --tf-text-muted: #64748b;
  --tf-text-light: #94a3b8;

  --tf-bg-page: #f8fafc;
  --tf-bg-card: #ffffff;
  --tf-border: #e2e8f0;
  --tf-border-subtle: #f1f5f9;

  --tf-radius-sm: 8px;
  --tf-radius: 12px;
  --tf-radius-lg: 16px;
  --tf-radius-xl: 20px;

  --tf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.03);
  --tf-shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --tf-shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1);
  --tf-shadow-sheet: 0 -10px 40px rgba(0, 0, 0, 0.18);
}

body.tfd-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--tf-text-body);
  background-color: var(--tf-bg-page);
  line-height: 1.6;
  /* Prevent horizontal overflow on small screens WITHOUT becoming a scroll
     container — `hidden` would break position:sticky for the topbar/navbar
     and the booking rail (same treatment body.home-v2 gets in home.css). */
  overflow-x: clip;
  max-width: 100%;
}

/* ── Container ── */
.tfd-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.tfd-content-container {
  padding-bottom: 60px;
}

/* ── 1. Hero Full-Width Banner with Mint Gradient & Shapes ── */
.tfd-hero-banner {
  position: relative;
  /* Mint hero matching the reference: greener at the top, fading to white so the
     photo gallery and fact cards sit on a light surface. */
  background: linear-gradient(180deg, #e4f6f1 0%, #eefaf7 34%, #f7fdfb 68%, #fdfefe 100%);
  border-bottom: 1px solid #d9efe9;
  padding: 24px 0 28px;
  overflow: hidden;
}

/* Soft brand glow behind the gallery side, mirroring the reference artwork. */
.tfd-hero-banner::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.28), rgba(94, 234, 212, 0) 68%);
  pointer-events: none;
}

.tfd-hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.tfd-shape-left {
  position: absolute;
  top: -30px;
  left: -50px;
  width: 380px;
  height: auto;
  opacity: 1;
}

.tfd-shape-right {
  position: absolute;
  top: -20px;
  right: -60px;
  width: 400px;
  height: auto;
  opacity: 1;
}

.tfd-hero-container {
  position: relative;
  z-index: 2;
}

/* ── Hero Split Layout (2 Columns) ── */
.tfd-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.tfd-hero-info {
  min-width: 0;
}

/* Breadcrumbs */
.tfd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #0C5F58;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tfd-breadcrumb a {
  color: #0C5F58;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.tfd-breadcrumb a:hover {
  color: #0f766e;
  text-decoration: underline;
}

.tfd-breadcrumb .sep {
  font-size: 12px;
  color: #0C5F58;
  opacity: 0.65;
  font-weight: 600;
}

.tfd-breadcrumb .current {
  color: #475569;
  font-weight: 500;
}

/* Category Badge */
.tfd-hero-category-wrap {
  margin-bottom: 12px;
}

.tfd-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: #e0f7f5;
  color: #0C5F58;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Hero Title */
.tfd-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #0c2340;
  line-height: 1.22;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

/* Rating & Free Cancellation Subline */
.tfd-hero-subline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  margin-bottom: 22px;
}

.tfd-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0f172a;
}

.tfd-hero-rating i {
  color: #f59e0b;
  font-size: 14px;
}

.tfd-hero-rating .count {
  color: #64748b;
  font-weight: 500;
}

.tfd-hero-subline .divider-dot {
  color: #cbd5e1;
}

.tfd-hero-cancel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0C5F58;
  font-weight: 600;
  font-size: 13.5px;
}

.tfd-hero-cancel-badge i {
  font-size: 14px;
}

/* Feature Cards Strip */
.tfd-feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 1200px) and (min-width: 992px) {
  .tfd-feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) and (min-width: 641px) {
  .tfd-feature-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) and (min-width: 441px) {
  .tfd-feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 440px) {
  .tfd-feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

.tfd-feature-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.tfd-feat-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: #e6f7f5;
  color: #0C5F58;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.tfd-feat-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feat-label {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.2;
}

.feat-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  margin-top: 2px;
}

/* ── Hero Gallery Block (Main slider + 3 thumbs) ── */
.tfd-hero-gallery-wrap {
  min-width: 0;
}

.tfd-hero-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 124px;
  gap: 10px;
  height: 320px;
}

.tfd-hero-main-img {
  position: relative;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  background: #0f172a;
}

.tfd-hero-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tfd-hero-main-img:hover img {
  transform: scale(1.02);
}

.tfd-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #0C5F58;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  z-index: 5;
}

.tfd-hero-arrow:hover {
  background: #E8F4F3;
  transform: translateY(-50%) scale(1.06);
}

.tfd-hero-arrow.prev {
  left: 14px;
}

.tfd-hero-arrow.next {
  right: 14px;
}

.tfd-hero-counter-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  z-index: 5;
  letter-spacing: 0.5px;
}

.tfd-hero-thumbs-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  width: 124px;
}

.tfd-hero-thumb {
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  background: #0f172a;
}

.tfd-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tfd-hero-thumb:hover img {
  transform: scale(1.05);
}

.tfd-hero-more-badge {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fallback single / placeholder */
.tfd-gallery-placeholder {
  width: 100%;
  height: 320px;
  border-radius: var(--tf-radius-xl);
  background: linear-gradient(135deg, #0f766e, #0C5F58);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.placeholder-art i {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.85;
}

.placeholder-title {
  font-size: 18px;
  font-weight: 800;
}

.placeholder-sub {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}

.tfd-gallery-single {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--tf-radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.tfd-gallery-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tfd-view-all-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--tf-radius);
  font-size: 13px;
  font-weight: 700;
  color: var(--tf-text-main);
  cursor: pointer;
  z-index: 5;
}

/* ── Photo modal (both detail pages) ──
   Panel with its own header, a gallery overview (or the single-photo stage
   with a thumbnail rail) and a facts column. Replaces the old full-bleed dark
   viewer, which opened straight onto one oversized image. */
.tfd-lb {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  box-sizing: border-box !important;
  z-index: 99999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tfd-lb-panel {
  display: flex;
  flex-direction: column;
  width: min(1180px, 100%);
  max-width: 100%;
  height: min(780px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  min-height: 0;
  background: var(--tf-bg-card, #ffffff);
  border-radius: var(--tf-radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.65);
  position: relative;
  z-index: 1;
}

.tfd-lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--tf-border-subtle);
  flex-shrink: 0;
}

.tfd-lb-heading {
  min-width: 0;
}

.tfd-lb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tf-teal-primary);
}

.tfd-lb-heading h3 {
  margin: 3px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--tf-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tfd-lb-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tfd-lb-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--tf-teal-gradient);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.tfd-lb-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(12, 95, 88, 0.32);
}

.tfd-lb-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--tf-border);
  background: #f8fafc;
  color: var(--tf-text-body);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.tfd-lb-close:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #b91c1c;
}

.tfd-lb-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.tfd-lb-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--tf-bg-page);
}

.tfd-lb-view {
  flex: 1;
  min-height: 0;
}

.tfd-lb-view--grid {
  overflow-y: auto;
  padding: 16px;
}

.tfd-lb-view--slide {
  display: flex;
  flex-direction: column;
}

.tfd-lb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.tfd-lb-grid-item {
  padding: 0;
  border: none;
  background: #e9eef2;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.tfd-lb-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.tfd-lb-grid-item:hover img {
  transform: scale(1.05);
}

.tfd-lb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--tf-border-subtle);
  flex-shrink: 0;
}

.tfd-lb-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--tf-border);
  background: #f8fafc;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--tf-text-main);
  cursor: pointer;
  transition: all 0.2s;
}

.tfd-lb-back:hover {
  border-color: var(--tf-teal-primary);
  color: var(--tf-teal-primary);
}

.tfd-lb-topcount {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tf-text-muted);
}

.tfd-lb-topcount strong {
  color: var(--tf-text-main);
}

.tfd-lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 64px;
}

.tfd-lb-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.16);
  display: block;
}

.tfd-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: var(--tf-text-main);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  transition: all 0.2s;
}

.tfd-lb-nav:hover {
  border-color: var(--tf-teal-primary);
  color: var(--tf-teal-primary);
  transform: translateY(-50%) scale(1.06);
}

.tfd-lb-nav.prev {
  left: 12px;
}

.tfd-lb-nav.next {
  right: 12px;
}

.tfd-lb-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 16px;
  background: #fff;
  border-top: 1px solid var(--tf-border);
  flex-shrink: 0;
  scrollbar-width: thin;
}

.tfd-lb-thumbs::-webkit-scrollbar {
  height: 4px;
}

.tfd-lb-thumbs::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.tfd-lb-thumb {
  scroll-margin: 0 8px;
  width: 74px;
  height: 54px;
  flex-shrink: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #e9eef2;
  cursor: pointer;
  opacity: 0.72;
  transition: all 0.2s;
}

.tfd-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tfd-lb-thumb:hover {
  opacity: 1;
  border-color: #94a3b8;
}

.tfd-lb-thumb.active {
  opacity: 1;
  border-color: var(--tf-teal-primary);
  box-shadow: 0 0 0 1px var(--tf-teal-primary);
}

.tfd-lb-side {
  width: 312px;
  flex-shrink: 0;
  background: #fff;
  border-left: 1px solid var(--tf-border-subtle);
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tfd-lb-score {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tfd-lb-score-num {
  width: 52px;
  height: 52px;
  border-radius: var(--tf-radius);
  background: var(--tf-teal-gradient);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tfd-lb-stars {
  display: flex;
  gap: 2px;
  font-size: 12px;
  color: #cbd5e1;
}

.tfd-lb-stars .is-on {
  color: #f59e0b;
}

.tfd-lb-score-note {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--tf-text-muted);
}

.tfd-lb-facts {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tfd-lb-facts dt {
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tf-text-light);
}

.tfd-lb-facts dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tf-text-main);
}

.tfd-lb-price {
  color: var(--tf-teal-primary) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.tfd-lb-side-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 10px;
  background: var(--tf-teal-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.tfd-lb-side-cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(12, 95, 88, 0.3);
}

.tfd-lb-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--tf-border-subtle);
}

.tfd-lb-reviews-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--tf-text-main);
}

.tfd-lb-review p {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--tf-text-body);
}

.tfd-lb-review-who {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tfd-lb-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tf-teal-light);
  color: var(--tf-teal-primary);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tfd-lb-review-who strong {
  font-size: 12.5px;
  color: var(--tf-text-main);
}

/* The modal CTAs jump to the booking rail. */
#tickets,
#tour-booking {
  scroll-margin-top: 90px;
}

@media (max-width: 1024px) {
  .tfd-lb {
    padding: 0;
  }

  .tfd-lb-panel {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .tfd-lb-side {
    display: none;
  }
}

@media (max-width: 640px) {
  .tfd-lb-heading h3 {
    max-width: 50vw;
    font-size: 15px;
  }

  .tfd-lb-stage {
    padding: 12px 46px;
  }

  .tfd-lb-nav {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .tfd-lb-nav.prev {
    left: 6px;
  }

  .tfd-lb-nav.next {
    right: 6px;
  }

  .tfd-lb-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }

  .tfd-lb-cta {
    height: 36px;
    padding: 0 14px;
    font-size: 12.5px;
  }

  .tfd-lb-close {
    width: 36px;
    height: 36px;
  }
}

/* ── 2. Full-Width Quick Facts Bar ── */
.tfd-facts-bar-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--tf-border);
  border-radius: 16px;
  padding: 18px 24px;
  margin: 16px 0 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tfd-facts-bar-full.tfd-facts-cols-1 {
  grid-template-columns: 1fr;
}

.tfd-facts-bar-full.tfd-facts-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.tfd-facts-bar-full.tfd-facts-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tfd-facts-bar-full.tfd-facts-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.tfd-bar-fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  min-width: 0;
}

.tfd-bar-fact:not(:last-child) {
  border-right: 1px solid var(--tf-border);
}

.tfd-bar-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e6f7f5;
  color: #0C5F58;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.tfd-bar-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bar-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--tf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.bar-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--tf-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

/* ── 3. Main 2-Column Grid (Left: Content Cards, Right: Booker & Map) ── */
.tfd-main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

.tfd-content-rail {
  min-width: 0;
}

.tfd-booking-rail {
  position: sticky;
  top: 90px;
  z-index: 20;
}

/* ── Content Cards Architecture (White card with circular icon header) ── */
.tfd-card {
  background: #ffffff;
  border: 1px solid var(--tf-border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tfd-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tfd-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e6f7f5;
  color: #0C5F58;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.tfd-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--tf-text-main);
  margin: 0;
  letter-spacing: -0.01em;
}

/* Overview Body */
.tfd-overview-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--tf-text-body);
}

.tfd-overview-body.collapsed {
  max-height: 140px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}

.tfd-readmore-btn {
  background: none;
  border: none;
  color: var(--tf-teal-accent);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0 0;
}

/* Highlights List (2 Columns) */
.tfd-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.tfd-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--tf-text-body);
}

.tfd-highlight-item i {
  color: #10b981;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Itinerary Timeline */
.tfd-itinerary-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 8px;
}

.tfd-itinerary-item {
  display: flex;
  gap: 18px;
  position: relative;
  padding-bottom: 22px;
}

.tfd-itinerary-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: #d1fae5;
}

.tfd-itinerary-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #d1fae5;
  flex-shrink: 0;
  margin-top: 4px;
  z-index: 2;
}

.tfd-itinerary-content {
  flex: 1;
}

.tfd-itinerary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
}

.tfd-itinerary-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.step-time {
  font-size: 12.5px;
  font-weight: 800;
  color: #0C5F58;
  min-width: 65px;
}

.step-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tf-text-main);
  margin: 0;
}

.step-location {
  font-size: 12px;
  color: var(--tf-text-muted);
  margin-top: 4px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--tf-text-muted);
  margin-top: 6px;
  line-height: 1.55;
}

/* Inclusions & Exclusions (2 Columns) */
.tfd-inc-grid {
  display: grid;
  gap: 24px;
}

.tfd-inc-grid.two-cols {
  grid-template-columns: 1fr 1fr;
}

/* One list only: keep the block a readable column instead of a stretched void. */
.tfd-inc-grid.single-col {
  grid-template-columns: minmax(0, 620px);
}

.tfd-inc-col {
  display: flex;
  flex-direction: column;
}

.tfd-inc-subheading {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tfd-inc-col.included .tfd-inc-subheading {
  color: #059669;
}

.tfd-inc-col.excluded .tfd-inc-subheading {
  color: #dc2626;
}

.tfd-inc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tfd-inc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--tf-text-body);
}

.tfd-inc-col.included li i {
  color: #10b981;
  font-size: 13px;
  margin-top: 4px;
}

.tfd-inc-col.excluded li i {
  color: #ef4444;
  font-size: 13px;
  margin-top: 4px;
}

/* Meeting Point & Operator (2 Columns) */
.tfd-meeting-operator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tfd-mo-col {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--tf-border);
  border-radius: 12px;
}

.tfd-mo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e6f7f5;
  color: #0C5F58;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.tfd-mo-info {
  display: flex;
  flex-direction: column;
}

.tfd-mo-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tfd-mo-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--tf-text-main);
  margin-top: 2px;
}

/* Good to Know (2 Columns Checklist) */
.tfd-good-to-know-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.tfd-gtk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--tf-text-body);
}

.tfd-gtk-item i {
  color: #10b981;
  font-size: 13px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* FAQs Accordion */
.tfd-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tfd-faq-item {
  border: 1px solid var(--tf-border);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.tfd-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--tf-text-main);
  cursor: pointer;
}

.tfd-faq-question i {
  color: var(--tf-text-light);
  font-size: 12px;
}

.tfd-faq-answer {
  padding: 0 18px 14px;
  font-size: 13.5px;
  color: var(--tf-text-muted);
  line-height: 1.6;
}

.tfd-faq-answer p {
  margin: 0;
}

/* Reviews Empty / Score */
.tfd-reviews-total-badge {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--tf-text-muted);
}

.tfd-reviews-empty {
  text-align: center;
  padding: 30px 20px;
}

.tfd-reviews-empty .empty-icon {
  font-size: 28px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.tfd-reviews-empty .empty-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tf-text-main);
  margin: 0 0 4px;
}

.tfd-reviews-empty .empty-desc {
  font-size: 13px;
  color: var(--tf-text-muted);
  margin: 0;
}

/* ── 4. Booker Card & Map Card (Right Rail) ── */
.tfd-booker-card {
  background: #ffffff;
  border: 1px solid var(--tf-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--tf-shadow-md);
}

/* Mini Tour Top Row */
.tfd-booker-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tf-border);
}

.tfd-booker-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.tfd-booker-title-wrap {
  flex: 1;
  min-width: 0;
}

.tfd-booker-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tf-text-main);
  line-height: 1.3;
}

.tfd-bestseller-badge {
  background: #0C5F58;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Price Block */
.tfd-booker-price-block {
  padding: 16px 0 12px;
}

.tfd-price-main-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tfd-price-main-line .price-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--tf-text-main);
  line-height: 1;
}

.tfd-price-main-line .price-unit {
  font-size: 13px;
  color: var(--tf-text-muted);
}

.tfd-save-callout {
  font-size: 12.5px;
  font-weight: 700;
  color: #059669;
  margin-top: 4px;
}

/* Inputs Row: Date & Travelers */
.tfd-booker-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.tfd-input-box {
  background: #ffffff;
  border: 1px solid var(--tf-border);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.tfd-input-box:hover {
  border-color: var(--tf-teal-accent);
}

.tfd-input-box .input-lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--tf-text-muted);
  line-height: 1.2;
}

.tfd-input-box .input-val-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tf-text-main);
  margin-top: 2px;
}

.tfd-input-box .input-val-row i:not(.caret-icon) {
  color: var(--tf-teal-accent);
  font-size: 12px;
}

.tfd-input-box .caret-icon {
  margin-left: auto;
  font-size: 10px;
  color: var(--tf-text-light);
}

/* Dropdown Calendar / Counters Panel */
.tfd-booker-dropdown-panel {
  background: #f8fafc;
  border: 1px solid var(--tf-border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.tfd-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--tf-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
}

.cal-month-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tf-text-main);
}

.tfd-dategrid-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--tf-text-light);
  margin-bottom: 6px;
}

.tfd-dategrid-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.tfd-day-cell {
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--tf-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tfd-day-cell.has-dep {
  background: #e6f7f5;
  color: #0C5F58;
  font-weight: 700;
}

.tfd-day-cell.selected {
  background: var(--tf-teal-accent) !important;
  color: #fff !important;
}

.tfd-day-cell.past,
.tfd-day-cell:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  background: transparent;
}

.tfd-time-chips-wrap {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--tf-border);
}

.chips-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--tf-text-muted);
  display: block;
  margin-bottom: 6px;
}

.tfd-time-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tfd-time-chip {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--tf-border);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.tfd-time-chip.is-selected {
  background: var(--tf-teal-accent);
  color: #fff;
  border-color: var(--tf-teal-accent);
}

/* Counters */
.tfd-counters-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tfd-counter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.counter-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--tf-text-main);
  display: block;
}

.counter-note {
  font-size: 11px;
  color: var(--tf-text-muted);
}

.counter-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ctrl-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--tf-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}

.ctrl-val {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

.tfd-dropdown-done-btn {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border-radius: 8px;
  background: var(--tf-teal-accent);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Reserve CTA Button */
.tfd-reserve-cta-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0C5F58 0%, #094B46 100%);
  color: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(12, 95, 88, 0.3);
  transition: all 0.2s ease;
  margin-bottom: 18px;
}

.tfd-reserve-cta-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 95, 88, 0.4);
}

.tfd-reserve-cta-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
}

/* 4 Trust Badges Stack */
.tfd-trust-badges-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.tfd-trust-badge-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tfd-trust-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6f7f5;
  color: #0C5F58;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tfd-trust-badge-info {
  display: flex;
  flex-direction: column;
}

.trust-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tf-text-main);
  line-height: 1.2;
}

.trust-desc {
  font-size: 11.5px;
  color: var(--tf-text-muted);
  line-height: 1.35;
  margin-top: 1px;
}

/* Map Card */
.tfd-map-card {
  border-radius: 16px;
  border: 1px solid var(--tf-border);
  background: #ffffff;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tfd-view-map-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #0C5F58;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
}

.tfd-view-map-btn:hover {
  background: #094B46;
  color: #ffffff;
}

/* ── 5. Similar Experiences (4 Cards Grid) ── */
.tfd-similar-section {
  padding-top: 24px;
  margin-bottom: 20px;
}

.tfd-similar-header {
  margin-bottom: 18px;
}

.tfd-similar-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--tf-text-main);
  margin: 0;
}

.tfd-similar-subtitle {
  font-size: 13.5px;
  color: var(--tf-text-muted);
  margin: 4px 0 0 0;
}

.tfd-similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tfd-sim-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--tf-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.tfd-sim-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tf-shadow-md);
  border-color: var(--tf-teal-border);
}

.tfd-sim-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  background: #f1f5f9;
  overflow: hidden;
}

.tfd-sim-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tfd-sim-card:hover .tfd-sim-img-wrap img {
  transform: scale(1.05);
}

.tfd-sim-cat-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: #0C5F58;
}

.tfd-sim-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tfd-sim-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--tf-text-main);
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tfd-sim-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  margin-bottom: 6px;
}

.tfd-sim-rating-row i {
  color: #f59e0b;
  font-size: 11px;
}

.tfd-sim-rating-row .rating-num {
  font-weight: 700;
  color: var(--tf-text-main);
}

.tfd-sim-rating-row .reviews-num {
  color: var(--tf-text-muted);
  font-size: 11px;
}

.tfd-sim-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--tf-text-muted);
  margin-bottom: 12px;
}

.tfd-sim-loc i {
  color: var(--tf-teal-accent);
  font-size: 11px;
}

.tfd-sim-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.tfd-sim-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.tfd-sim-price .price-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--tf-text-main);
}

.tfd-sim-price .price-unit {
  font-size: 11px;
  color: var(--tf-text-muted);
}

.tfd-sim-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0C5F58;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.2s ease;
}

.tfd-sim-card:hover .tfd-sim-arrow-btn {
  background: #0C5F58;
  color: #ffffff;
}

/* ── Mobile Sticky Bottom Bar & Sheet ── */
.tfd-mobile-bottom-bar {
  display: none;
}

.tfd-sheet-handle-bar {
  display: none;
}

.tfd-sheet-overlay {
  display: none;
}

/* ── Responsive Media Queries ── */
@media (max-width: 991px) {
  .tfd-hero-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tfd-facts-bar-full {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }

  .tfd-bar-fact {
    flex: 1 1 200px !important;
    border-right: none !important;
  }

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

  /* The rail collapses into the fixed bottom sheet — keep it in the layout
     (the booker card inside is position:fixed) but stop it reserving a
     sticky column and grid gap on mobile. */
  .tfd-booking-rail {
    display: contents;
  }

  .tfd-similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile bottom bar active */
  .tfd-mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px;
    border-top: 1px solid var(--tf-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 999;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* Once the footer is on screen the bar slides away, so it never covers the
     footer's bottom row. `pointer-events` keeps the invisible bar unclickable. */
  .tfd-mobile-bottom-bar.is-at-footer {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }

  .mobile-price-block {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .mobile-price-block .lbl {
    font-size: 12px;
    color: var(--tf-text-muted);
  }

  .mobile-price-block .val {
    font-size: 20px;
    font-weight: 800;
    color: var(--tf-text-main);
  }

  .mobile-price-block .unit {
    font-size: 11px;
    color: var(--tf-text-muted);
  }

  .mobile-reserve-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--tf-radius);
    background: var(--tf-teal-gradient);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(12, 95, 88, 0.3);
  }

  .tfd-sheet-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .tfd-sheet-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .tfd-booker-card {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: var(--tf-shadow-sheet);
    z-index: 1001;
    max-height: 85vh;
    overflow-y: auto;
    padding: 12px 20px 24px;
    transform: translateY(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .tfd-booker-card.sheet-open {
    transform: translateY(0);
  }

  .tfd-sheet-handle-bar {
    display: flex;
    justify-content: center;
    padding: 6px 0 14px;
    cursor: pointer;
  }

  .tfd-sheet-handle {
    width: 40px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 999px;
  }
}

@media (max-width: 768px) {
  .tfd-hero-title {
    font-size: 24px;
  }

  /* Booking calendar: keep the 7-column grid inside narrow viewports
     instead of forcing a horizontal scroll that reads as "broken". */
  .tfd-dategrid-cells,
  .tfd-dategrid-days-header {
    gap: 2px;
  }

  .tfd-day-cell {
    height: 34px;
    font-size: 12px;
  }

  .tfd-facts-bar-full {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 14px 18px !important;
  }

  .tfd-bar-fact {
    width: 100% !important;
    flex: none !important;
    border-right: none !important;
    padding: 6px 0 !important;
  }

  .tfd-bar-fact:not(:last-child) {
    border-bottom: 1px solid var(--tf-border) !important;
    padding-bottom: 10px !important;
  }

  .tfd-highlights-list,
  .tfd-inc-grid.two-cols,
  .tfd-meeting-operator-grid,
  .tfd-good-to-know-grid {
    grid-template-columns: 1fr;
  }

  .tfd-similar-grid {
    grid-template-columns: 1fr;
  }

}

/* ==================================================================
   Review block, hero column guards and similar-card fallback
   ------------------------------------------------------------------
   The review summary/feed classes had no styles at all, so the section
   rendered as unstyled divs the moment a tour had real reviews. The
   gallery/info wrappers were also missing their min-width guard, which
   lets a wide photo push the hero grid past its column.
   ================================================================== */

.tfd-hero-info-content,
.tfd-booker-wrapper,
.tfd-gallery-wrap,
.tfd-hero-gallery-wrap {
  min-width: 0;
}

/* Branded tile for a similar tour without a photo (no stock stand-ins) */
.tfd-sim-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 170px;
  color: rgba(255, 255, 255, 0.9);
  background-image:
    radial-gradient(circle at 76% 16%, rgba(94, 234, 212, 0.3), transparent 58%),
    linear-gradient(135deg, #0C5F58 0%, #073D39 100%);
}

.tfd-sim-img-fallback i {
  font-size: 30px;
  opacity: 0.9;
}

/* ── Review summary ── */
.tfd-reviews-summary {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px 0 4px;
  border-bottom: 1px solid var(--tf-border, #E8EDF3);
  margin-bottom: 22px;
}

.tfd-score-box {
  text-align: center;
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--primary-light, #E8F4F3);
  border: 1px solid var(--primary-soft, #CDE9E6);
}

.tfd-score-box .score-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary, #0C5F58);
}

.tfd-score-box .score-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 8px 0 6px;
  color: var(--warning, #F59E0B);
  font-size: 12px;
}

.tfd-score-box .score-sub {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary, #64748B);
}

/* Rating distribution */
.tfd-dist-bars {
  display: grid;
  gap: 8px;
}

.tfd-dist-bars .dist-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-secondary, #64748B);
}

.tfd-dist-bars .dist-label {
  font-weight: 700;
  color: var(--text-primary, #0F172A);
}

.tfd-dist-bars .dist-track {
  height: 8px;
  border-radius: 999px;
  background: #EEF2F6;
  overflow: hidden;
}

.tfd-dist-bars .dist-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0C5F58, #0F766E);
}

.tfd-dist-bars .dist-count {
  text-align: right;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
}

/* ── Review feed ── */
.tfd-reviews-feed {
  display: grid;
  gap: 14px;
}

.tfd-review-card {
  padding: 18px 20px;
  border: 1px solid var(--tf-border, #E8EDF3);
  border-radius: 14px;
  background: #fff;
}

.tfd-review-card .reviewer-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tfd-review-card .reviewer-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light, #E8F4F3);
  color: var(--primary, #0C5F58);
  font-weight: 800;
  font-size: 15px;
}

.tfd-review-card .reviewer-info {
  min-width: 0;
  flex: 1;
}

.tfd-review-card .reviewer-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
}

.tfd-review-card .reviewer-date {
  font-size: 12px;
  color: var(--text-tertiary, #94A3B8);
}

.tfd-review-card .reviewer-rating {
  display: flex;
  gap: 2px;
  color: var(--warning, #F59E0B);
  font-size: 12px;
}

.tfd-review-card .reviewer-rating .empty,
.tfd-score-box .score-stars .empty {
  color: #E2E8F0;
}

.tfd-review-card .review-body {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary, #475569);
}

@media (max-width: 768px) {
  .tfd-reviews-summary {
    grid-template-columns: 1fr;
  }
}

/* Branded 48px stand-in for the booker thumbnail when the tour has no photo */
.tfd-booker-thumb--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  background-image: linear-gradient(135deg, #0C5F58 0%, #073D39 100%);
}

/* ── Space for the fixed mobile reserve bar ────────────────────────────────
   At ≤991px .tfd-mobile-bottom-bar is position:fixed and 63px tall, so the
   last 63px of the document sat permanently behind it — the footer's bottom
   row could never be scrolled into view. Grow the footer's own padding so its
   dark background fills the gap (padding on <body> would leave a bare band
   underneath the footer instead). */
@media (max-width: 991px) {
  body.tfd-body .site-footer {
    padding-bottom: 88px;
  }
}