/**
 * Explorez Travels — Tour Detail Page
 * Central stylesheet: edit CSS variables below to theme the whole page.
 * All classes use the td- prefix to avoid conflicts with site-wide styles.
 */

:root {
  --td-orange: #f36f21;
  --td-orange-hover: #e05e12;
  --td-navy: #0a2540;
  --td-navy-light: #123456;
  --td-ink: #1c2333;
  --td-muted: #6b7280;
  --td-line: #e5e7eb;
  --td-bg: #f8f9fb;
  --td-green: #25d366;
  --td-gold: #fbbf24;
  --td-white: #ffffff;
  --td-container: 1240px;
  --td-radius: 8px;
  --td-radius-lg: 10px;
  --td-shadow: 0 16px 48px rgba(10, 37, 64, 0.12);
  --td-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
  --td-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --td-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ---- Page wrapper (isolates typography from legacy styles) ---- */
.td-page {
  font-family: var(--td-font-body);
  color: var(--td-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.td-page a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
  font-size: 14px;
}

.td-container {
  max-width: var(--td-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Hero ---- */
.td-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.td-hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--td-navy);
  background-size: cover;
  background-position: center;
}

.td-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 37, 64, 0.92) 0%,
    rgba(10, 37, 64, 0.5) 50%,
    rgba(10, 37, 64, 0.25) 100%
  );
}

.td-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px 0 88px;
}

.td-hero__breadcrumb {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  margin-bottom: 16px;
}

.td-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.td-hero__breadcrumb a:hover {
  color: var(--td-white);
}

.td-hero__breadcrumb i {
  font-size: 9px;
  margin: 0 6px;
}

.td-hero__badge {
  display: inline-block;
  background: var(--td-orange);
  color: var(--td-white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.td-hero__title {
  font-family: var(--td-font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--td-white);
  margin: 0 0 8px;
  line-height: 1.1;
}

.td-hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin: 0 0 6px;
}

.td-hero__route {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin: 0 0 16px;
}

.td-hero__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--td-gold);
  font-size: 13px;
  margin-bottom: 22px;
}

.td-hero__rating span {
  color: rgba(255, 255, 255, 0.8);
}

.td-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.td-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  font-family: var(--td-font-body);
  line-height: 1.2;
}

.td-btn i {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.td-btn--primary {
  background: var(--td-orange);
  color: var(--td-white);
  border-color: var(--td-orange);
}

.td-btn--primary:hover {
  background: var(--td-orange-hover);
  border-color: var(--td-orange-hover);
  color: var(--td-white);
}

.td-btn--ghost {
  background: rgba(0, 33, 71, 0.78);
  color: var(--td-white) !important;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.td-btn--ghost:hover {
  background: rgba(0, 33, 71, 0.92);
  color: var(--td-white) !important;
  border-color: #fff;
}

.td-btn--full {
  width: 100%;
  justify-content: center;
}

/* ---- Quick info bar ---- */
.td-quickbar {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  margin-bottom: 40px;
}

.td-quickbar__inner {
    background: #024cc6de;
    border-radius: var(--td-radius);
    box-shadow: var(--td-shadow);
    display: flex;
    flex-wrap: wrap;
}

.td-quickbar__item {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-right: 1px solid var(--td-line);
}

.td-quickbar__item:last-child {
  border-right: none;
}

.td-quickbar__item i {
 /* color: var(--td-orange);*/
  color: #fff;
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.td-quickbar__item b {
  display: block;
  font-size: 14px;
  color: var(--td-navy);
  font-weight: 700;
}

.td-quickbar__item span {
  display: block;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ---- Two-column layout (Swiss Premium) ---- */
.td-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
  padding-bottom: 60px;
}

.td-main-col {
  min-width: 0;
}

.td-side-col {
  position: sticky;
  top: 80px;
}

/* ---- Content sections ---- */
.td-sec {
  margin-bottom: 48px;
}

.td-sec__head {
  margin-bottom: 20px;
}

.td-sec__head h2 {
  font-family: var(--td-font-display);
  font-size: 24px;
  color: var(--td-navy);
  margin: 0 0 6px;
  font-weight: 700;
}

.td-sec__head p {
  color: var(--td-muted);
  font-size: 14px;
  margin: 0;
}

.td-sec__tagline {
  margin: 0;
}

.td-sec__lead {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.85;
  margin: 0 0 16px;
}

/* Hide any leftover duplicate title / duration / icons inside overview body */
.td-overview-body > h1,
.td-overview-body > h2,
.td-overview-body > h3,
.td-overview-body > h4,
.td-overview-body > .overview-meta,
.td-overview-body > .overview-icons {
  display: none !important;
}

.td-overview-body > p:has(> strong:only-child),
.td-overview-body > p:has(img):not(:has(:not(img))) {
  display: none !important;
}

.td-overview-amenities {
  margin: 20px 0 8px;
  padding: 22px 18px;
  background: #f7f8fa;
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-lg);
}

.td-amenity-grid {
  display: flex;
  justify-content: center;
  gap: 24px 32px;
  flex-wrap: wrap;
}

.td-amenity-item {
  text-align: center;
  min-width: 88px;
  max-width: 130px;
}

.td-amenity-item i {
  display: block;
  color: var(--td-orange);
  font-size: 22px;
  margin-bottom: 8px;
}

.td-amenity-item b {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--td-navy);
  line-height: 1.35;
  letter-spacing: 0.2px;
}

.td-sec__subhead {
  font-size: 14px;
  color: var(--td-navy);
  font-weight: 700;
  margin: 0 0 8px;
}

.td-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
}

.td-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #374151;
}

.td-highlights li i {
  color: var(--td-orange);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---- Sidebar cards (Swiss Premium) ---- */
.td-side-card {
  background: var(--td-white);
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--td-shadow-card);
}

.td-side-card:last-child {
  margin-bottom: 0;
}

.td-enquiry-card {
  padding: 24px;
}

.td-enquiry-card__title {
  font-size: 16px;
  color: var(--td-navy);
  margin: 0 0 18px;
  text-align: center;
  font-weight: 700;
}

.td-form-group {
  margin-bottom: 14px;
}

.td-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--td-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.td-form-group input,
.td-form-group select {
  width: 100%;
  padding: 8px 14px;
  border: 1px solid var(--td-line);
  border-radius: 5px;
  font-size: 13px;
  font-family: var(--td-font-body);
  color: var(--td-ink);
  background: var(--td-white);
}

.td-form-group input:focus,
.td-form-group select:focus {
  outline: none;
  border-color: var(--td-orange);
}

.td-enquiry-card__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--td-green);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
}

.td-enquiry-card__whatsapp:hover {
  color: #1da851;
}

.td-enquiry-card__whatsapp i {
  font-size: 18px;
}

/* ---- Itinerary timeline (Kashmir Editorial) ---- */
.td-itin-block {
  padding-top: 8px;
}

.td-itin-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--td-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.td-itin-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--td-navy);
  margin: 0 0 30px;
  font-family: var(--td-font-body);
}

.td-itin-timeline {
  position: relative;
}

.td-itin-day {
  position: relative;
  padding-left: 70px;
  padding-bottom: 36px;
}

.td-itin-day:last-child {
  padding-bottom: 0;
}

.td-itin-day::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--td-line);
}

.td-itin-day:last-child::before {
  display: none;
}

.td-itin-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--td-orange);
  color: var(--td-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  z-index: 1;
}

.td-itin-badge b {
  font-size: 14px;
}

.td-itin-day-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--td-navy);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.td-itin-desc {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.8;
  margin: 0 0 10px;
}

/* ---- Read more / read less ---- */
.td-readmore {
  position: relative;
}

.td-readmore__text,
.td-readmore__preview,
.td-readmore__full {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.8;
}

.td-readmore--overview .td-readmore__text,
.td-readmore--overview .td-readmore__preview,
.td-readmore--overview .td-readmore__full {
  font-size: 14.5px;
}

.td-readmore__text {
  margin: 0 0 10px;
}

.td-readmore__text:last-child {
  margin-bottom: 0;
}

.td-readmore.is-collapsed .td-readmore__full {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.td-readmore.is-expanded .td-readmore__preview {
  display: none;
}

.td-readmore.is-expanded .td-readmore__full {
  max-height: 4000px;
  opacity: 1;
  transition: max-height 0.45s ease, opacity 0.3s ease;
}

.td-readmore__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--td-orange);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.td-readmore__btn:hover {
  color: var(--td-orange-hover);
}

.td-readmore--itinerary {
  margin-bottom: 10px;
}

.td-itin-facils {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 10px 0 12px;
}

.td-itin-facil {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--td-navy);
  background: #f7f8fa;
  border: 1px solid var(--td-line);
  border-radius: 4px;
  padding: 6px 10px;
}

.td-itin-facil i {
  color: var(--td-orange);
  font-size: 13px;
}

.td-itin-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
}

.td-itin-meta span {
  color: var(--td-muted);
}

.td-itin-meta b {
  color: var(--td-navy);
}

.td-itin-empty {
  color: var(--td-muted);
  font-size: 14px;
}

.td-itin-fallback {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
}

.td-itin-fallback p {
  margin-bottom: 12px;
}

.td-itin-promo {
  background: var(--td-navy);
  color: var(--td-white);
  border-radius: var(--td-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.td-itin-promo h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.td-itin-promo ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.td-itin-promo li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 12.5px;
  color: #cbd5e1;
}

.td-itin-promo li i {
  color: var(--td-orange);
  margin-top: 2px;
}

.td-itin-promo .td-btn {
  margin-top: 16px;
}

.td-itin-experiences {
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-lg);
  padding: 22px;
}

.td-itin-experiences h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--td-navy);
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.td-itin-exp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--td-line);
  font-size: 13px;
  color: var(--td-ink);
}

.td-itin-exp:last-child {
  border-bottom: none;
}

.td-itin-exp i {
  color: var(--td-navy);
  font-size: 16px;
  width: 24px;
  text-align: center;
}

/* ---- Package details tabs (Swiss Premium) ---- */
.td-details-block {
  padding-top: 8px;
}

.td-tab-bar {
  display: flex;
  border-bottom: 2px solid var(--td-line);
  margin-bottom: 24px;
  /*overflow-x: auto;*/
  gap: 4px;
  background:#024cc6;
}

.td-tab-btn {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--td-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  color:#fff;
}

.td-tab-btn.active {
  /*color: var(--td-orange);*/
  border-bottom-color: var(--td-orange);
}

.td-tab-panel {
  display: none;
}

.td-tab-panel.active {
  display: block;
}

.td-inc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.td-inc-grid li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  padding: 6px 0;
  color: #4b5563;
  line-height: 1.6;
}

.td-inc-grid i {
  color: var(--td-orange);
  margin-top: 3px;
}

.td-inc-grid .td-inc-no i {
  color: #ef4444;
}

.td-tab-prose {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.85;
}

.td-tab-prose ul {
  margin: 0;
  padding-left: 18px;
}

.td-tab-prose li {
  margin-bottom: 8px;
}

/* CKEditor rich text — preserve admin formatting */
.td-tab-prose--richtext p {
  margin: 0 0 12px;
}

.td-tab-prose--richtext p:last-child {
  margin-bottom: 0;
}

.td-tab-prose--richtext strong,
.td-tab-prose--richtext b {
  font-weight: 700;
  color: var(--td-navy);
}

.td-tab-prose--richtext ul,
.td-tab-prose--richtext ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.td-tab-prose--richtext ul {
  list-style: disc;
}

.td-tab-prose--richtext ol {
  list-style: decimal;
}

.td-tab-prose--richtext li {
  margin-bottom: 6px;
}

/* Price tab — highlight opening price line like live site */
.td-tab-prose--price > strong:first-child,
.td-tab-prose--price > p:first-child strong,
.td-tab-prose--price > p:first-of-type strong {
  color: var(--td-orange);
  font-size: 15px;
}

.td-price-card {
  text-align: center;
}

.td-price-card__lbl {
  font-size: 11px;
  color: var(--td-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.td-price-card__amt {
  font-size: 28px;
  font-weight: 800;
  color: var(--td-navy);
  margin: 6px 0;
}

.td-price-card__note {
  font-size: 11px;
  color: var(--td-muted);
}

.td-trust-row {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 10px 0;
}

.td-trust-item i {
  display: block;
  color: var(--td-orange);
  font-size: 22px;
  margin-bottom: 6px;
}

.td-trust-item span {
  font-size: 10px;
  color: var(--td-muted);
  font-weight: 600;
  line-height: 1.4;
}

.td-share-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.td-share-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--td-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--td-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.td-share-row a:hover {
  color: var(--td-orange);
  border-color: var(--td-orange);
}

.td-expert-box {
  background: var(--td-navy);
  color: var(--td-white);
  border-radius: var(--td-radius-lg);
  padding: 22px;
  text-align: center;
  margin-bottom: 20px;
}

.td-expert-box i {
  font-size: 28px;
  color: var(--td-orange);
  margin-bottom: 8px;
}

.td-expert-box h4 {
  font-size: 14px;
  margin: 0 0 4px;
}

.td-expert-box a {
  color: #7dd3fc;
  font-weight: 800;
  font-size: 18px;
}

.td-why-title {
  font-size: 14px;
  text-align: left;
  margin: 0 0 12px;
  color: var(--td-navy);
  font-weight: 700;
}

.td-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.td-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 12.5px;
  color: #4b5563;
  border-bottom: 1px solid var(--td-line);
}

.td-why-list li:last-child {
  border-bottom: none;
}

.td-why-list i {
  color: var(--td-orange);
  margin-top: 2px;
}

.td-places-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--td-navy);
  margin: 0 0 16px;
}

.td-place-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--td-line);
  font-size: 13px;
}

.td-place-item:last-of-type {
  border-bottom: none;
}

.td-place-day {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--td-orange);
  min-width: 48px;
}

.td-place-body strong {
  display: block;
  color: var(--td-navy);
  margin-bottom: 4px;
}

.td-place-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 6px;
}

.td-place-feat {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
  max-width: 72px;
  text-align: center;
}

.td-place-feat i {
  color: var(--td-orange);
  font-size: 14px;
}

.td-place-feat > span {
  font-size: 9px;
  font-weight: 700;
  color: var(--td-muted);
  line-height: 1.2;
}

.td-places-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--td-line);
  font-size: 11px;
  color: var(--td-muted);
  line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .td-page-grid {
    grid-template-columns: 1fr;
  }

  .td-side-col {
    position: static;
  }
}

@media (max-width: 640px) {
  .td-hero {
    min-height: 400px;
  }

  .td-hero__content {
    padding-bottom: 72px;
  }

  .td-quickbar__item {
    min-width: 50%;
    border-right: none;
    border-bottom: 1px solid var(--td-line);
  }

  .td-quickbar__item:nth-child(2n) {
    border-right: none;
  }

  .td-btn {
    width: 100%;
    justify-content: center;
  }

  .td-inc-grid {
    grid-template-columns: 1fr;
  }
}
