/* ============================================
   春旅旅行 CHUNLV TRAVEL - Detail Pages CSS
   行程详情页 + 目的地详情页
   参照携程旅游详情页布局
   ============================================ */

/* ---------- Detail Navbar (same as main but fixed) ---------- */
.detail-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.detail-navbar .nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-navbar .logo {
  font-size: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-mid);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s var(--ease-smooth);
}

.back-link:hover {
  border-color: var(--sky-light);
  color: var(--sky);
  transform: translateX(-2px);
}

.back-link svg { width: 16px; height: 16px; }

/* ---------- Detail Page Layout ---------- */
.detail-page {
  padding-top: var(--nav-height);
  background: var(--bg);
  min-height: 100vh;
}

.detail-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* ---------- Breadcrumb ---------- */
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--slate-light);
}

.detail-breadcrumb a {
  color: var(--slate-light);
  transition: color 0.3s;
}

.detail-breadcrumb a:hover { color: var(--sky); }

.detail-breadcrumb .separator { color: var(--slate-mist); }

.detail-breadcrumb .current { color: var(--slate-mid); font-weight: 500; }

/* ---------- Detail Layout: Content + Sidebar ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.detail-content { min-width: 0; }

/* ---------- Detail Hero ---------- */
.detail-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
}

.detail-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.2) 50%, transparent 100%);
}

.detail-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
}

.detail-hero-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.detail-hero-badge {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.detail-hero-badge.hot { background: var(--grad-coral); }
.detail-hero-badge.new { background: var(--grad-emerald); }
.detail-hero-badge.bestseller { background: var(--grad-amber); }
.detail-hero-badge.duration { background: rgba(15, 23, 42, 0.6); }

.detail-hero-title {
  font-family: var(--font-serif-cn);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

html[lang="en"] .detail-hero-title { font-family: var(--font-serif-en); }

.detail-hero-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ---------- Quick Info Bar ---------- */
.quick-info-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  border: 1px solid var(--border-light);
}

.quick-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 4px;
  border-right: 1px solid var(--border-light);
}

.quick-info-item:last-child { border-right: none; }

.quick-info-icon {
  width: 36px; height: 36px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  background: var(--sky-tint);
}

.quick-info-icon svg { width: 20px; height: 20px; }

.quick-info-label {
  font-size: 11px;
  color: var(--slate-lighter);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

/* ---------- Section Block ---------- */
.detail-section {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.detail-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--sky-tint);
}

.detail-section-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--grad-sky);
  flex-shrink: 0;
}

.detail-section-icon svg { width: 18px; height: 18px; }

.detail-section-title {
  font-family: var(--font-serif-cn);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--slate);
}

html[lang="en"] .detail-section-title { font-family: var(--font-serif-en); }

/* ---------- Highlights Grid ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: var(--sky-mist);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-sky);
}

.highlight-item svg {
  width: 20px; height: 20px;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-item-text {
  font-size: 14px;
  color: var(--slate-mid);
  line-height: 1.5;
}

/* ---------- Itinerary Timeline ---------- */
.itinerary-timeline {
  position: relative;
  padding-left: 40px;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--sky-light), var(--sky-tint));
}

.itinerary-day {
  position: relative;
  margin-bottom: 28px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s var(--ease-smooth);
}

.itinerary-day:hover {
  border-color: var(--sky-lighter);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.itinerary-day::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-sky);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
  z-index: 1;
}

.itinerary-day-num {
  position: absolute;
  left: -33px;
  top: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  z-index: 2;
  font-family: var(--font-serif-en);
}

.itinerary-day-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.itinerary-day-title {
  font-family: var(--font-serif-cn);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate);
}

html[lang="en"] .itinerary-day-title { font-family: var(--font-serif-en); }

.itinerary-day-desc {
  font-size: 14px;
  color: var(--slate-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.itinerary-day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.itinerary-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 100px;
}

.itinerary-meta-tag.meals {
  color: var(--amber-deep);
  background: var(--amber-tint);
}

.itinerary-meta-tag.hotel {
  color: var(--violet);
  background: var(--violet-tint);
}

.itinerary-meta-tag.transport {
  color: var(--sky-deep);
  background: var(--sky-tint);
}

.itinerary-meta-tag svg { width: 14px; height: 14px; }

/* ---------- Cost Table ---------- */
.cost-table {
  width: 100%;
  border-collapse: collapse;
}

.cost-table th,
.cost-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}

.cost-table th {
  font-weight: 600;
  color: var(--slate);
  background: var(--bg-warm);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cost-table td { color: var(--slate-mid); }

.cost-table tr:last-child td { border-bottom: none; }

.cost-yes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--emerald);
  font-weight: 500;
}

.cost-yes svg { width: 16px; height: 16px; }

.cost-no {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--slate-lighter);
}

.cost-no svg { width: 16px; height: 16px; }

/* ---------- Booking Notes ---------- */
.booking-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-note-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--amber-tint);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber);
}

.booking-note-item svg {
  width: 18px; height: 18px;
  color: var(--amber-deep);
  flex-shrink: 0;
  margin-top: 2px;
}

.booking-note-text {
  font-size: 13px;
  color: var(--slate-mid);
  line-height: 1.6;
}

/* ---------- Reviews Section ---------- */
.review-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.review-score-big {
  font-family: var(--font-serif-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars svg { width: 18px; height: 18px; color: var(--amber); }

.review-count {
  font-size: 13px;
  color: var(--slate-light);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.review-author-info { flex: 1; }

.review-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

.review-author-meta {
  font-size: 12px;
  color: var(--slate-lighter);
}

.review-text {
  font-size: 14px;
  color: var(--slate-soft);
  line-height: 1.7;
}

/* ---------- Booking Sidebar ---------- */
.booking-sidebar {
  position: sticky;
  top: 80px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.booking-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.booking-price {
  font-family: var(--font-serif-en);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.booking-price-unit {
  font-size: 14px;
  color: var(--slate-light);
}

.booking-original-price {
  font-size: 15px;
  color: var(--slate-lighter);
  text-decoration: line-through;
  margin-bottom: 16px;
}

.booking-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--coral);
  background: var(--coral-tint);
  border-radius: 100px;
  margin-bottom: 20px;
}

.booking-form-group {
  margin-bottom: 16px;
}

.booking-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
}

.booking-date-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.3s;
  color: var(--slate);
  background: var(--bg);
}

.booking-date-input:focus { border-color: var(--sky-light); }

.booking-people-row {
  display: flex;
  gap: 12px;
}

.booking-people-group {
  flex: 1;
}

.booking-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}

.booking-counter-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--sky);
  background: var(--sky-tint);
  transition: all 0.2s;
  flex-shrink: 0;
}

.booking-counter-btn:hover {
  background: var(--sky);
  color: var(--white);
}

.booking-counter-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.booking-counter-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate);
}

.booking-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin: 8px 0 16px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.booking-total-label {
  font-size: 14px;
  color: var(--slate-mid);
}

.booking-total-price {
  font-family: var(--font-serif-en);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--coral);
}

.btn-book-now {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--grad-coral);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-coral);
  margin-bottom: 12px;
}

.btn-book-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.4);
}

.btn-contact-consultant {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky);
  background: var(--sky-tint);
  border: 1.5px solid var(--sky-light);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-contact-consultant:hover {
  background: var(--sky);
  color: var(--white);
}

.btn-contact-consultant svg { width: 18px; height: 18px; }

.booking-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.booking-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--slate-light);
}

.booking-trust-badge svg { width: 14px; height: 14px; color: var(--emerald); }

/* ---------- Related Packages ---------- */
.related-packages {
  margin-top: 48px;
}

.related-packages-title {
  font-family: var(--font-serif-cn);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 24px;
  text-align: center;
}

html[lang="en"] .related-packages-title { font-family: var(--font-serif-en); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.related-card-img {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.related-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.related-card:hover .related-card-img img { transform: scale(1.08); }

.related-card-body {
  padding: 16px;
}

.related-card-title {
  font-family: var(--font-serif-cn);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
  line-height: 1.4;
}

html[lang="en"] .related-card-title { font-family: var(--font-serif-en); }

.related-card-desc {
  font-size: 12px;
  color: var(--slate-light);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.related-card-price {
  font-family: var(--font-serif-en);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--coral);
}

.related-card-price-unit {
  font-size: 12px;
  color: var(--slate-light);
}

.related-card-days {
  font-size: 12px;
  color: var(--slate-lighter);
  background: var(--bg-warm);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ---------- Destination Detail Specific ---------- */
.dest-detail-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
}

.dest-detail-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.dest-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.2) 50%, transparent 100%);
}

.dest-detail-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
}

.dest-detail-region {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 8px;
}

.dest-detail-title {
  font-family: var(--font-serif-cn);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

html[lang="en"] .dest-detail-title { font-family: var(--font-serif-en); }

.dest-detail-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 600px;
}

/* ---------- Attractions Grid ---------- */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.attraction-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s var(--ease-smooth);
}

.attraction-card:hover {
  border-color: var(--sky-lighter);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.attraction-card-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.attraction-card-body { flex: 1; min-width: 0; }

.attraction-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  min-width: 0;
}

.attraction-card-name {
  font-family: var(--font-serif-cn);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[lang="en"] .attraction-card-name { font-family: var(--font-serif-en); }

.attraction-duration {
  font-size: 11px;
  color: var(--sky-deep);
  background: var(--sky-tint);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.attraction-card-desc {
  font-size: 13px;
  color: var(--slate-mid);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.attraction-tips {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--amber-deep);
  line-height: 1.5;
}

.attraction-tips svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Travel Info Cards ---------- */
.travel-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.travel-info-card {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.travel-info-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 10px;
}

.travel-info-card-title svg { width: 18px; height: 18px; color: var(--sky); }

.travel-info-card-text {
  font-size: 13px;
  color: var(--slate-mid);
  line-height: 1.7;
}

/* ---------- Loading State ---------- */
.detail-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  gap: 16px;
}

.detail-loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--sky-tint);
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.detail-loading-text {
  font-size: 14px;
  color: var(--slate-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  
  .booking-sidebar {
    position: static;
    order: -1;
  }
  
  .quick-info-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .quick-info-item:nth-child(3) { border-right: none; }
  
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .detail-main { padding: 16px 16px 60px; }
  
  .detail-hero-img, .dest-detail-hero img { height: 280px; }
  
  .detail-hero-title, .dest-detail-title { font-size: 1.5rem; }
  
  .quick-info-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }
  
  .quick-info-item { border-right: none; }
  
  .highlights-grid { grid-template-columns: 1fr; }
  
  .detail-section { padding: 20px; }
  
  .itinerary-timeline { padding-left: 32px; }
  
  .itinerary-day { padding: 16px; }
  
  .attractions-grid { grid-template-columns: 1fr; }
  
  .travel-info-grid { grid-template-columns: 1fr; }
  
  .related-grid { grid-template-columns: 1fr; }
  
  .review-summary {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .attraction-card { flex-direction: column; }
  
  .attraction-card-img {
    width: 100%;
    height: 160px;
  }
  
  .detail-navbar .nav-container { padding: 0 16px; }
  
  .detail-navbar .logo { font-size: 16px; }
  
  .back-link { padding: 6px 12px; font-size: 12px; }
}

/* ===== Attraction Photo Gallery (multi-image, horizontal strip) ===== */
.att-gallery-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.att-gallery-item {
  flex: 0 0 auto;
  width: 150px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  background: #f1f5f9;
}
.att-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}
.att-gallery-item:hover img { transform: scale(1.08); }

/* Lightbox */
#att-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  align-items: center;
  justify-content: center;
}
#att-lightbox.show { display: flex; }
#att-lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.att-lb-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.att-lb-close:hover { opacity: 1; }
.att-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 42px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}
.att-lb-nav:hover { background: rgba(255,255,255,0.3); }
.att-lb-prev { left: 24px; }
.att-lb-next { right: 24px; }

@media (max-width: 768px) {
  .att-gallery-item { width: 120px; height: 84px; }
  .att-lb-nav { width: 40px; height: 40px; font-size: 30px; }
}
