/* HERO */
.detail-hero {
  min-height: 78vh;
  padding: 7%;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(246,239,228,0.96), rgba(246,239,228,0.6)),
    var(--detail-image);
  background-size: cover;
  background-position: center;
}

.detail-hero-content {
  max-width: 850px;
}

.detail-hero h1 {
  margin-bottom: 18px;
  color: var(--blue);
}

/* META */
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.meta-pill {
  padding: 9px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
}

/* LAYOUT */
.detail-layout {
  padding: 90px 7%;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 380px;
  gap: 44px;
  background: var(--bg);
}

.detail-main {
  display: grid;
  gap: 34px;
}

/* PANELS */
.detail-panel,
.booking-panel {
  padding: 34px;
  border-radius: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.detail-panel h2,
.booking-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  color: var(--blue);
}

/* HIGHLIGHTS */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.highlight-item {
  padding: 18px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.highlight-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
}

.highlight-item span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ITINERARY */
.itinerary-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.itinerary-stop {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.itinerary-stop .stop-number {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff !important;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(12, 95, 122, 0.25);
}

.itinerary-stop strong {
  display: block;
  margin-bottom: 4px;
}

.itinerary-stop span {
  color: var(--muted);
  line-height: 1.5;
}

/* BOOKING PANEL */
.booking-panel {
  position: sticky;
  top: 100px;
  align-self: start;
}

.booking-panel .btn {
  width: 100%;
  margin-top: 12px;
}

.booking-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--muted);
}

/* CABINS */
.cabin-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.cabin-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.cabin-row span {
  color: var(--muted);
}

/* BACK LINK */
.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-weight: 900;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .detail-hero,
  .detail-layout {
    padding-left: 6%;
    padding-right: 6%;
  }

  .detail-hero {
    min-height: 72vh;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .cabin-row {
    flex-direction: column;
  }
}