/* Thailand package product pages — layout aligned with main site package pages */
html {
  scroll-behavior: smooth;
}
.itinerary-day {
  transition: all 0.3s ease;
}
.itinerary-day.active .day-content {
  max-height: 8000px;
  opacity: 1;
}
.day-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.day-itinerary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 768px) {
  .day-itinerary-grid {
    grid-template-columns: minmax(0, 1fr) 13rem;
    gap: 1.5rem;
  }
}
.day-meta-table-wrap {
  -webkit-overflow-scrolling: touch;
}
.day-meta-table {
  min-width: min(100%, 48rem);
  width: 100%;
}
.day-meta-table th,
.day-meta-table td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.75rem;
  vertical-align: top;
  text-align: left;
}
.day-meta-table thead th {
  font-weight: 600;
  color: #374151;
  background: #fff;
}
.day-meta-table tbody td {
  background: #fff;
}
.package-tablist {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 0;
}
.package-tab-btn {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6b7280;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  margin-bottom: -2px;
  line-height: 1.35;
  text-align: center;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.package-tab-btn:hover {
  color: #374151;
  background: #f9fafb;
}
.package-tab-btn[aria-selected="true"] {
  color: #14532d;
  border-bottom-color: #14532d;
  background: #fff;
}
.pkg-tab-panel[hidden] {
  display: none !important;
}

.itinerary-day.active .accordion-arrow {
  transform: rotate(180deg);
}
.accordion-arrow {
  transition: transform 0.2s ease;
}

/* Section headings (Tour features, Route at a glance, etc.) — same dark slate as plain CTA titles e.g. “Ready to plan this route?” (home.css .cta-section--plain .page-banner-title). Thailand package pages only. */
.th-package-section-title {
  color: #1e293b;
}
