/**
 * Trips Away - Desktop Detail Page Stylesheet
 * Strictly scoped for screen sizes >= 769px inside .desktop-detail-wrapper
 * Matches high-end luxury reference layout (Hero slider, thumbnail strip, sticky tabs, 2-column grid, sticky booking sidebar)
 */

@media (min-width: 769px) {
  .desktop-detail-wrapper {
    display: block !important;
    background-color: #ffffff;
    color: #1e293b;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }

  /* ── 1. Hero Section ── */
  .dt-hero-container {
    position: relative;
    width: 100%;
    height: 480px;
    background: #0f172a;
    overflow: hidden;
  }

  .dt-hero-swiper {
    width: 100%;
    height: 100%;
  }

  .dt-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .dt-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .dt-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.1) 40%, rgba(15, 23, 42, 0.85) 100%);
    pointer-events: none;
    z-index: 2;
  }

  /* Top Navigation Overlays */
  .dt-hero-top {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: auto;
  }

  .dt-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .dt-breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .dt-breadcrumbs a:hover {
    color: #ffffff;
    text-decoration: underline;
  }

  .dt-breadcrumbs-sep {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
  }

  .dt-breadcrumbs .active {
    color: #ffffff;
    font-weight: 600;
  }

  .dt-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .dt-glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
  }

  .dt-glass-btn:hover {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
  }

  .dt-glass-btn.saved {
    background: #e11d48;
    border-color: #e11d48;
    color: #ffffff;
  }

  /* Bottom Content on Hero */
  .dt-hero-bottom {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: auto;
  }

  .dt-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }

  .dt-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .dt-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .dt-badge-bestseller {
    background: #fef08a !important;
    color: #854d0e !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 5px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  /* Hero Navigation Arrows */
  .dt-hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 15;
    transition: all 0.25s ease;
  }

  .dt-hero-nav-btn:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.08);
  }

  .dt-hero-prev {
    left: 24px;
  }

  .dt-hero-next {
    right: 24px;
  }

  /* ── 2. Thumbnails Strip ── */
  .dt-thumbs-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
  }

  .dt-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
  }

  .dt-thumb-card {
    position: relative;
    height: 84px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
  }

  .dt-thumb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  .dt-thumb-card.active {
    border-color: #0d6efd;
  }

  .dt-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .dt-thumb-viewall {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .dt-thumb-viewall:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-2px);
  }

  .dt-thumb-viewall-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
  }

  .dt-thumb-viewall-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
  }

  /* ── 3. Sticky ScrollSpy Tabs ── */
  .dt-sticky-tabs-wrap {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  }

  .dt-sticky-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .dt-sticky-tabs::-webkit-scrollbar {
    display: none;
  }

  .dt-tab-link {
    display: inline-block;
    padding: 16px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
  }

  .dt-tab-link:hover {
    color: #0d6efd;
  }

  .dt-tab-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: 700;
  }

  /* ── 4. Main Content Area ── */
  .dt-content-section {
    padding: 36px 0;
    border-bottom: 1px solid #edf2f7;
    scroll-margin-top: 80px;
  }

  .dt-content-section#dt-reviews {
    padding: 0;
    border-bottom: none;
    scroll-margin-top: 75px;
  }

  .dt-section-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .dt-section-lead {
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
  }

  /* Custom Section Typography & Lists */
  .act-rich-content,
  .tour-rich-content,
  .visa-rich-content {
    color: #334155;
    line-height: 1.8;
    font-size: 0.98rem;
  }
  .act-rich-content h2, .tour-rich-content h2, .visa-rich-content h2,
  .act-rich-content h3, .tour-rich-content h3, .visa-rich-content h3 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 1.4rem;
    margin-bottom: 0.65rem;
  }
  .act-rich-content h2, .tour-rich-content h2, .visa-rich-content h2 {
    font-size: 1.25rem;
  }
  .act-rich-content h3, .tour-rich-content h3, .visa-rich-content h3 {
    font-size: 1.1rem;
  }
  .act-rich-content p, .tour-rich-content p, .visa-rich-content p {
    margin-bottom: 0.9rem;
  }
  .act-rich-content ul, .tour-rich-content ul, .visa-rich-content ul,
  .dt-rich-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .act-rich-content ul li, .tour-rich-content ul li, .visa-rich-content ul li,
  .dt-rich-bullets li {
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
    color: #334155;
  }
  .act-rich-content ul li::before, .tour-rich-content ul li::before, .visa-rich-content ul li::before,
  .dt-rich-bullets li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #10b981;
    font-size: 0.85rem;
  }

  /* Quick Blue Highlight Card */
  .dt-quick-box {
    background: #f0f7ff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .dt-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dt-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fed7aa;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 10px;
  }

  .dt-quick-item:nth-child(2) .dt-quick-icon {
    background: #fed7aa;
    color: #c2410c;
  }

  .dt-quick-item:nth-child(3) .dt-quick-icon {
    background: #ffedd5;
    color: #ea580c;
  }

  .dt-quick-item:nth-child(4) .dt-quick-icon {
    background: #fee2e2;
    color: #dc2626;
  }

  .dt-quick-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
  }

  .dt-quick-desc {
    font-size: 0.8rem;
    color: #64748b;
  }

  /* Highlights 2-Col Grid */
  .dt-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 18px;
  }

  .dt-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
  }

  .dt-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffedd5;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  /* Itinerary Timeline */
  .dt-timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 20px;
  }

  .dt-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #93c5fd;
  }

  .dt-timeline-item {
    position: relative;
    padding-bottom: 22px;
  }

  .dt-timeline-item:last-child {
    padding-bottom: 0;
  }

  .dt-timeline-node {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0d6efd;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #0d6efd;
  }

  .dt-timeline-content {
    display: flex;
    align-items: baseline;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 10px 16px;
    transition: all 0.2s ease;
  }

  .dt-timeline-content:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
  }

  .dt-timeline-content.highlight {
    background: #eff6ff;
    border-color: #bfdbfe;
  }

  .dt-time-badge {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
  }

  .dt-time-desc {
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
  }

  /* Inclusions 2-Col Grid */
  .dt-inclusions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 18px;
  }

  .dt-incl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
  }

  .dt-incl-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffedd5;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .dt-excl-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  /* Important Information 2x2 Grid */
  .dt-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
  }

  .dt-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .dt-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffedd5;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .dt-info-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }

  .dt-info-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
  }

  /* ── 5. Sticky Sidebar Widgets ── */
  .dt-sidebar-sticky {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Booking Card */
  .dt-booking-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  .dt-booking-header {
    margin-bottom: 18px;
  }

  .dt-booking-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
  }

  .dt-booking-price-row {
    font-size: 0.9rem;
    color: #64748b;
  }

  .dt-price-accent {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 4px;
  }

  .dt-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
  }

  .dt-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    height: 42px;
  }

  .dt-stepper-btn {
    width: 44px;
    height: 100%;
    background: #f8fafc;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .dt-stepper-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
  }

  .dt-stepper-input {
    flex: 1;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    outline: none;
  }

  .dt-cta-btn {
    width: 100%;
    background: #0d6efd;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 16px;
  }

  .dt-cta-btn:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
  }

  /* Trust Badges inside booking card */
  .dt-trust-badges {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .dt-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .dt-trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .dt-trust-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
  }

  .dt-trust-sub {
    font-size: 0.8rem;
    color: #64748b;
  }

  /* Rating & Reviews Card */
  .dt-rating-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  }

  .dt-rating-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
  }

  .dt-rating-score {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
  }

  .dt-rating-subtext {
    font-size: 0.85rem;
    color: #64748b;
  }

  .dt-rating-stars {
    color: #eab308;
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

  .dt-bars-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  .dt-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #475569;
  }

  .dt-bar-label {
    width: 44px;
    font-weight: 500;
    flex-shrink: 0;
  }

  .dt-bar-track {
    flex: 1;
    height: 7px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
  }

  .dt-bar-fill {
    height: 100%;
    background: #eab308;
    border-radius: 10px;
  }

  .dt-bar-pct {
    width: 32px;
    text-align: right;
    font-size: 0.8rem;
    color: #64748b;
  }

  .dt-outline-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .dt-outline-btn:hover {
    background: #eff6ff;
    color: #0b5ed7;
  }

  /* Why Book with TripsAway Card */
  .dt-why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  }

  .dt-why-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
  }

  .dt-why-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .dt-why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .dt-why-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eff6ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  .dt-why-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
  }

  .dt-why-item-desc {
    font-size: 0.8rem;
    color: #64748b;
  }
}

/* ════════════════════════════════════════════════════════════════
   Glassmorphism Full Lightbox Modal (Global Fixed Overlay)
   ════════════════════════════════════════════════════════════════ */
.lightbox-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 999999 !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.lightbox-content-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.lightbox-caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.2s ease;
  z-index: 1000000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}
.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

