/* ═══════════════════════════════════════════════════════════
   QARIBIA — Explore & Destination Detail CSS (Premium Refit)
   ══════════════════════════════════════════════════════════ */

:root {
  /* Injecting refined supplemental variables */
  --premium-cream: #F9F8F6;
  --terracotta: #B65D43;
  --terracotta-light: rgba(182, 93, 67, 0.1);
  --deep-forest: #1A3129;
  --slate-dark: #1E293B;
  --slate-muted: #64748B;
  
  /* Elevating the motion curve for a more expensive feel */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.6s var(--ease-premium);
}

/* Base Adjustments */
body.page-destinations {
  background-color: var(--premium-cream);
}

/* ── Nav active state ───────────────────────────────────── */
.nav__link--active {
  color: var(--gold) !important;
}

.nav.scrolled {
  background: rgba(10, 15, 22, 0.85) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav--detail {
  background: rgba(13, 27, 42, 0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ═══════════════════════════════════════════════════════════
   EXPLORE PAGE — Hero
   ══════════════════════════════════════════════════════════ */
.explore-hero {
  position: relative;
  height: 65vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--midnight);
}

.explore-hero__noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.explore-hero__bg {
  position: absolute;
  inset: 0;
}

.explore-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  animation: heroKenBurns 20s ease-in-out infinite alternate;
}

.explore-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      rgba(13, 27, 42, 0.88) 0%,
      rgba(13, 27, 42, 0.55) 55%,
      rgba(13, 27, 42, 0.2) 100%);
}

.explore-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 60px;
}

.explore-hero__left {
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--trans-base);
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb i {
  font-size: 0.6rem;
  opacity: 0.5;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.75);
}

.explore-hero__title {
  font-family: 'lora', serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.explore-hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.explore-hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Hero stats */
.explore-hero__stats {
  display: flex;
  align-items: center;
  gap: 22px;
}

.exstat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.exstat-div {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.exstat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 3px;
}

.exstat-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════
   EXPLORE CONTROLS BAR
   ══════════════════════════════════════════════════════════ */
.explore-controls {
  position: sticky;
  top: 66px;
  z-index: 100;
  background: rgba(250, 248, 243, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

.explore-controls__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Search */
.explore-search {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.explore-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.explore-search__input {
  width: 100%;
  padding: 10px 38px 10px 38px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: border-color var(--trans-base), box-shadow var(--trans-base);
}

.explore-search__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.12);
}

.explore-search__input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.explore-search__clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 4px;
  transition: color var(--trans-base);
}

.explore-search__clear:hover {
  color: var(--text-primary);
}

/* Filters */
.explore-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.exfilter {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--trans-base);
  white-space: nowrap;
}

.exfilter i {
  font-size: 0.75rem;
}

.exfilter:hover {
  border-color: var(--gold-light);
  color: var(--gold-dark);
}

.exfilter.active {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200, 150, 62, 0.35);
}

/* Sort + view */
.explore-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.exsort-select {
  padding: 9px 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--text-primary);
  background: #fff;
  cursor: pointer;
  outline: none;
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-base);
}

.view-btn.active,
.view-btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   EXPLORE MAIN
   ══════════════════════════════════════════════════════════ */
.explore-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 40px 80px;
}

/* Results Meta */
.results-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.results-meta__divider {
  opacity: 0.3;
}

.results-meta__filter {
  color: var(--gold-dark);
  font-weight: 600;
}

/* ── Destination Listing Grid ────────────────────────────── */
.dest-listing.grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dest-listing.list-view {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Explore Card (Grid) ─────────────────────────────────── */
.explore-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.explore-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.13);
}

.explore-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.explore-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-smooth);
}

.explore-card:hover .explore-card__img {
  transform: scale(1.07);
}

.explore-card__badge-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
}

.explore-card__badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge--amber {
  background: var(--amber);
  color: #fff;
}

.badge--teal {
  background: var(--teal-light);
  color: #fff;
}

.badge--gold {
  background: var(--gold-dark);
  color: #fff;
}

.badge--blue {
  background: #1a7abf;
  color: #fff;
}

.badge--green {
  background: var(--forest);
  color: #fff;
}

.explore-card__eco-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(45, 90, 66, 0.9);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.63rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.explore-card__body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.explore-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.explore-card__region {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.explore-card__region i {
  color: var(--gold);
  font-size: 0.65rem;
}

.explore-card__category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(27, 107, 114, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.explore-card__title {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.explore-card__desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.explore-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
  gap: 8px;
}

.explore-card__price {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.explore-card__price strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-dark);
  display: block;
  margin-top: 1px;
}

.explore-card__info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.explore-card__duration {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.explore-card__duration i {
  color: var(--gold);
  font-size: 0.65rem;
}

.explore-card__cta {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--trans-base);
}

.explore-card:hover .explore-card__cta {
  gap: 9px;
  color: var(--amber);
}

.explore-card__cta i {
  font-size: 0.72rem;
}

/* ── List View Card ──────────────────────────────────────── */
.dest-listing.list-view .explore-card {
  flex-direction: row;
  height: 200px;
}

.dest-listing.list-view .explore-card__img-wrap {
  width: 280px;
  height: 100%;
  flex-shrink: 0;
  border-radius: 0;
}

.dest-listing.list-view .explore-card__body {
  padding: 22px 26px;
}

.dest-listing.list-view .explore-card__title {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.dest-listing.list-view .explore-card__desc {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Skeleton Loaders ────────────────────────────────────── */
.skel-card {
  border-radius: 16px;
  background: linear-gradient(90deg, #f0ede8 25%, #e8e4de 50%, #f0ede8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  height: 360px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ── Empty State ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(200, 150, 62, 0.1);
  color: var(--gold);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── Explore CTA Section ─────────────────────────────────── */
.explore-cta {
  background: linear-gradient(130deg, var(--midnight) 0%, var(--deep-green) 60%, var(--forest) 100%);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.explore-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.1), transparent 70%);
  pointer-events: none;
}

.explore-cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.explore-cta__title {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.explore-cta__title em {
  font-style: italic;
  color: var(--gold-light);
}

.explore-cta__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  line-height: 1.7;
}

.quick-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
}

.qf-item i {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════
   DETAIL PAGE — Page Loading
   ══════════════════════════════════════════════════════════ */
.detail-body {
  background: var(--warm-white);
}

.page-loading {
  position: fixed;
  inset: 0;
  background: var(--midnight);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loading__inner {
  text-align: center;
}

.page-loading__logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.page-loading__bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.page-loading__fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--amber));
  border-radius: 2px;
  animation: loadFill 1.2s ease forwards;
}

@keyframes loadFill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* ── Detail Hero ─────────────────────────────────────────── */
.detail-hero {
  position: relative;
  height: 80vh;
  min-height: 560px;
  overflow: hidden;
}

.detail-hero__gallery {
  position: absolute;
  inset: 0;
}

.detail-hero__main {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
}

.detail-hero__thumbs {
  position: absolute;
  right: 30px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}

.hero-thumb {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: border-color var(--trans-base), transform var(--trans-base);
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-thumb:hover,
.hero-thumb.active {
  border-color: var(--gold);
  transform: scale(1.06);
}

.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      rgba(13, 27, 42, 0.82) 0%,
      rgba(13, 27, 42, 0.50) 50%,
      rgba(13, 27, 42, 0.15) 100%);
}

.detail-breadcrumb {
  position: absolute;
  top: 90px;
  left: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.detail-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--trans-base);
}

.detail-breadcrumb a:hover {
  color: var(--gold-light);
}

.detail-breadcrumb i {
  font-size: 0.6rem;
  opacity: 0.5;
}

.detail-breadcrumb span {
  color: rgba(255, 255, 255, 0.75);
}

.detail-hero__content {
  position: absolute;
  bottom: 80px;
  left: 40px;
  z-index: 3;
  max-width: 660px;
}

.detail-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.detail-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
}

.detail-cat-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 20px;
}

.detail-eco-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #6FE0A0;
  background: rgba(45, 90, 66, 0.5);
  padding: 5px 12px;
  border-radius: 20px;
}

.detail-hero__title {
  font-family: 'Lora', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.detail-hero__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 22px;
  line-height: 1.5;
}

.detail-hero__quick {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-quick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero-quick-item i {
  color: var(--gold-light);
  font-size: 0.8rem;
}

.hero-quick-item strong {
  color: var(--gold-light);
  font-family: var(--font-heading);
}

/* ── Sticky Action Bar ───────────────────────────────────── */
.detail-action-bar {
  position: sticky;
  top: 66px;
  z-index: 90;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease-smooth);
}

.detail-action-bar.visible {
  transform: translateY(0);
}

.detail-action-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.detail-action-bar__left {
  flex: 1;
}

.detail-action-bar__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.detail-action-bar__region {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.detail-action-bar__price {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.detail-action-bar__price strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-light);
}

.detail-action-bar__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-wishlist {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--trans-base);
}

.detail-wishlist:hover,
.detail-wishlist.active {
  border-color: #e07b7b;
  color: #e07b7b;
  background: rgba(224, 123, 123, 0.1);
}

.detail-wishlist.active i::before {
  content: '\f004';
  font-weight: 900;
}

/* ── Body Layout ─────────────────────────────────────────── */
.detail-body-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 50px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}

/* ── Section Nav Pills ───────────────────────────────────── */
.detail-section-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 130px;
  background: var(--warm-white);
  z-index: 10;
  padding-top: 6px;
}

.detail-nav-pill {
  padding: 8px 18px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  cursor: pointer;
  transition: all var(--trans-base);
  text-decoration: none;
  white-space: nowrap;
}

.detail-nav-pill:hover {
  color: var(--gold-dark);
  border-color: var(--gold-light);
}

.detail-nav-pill.active {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(200, 150, 62, 0.3);
}

/* ── Detail Sections ─────────────────────────────────────── */
.detail-section {
  margin-bottom: 56px;
  scroll-margin-top: 180px;
}

.detail-section__title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.2;
}

.detail-section__body {
  font-size: 0.98rem;
  color: #4A5568;
  line-height: 1.85;
}

.detail-section__body p {
  margin-bottom: 14px;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 18px;
  transition: all var(--trans-base);
}

.highlight-item:hover {
  border-color: rgba(200, 150, 62, 0.3);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.highlight-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.highlight-item__text {
  font-size: 0.86rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

/* Wildlife Tags */
.wildlife-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wildlife-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all var(--trans-base);
}

.wildlife-tag:hover {
  background: var(--deep-green);
  color: #fff;
  border-color: var(--deep-green);
  transform: translateY(-2px);
}

.wildlife-tag i {
  color: var(--gold);
  font-size: 0.75rem;
  transition: color var(--trans-base);
}

.wildlife-tag:hover i {
  color: var(--gold-light);
}

/* Activities Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.activity-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: all var(--trans-base);
}

.activity-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.activity-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(200, 150, 62, 0.1), rgba(224, 123, 57, 0.1));
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 12px;
  transition: all var(--trans-base);
}

.activity-card:hover .activity-card__icon {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #fff;
}

.activity-card__name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Practical Info */
.practical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.practical-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.practical-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(200, 150, 62, 0.1);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.practical-item__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: block;
}

.practical-item__val {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

/* Gallery Masonry */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  transition: background var(--trans-base), opacity var(--trans-base);
  opacity: 0;
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(0, 0, 0, 0.25);
  opacity: 1;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.detail-sidebar {
  position: sticky;
  top: 140px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Booking Card */
.detail-book-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.detail-book-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.detail-book-card__from {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-book-card__price {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}

.detail-book-card__per {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.detail-book-card__eco {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.eco-stars {
  font-size: 0.75rem;
  color: var(--forest);
}

.eco-label {
  font-size: 0.65rem;
  color: var(--sage);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.detail-book-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.book-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.book-field label i {
  color: var(--gold);
}

.book-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: #F8F7F4;
  outline: none;
  transition: border-color var(--trans-base), box-shadow var(--trans-base);
}

.book-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.12);
  background: #fff;
}

.detail-book-card__estimate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(200, 150, 62, 0.08);
  border: 1px solid rgba(200, 150, 62, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.detail-book-card__estimate strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold-dark);
}

.detail-book-card__note {
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.detail-book-card__note i {
  color: var(--deep-green);
}

/* Facts Card */
.detail-facts-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.detail-facts-card__title {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.detail-facts-card__title i {
  color: var(--gold);
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-row span {
  color: var(--text-muted);
  flex-shrink: 0;
}

.fact-row strong {
  color: var(--text-primary);
  text-align: right;
  font-weight: 600;
}

/* Related Destinations */
.detail-related {
  background: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.detail-related__title {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.related-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-card {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  padding: 8px;
  border-radius: 10px;
  transition: background var(--trans-base);
}

.related-card:hover {
  background: rgba(200, 150, 62, 0.06);
}

.related-card__img {
  width: 60px;
  height: 46px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.related-card__price {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.related-card__price strong {
  color: var(--gold-dark);
  font-weight: 700;
}

.related-card__arrow {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox__caption {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--trans-base);
  z-index: 9991;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(200, 150, 62, 0.4);
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .dest-listing.grid-view {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-body-wrap {
    grid-template-columns: 1fr 320px;
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  .detail-body-wrap {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .detail-book-card {
    flex: 1;
    min-width: 300px;
  }

  .detail-facts-card,
  .detail-related {
    flex: 1;
    min-width: 240px;
  }

  .explore-cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .explore-hero {
    height: 52vh;
  }

  .explore-hero__content {
    padding: 0 24px 48px;
  }

  .explore-controls__inner {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .explore-search {
    min-width: 100%;
    order: -1;
  }

  .explore-main {
    padding: 24px 20px 60px;
  }

  .dest-listing.grid-view {
    grid-template-columns: 1fr;
  }

  .dest-listing.list-view .explore-card {
    flex-direction: column;
    height: auto;
  }

  .dest-listing.list-view .explore-card__img-wrap {
    width: 100%;
    height: 200px;
  }

  .detail-hero {
    height: 70vh;
  }

  .detail-hero__content {
    left: 20px;
    right: 20px;
    bottom: 70px;
  }

  .detail-hero__title {
    font-size: 2.4rem;
  }

  .detail-breadcrumb {
    left: 20px;
  }

  .detail-hero__thumbs {
    display: none;
  }

  .detail-body-wrap {
    padding: 24px 20px 50px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .practical-grid {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }

  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-action-bar__inner {
    padding: 12px 20px;
    gap: 12px;
  }

  .explore-cta {
    padding: 60px 24px;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .explore-filters {
    gap: 4px;
  }

  .exfilter {
    padding: 7px 12px;
    font-size: 0.72rem;
  }

  .activities-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 1;
  }
}