.td-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; width: 100%; max-width: 100%; box-sizing: border-box; }
@media (max-width: 1100px) { .td-grid { grid-template-columns: minmax(0, 1fr); } }
.td-hero { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 28px; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
@media (max-width: 768px) { .td-hero { aspect-ratio: 16/9; border-radius: 16px; } }
.sticky-sidebar { position: sticky; top: calc(var(--header-h, 80px) + 20px); }
.dep-chip { border: 2px solid var(--line); padding: 14px 16px; border-radius: 14px; cursor: pointer; transition: all .2s; background: #fff; }
.dep-chip.active { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(37, 99, 235,.12); }
.dep-chip:hover:not(.active) { border-color: #94A3B8; background: #F8FAFC; }

/* ── Tour Departure Selector & Calendar View ── */
.td-dep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.td-dep-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.td-dep-switch {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  gap: 2px;
}
.td-dep-switch-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  font-family: inherit;
}
.td-dep-switch-btn:hover:not(.active) {
  color: #1E293B;
  background: rgba(255, 255, 255, 0.5);
}
.td-dep-switch-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  font-weight: 800;
}

/* Calendar Container */
.td-cal-container {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.td-cal-month-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 2px;
}
.td-cal-month-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}
.td-cal-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #334155;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  user-select: none;
}
.td-cal-arrow-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: scale(1.04);
}
.td-cal-arrow-btn:active {
  transform: scale(0.96);
}

/* Weekday header */
.td-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  margin-bottom: 8px;
  width: 100%;
  box-sizing: border-box;
}
.td-cal-weekdays span {
  font-size: 11px;
  font-weight: 750;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 0;
  min-width: 0;
}

/* Calendar Grid */
.td-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  box-sizing: border-box;
}
.td-cal-cell {
  aspect-ratio: 1 / 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  position: relative;
  transition: all 0.16s ease;
  user-select: none;
  box-sizing: border-box;
  padding: 2px;
}
.td-cal-num {
  font-size: 12.5px;
  line-height: 1;
}
.td-cal-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-top: 2px;
}
.td-cal-dot-spacer {
  visibility: hidden;
}

/* Cell States */
.td-cal-empty {
  pointer-events: none;
  background: transparent;
}
.td-cal-inactive {
  color: #94A3B8;
  cursor: default;
}
.td-cal-inactive .td-cal-num {
  font-weight: 500;
  color: #94A3B8;
}
.td-cal-active {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  cursor: pointer;
}
.td-cal-active .td-cal-num {
  font-weight: 800;
  color: #166534;
}
.td-cal-active .td-cal-dot {
  background: #16A34A;
}
.td-cal-active:hover:not(.td-cal-selected) {
  background: #DCFCE7;
  border-color: #86EFAC;
  transform: translateY(-1px);
}
.td-cal-selected {
  background: #2E8553 !important;
  border-color: #2E8553 !important;
  box-shadow: 0 2px 8px rgba(46, 133, 83, 0.28) !important;
  z-index: 2;
}
.td-cal-selected .td-cal-num {
  color: #FFFFFF !important;
  font-weight: 900 !important;
}
.td-cal-selected .td-cal-dot {
  background: #FFFFFF !important;
}
.td-cal-sold {
  background: #FEF2F2 !important;
  border-color: #FECACA !important;
  opacity: 0.65;
  cursor: not-allowed !important;
  pointer-events: none;
}
.td-cal-sold .td-cal-num {
  color: #991B1B !important;
  text-decoration: line-through;
}
.td-cal-sold .td-cal-dot {
  background: #DC2626 !important;
}

#cal-selected-info {
  margin-top: 14px;
}
.sec-title { font-family: var(--font-display); font-size: 24px; font-weight: 900; margin-bottom: 20px; color: #0F172A; }
.td-itin-sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.td-itin-sec-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.td-itin-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 999px;
  padding: 3px 10px;
  line-height: 1.2;
}
.td-itin-toggle-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
}
.td-itin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 750;
  color: #334155;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  line-height: 1;
}
.td-itin-btn:hover {
  background: #F0FDF4;
  border-color: #10B981;
  color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}
.td-itin-btn:active {
  transform: translateY(0);
}
.td-itin-btn svg {
  stroke-width: 2.5;
  color: #64748B;
  transition: color 0.18s;
  flex-shrink: 0;
}
.td-itin-btn:hover svg {
  color: #047857;
}
.incl-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #eff6ff; border-radius: 10px; font-size: 14px; font-weight: 600; color: #1e40af; }
.excl-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fef2f2; border-radius: 10px; font-size: 14px; font-weight: 600; color: #991b1b; }
/* ── Premium Itinerary Card System ───────────────────────────────── */
.itin-timeline { display: flex; flex-direction: column; gap: 0; }
.itin-day-wrap { display: flex; gap: 0; position: relative; }
.itin-spine { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 52px; }
.itin-day-num { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 11px; font-weight: 900; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex-shrink: 0; letter-spacing: 0.03em; border: 2.5px solid var(--brand); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.itin-day-wrap.is-open .itin-day-num { background: var(--brand); border-color: var(--brand); color: #fff; }
.itin-spine-line { flex: 1; width: 0; border-left: 2.5px dashed #C9BEA8; min-height: 22px; margin: 6px 0; }
.itin-day-wrap:last-child .itin-spine-line { display: none; }
.itin-day-wrap .itin-card { flex: 1; min-width: 0; margin-bottom: 16px; background: #fff; border: 1.5px solid #E6DCC8; border-radius: 20px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.itin-day-wrap.is-open .itin-card { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46,133,83,.10), 0 4px 16px rgba(0,0,0,.06); }
.itin-header { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; user-select: none; background: #E7F1E9; }
.itin-header:hover { background: #DFEDE3; }
.itin-day-wrap.is-open .itin-header { background: #E7F1E9; border-bottom: 1px solid #CFE3D3; }
.itin-header-text { flex: 1; min-width: 0; }
.itin-meta-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 5px; }
.itin-city-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; color: var(--brand-deep, #256E44); background: rgba(46,133,83,.10); padding: 3px 9px; border-radius: 99px; border: 1px solid rgba(46,133,83,.22); }
.itin-meal-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; color: #3C4E42; background: #EFE7D6; padding: 3px 8px; border-radius: 99px; border: 1px solid #E6DCC8; }
.itin-title { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: #1B2921; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.itin-day-wrap.is-open .itin-title { color: var(--brand); }
.itin-toggle-icon { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid #CFE3D3; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s, transform 0.25s; color: #3C4E42; }
.itin-day-wrap.is-open .itin-toggle-icon { background: var(--brand); color: #fff; transform: rotate(180deg); }
.itin-day-wrap .itin-body { display: none; padding: 6px 20px 20px; background: #fff; }
.itin-day-wrap.is-open .itin-body { display: block; }
.itin-desc { font-size: 14px; line-height: 1.7; color: #3C4E42; margin: 16px 0 20px; }
/* Transfer cards */
.itin-transfer { display: flex; align-items: stretch; gap: 0; margin: 12px 0; position: relative; }
.itin-transfer-icon-col { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 44px; }
.itin-transfer-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; border: 1.5px solid #E6DCC8; background: #F9F5EC; }
.itin-transfer-body { flex: 1; min-width: 0; border: 1.5px solid #E6DCC8; border-radius: 12px; padding: 10px 14px; background: #F9F5EC; }
.itin-transfer.intercity .itin-transfer-body { background: #fef9f0; border-color: #fed7aa; }
.itin-transfer-type-chip { display: inline-block; font-size: 9.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 4px; margin-bottom: 4px; }
.itin-transfer.intercity .itin-transfer-type-chip { background: #fed7aa; color: #92400e; }
.itin-transfer.local .itin-transfer-type-chip { background: #dbeafe; color: #1e40af; }
.itin-transfer-mode { font-size: 13px; font-weight: 700; color: #3C4E42; }
.itin-transfer-route { font-size: 12px; color: #3C4E42; margin-top: 2px; }
.itin-transfer-notes { font-size: 11.5px; color: #3C4E42; margin-top: 6px; font-style: italic; border-left: 2px solid #D9CDB4; padding-left: 8px; line-height: 1.5; }
.itin-transfer-dur { display: inline-block; font-size: 11px; font-weight: 700; color: #3C4E42; background: #fff; border: 1px solid #E6DCC8; border-radius: 99px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
/* Activity items */
.itin-activities { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }
.itin-act-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px dashed #EFE7D6; }
.itin-act-item:last-child { border-bottom: none; padding-bottom: 0; }
.itin-act-time-pill { font-size: 11px; font-weight: 800; color: #047857; background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: 6px; padding: 3px 8px; display: inline-flex; align-items: center; gap: 4px; width: fit-content; }
.itin-act-content { width: 100%; min-width: 0; }
.itin-act-title { font-size: 15px; font-weight: 800; color: #1B2921; margin: 4px 0 3px; line-height: 1.4; overflow-wrap: break-word; word-break: normal; }
.itin-act-desc { font-size: 13.5px; color: #3C4E42; line-height: 1.6; margin-bottom: 6px; overflow-wrap: break-word; word-break: normal; }
.itin-act-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.itin-act-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.itin-act-chip.included { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.itin-act-chip.transfer { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
/* Day collapsed preview */
.itin-preview-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.itin-preview-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: #3C4E42; background: #EFE7D6; border: 1px solid #E6DCC8; padding: 2px 8px; border-radius: 99px; }
@media (max-width: 768px) {
  .itin-spine { width: 40px; }
  .itin-day-num { width: 34px; height: 34px; font-size: 10px; border-radius: 10px; }
  .itin-header { padding: 14px 16px; gap: 10px; }
  .itin-title { font-size: 14px; }
  .itin-body { padding: 0 16px 16px; }
}
.gallery-thumb { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.gallery-thumb:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
#lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; place-items: center; cursor: zoom-out; }
#lightbox.open { display: grid; }
#lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 12px; object-fit: contain; }
#lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }
#lightbox-nav { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
#lightbox-nav button { background: rgba(255,255,255,.2); border: none; color: #fff; font-size: 20px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; transition: background .2s; }
#lightbox-nav button:hover { background: rgba(255,255,255,.4); }
.faq-detail { border-bottom: 1px solid var(--line); transition: all 0.3s ease; }
.faq-detail summary { font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; color: #1B2921; transition: color .2s; }
.faq-detail summary::-webkit-details-marker { display: none; }
.faq-detail summary:hover { color: var(--brand); }
.faq-detail[open] summary { color: var(--brand); }
.faq-detail__icon { transition: transform 0.2s ease, color 0.2s ease; font-size: 20px; font-weight: 400; color: var(--muted); display: inline-block; line-height: 1; }
.faq-detail[open] .faq-detail__icon { transform: rotate(45deg); color: var(--brand); }
.save-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 99px; }
/* Quick stat boxes */
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat-box-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stat-box-value { font-size: 15px; font-weight: 800; color: #1B2921; }
/* Route visualization */
.route-stop { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 0; }
.route-stop-dot { width: 12px; height: 12px; background: var(--brand); border-radius: 50%; flex-shrink: 0; margin-bottom: 6px; }
.route-stop-line { flex: 1; height: 2px; background: linear-gradient(to right, var(--brand), #E6DCC8); align-self: center; margin: 0 4px; margin-bottom: 22px; }
/* Mobile sticky CTA */
.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px; z-index: 800; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
@media (max-width: 1024px) { .mobile-sticky-cta { display: flex; gap: 14px; align-items: center; } }
/* Share bar */
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 99px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); cursor: pointer; background: #fff; transition: all .15s; text-decoration: none; color: #3C4E42; }
.share-btn:hover { background: #F9F5EC; border-color: #3C4E42; }
/* Urgency */
.urgency-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 99px; }
/* Pricing category pills in sidebar */
.price-cat-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #EFE7D6; font-size: 13px; }
/* Private tour enquiry form */
.private-enquiry-form input, .private-enquiry-form textarea, .private-enquiry-form select { width:100%;padding:10px 14px;border:1px solid var(--line);border-radius:10px;font-size:14px;background:#fff;box-sizing:border-box;margin-bottom:12px; }
.private-enquiry-form label { display:block;font-size:12px;font-weight:700;margin-bottom:5px;color:#3C4E42; }
/* Section nav tabs — Sticky Glassmorphism Pill Bar */
.td-section-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 32px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
}
.td-section-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 24px;
}
.td-nav-tabs-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.td-nav-tabs-group::-webkit-scrollbar {
  display: none;
}
.td-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748B;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 99px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.td-nav-tab:hover {
  color: #0F172A;
  background: #F8FAFC;
  border-color: #E2E8F0;
}
.td-nav-tab.active {
  color: #15803D;
  background: #F0FDF4;
  border-color: #BBF7D0;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(22, 101, 52, 0.08);
}
.td-nav-quick-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.td-nav-quick-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.td-nqp-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.td-nqp-val {
  font-size: 16px;
  font-weight: 900;
  color: #0F172A;
}
.td-nav-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand, #2E8553);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(46, 133, 83, 0.25);
  transition: all 0.2s ease;
}
.td-nav-quick-btn:hover {
  background: var(--brand-deep, #256E44);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(46, 133, 83, 0.35);
}
/* At-a-glance strip */
.td-glance-strip { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0 32px; }
.td-glance-item { display:flex; align-items:center; gap:6px; background:#F9F5EC; border:1px solid var(--line); border-radius:10px; padding:8px 14px; font-size:13px; font-weight:700; color:#3C4E42; }
/* [Revamp] Trust ribbon — slim credibility band under At-a-Glance (trust above the first CTA) */
.td-trust-ribbon { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; margin:0 0 36px; padding:14px 18px; background:var(--surface-tint,#FBF8F0); border:1px solid var(--line); border-radius:14px; }
.td-trust-item { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:var(--ink-2,#3C4E42); }
.td-trust-item strong { color:var(--brand); font-weight:900; }
.td-trust-sep { width:1px; height:16px; background:var(--line); }
/* Departure countdown */
.td-dep-banner { display:flex; align-items:center; gap:14px; background:var(--brand-soft); border:1px solid var(--brand); border-radius:14px; padding:14px 18px; margin-bottom:28px; flex-wrap:wrap; }
/* Why book cards */
/* Why book cards */
.why-book-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:28px; }
.why-book-card { position:relative; background:#ffffff; border:1px solid #E6DCC8; border-radius:20px; padding:20px 16px; box-shadow:0 2px 12px rgba(0,0,0,0.04); transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display:flex; flex-direction:column; align-items:flex-start; gap:12px; overflow:hidden; }
.why-book-card:hover { transform:translateY(-4px); box-shadow:0 10px 28px rgba(37, 99, 235, 0.1); border-color:rgba(37, 99, 235, 0.3); }
.why-book-card.featured { background:linear-gradient(135deg, #ffffff 0%, #eff6ff 100%); border-color:#bfdbfe; }
.why-book-card.featured:hover { border-color:#2563eb; box-shadow:0 10px 28px rgba(37, 99, 235, 0.15); }
.why-book-icon-wrapper { width:44px; height:44px; background:rgba(37, 99, 235, 0.08); border-radius:12px; display:grid; place-items:center; font-size:20px; flex-shrink:0; transition:all 0.3s; }
.why-book-card.featured .why-book-icon-wrapper { background:rgba(37, 99, 235, 0.16); }
.why-book-card:hover .why-book-icon-wrapper { background:rgba(37, 99, 235, 0.14); transform:scale(1.07); }
.why-book-title { font-size:13px; font-weight:800; color:#0F172A; margin:0 0 4px 0; line-height:1.3; }
.why-book-desc { font-size:11.5px; color:#64748B; line-height:1.45; margin:0; }
.why-book-badge { position:absolute; top:10px; right:10px; font-size:8.5px; font-weight:900; background:rgba(37,99,235,0.1); color:#2563eb; padding:2px 7px; border-radius:100px; text-transform:uppercase; letter-spacing:0.4px; }
/* Reviews */
.tour-review-card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; }
.tour-review-avatar { width:38px; height:38px; background:var(--brand-soft); color:var(--brand); border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:14px; flex-shrink:0; }
/* Group calculator */
.grp-calc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #E2E8F0; font-size: 13px; }
.grp-calc-stepper { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid #CBD5E1; border-radius: 8px; background: #FFFFFF; overflow: hidden; flex-shrink: 0; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.grp-calc-stepper button { width: 30px; height: 30px; background: #F8FAFC; border: none; display: grid; place-items: center; font-size: 14px; font-weight: 800; cursor: pointer; color: #0F172A; padding: 0; line-height: 1; transition: background 0.15s; flex-shrink: 0; }
.grp-calc-stepper button:hover { background: #E2E8F0; }
.grp-calc-stepper span { min-width: 26px; padding: 0 4px; font-size: 13px; font-weight: 800; color: #0F172A; text-align: center; line-height: 30px; }
/* Star rating input */
.star-input span { font-size:24px; cursor:pointer; color:#E6DCC8; transition:color .1s; }
.star-input span.active, .star-input span:hover { color:#E08563; }
@media (max-width: 768px) {
    .incl-excl-grid { grid-template-columns: 1fr !important; }
    .stat-boxes-grid { grid-template-columns: 1fr 1fr !important; }
    .why-book-grid { grid-template-columns: 1fr 1fr; gap:12px; }
    .why-book-card { padding:14px 12px; gap:10px; border-radius:16px; }
    .why-book-icon-wrapper { width:36px; height:36px; font-size:17px; border-radius:10px; }
    .why-book-title { font-size:12px; }
    .why-book-desc { font-size:11px; }
    body { padding-bottom: 80px; }
}
/* Bold hero overlay (above-the-fold conversion block) */
.td-hero-wrap { position: relative; }
.td-hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 30px 26px; border-radius: 0 0 28px 28px; background: linear-gradient(to top, rgba(2,6,23,.88), rgba(2,6,23,.45) 55%, transparent); display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; }
.td-hero-title { font-family: 'Outfit', sans-serif !important; font-size: clamp(24px, 4.2vw, 40px) !important; font-weight: 800 !important; line-height: 1.12 !important; margin: 0 0 10px !important; color: #FFFFFF !important; text-shadow: 0 2px 16px rgba(0,0,0,.85) !important; max-width: 760px !important; }
.td-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; font-weight: 700; color: #FFFFFF !important; }
.td-hero-meta span { display: inline-flex; align-items: center; gap: 5px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.td-hero-price { flex-shrink: 0; background: rgba(255,255,255,.13); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.28); border-radius: 18px; padding: 14px 22px; color: #fff; text-align: right; min-width: 150px; }
@media (max-width: 768px) {
  .td-hero-overlay { flex-direction: column; align-items: stretch; padding: 30px 14px 12px; gap: 6px; border-radius: 0 0 16px 16px; }
  .td-hero-title { font-size: 20px; margin-bottom: 5px; }
  .td-hero-meta { font-size: 11.5px; gap: 4px 10px; }
  .td-hero-price { display: none; } /* price lives in the sticky mobile CTA on small screens */
}
        /* ── Quick View Styles ─────────────────────────────────────────────── */
        .qv-tabs {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }
        .qv-tab {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 18px;
            border-radius: 99px;
            border: 1.5px solid #E6DCC8;
            background: #fff;
            font-size: 13px;
            font-weight: 700;
            color: #3C4E42;
            cursor: pointer;
            transition: all .18s ease;
            letter-spacing: .01em;
        }
        .qv-tab:hover {
            border-color: var(--brand, #3A7BD5);
            color: var(--brand, #3A7BD5);
            background: #f0f6ff;
        }
        .qv-tab--active {
            background: var(--brand, #3A7BD5);
            border-color: var(--brand, #3A7BD5);
            color: #fff !important;
            box-shadow: 0 4px 14px rgba(58,123,213,.25);
        }
        .qv-tab--active .qv-count {
            background: rgba(255,255,255,.25);
            color: #fff;
        }
        .qv-count {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 20px;
            height: 20px;
            padding: 0 5px;
            background: #EFE7D6;
            color: #3C4E42;
            border-radius: 99px;
            font-size: 11px;
            font-weight: 800;
            transition: all .18s;
        }
        .qv-panel { animation: qvFadeIn .22s ease; }
        @keyframes qvFadeIn {
            from { opacity: 0; transform: translateY(6px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .qv-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
            gap: 14px;
        }
        .qv-card {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            min-width: 0; /* let the grid track shrink; the nowrap title clips with ellipsis instead of forcing overflow */
            background: #fff;
            border: 1.5px solid #E6DCC8;
            border-radius: 16px;
            padding: 16px 18px;
            transition: border-color .18s, box-shadow .18s, transform .18s;
        }
        .qv-card:hover {
            border-color: var(--brand, #3A7BD5);
            box-shadow: 0 4px 20px rgba(58,123,213,.10);
            transform: translateY(-2px);
        }
        .qv-card--optional {
            border-color: #fce7f3;
            background: #fdf2f8;
        }
        .qv-card__icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .qv-card__body { flex: 1; min-width: 0; }
        .qv-card__name {
            font-size: 14px;
            font-weight: 800;
            color: #1B2921;
            line-height: 1.35;
            margin-bottom: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .qv-card__sub {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            color: #3C4E42;
            font-weight: 500;
            margin-bottom: 8px;
        }
        .qv-card__badges {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        .qv-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 9px;
            border-radius: 99px;
            font-size: 11px;
            font-weight: 700;
            white-space: nowrap;
        }
        .qv-badge--star    { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
        .qv-badge--room    { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
        .qv-badge--meal    { background: #fdf4ff; color: #7e22ce; border: 1px solid #e9d5ff; }
        .qv-badge--included{ background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
        .qv-badge--optional{ background: #fdf2f8; color: #be185d; border: 1px solid #fbcfe8; }
        .qv-badge--city    { background: #F9F5EC; color: #3C4E42; border: 1px solid #E6DCC8; }
        .qv-badge--local   { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
        .qv-badge--intercity{ background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
        .qv-badge--mode    { background: #F9F5EC; color: #3C4E42; border: 1px solid #E6DCC8; }
        .qv-transfer-route {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 4px;
            flex-wrap: wrap;
        }
        .qv-transfer-point {
            font-size: 13px;
            font-weight: 800;
            color: #1B2921;
            max-width: 100px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .qv-transfer-arrow {
            color: #3C4E42;
            flex-shrink: 0;
        }
        @media (max-width: 640px) {
            .qv-grid { grid-template-columns: minmax(0, 1fr); }
            .qv-tabs { gap: 6px; }
            .qv-tab  { padding: 7px 13px; font-size: 12px; }
        }

/* ═══════════════════════════════════════════════
   AT-A-GLANCE CONVERSION SPECS BAR
═══════════════════════════════════════════════ */
.td-specs-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 18px;
  margin: 0 0 24px 0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  width: 100%;
  box-sizing: border-box;
}
.td-spec-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 140px;
  background: #F8FAFC;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #F1F5F9;
  box-sizing: border-box;
}
.td-spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.td-spec-icon svg {
  display: block;
  color: #2563EB;
  stroke: #2563EB;
}
.td-spec-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.td-spec-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.td-spec-val {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM MOBILE EXPERIENCE SUITE (< 768px / < 640px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 1. Dark Hero Container & Top Clearance */
  .td-dark-hero {
    padding-top: calc(var(--header-h, 56px) + var(--banner-h, 0px) + 12px) !important;
    padding-bottom: 20px !important;
  }
  
  /* 2. Gallery Main Photo */
  .td-hero-gallery-grid {
    grid-template-columns: 1fr !important;
    height: 240px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
  }
  .td-gallery-stack {
    display: none !important;
  }
  .td-gallery-badges {
    top: 10px !important;
    left: 10px !important;
    gap: 6px !important;
  }
  .td-badge-primary,
  .td-badge-series {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }

  /* 3. Header Row: Title Card & Price Card */
  .td-hero-header-row {
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  .td-hero-header-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }
  .td-hero-title-card {
    border-left-width: 3px !important;
  }
  .td-hero-main-title {
    font-size: 1.125rem !important; /* 18px */
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 800 !important;
    line-height: 1.32 !important;
    letter-spacing: -0.015em !important;
    margin: 2px 0 0 !important;
  }
  .td-hero-price-card {
    min-width: 0 !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    gap: 6px !important;
  }
  .td-hero-price-val {
    font-size: 24px !important;
  }
  .td-hero-orig-price {
    font-size: 13px !important;
  }
  .td-hero-card-label {
    font-size: 9.5px !important;
  }
  .td-hero-save-tag {
    font-size: 10.5px !important;
    padding: 2px 8px !important;
  }

  /* 4. Specs Bar (Clean 2-Column Grid on Mobile) */
  .td-specs-bar-wrap {
    margin-top: 10px !important;
  }
  .td-specs-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 14px !important;
    margin: 0 !important;
  }
  .td-spec-item {
    flex: none !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }
  .td-spec-item:nth-child(5) {
    grid-column: span 2 !important;
  }
  .td-spec-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    line-height: 1 !important;
  }
  .td-spec-label {
    font-size: 9.5px !important;
    letter-spacing: 0.04em !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  .td-spec-item strong,
  .td-spec-val {
    font-size: 12px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* 5. Sticky Section Nav Tab Bar */
  .td-section-nav {
    top: calc(var(--header-h, 56px) + var(--banner-h, 0px)) !important;
    margin-bottom: 20px !important;
  }
  .td-section-nav-inner {
    padding: 6px 12px !important;
    gap: 0 !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .td-section-nav-inner::-webkit-scrollbar {
    display: none !important;
  }
  .td-nav-tabs-group {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 2px 0 !important;
  }
  .td-nav-tabs-group::-webkit-scrollbar {
    display: none !important;
  }
  .td-nav-tab {
    padding: 6px 14px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  .td-nav-quick-cta {
    display: none !important;
  }

  /* 6. Itinerary Timeline & Spine */
  .itin-spine {
    width: 32px !important;
  }
  .itin-day-num {
    width: 30px !important;
    height: 30px !important;
    font-size: 10px !important;
    border-radius: 50% !important;
    border-width: 2px !important;
  }
  .itin-day-wrap .itin-card {
    margin-bottom: 12px !important;
    border-radius: 14px !important;
  }
  .itin-header {
    padding: 12px 14px !important;
    gap: 8px !important;
  }
  .itin-meta-row {
    gap: 4px !important;
    margin-bottom: 4px !important;
  }
  .itin-city-badge,
  .itin-meal-chip {
    font-size: 9.5px !important;
    padding: 2px 7px !important;
  }
  .itin-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .itin-toggle-icon {
    width: 26px !important;
    height: 26px !important;
  }
  .itin-day-wrap .itin-body {
    padding: 0 14px 14px !important;
  }
  .itin-desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 10px 0 14px !important;
  }

  /* 7. Intercity Transfer Cards on Mobile (No Left Margin Clip) */
  .itin-intercity-card {
    margin: 10px 0 10px 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 10px 12px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }
  .itin-intercity-card > div:first-child {
    width: 100% !important;
  }

  /* 8. Transfer & Activity Body Items */
  .itin-transfer {
    flex-direction: column !important;
    gap: 6px !important;
    margin: 8px 0 !important;
  }
  .itin-transfer-icon-col {
    display: none !important;
  }
  .itin-transfer-body {
    padding: 8px 12px !important;
    border-radius: 10px !important;
  }
  .itin-transfer-route {
    font-size: 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .itin-act-item {
    gap: 6px !important;
    padding: 12px 0 !important;
    flex-direction: column !important;
  }
  .itin-act-time-pill {
    font-size: 10.5px !important;
  }
  .itin-act-title {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
  .itin-act-desc {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }

  /* 9. Section Headings & Collapsible Folds */
  .sec-title {
    font-size: 18px !important;
    margin-bottom: 14px !important;
  }
  .sec-fold {
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }
  .sec-fold > summary {
    padding: 14px 16px !important;
  }
  .sec-fold .sf-title {
    font-size: 16px !important;
  }
  .sec-fold .sf-sub {
    font-size: 11.5px !important;
    display: block !important;
    margin: 2px 0 0 !important;
  }
  .sec-fold > .sf-body {
    padding: 14px 16px !important;
  }

  /* 10. Inclusions & Exclusions */
  .incl-excl-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .incl-excl-grid > div {
    padding: 18px 16px !important;
    border-radius: 18px !important;
    gap: 14px !important;
  }
  .incl-item,
  .excl-item {
    padding: 8px 10px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  /* 11. Reviews Section */
  #td-reviews > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }
  .tour-review-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }
  
  /* 12. FAQ Section */
  .faq-detail summary {
    font-size: 14px !important;
    padding: 14px 0 !important;
  }

  /* 13. Booking Card & Group Calculator on Mobile */
  .td-booking-card {
    padding: 16px !important;
    border-radius: 18px !important;
  }
  #grp-calc-wrap {
    padding: 12px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 640px) {
  .trust-divider-line { display: none !important; }
  .tour-trust-ribbon { padding: 14px 16px !important; gap: 12px !important; justify-content: flex-start !important; }
}


/* Mobile tour-detail refinement. */
@media (max-width: 768px) {
  .td-dark-hero .container { padding-inline: var(--tvc-mobile-gutter, 16px) !important; }
  .td-hero-gallery-grid { height: clamp(230px, 64vw, 300px) !important; }
  .td-gallery-main img { object-position: center; }
  .td-gallery-count-pill { min-height: 40px; display: inline-flex; align-items: center; }
  .td-hero-main-title { font-size: clamp(20px, 5.6vw, 25px) !important; line-height: 1.25 !important; }
  .td-nav-tab { min-height: 44px; display: inline-flex; align-items: center; }
  .td-section-nav-inner { scroll-padding-inline: var(--tvc-mobile-gutter, 16px); }
  .tour-mobile-booking-bar { padding: 10px var(--tvc-mobile-gutter, 16px) calc(10px + var(--tvc-safe-bottom, 0px)) !important; gap: 10px; }
  .tour-mobile-booking-bar :is(a, button) { min-height: 48px !important; }
  .td-booking-card :is(input, select, textarea) { min-height: 48px; }
  .td-booking-card :is(button, .btn) { min-height: 48px; }
}
