﻿/* ============================================================
   trip-details Page
   ============================================================ */

/* === BREADCRUMB === */
    .breadcrumb { padding: 12px 0; border-bottom: 1px solid var(--border); background: #fff; }
    .breadcrumb-inner { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
    .breadcrumb-inner a { color: var(--text-muted); transition: color .2s; }
    .breadcrumb-inner a:hover { color: var(--primary); }
    .breadcrumb-inner span { color: var(--border); }
    .breadcrumb-inner .bc-current { color: var(--text); font-weight: 600; }

    /* === TRIP DETAIL LAYOUT === */
    .trip-detail-page { padding: 32px 0 64px; background: #fff; }
    .trip-detail-layout {
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 32px;
      align-items: start;
    }

    /* === HERO GALLERY === */
    .hero-gallery { margin-bottom: 28px; }
    .gallery-actions {
      display: flex; align-items: center;
      justify-content: space-between; margin-bottom: 16px;
    }
    .gallery-title { font-size: 24px; font-weight: 800; color: var(--text); }
    .gallery-btns { display: flex; gap: 8px; }
    .gallery-btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 14px; border-radius: 8px;
      font-size: 13px; font-weight: 600; cursor: pointer;
      border: 1.5px solid var(--border); background: #fff;
      color: var(--text-muted); transition: all .2s;
    }
    .gallery-btn:hover { border-color: var(--primary); color: var(--primary); }

    /* Slider wrapper */
    .gallery-slider-wrap {
      position: relative; border-radius: var(--radius-lg);
      overflow: hidden; background: #0c1a2e;
      user-select: none; touch-action: pan-y;
      box-shadow: 0 4px 24px rgba(0,0,0,.18);
    }
    .gallery-viewport {
      width: 100%; height: 420px; overflow: hidden; position: relative;
    }
    .gallery-track {
      display: flex; direction: ltr; height: 100%;
      transform: translateX(0);
      transition: transform .5s cubic-bezier(.25,.46,.45,.94);
      will-change: transform;
    }
    .gallery-track.no-transition { transition: none !important; }

    /* Slides */
    .gallery-slide {
      flex: 0 0 100%; height: 100%;
      position: relative; overflow: hidden;
    }
    .gallery-slide img {
      width: 100%; height: 100%; object-fit: cover;
      display: block; pointer-events: none;
      transition: transform 8s ease;
    }
    .gallery-slide.is-active img { transform: scale(1.06); }
    .gallery-slide:not(.is-active) img { transform: scale(1); }
    .gallery-slide::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0;
      height: 45%; pointer-events: none;
      background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 100%);
    }

    /* Navigation arrows */
    .gallery-nav {
      position: absolute; top: 50%; z-index: 10;
      transform: translateY(-50%);
      width: 44px; height: 44px; border-radius: 50%;
      background: rgba(255,255,255,.92); border: none;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 2px 12px rgba(0,0,0,.28);
      transition: background .2s, box-shadow .2s, transform .2s;
      color: var(--text);
    }
    .gallery-nav:hover {
      background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.38);
      transform: translateY(-50%) scale(1.1);
    }
    .gallery-nav:active { transform: translateY(-50%) scale(.94); }
    .gallery-nav svg { pointer-events: none; flex-shrink: 0; }
    .gallery-prev { left: 14px; }
    .gallery-next { right: 14px; }

    /* Slide counter */
    .gallery-counter {
      position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
      background: rgba(0,0,0,.55); color: #fff;
      font-size: 13px; font-weight: 700; padding: 4px 14px;
      border-radius: 20px; backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px); z-index: 10;
      direction: ltr; letter-spacing: .5px; white-space: nowrap;
    }

    /* Autoplay progress bar */
    .gallery-progress {
      position: absolute; bottom: 0; left: 0;
      height: 3px; width: 0%; z-index: 10;
      background: var(--primary); border-radius: 0 2px 2px 0;
    }
    .gallery-progress.running {
      transition: width 5s linear;
      width: 100%;
    }

    /* Caption overlay (optional) */
    .gallery-caption {
      position: absolute; bottom: 42px; right: 0; left: 0;
      padding: 0 20px; z-index: 10;
      opacity: 0; transition: opacity .4s;
      pointer-events: none;
    }
    .gallery-slide.is-active .gallery-caption { opacity: 1; }
    .gallery-caption-text {
      display: inline-block; background: rgba(0,0,0,.45);
      backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
      color: #fff; font-size: 13px; font-weight: 600;
      padding: 5px 12px; border-radius: 8px;
    }

    /* Thumbnail strip */
    .gallery-thumbs {
      display: flex; direction: ltr; gap: 10px;
      margin-top: 10px; overflow-x: auto;
      padding: 3px 1px; scrollbar-width: none;
      scroll-behavior: smooth;
    }
    .gallery-thumbs::-webkit-scrollbar { display: none; }
    .gallery-thumb {
      flex: 0 0 calc((100% - 50px) / 6);
      min-width: 72px; height: 72px; border-radius: 10px;
      overflow: hidden; cursor: pointer;
      border: 2.5px solid transparent;
      transition: border-color .25s, box-shadow .25s, transform .2s;
      position: relative; background: #e5e7eb;
    }
    .gallery-thumb img {
      width: 100%; height: 100%; object-fit: cover;
      display: block; transition: transform .35s;
    }
    .gallery-thumb::after {
      content: ''; position: absolute; inset: 0;
      background: rgba(0,0,0,.3);
      transition: opacity .2s; border-radius: 8px;
    }
    .gallery-thumb:hover { transform: translateY(-2px); }
    .gallery-thumb:hover::after { opacity: 0; }
    .gallery-thumb:hover img { transform: scale(1.1); }
    .gallery-thumb.active {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(29,78,216,.18);
    }
    .gallery-thumb.active::after { opacity: 0; }

    /* === TRIP DESCRIPTION === */
    .trip-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border-light); }
    .trip-section:last-child { border-bottom: none; margin-bottom: 0; }
    .trip-section-title {
      display: flex; align-items: center; gap: 8px;
      font-size: 20px; font-weight: 800; color: var(--text);
      margin-bottom: 16px;
    }
    .trip-section-title svg { color: var(--primary); flex-shrink: 0; }
    .trip-desc-text { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

    /* === HIGHLIGHTS GRID === */
    .highlights-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .highlight-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 16px; background: #f8fafc;
      border-radius: var(--radius); border: 1px solid var(--border-light);
    }
    .highlight-icon {
      width: 44px; height: 44px; border-radius: 10px;
      background: var(--primary-light); color: var(--primary);
      display: flex; align-items: center; justify-content: center;
      font-size: 20px; flex-shrink: 0;
    }
    .highlight-info h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
    .highlight-info p { font-size: 12px; color: var(--text-muted); }

    /* === TRIP DETAILS 3-COL === */
    .trip-details-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .trip-detail-card {
      padding: 16px; background: #f8fafc;
      border-radius: var(--radius); border: 1px solid var(--border-light);
    }
    .trip-detail-card-header {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 12px;
    }
    .td-icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: var(--primary-light); color: var(--primary);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; flex-shrink: 0;
    }
    .td-label { font-size: 14px; font-weight: 700; color: var(--text); }
    .td-body { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
    .td-body strong { color: var(--text); font-weight: 700; display: block; margin-bottom: 4px; }
    .td-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; background: var(--primary-light); color: var(--primary); }

    /* === FLIGHT ROUTE === */
    .flight-route {
      display: flex; align-items: center; justify-content: center; gap: 0;
      padding: 20px 24px; background: var(--bg-gray); border-radius: var(--radius);
      margin-top: 20px; margin-bottom: 28px;
    }
    .flight-stop {
      display: flex; align-items: center; gap: 10px; flex-shrink: 0;
    }
    .flight-dot {
      width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    }
    .flight-dot--start { background: var(--primary); }
    .flight-dot--end   { background: #10b981; }
    .flight-city { font-size: 15px; font-weight: 700; color: var(--text); }
    .flight-middle {
      display: flex; align-items: center; flex: 1; gap: 6px; min-width: 80px;
    }
    .flight-line {
      flex: 1; border-top: 2px dashed var(--border);
    }
    .flight-plane { font-size: 18px; flex-shrink: 0; }
    .flight-duration { font-size: 11px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }

    /* === ITINERARY === */
    .itinerary-item {
      border: 1px solid var(--border); border-radius: var(--radius);
      margin-bottom: 8px; overflow: hidden;
    }
    .itinerary-header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 20px; cursor: pointer;
      background: #fff; transition: background .2s;
    }
    .itinerary-header:hover { background: var(--bg-gray); }
    .itinerary-header.open { background: var(--primary-light); }
    .itinerary-left { display: flex; align-items: center; gap: 12px; }
    .itinerary-day {
      width: 44px; height: 44px; border-radius: 10px;
      background: var(--primary); color: #fff;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      font-size: 10px; font-weight: 700; flex-shrink: 0;
    }
    .itinerary-day span { font-size: 18px; font-weight: 800; line-height: 1; }
    .itinerary-title { font-size: 15px; font-weight: 700; color: var(--text); }
    .itinerary-loc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
    .itinerary-toggle {
      width: 28px; height: 28px; border-radius: 50%;
      background: var(--primary-light); color: var(--primary);
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; transition: transform .3s;
    }
    .itinerary-header.open .itinerary-toggle { transform: rotate(180deg); }
    .itinerary-body {
      padding: 0 20px; max-height: 0; overflow: hidden;
      transition: max-height .35s ease, padding .35s ease;
    }
    .itinerary-body.open { max-height: 400px; padding: 0 20px 16px; }
    .itinerary-step {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 6px 0; font-size: 13px; color: var(--text-muted);
    }
    .itinerary-step::before { content: '●'; color: var(--primary); font-size: 8px; margin-top: 5px; flex-shrink: 0; }

    /* === BOOKING CARD === */
    .booking-sidebar {
      position: sticky; top: 24px;
    }
    .discount-banner {
      background: #fff8e6; color: #b45309;
      padding: 10px 16px; border-radius: var(--radius) var(--radius) 0 0;
      font-size: 13px; font-weight: 600;
      display: flex; align-items: center; gap: 6px;
      border: 1.5px solid #fde68a; border-bottom: none;
    }
    .booking-card {
      background: #fff;
      border: 1.5px solid var(--primary);
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      padding: 20px;
      box-shadow: var(--shadow-md);
    }
    .booking-card.no-banner {
      border-radius: var(--radius-lg);
    }
    .booking-price-row { margin-bottom: 4px; text-align: left; }
    .booking-price-main {
      display: flex; align-items: baseline; gap: 8px;
    }
    .price-current { font-size: 28px; font-weight: 800; color: #2e7d32; }
    .price-currency { font-size: 14px; font-weight: 600; color: var(--text-muted); }
    .price-old { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }

    .booking-field { margin: 16px 0; }
    .booking-field label {
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 700; color: var(--text);
      margin-bottom: 8px;
    }
    .people-counter {
      display: flex; align-items: center; justify-content: space-between;
      border: 1px solid var(--border); border-radius: var(--radius-sm);
      padding: 8px 12px;
    }
    .counter-btn {
      width: 32px; height: 28px; border-radius: 6px;
      background: var(--bg-gray); color: var(--text);
      font-size: 18px; display: flex; align-items: center; justify-content: center;
      cursor: pointer; border: 1px solid var(--border); transition: all .2s;
    }
    .counter-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
    .counter-val { font-size: 15px; font-weight: 700; color: var(--text); }

    .family-price-tiers {
      display: flex; flex-direction: column; gap: 6px;
    }
    .family-tier-btn {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 14px; border-radius: var(--radius-sm);
      border: 1.5px solid var(--border); background: #fff;
      cursor: pointer; transition: all .2s; text-align: right;
    }
    .family-tier-btn:hover { border-color: var(--primary); background: var(--primary-light); }
    .family-tier-btn.active {
      border-color: var(--primary); background: var(--primary-light);
      box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 59,130,246),.1);
    }
    .tier-persons {
      font-size: 14px; font-weight: 700; color: var(--text);
    }
    .tier-price {
      font-size: 14px; font-weight: 800; color: var(--primary);
    }

    .date-input {
      display: flex; align-items: center; gap: 8px;
      border: 1px solid var(--border); border-radius: var(--radius-sm);
      padding: 9px 12px; font-size: 14px; color: var(--text-muted);
      cursor: pointer; transition: border-color .2s;
    }
    .date-input:hover { border-color: var(--primary); color: var(--text); }

    .booking-total {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
      margin: 16px 0;
    }
    .booking-total-label { font-size: 13px; color: var(--text-muted); }
    .booking-total-val { font-size: 20px; font-weight: 800; color: var(--text); }

    /* ── Booking Dates (sidebar) ── */
    .booking-dates {
      margin: 14px 0;
      border: 1px solid var(--border-light);
      border-radius: var(--radius-sm);
      overflow: hidden;
    }
    .booking-dates-label {
      display: flex; align-items: center; gap: 6px;
      font-size: 12px; font-weight: 700; color: var(--text-muted);
      background: #f8f9fa; padding: 8px 12px;
      border-bottom: 1px solid var(--border-light);
    }
    .booking-dates-list { padding: 4px 0; }
    .booking-date-row {
      padding: 7px 12px;
      border-bottom: 1px solid var(--border-light);
    }
    .booking-date-row:last-child { border-bottom: none; }
    .booking-date-departure {
      display: flex; align-items: center; gap: 7px;
      font-size: 13px; font-weight: 600; color: var(--text);
    }
    .bdr-dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--primary); flex-shrink: 0;
    }
    .booking-date-deadline {
      display: flex; align-items: center; gap: 5px;
      font-size: 11px; color: #dc6803;
      padding-right: 14px; margin-top: 3px;
    }

    /* ── Departure Dates Grid (main content) ── */
    .departure-dates-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    .departure-date-card {
      border: 1.5px solid var(--primary);
      border-radius: var(--radius-sm);
      padding: 14px;
      background: #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,.06);
      transition: box-shadow .2s, border-color .2s;
    }
    .departure-date-card:hover {
      box-shadow: 0 4px 16px rgba(0,0,0,.10);
      border-color: var(--primary-hover);
    }
    .ddc-departure {
      display: flex; align-items: flex-start; gap: 10px;
      margin-bottom: 10px;
    }
    .ddc-departure svg { margin-top: 2px; flex-shrink: 0; color: var(--primary); }
    .ddc-deadline {
      display: flex; align-items: flex-start; gap: 8px;
      padding-top: 10px;
      border-top: 1px dashed var(--border-light);
    }
    .ddc-deadline svg { margin-top: 2px; flex-shrink: 0; color: #dc6803; }
    .ddc-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
    .ddc-date { font-size: 14px; font-weight: 700; color: var(--text); }
    .ddc-date.deadline { color: #dc6803; }

    .trip-sticky-cta {
      display: flex; flex-direction: column-reverse; gap: 8px;
    }
    .sticky-counter { display: none; }
    .btn-book {
      display: block; width: 100%;
      padding: 13px; border-radius: var(--radius-sm);
      font-size: 15px; font-weight: 700;
      background: var(--primary); color: #fff;
      text-align: center; cursor: pointer;
      transition: background .2s; border: none;
      margin-bottom: 8px;
    }
    .btn-book:hover { background: var(--primary-hover); }
    .btn-wishlist-bk {
      display: block; width: 100%;
      padding: 12px; border-radius: var(--radius-sm);
      font-size: 14px; font-weight: 600;
      background: #fff; color: var(--primary);
      border: 1.5px solid var(--primary);
      text-align: center; cursor: pointer;
      transition: all .2s;
    }
    .btn-wishlist-bk:hover { background: var(--primary-light); }

    .booking-security {
      display: flex; flex-direction: column; gap: 6px; margin-top: 12px;
    }
    .security-item {
      display: flex; align-items: center; gap: 6px;
      font-size: 12px; color: var(--text-muted);
    }
    .security-item svg { color: var(--green); flex-shrink: 0; }

    .consultation-box {
      margin-top: 16px; padding: 12px 16px;
      background: var(--bg-gray); border-radius: var(--radius-sm);
      display: flex; align-items: center; gap: 10px;
    }
    .consult-icon {
      width: 36px; height: 36px; border-radius: 50%;
      background: var(--primary); color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; flex-shrink: 0;
    }
    .consult-text { font-size: 12px; }
    .consult-text strong { display: block; color: var(--text); font-size: 13px; margin-bottom: 2px; }
    .consult-text span { color: var(--text-muted); }

    /* === COMPANY INFO === */
    .company-info-card {
      margin-top: 16px; padding: 16px;
      border: 1.5px solid var(--border); border-radius: var(--radius-lg);
      background: #fff;
    }
    .company-info-header {
      display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
    }
    .company-logo-sm {
      width: 52px; height: 52px; border-radius: 12px;
      background: var(--bg-gray);
      display: flex; align-items: center; justify-content: center;
      font-size: 22px; flex-shrink: 0;
    }
    .company-info-name { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
    .company-info-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
    .company-info-meta .verified { color: var(--green); font-weight: 600; }
    .company-stats { display: flex; gap: 16px; margin-bottom: 12px; }
    .company-stat { text-align: center; }
    .company-stat strong { display: block; font-size: 16px; font-weight: 800; color: var(--text); }
    .company-stat span { font-size: 11px; color: var(--text-muted); }
    .company-info-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
    .company-actions { display: flex; gap: 8px; }
    .company-actions .btn-outline { font-size: 13px; padding: 7px 14px; flex: 1; text-align: center; }
    .company-actions .btn-primary { font-size: 13px; padding: 7px 14px; flex: 1; text-align: center; }

    /* === COMPANY FEATURED CARD (main content) === */
    .company-featured-card {
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 2px 10px rgba(0,0,0,.06);
    }
    .company-featured-top {
      background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 60%, #f0fdf4 100%);
      padding: 24px 24px 20px;
      display: flex; align-items: flex-start; gap: 20px;
      border-bottom: 1px solid var(--border);
    }
    .company-featured-avatar {
      width: 72px; height: 72px; border-radius: 16px;
      background: linear-gradient(135deg, var(--primary) 0%, #1a7acc 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 26px; font-weight: 900; color: #fff;
      flex-shrink: 0; box-shadow: 0 4px 12px rgba(29,78,216,.3);
    }
    .company-featured-meta { flex: 1; min-width: 0; }
    .company-featured-name {
      font-size: 20px; font-weight: 800; color: var(--text);
      margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .company-featured-badges {
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px;
    }
    .badge-verified-lg {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 12px; font-weight: 700; color: var(--green);
      background: var(--green-light); padding: 3px 10px; border-radius: 20px;
    }
    .badge-verified-lg svg { width: 12px; height: 12px; }
    .badge-rating-lg {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 13px; font-weight: 700; color: #92400e;
      background: #fef3c7; padding: 3px 10px; border-radius: 20px;
    }
    .badge-trips-lg {
      font-size: 12px; font-weight: 600; color: var(--text-muted);
      background: #f8fafc; border: 1px solid var(--border);
      padding: 3px 10px; border-radius: 20px;
    }
    .company-featured-desc {
      font-size: 13px; color: var(--text-muted); line-height: 1.7;
    }

    .company-featured-stats {
      display: grid; grid-template-columns: repeat(4, 1fr);
      border-bottom: 1px solid var(--border);
    }
    .company-stat-box {
      padding: 16px 12px; text-align: center;
      border-left: 1px solid var(--border);
    }
    .company-stat-box:last-child { border-left: none; }
    .company-stat-box strong {
      display: block; font-size: 22px; font-weight: 800; color: var(--primary);
      margin-bottom: 2px;
    }
    .company-stat-box span { font-size: 11px; color: var(--text-muted); font-weight: 500; }

    .company-featured-actions {
      display: flex; align-items: center; gap: 10px; padding: 16px 24px;
      flex-wrap: wrap;
    }
    .company-featured-actions .btn-primary {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 10px 20px; font-size: 14px;
    }
    .company-featured-actions .btn-outline {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 10px 20px; font-size: 14px;
    }
    .btn-whatsapp {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 10px 20px; border-radius: var(--radius-sm);
      font-size: 14px; font-weight: 600; cursor: pointer;
      border: 1.5px solid #25D366; background: #f0fdf4; color: #15803d;
      transition: all .2s; text-decoration: none;
    }
    .btn-whatsapp:hover { background: #25D366; color: #fff; }
    .btn-whatsapp svg { width: 16px; height: 16px; }

    @media (max-width: 640px) {
      .company-featured-top { flex-direction: column; gap: 14px; }
      .company-featured-stats { grid-template-columns: repeat(2, 1fr); }
      .company-stat-box:nth-child(2) { border-left: none; }
      .company-stat-box:nth-child(3) { border-top: 1px solid var(--border); }
      .company-stat-box:nth-child(4) { border-top: 1px solid var(--border); border-left: none; }
      .company-featured-actions { padding: 14px 16px; }
      .company-featured-top { padding: 18px 16px 16px; }
    }

    /* === RELATED TRIPS === */
    .related-section { padding: 48px 0; background: var(--bg-gray); }

    #backToTop {
      position: fixed; bottom: 28px; left: 28px;
      width: 44px; height: 44px; border-radius: 50%;
      background: var(--primary); color: #fff;
      font-size: 20px; display: flex; align-items: center; justify-content: center;
      box-shadow: var(--shadow-md); cursor: pointer;
      opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90;
    }

    @media (max-width: 900px) {
      .trip-detail-layout { grid-template-columns: 1fr; }
      .booking-sidebar { position: static; }
      .gallery-viewport { height: 300px; }
      .gallery-thumb { flex: 0 0 calc((100% - 40px) / 5); min-width: 60px; height: 62px; }
      .highlights-grid { grid-template-columns: repeat(2, 1fr); }
      .trip-details-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
      .gallery-btns { flex-wrap: wrap; }
      .flight-route { gap: 0; padding: 16px; }
      .company-actions { flex-direction: column; }

      /* ── Sticky booking bar, pinned flush above the mobile bottom-nav ── */
      body { padding-bottom: 148px; }
      .trip-sticky-cta {
        position: fixed; bottom: 74px; left: 0; right: 0; z-index: 900;
        margin: 0;
        flex-direction: row; gap: 10px; align-items: stretch;
        background: #fff; padding: 10px 16px;
        box-shadow: 0 -4px 16px rgba(0,0,0,.1);
        border-top: 1px solid var(--border-light);
      }
      .trip-sticky-cta .btn-book { flex: 1.1; margin-bottom: 0; padding: 11px; font-size: 14px; }
      .sticky-counter {
        display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1;
        border: 1px solid var(--border); border-radius: var(--radius-sm);
        padding: 0 10px;
      }
      .sticky-counter .counter-btn {
        width: 34px; height: 34px; font-size: 19px; flex-shrink: 0;
      }
      .sticky-counter .counter-val {
        font-size: 16px; font-weight: 700; color: var(--text); min-width: 20px; text-align: center;
      }
    }
    @media (max-width: 600px) {
      .gallery-viewport { height: 220px; }
      .gallery-nav { width: 36px; height: 36px; }
      .gallery-nav svg { width: 15px; height: 15px; }
      .gallery-prev { left: 10px; }
      .gallery-next { right: 10px; }
      .gallery-thumb { flex: 0 0 52px; min-width: 52px; height: 52px; border-radius: 8px; }
      .gallery-thumbs { gap: 7px; }
      .gallery-counter { font-size: 12px; padding: 3px 10px; bottom: 12px; }
      .highlights-grid { grid-template-columns: repeat(2, 1fr); }
      .discount-banner { border-radius: var(--radius) !important; margin-bottom: 0; }
      .departure-dates-grid { grid-template-columns: repeat(2, 1fr); }
    }