/* ============================================================
   HSJ Tour Page v3 — Extracted from demo-trek-detail.html
   Scoped under .tour-page-v3 where needed to avoid Bootstrap conflicts
   CSS variables kept at :root level
   ============================================================ */

:root {
  --accent: #FBA504;
  --accent-light: #e09400;
  --gold: #FBA504;
  --fg: #111827;
  --fg-muted: rgba(55,65,90,0.65);
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: rgba(0,0,0,0.08);
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --nav-h: 0px;
  --sticky-nav-h: 49px;
}

/* Fix overflow-x:hidden breaking position:sticky */
.tour-page-v3 { overflow-x: clip; }

/* ── HERO ── */
.v3-hero { position: relative; height: 70vh; min-height: 480px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.v3-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.v3-hero-dim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,24,39,0.1) 0%, rgba(17,24,39,0.5) 65%, rgba(17,24,39,0.88) 100%); }
.v3-hero-content { position: relative; z-index: 2; padding: 0 64px 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.v3-hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.v3-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.v3-hero-title { font-family: var(--font-display); font-size: clamp(34px, 4.5vw, 58px); font-weight: 500; line-height: 1.06; letter-spacing: -1px; color: white; margin-bottom: 16px; }
.v3-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-hero-pill { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(6px); border-radius: 100px; padding: 6px 14px; font-size: 13px; color: rgba(255,255,255,0.9); }
.v3-hero-actions { flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.v3-btn-book-hero { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--accent); color: white; font-family: var(--font-body); font-size: 14px; font-weight: 500; border-radius: 4px; text-decoration: none; transition: background 0.2s; white-space: nowrap; border: none; cursor: pointer; }
.v3-btn-book-hero:hover { background: var(--accent-light); color: white; text-decoration: none; }
.v3-btn-enquire-hero { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); background: transparent; font-family: var(--font-body); font-size: 13px; font-weight: 400; border-radius: 4px; text-decoration: none; white-space: nowrap; transition: border-color 0.2s; }
.v3-btn-enquire-hero:hover { border-color: white; color: white; text-decoration: none; }

/* ── Disable main header sticky on tour pages so only section nav sticks ── */
.hsj-nav { position: relative !important; }

/* ── STICKY NAV ── */
.v3-sticky-nav { position: -webkit-sticky; position: sticky; top: 0; z-index: 900; background: white; border-bottom: 1px solid var(--border); padding: 0 64px; display: flex; align-items: center; justify-content: space-between; isolation: isolate; }
.v3-sticky-tabs { display: flex; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.v3-sticky-tabs::-webkit-scrollbar { display: none; }
.v3-sticky-tab { flex-shrink: 0; padding: 16px 18px; font-size: 13px; font-weight: 400; color: var(--fg-muted); border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; white-space: nowrap; font-family: var(--font-body); }
.v3-sticky-tab:hover { color: var(--fg); }
.v3-sticky-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }
.v3-sticky-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-left: 16px; }
.v3-sticky-price-wrap { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; }
.v3-sticky-price { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--fg); }
.v3-sticky-price sup { font-size: 12px; font-weight: 300; vertical-align: super; font-family: var(--font-body); }
.v3-sticky-price-label { font-size: 12px; color: var(--fg-muted); }
/* Currency switcher in sticky nav */
.v3-nav-currency { position: relative; }
.v3-nav-currency-btn { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--fg); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; cursor: pointer; white-space: nowrap; font-family: var(--font-body); transition: background 0.15s; }
.v3-nav-currency-btn:hover { background: #eef2f7; }
.v3-nav-currency-drop { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); min-width: 80px; z-index: 200; overflow: hidden; }
.v3-nav-currency-drop.open { display: block; }
.v3-nav-currency-opt { display: block; padding: 9px 16px; font-size: 12px; font-weight: 500; color: var(--fg); text-decoration: none; transition: background 0.15s; }
.v3-nav-currency-opt:hover { background: var(--bg-soft); color: var(--fg); text-decoration: none; }
.v3-nav-currency-opt.active { color: var(--accent); font-weight: 600; }

/* ── LAYOUT ── */
.v3-layout { display: grid; grid-template-columns: 1fr 400px; gap: 0; max-width: 1440px; margin: 0 auto; padding: 52px 64px; align-items: start; }
/* min-width: 0 prevents grid children from overflowing their column */
.v3-main { padding-right: 52px; min-width: 0; }
.v3-sidebar { position: sticky; top: calc(var(--sticky-nav-h) + 16px); min-width: 0; }

/* ── QUICK FACTS ── */
.v3-quick-facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 48px; }
.v3-fact-item { background: var(--bg-soft); padding: 18px 20px; min-width: 0; }
.v3-fact-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-fact-value { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--fg); line-height: 1.2; overflow-wrap: break-word; word-break: break-word; }
.v3-fact-sub { font-size: 11px; color: var(--fg-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── SECTIONS ── */
.v3-section { margin-bottom: 52px; scroll-margin-top: calc(var(--sticky-nav-h) + 16px); }
.v3-section-heading { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--fg); margin-bottom: 20px; letter-spacing: -0.3px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.v3-section-heading em { font-style: italic; color: var(--fg); }
.v3-itinerary-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.v3-itinerary-heading-row .v3-section-heading { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.v3-itin-toggle-btn { font-size: 12px; font-weight: 600; font-family: var(--font-body); padding: 5px 12px; border-radius: 100px; border: 1.5px solid var(--border); background: #fff; color: var(--fg-muted); cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; white-space: nowrap; }
.v3-itin-toggle-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(251,165,4,0.04); }

/* ── PROSE ── */
.v3-prose { font-size: 15px; line-height: 1.75; color: #1a1a2e; font-weight: 400; }
/* margin controlled by hsj-reset.css — no overrides here */
.v3-prose strong { color: var(--fg); font-weight: 500; }
.v3-prose blockquote { border-left: 3px solid rgba(0,0,0,0.15); padding-left: 16px; margin: 12px 0; color: var(--fg-muted); font-style: italic; }

/* Force uniform font across all rich-text content — overrides inline styles from editor */
/* Color controlled by hsj-reset.css — no override here */
.v3-prose *,
.v3-prose p,
.v3-prose li,
.v3-prose span,
.v3-prose div,
.v3-prose td,
.v3-prose th { font-family: var(--font-body) !important; font-size: 15px !important; line-height: 1.8 !important; }
.v3-prose strong, .v3-prose b { font-weight: 600 !important; }
.v3-prose h1, .v3-prose h2, .v3-prose h3, .v3-prose h4 { font-family: var(--font-display) !important; font-size: 18px !important; font-weight: 600 !important; margin: 20px 0 10px !important; line-height: 1.4 !important; }
.v3-prose h1 { font-size: 22px !important; }
.v3-prose h2 { font-size: 20px !important; }
.v3-prose a { color: var(--accent) !important; text-decoration: underline !important; }
.v3-prose ul, .v3-prose ol { padding-left: 20px !important; margin-bottom: 14px !important; }
.v3-prose li { margin-bottom: 6px !important; }

/* ── HIGHLIGHTS ── */
.v3-highlights-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v3-highlight-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--bg-soft); border-radius: 6px; border: 1px solid var(--border); }
.v3-highlight-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,0.25); flex-shrink: 0; margin-top: 5px; }
.v3-highlight-text { font-size: 13px; color: var(--fg); line-height: 1.5; }

/* Highlights — rebuilt by JS into .v3-highlights-grid */
.v3-highlights-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 100%; }
.v3-hl-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e9ef;
    font-size: 14.5px; color: var(--fg); line-height: 1.65;
    font-family: var(--font-body); font-weight: 400;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: border-color 0.18s, box-shadow 0.18s;
    min-width: 0;                        /* prevent grid child overflow */
    overflow-wrap: break-word;
    word-break: break-word;
}
.v3-hl-item:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(251,165,4,0.12); }
.v3-hl-item::before {
    content: '';
    flex-shrink: 0;
    margin-top: 6px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent);
}
/* keep old wrap styles as fallback */
.v3-highlights-wrap ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v3-highlights-wrap li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--bg-soft); border-radius: 6px; border: 1px solid var(--border); font-size: 13px; color: var(--fg); line-height: 1.5; }
.v3-highlights-wrap li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 5px; }

/* ── GALLERY ── */
.v3-gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 360px; border-radius: 6px; overflow: hidden; }
.v3-gallery-img { overflow: hidden; cursor: pointer; position: relative; }
.v3-gallery-img:first-child { grid-row: 1 / 3; }
.v3-gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.v3-gallery-img:hover img { transform: scale(1.04); }
.v3-gallery-more-overlay { position: absolute; inset: 0; background: rgba(17,24,39,0.55); display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; font-weight: 500; font-family: var(--font-display); }
.v3-gallery-more-mobile { display: none; }

/* ── ITINERARY ── */
.v3-itinerary-list { display: flex; flex-direction: column; }
.v3-day-row { display: grid; grid-template-columns: 72px 1fr; position: relative; border-radius: 8px; transition: background 0.15s; }
.v3-day-row:hover { background: rgba(251,165,4,0.03); }
.v3-day-row.open { background: rgba(251,165,4,0.04); }
.v3-day-row::before { content: ''; position: absolute; left: 35px; top: 52px; bottom: 0; width: 1px; background: var(--border); }
.v3-day-row:last-child::before { display: none; }
.v3-day-num-col { padding: 20px 0; display: flex; justify-content: center; }
.v3-day-circle {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--bg-soft); border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 600; color: var(--fg-muted);
    flex-shrink: 0; cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    font-family: var(--font-body);
}
.v3-day-row.open .v3-day-circle {
    background: var(--accent); border-color: var(--accent); color: white;
    box-shadow: 0 3px 10px rgba(251,165,4,0.35);
}
.v3-day-row:hover:not(.open) .v3-day-circle {
    background: rgba(251,165,4,0.1); border-color: rgba(251,165,4,0.4); color: var(--fg);
}
.v3-day-body { padding: 18px 12px 18px 16px; border-bottom: 1px solid var(--border); cursor: pointer; }
.v3-day-row:last-child .v3-day-body { border-bottom: none; }
.v3-day-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.v3-day-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; opacity: 0.8; }
.v3-day-name { font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--fg); line-height: 1.3; transition: color 0.15s; }
.v3-day-row.open .v3-day-name, .v3-day-row:hover .v3-day-name { color: var(--fg); }
.v3-day-chips { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.v3-day-chip {
    font-size: 11px; color: var(--fg-muted);
    background: var(--bg-soft); padding: 3px 9px;
    border-radius: 100px; border: 1px solid var(--border);
    white-space: nowrap; font-family: var(--font-body);
    transition: background 0.15s, border-color 0.15s;
}
.v3-day-row.open .v3-day-chip { background: rgba(251,165,4,0.06); border-color: rgba(251,165,4,0.2); }
.v3-day-addon-chip { background: #FFF8E1; border-color: #FBA504; color: #7c5300; font-weight: 600; }
.v3-day-row.open .v3-day-addon-chip { background: #FFF3CD; border-color: #FBA504; }
.v3-addon-card {
    margin-top: 12px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    background: #fafafa;
    display: inline-flex;
}
.v3-addon-card-inner {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    gap: 14px;
}
.v3-addon-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent, #FBA504);
    margin-bottom: 1px;
}
.v3-addon-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--fg, #111827);
    line-height: 1.2;
}
.v3-addon-price-col {
    flex-shrink: 0;
    text-align: right;
    border-left: 1px solid var(--border, #e5e7eb);
    padding-left: 14px;
}
.v3-addon-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--fg, #111827);
}
.v3-addon-per {
    font-size: 10px;
    color: var(--fg-muted, #6b7280);
}
.v3-day-chevron { color: var(--fg-muted); transition: transform 0.25s, color 0.2s; flex-shrink: 0; margin-top: 4px; }
.v3-day-row:hover .v3-day-chevron { color: var(--fg); }
.v3-day-row.open .v3-day-chevron { transform: rotate(180deg); color: var(--accent); }
.v3-day-desc { font-size: 14px; line-height: 1.75; color: var(--fg-muted); font-weight: 400; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.2s; }
.v3-day-row.open .v3-day-desc { max-height: 2000px; margin-top: 12px; }
.v3-day-desc p { margin-bottom: 8px; font-size: 14px; line-height: 1.75; color: var(--fg-muted); }
.v3-day-desc strong, .v3-day-desc b { color: var(--fg); font-weight: 600; }

/* Day gallery inside itinerary */
.v3-day-gallery { margin-top: 10px; margin-bottom: 12px; position: relative; border-radius: 6px; overflow: hidden; max-height: 300px; }
.v3-day-gallery .gallery-track { display: flex; }
.v3-day-gallery .gallery-slide { min-width: 100%; display: none; }
.v3-day-gallery .gallery-slide.active { display: block; }
.v3-day-gallery .gallery-slide img { width: 100%; height: 260px; object-fit: cover; display: block; border-radius: 6px; }
.v3-day-gallery .gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(17,24,39,0.5); color: white; border: none; padding: 8px 14px; font-size: 20px; cursor: pointer; border-radius: 3px; }
.v3-day-gallery .gallery-nav.prev { left: 8px; }
.v3-day-gallery .gallery-nav.next { right: 8px; }
.v3-day-gallery .gallery-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.v3-day-gallery .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.v3-day-gallery .dot.active { background: white; }

/* ── INCLUDES ── */
.v3-inc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.v3-inc-col-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9ca3af; margin-bottom: 8px; }
.v3-inc-list { display: flex; flex-direction: column; }
.v3-inc-row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; }
.v3-inc-badge { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.v3-inc-badge--yes { background: #22c55e; }
.v3-inc-badge--no { background: #ef4444; }
.v3-inc-text { font-size: 14px; color: #374151; line-height: 1.5; font-weight: 400; }

/* ── EQUIPMENT ── */
/* ── Equipment / Packing List ── */
.v3-equip-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.v3-equip-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 30px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.v3-equip-tab:hover {
    border-color: #FBA504;
    color: #FBA504;
    background: #fffbf0;
}
.v3-equip-tab.active {
    background: #FBA504;
    border-color: #FBA504;
    color: #fff;
    box-shadow: 0 3px 10px rgba(251,165,4,0.28);
}
.v3-equip-tab-icon {
    display: flex;
    align-items: center;
    opacity: 0.8;
}
.v3-equip-tab.active .v3-equip-tab-icon { opacity: 1; }

/* Panels */
.v3-equip-panel { display: none; }
.v3-equip-panel.active { display: block; animation: v3EquipIn 0.2s ease; }
@keyframes v3EquipIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Items grid */
.v3-equip-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.v3-equip-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 8px;
}
.v3-equip-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FBA504;
    margin-top: 5px;
}
.v3-equip-item-text {
    font-size: 13.5px;
    line-height: 1.45;
    color: #444;
}

/* ── VIDEOS ── */
.v3-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v3-video-card { position: relative; border-radius: 6px; overflow: hidden; cursor: pointer; aspect-ratio: 9/14; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.v3-video-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.12); }
.v3-video-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.4s; }
.v3-video-card:hover .v3-video-thumb { transform: scale(1.04); }
.v3-video-dim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,24,39,0.85) 0%, rgba(17,24,39,0.1) 60%); }
.v3-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-55%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.v3-video-card:hover .v3-video-play { background: var(--accent); border-color: var(--accent); }
.v3-video-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; z-index: 2; }
.v3-video-name { font-size: 13px; font-weight: 500; color: white; }
.v3-video-desc { font-size: 11px; color: rgba(200,215,235,0.7); margin-top: 2px; }
.v3-video-duration { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.65); color: white; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.03em; z-index: 3; }
.v3-videos-footer { margin-top: 16px; }
.v3-videos-more-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; transition: gap 0.2s; }
.v3-videos-more-link:hover { gap: 9px; color: var(--accent-light); text-decoration: none; }

/* ── VIDEO MODAL ── */
.v3-vid-modal { position: fixed; inset: 0; z-index: 300; background: rgba(17,24,39,0.9); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 24px; }
.v3-vid-modal.open { opacity: 1; pointer-events: all; }
.v3-vid-modal-inner { position: relative; width: 100%; max-width: 900px; }
.v3-vid-modal-inner iframe { width: 100%; aspect-ratio: 16/9; border-radius: 8px; border: none; }
.v3-vid-modal-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; color: white; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.v3-vid-modal-close:hover { background: var(--accent); }

/* ── REVIEWS ── */
.v3-rating-summary { display: flex; align-items: center; gap: 28px; padding: 20px 24px; background: var(--bg-soft); border-radius: 8px; border: 1px solid var(--border); margin-bottom: 24px; }
.v3-rating-big { text-align: center; }
.v3-rating-big-num { font-family: var(--font-display); font-size: 48px; font-weight: 500; color: var(--fg); line-height: 1; }
.v3-rating-big-stars { display: flex; gap: 3px; justify-content: center; margin: 6px 0; }
.v3-star-g { width: 11px; height: 11px; background: var(--gold); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.v3-rating-bars { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.v3-rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--fg-muted); }
.v3-rating-bar-label { width: 52px; }
.v3-rating-bar-track { flex: 1; height: 5px; background: rgba(0,0,0,0.08); border-radius: 3px; overflow: hidden; }
.v3-rating-bar-fill { height: 100%; background: var(--gold); border-radius: 3px; }
.v3-rating-bar-val { width: 24px; font-weight: 500; color: var(--fg); }
/* Video testimonials strip */
.v3-rv-videos { margin-bottom: 28px; }
.v3-rv-videos-label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 12px; }
.v3-rv-video-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.v3-rv-video-card { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 16/10; border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.v3-rv-video-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.15); }
.v3-rv-video-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.4s; }
.v3-rv-video-card:hover .v3-rv-video-thumb { transform: scale(1.05); }
.v3-rv-video-dim { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(0,0,0,0.08) 0%, rgba(17,12,5,0.72) 100%); }
.v3-rv-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 38px; height: 38px; border-radius: 50%; background: rgba(251,165,4,0.9); display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; box-shadow: 0 4px 16px rgba(251,165,4,0.45); }
.v3-rv-video-card:hover .v3-rv-video-play { background: #FBA504; transform: translate(-50%, -60%) scale(1.1); }
.v3-rv-video-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px; z-index: 2; }
.v3-rv-video-stars { font-size: 10px; color: #FBA504; letter-spacing: 1px; margin-bottom: 3px; }
.v3-rv-video-name { font-size: 12px; font-weight: 500; color: white; line-height: 1.3; }

.v3-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.v3-review-item { padding: 20px; background: var(--bg-soft); border-radius: 6px; border: 1px solid var(--border); }
.v3-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.v3-review-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.v3-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.v3-review-avatar.init { background: var(--bg-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--fg-muted); }
.v3-review-meta { flex: 1; }
.v3-review-name { font-size: 14px; font-weight: 500; color: var(--fg); }
.v3-review-origin { font-size: 12px; color: var(--fg-muted); }
.v3-review-stars { display: flex; gap: 2px; }
.v3-review-star { width: 10px; height: 10px; background: var(--gold); clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.v3-review-title { font-size: 15px; font-weight: 700; font-style: normal; color: var(--fg); font-family: var(--font-body); margin-bottom: 6px; line-height: 1.4; }
.v3-review-text { font-size: 14px; line-height: 1.7; color: var(--fg-muted); font-style: italic; font-family: var(--font-display); font-weight: 400; }
.v3-reviews-all-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; }
.v3-reviews-all-link:hover { color: var(--accent-light); text-decoration: none; }

/* ── FAQ ── */
.v3-faq-item { border-bottom: 1px solid var(--border); }
.v3-faq-item:first-child { border-top: 1px solid var(--border); }
.v3-faq-q { width: 100%; text-align: left; padding: 16px 0; display: flex; align-items: center; gap: 14px; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--fg); }
.v3-faq-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--accent); font-family: var(--font-body); letter-spacing: 0.03em; transition: background 0.2s, border-color 0.2s; }
.v3-faq-item.open .v3-faq-num { background: var(--accent); border-color: var(--accent); color: white; }
.v3-faq-q-text { flex: 1; }
.v3-faq-chevron { color: var(--fg-muted); transition: transform 0.25s; flex-shrink: 0; margin-left: auto; }
.v3-faq-item.open .v3-faq-chevron { transform: rotate(180deg); }
.v3-faq-a { font-size: 13px; line-height: 1.75; color: var(--fg-muted); font-weight: 300; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s; }
.v3-faq-item.open .v3-faq-a { max-height: 400px; padding-bottom: 16px; }

/* ── BOOKING SIDEBAR ── */
.v3-booking-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--sticky-nav-h) + 16px); padding-left: 28px; }
.v3-booking-card { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.v3-booking-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--border); }
.v3-booking-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.v3-booking-price { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--fg); line-height: 1; }
.v3-booking-price sup { font-size: 15px; font-weight: 400; vertical-align: super; font-family: var(--font-body); }
.v3-booking-price-label { font-size: 14px; color: var(--fg-muted); font-weight: 300; }
.v3-booking-price-orig { font-size: 13px; color: var(--fg-muted); text-decoration: line-through; }
.v3-booking-save-badge { font-size: 11px; font-weight: 600; background: #dcfce7; color: #15803d; padding: 3px 8px; border-radius: 100px; }
.v3-booking-rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.v3-booking-rating-stars { display: flex; gap: 2px; }
.v3-booking-rating-text { font-size: 12px; color: var(--fg-muted); }
.v3-group-discount-toggle { display: flex; align-items: center; justify-content: space-between; padding: 11px 24px; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--fg-muted); letter-spacing: 0.05em; text-transform: uppercase; border-bottom: 1px solid var(--border); user-select: none; transition: background 0.15s; }
.v3-group-discount-toggle:hover { background: rgba(0,0,0,0.03); }
.v3-group-chevron { transition: transform 0.25s; font-size: 11px; }
.v3-group-chevron.open { transform: rotate(180deg); }
.v3-pricing-table { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.25,0.46,0.45,0.94); background: var(--bg-soft); }
.v3-pricing-table.open { max-height: 200px; }
.v3-pricing-table-inner { padding: 12px 24px 14px; }
.v3-pricing-table-header { display: flex; justify-content: space-between; font-size: 10px; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 9px; border-bottom: 1px solid var(--border); margin-bottom: 9px; }
.v3-pricing-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 13px; border-bottom: 1px dashed rgba(0,0,0,0.07); gap: 8px; }
.v3-pricing-row:last-child { border-bottom: none; }
.v3-pricing-row-pax { color: var(--fg-muted); flex-shrink: 0; }
.v3-pricing-row-right { display: flex; align-items: center; gap: 7px; }
.v3-pricing-row-price { font-weight: 500; }
.v3-pricing-save { font-size: 10px; font-weight: 600; background: #dcfce7; color: #15803d; padding: 2px 6px; border-radius: 100px; white-space: nowrap; }
.v3-booking-actions { padding: 14px 24px; display: flex; flex-direction: column; gap: 9px; }
.v3-btn-book-now { width: 100%; padding: 13px; background: var(--accent); color: #111827; font-family: var(--font-body); font-size: 13px; font-weight: 600; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; }
.v3-btn-book-now:hover { background: var(--accent-light); }
.v3-btn-check-avail { width: 100%; padding: 12px; background: #18202e; color: white; font-family: var(--font-body); font-size: 13px; font-weight: 600; border: none; border-radius: 6px; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; transition: opacity 0.2s; }
.v3-btn-check-avail:hover { opacity: 0.88; }
.v3-btn-inquire { width: 100%; padding: 11px; background: transparent; color: var(--fg-muted); font-family: var(--font-body); font-size: 13px; font-weight: 600; border: 1.5px solid rgba(0,0,0,0.15); border-radius: 6px; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.v3-btn-inquire:hover { background: var(--fg); color: white; border-color: var(--fg); }
.v3-booking-trust { padding: 0 24px 14px; display: flex; flex-direction: column; gap: 6px; }
.v3-trust-line { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--fg-muted); }
.v3-trust-line svg { color: #059669; flex-shrink: 0; }

/* ── EXPERT CARD ── */
.v3-expert-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.v3-expert-inner { display: flex; align-items: center; gap: 12px; }
.v3-expert-avatars { display: flex; align-items: center; flex-shrink: 0; }
.v3-expert-avatar { border-radius: 50%; overflow: hidden; border: 2px solid white; flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.15); margin-left: -8px; position: relative; }
.v3-expert-avatar:first-child { margin-left: 0; }
.v3-expert-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.v3-expert-avatar:nth-child(1) { width: 30px; height: 30px; z-index: 1; }
.v3-expert-avatar:nth-child(2) { width: 32px; height: 32px; z-index: 2; }
.v3-expert-avatar:nth-child(3) { width: 38px; height: 38px; z-index: 5; }
.v3-expert-avatar:nth-child(4) { width: 32px; height: 32px; z-index: 2; }
.v3-expert-avatar:nth-child(5) { width: 30px; height: 30px; z-index: 1; }
.v3-expert-info { flex: 1; min-width: 0; }
.v3-expert-name { font-size: 13px; font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-expert-location { font-size: 11px; color: var(--fg-muted); margin-top: 1px; }
.v3-expert-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 500; color: #15803d; padding: 7px 12px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; white-space: nowrap; text-decoration: none; flex-shrink: 0; transition: background 0.2s; }
.v3-expert-whatsapp:hover { background: #dcfce7; color: #15803d; text-decoration: none; }

/* ── WETRAVEL MODAL ── */
.v3-wt-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(17,24,39,0.65); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; padding: 20px; }
.v3-wt-overlay.open { opacity: 1; pointer-events: all; }
.v3-wt-modal { background: white; border-radius: 12px; width: 100%; max-width: 860px; height: 88vh; box-shadow: 0 24px 80px rgba(0,0,0,0.25); transform: translateY(24px); transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94); overflow: hidden; display: flex; flex-direction: column; }
.v3-wt-overlay.open .v3-wt-modal { transform: translateY(0); }
.v3-wt-modal-bar { background: var(--fg); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.v3-wt-modal-title { font-size: 14px; font-weight: 500; color: white; }
.v3-wt-modal-close { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: white; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.v3-wt-modal-close:hover { background: rgba(255,255,255,0.22); }
.v3-wt-modal iframe { flex: 1; width: 100%; border: none; }

/* ── RELATED ── */
.v3-full-section { padding: 56px 64px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.v3-full-section-inner { max-width: 1440px; margin: 0 auto; }
.v3-full-section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.v3-full-section-title { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--fg); letter-spacing: -0.3px; }
.v3-full-section-title em { font-style: italic; }
.v3-full-section-link { font-size: 13px; color: var(--fg-muted); text-decoration: none; }
.v3-full-section-link::after { content: ' →'; }
.v3-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v3-related-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s; text-decoration: none; color: inherit; display: block; }
.v3-related-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.09); text-decoration: none; color: inherit; }
.v3-related-img { aspect-ratio: 16/10; overflow: hidden; }
.v3-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.v3-related-card:hover .v3-related-img img { transform: scale(1.04); }
.v3-related-body { padding: 14px 16px; background: white; }
.v3-related-tag { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 5px; }
.v3-related-title { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--fg); margin-bottom: 5px; line-height: 1.3; }
.v3-related-meta { font-size: 12px; color: var(--fg-muted); }
.v3-related-price { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--fg); margin-top: 6px; }
.v3-related-price sup { font-size: 11px; vertical-align: super; font-weight: 300; }

/* ── RESPONSIVE ── */

/* ── 1. Wide tablet (992–1100px): sidebar drops below, 2-col related ── */
@media (max-width: 1100px) {
  .v3-hero-content          { padding: 0 32px 40px; }
  .v3-sticky-nav            { padding: 0 32px; }
  .v3-layout                { grid-template-columns: 1fr; padding: 40px 32px; }
  .v3-main                  { padding-right: 0; }
  .v3-sidebar               { position: static; top: auto; }
  .v3-booking-sidebar       { position: static; padding-left: 0; max-width: 580px; }
  .v3-quick-facts           { grid-template-columns: repeat(3, 1fr); }
  .v3-related-grid          { grid-template-columns: repeat(3, 1fr); }
  .v3-full-section          { padding: 48px 32px; }
}

/* ── 2. Tablet (768–991px): compact padding, hide sticky price ── */
@media (max-width: 991px) {
  .tour-page-v3             { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .v3-sticky-price-wrap     { display: none; }
  .v3-layout                { padding: 32px 24px; }
  .v3-section               { margin-bottom: 40px; }
  .v3-related-grid          { grid-template-columns: repeat(2, 1fr); }
  .v3-full-section          { padding: 40px 24px; }
}

/* ── 3. Mobile (≤768px): full mobile layout ── */
@media (max-width: 768px) {

  /* Hero */
  .v3-hero                  { height: 72vmax; min-height: 400px; }
  .v3-hero-content          { padding: 0 20px 72px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .v3-hero-eyebrow          { font-size: 10px; }
  .v3-hero-title            { font-size: clamp(26px, 7vw, 38px); letter-spacing: -0.5px; margin-bottom: 10px; }
  .v3-hero-pills            { gap: 6px; }
  .v3-hero-pill             { font-size: 11px; padding: 5px 10px; }
  .v3-hero-actions          { flex-direction: row; flex-wrap: wrap; align-items: flex-start; width: 100%; gap: 8px; }
  .v3-btn-book-hero         { flex: 1; min-width: 120px; justify-content: center; padding: 12px 14px; font-size: 13px; }
  .v3-btn-enquire-hero      { flex: 1; min-width: 100px; justify-content: center; padding: 11px 12px; font-size: 12px; }

  /* Sticky nav — fixed on mobile, full-width scrollable tab strip */
  .v3-sticky-nav            { position: fixed; top: 0; left: 0; right: 0;
                               padding: 0; z-index: 100;
                               box-shadow: 0 1px 0 var(--border), 0 2px 12px rgba(0,0,0,0.07); }
  .v3-sticky-tabs           { flex: 1; min-width: 0; padding: 0;
                               /* fade hint that more tabs exist to the right */
                               -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent 100%);
                               mask-image: linear-gradient(to right, black calc(100% - 32px), transparent 100%); }
  .v3-sticky-tab            { padding: 13px 13px; font-size: 12px; }
  .v3-sticky-tab:first-child { padding-left: 16px; }
  .v3-sticky-price-wrap     { display: none; }

  /* Main layout — offset for fixed nav height (45px) + gap */
  .v3-layout                { grid-template-columns: 1fr; padding: 16px 16px 24px; padding-top: 60px; }
  .v3-main                  { padding-right: 0; }
  .v3-sidebar               { position: static; top: auto; }
  .v3-booking-sidebar       { position: static; padding-left: 0; max-width: 100%; }
  .v3-booking-card          { border-radius: 10px; }
  .v3-section               { margin-bottom: 32px; scroll-margin-top: 60px; }
  .v3-section-heading       { font-size: 21px; margin-bottom: 16px; padding-bottom: 12px; }

  /* Quick facts */
  .v3-quick-facts           { grid-template-columns: repeat(2, 1fr); }
  .v3-fact-item             { padding: 14px 15px; }
  .v3-fact-value            { font-size: 15px; }
  .v3-fact-label            { font-size: 10px; }

  /* Prose */
  .v3-prose p               { font-size: 14px; line-height: 1.75; }

  /* Gallery */
  .v3-gallery-grid          { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px; }
  .v3-gallery-img:first-child { grid-row: auto; grid-column: auto; }
  .v3-gallery-img:nth-child(n+5) { display: none; }
  .v3-gallery-more-mobile   { display: flex; }
  .v3-gallery-more-desktop  { display: none; }

  /* Itinerary */
  .v3-day-row               { grid-template-columns: 50px 1fr; }
  .v3-day-name              { font-size: 14.5px; }
  .v3-day-body              { padding: 16px 10px 16px 12px; }
  .v3-day-desc              { font-size: 13.5px; }
  .v3-day-circle            { width: 30px; height: 30px; font-size: 9.5px; }
  .v3-day-row::before       { left: 24px; top: 50px; }

  /* Highlights / Includes / Equipment */
  .v3-highlights-list       { grid-template-columns: 1fr; }
  .v3-highlights-grid       { grid-template-columns: 1fr; gap: 10px; }
  .v3-highlights-wrap ul    { grid-template-columns: 1fr; gap: 10px; }
  .v3-hl-item               { padding: 13px 14px; font-size: 13px; gap: 10px; }
  .v3-inc-split             { grid-template-columns: 1fr; gap: 16px; }
  .v3-equip-items-grid      { grid-template-columns: repeat(2, 1fr); }
  .v3-equip-header-row      { flex-direction: column; align-items: flex-start; }

  /* Videos */
  .v3-video-grid            { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Rating / Reviews */
  .v3-rating-summary        { flex-direction: column; gap: 16px; padding: 16px; }
  .v3-rating-big-num        { font-size: 40px; }
  .v3-rv-video-row          { grid-template-columns: repeat(2, 1fr); }

  /* FAQ */
  .v3-faq-q                 { font-size: 13.5px; }
  .v3-faq-num               { width: 28px; height: 28px; font-size: 10px; flex-shrink: 0; }

  /* Related tours */
  .v3-related-grid          { grid-template-columns: 1fr 1fr; gap: 12px; }
  .v3-full-section          { padding: 36px 16px; }
  .v3-full-section-title    { font-size: 22px; }

  /* Route map */
  .v3-route-map-wrap        { height: 220px; border-radius: 12px; border-bottom: 1px solid var(--border); }

  /* Map modal — slides up from bottom */
  .v3-map-modal             { padding: 0; align-items: flex-end; }
  .v3-map-modal-inner       { border-radius: 16px 16px 0 0; max-height: 92vh; width: 100%; max-width: 100%; }
  .v3-map-modal-map         { min-height: 280px; max-height: calc(92vh - 72px); }
  .v3-map-modal-footer      { padding: 12px 16px; gap: 10px; flex-wrap: wrap; }
  .v3-map-modal-title       { font-size: 14px; }
  .v3-map-modal-meta        { gap: 10px; font-size: 11px; }
  .v3-map-modal-enquire     { padding: 9px 16px; font-size: 12px; width: 100%; justify-content: center; }
  .v3-map-modal-info        { width: 100%; }
}

/* ── 4. Small mobile (≤480px): tighter everything ── */
@media (max-width: 480px) {
  .v3-hero                  { min-height: 360px; }
  .v3-hero-content          { padding: 0 16px 64px; gap: 16px; }
  .v3-hero-title            { font-size: clamp(22px, 8vw, 30px); }
  .v3-hero-pills            { gap: 5px; }
  .v3-hero-pill             { font-size: 10px; padding: 4px 9px; }

  .v3-sticky-tab            { padding: 13px 9px; font-size: 11px; }

  .v3-layout                { padding: 12px 12px 20px; padding-top: 58px; }
  .v3-section-heading       { font-size: 19px; }
  .v3-section               { margin-bottom: 28px; }

  .v3-quick-facts           { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .v3-fact-item             { padding: 12px 13px; }
  .v3-fact-value            { font-size: 14px; }

  .v3-gallery-grid          { grid-template-columns: 1fr 1fr; grid-template-rows: 130px 130px; }

  .v3-day-row               { grid-template-columns: 44px 1fr; }
  .v3-day-circle            { width: 28px; height: 28px; font-size: 9px; }
  .v3-day-row::before       { left: 21px; }
  .v3-day-name              { font-size: 14px; }
  .v3-day-chips             { gap: 4px; }
  .v3-day-chip              { font-size: 10px; padding: 2px 7px; }

  .v3-equip-items-grid      { grid-template-columns: 1fr !important; }
  .v3-equip-tabs            { gap: 6px; }
  .v3-equip-tab             { font-size: 11.5px; padding: 7px 11px; }
  .v3-equip-progress-bar   { width: 80px; }

  .v3-related-grid          { grid-template-columns: 1fr; gap: 10px; }
  .v3-full-section          { padding: 28px 12px; }
  .v3-full-section-title    { font-size: 20px; }
  .v3-full-section-header   { flex-direction: column; gap: 8px; align-items: flex-start; }

  .v3-video-grid            { grid-template-columns: 1fr 1fr; gap: 8px; }
  .v3-rv-video-row          { grid-template-columns: 1fr 1fr; }

  .v3-booking-price         { font-size: 26px; }
  .v3-booking-actions       { padding: 12px 16px; }
  .v3-btn-book-now,
  .v3-btn-check-avail,
  .v3-btn-inquire           { padding: 11px; font-size: 12px; }

  .v3-route-map-wrap        { height: 170px; }
  .v3-map-modal-footer      { padding: 10px 12px; }

}

/* ── 5. Tiny phones (≤360px): last-resort squeeze ── */
@media (max-width: 360px) {
  .v3-layout                { padding: 10px 10px 20px; padding-top: 56px; }
  .v3-quick-facts           { grid-template-columns: repeat(2, 1fr); }
  .v3-fact-value            { font-size: 13px; }
  .v3-sticky-tab            { padding: 12px 7px; font-size: 10.5px; }
  .v3-section-heading       { font-size: 18px; }
  .v3-day-row               { grid-template-columns: 40px 1fr; }
  .v3-day-circle            { width: 26px; height: 26px; font-size: 8.5px; }
  .v3-route-map-wrap        { height: 150px; }
  .v3-related-grid          { grid-template-columns: 1fr; }
  .v3-gallery-grid          { grid-template-rows: 110px 110px; }
}

/* ── ROUTE MAP ── */
.v3-route-map-wrap {
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #eef0f2;
    position: relative;
}

/* Click overlay — transparent cover with View Map button */
.v3-map-click-overlay {
    position: absolute;
    inset: 0;
    z-index: 1000;
    cursor: pointer;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 14px;
}
.v3-map-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(17, 24, 39, 0.72);
    color: white;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: 6px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: none;   /* button is visual only; overlay handles clicks */
    transition: background 0.2s;
    letter-spacing: 0.02em;
}
.v3-map-click-overlay:hover .v3-map-view-btn {
    background: rgba(251,165,4,0.85);
}
/* Leaflet custom markers — base (blade @once block adds peak/active variants) */
.hsj-map-marker { background: transparent !important; border: none !important; }
.hsj-marker-inner {
    width: 26px; height: 26px; border-radius: 50%;
    background: #fff; border: 2px solid #FBA504;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; color: #1f2937;
    box-shadow: 0 1px 6px rgba(0,0,0,.2);
    transition: background .2s, color .2s;
    font-family: var(--font-body);
}
.hsj-marker-inner.active { background: #FBA504; color: #fff; box-shadow: 0 2px 10px rgba(251,165,4,.5); }
.hsj-marker-inner.peak   { background: #d97706; color: #fff; }

/* ── MAP MODAL ── */
.v3-map-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 14, 22, 0.82);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.v3-map-modal.open {
    opacity: 1;
    pointer-events: all;
}
.v3-map-modal-inner {
    position: relative;
    width: 100%;
    max-width: 1080px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    transform: translateY(24px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
.v3-map-modal.open .v3-map-modal-inner {
    transform: translateY(0) scale(1);
}

/* Modal close button */
.v3-map-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.v3-map-modal-close:hover { background: #ef4444; border-color: #ef4444; }

/* Modal map container */
.v3-map-modal-map {
    flex: 1;
    min-height: 400px;
    max-height: calc(90vh - 80px);
    background: #e8ecef;
}

/* Modal footer */
.v3-map-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: white;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.v3-map-modal-info { flex: 1; min-width: 0; }
.v3-map-modal-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}
.v3-map-modal-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--fg-muted);
    font-family: var(--font-body);
}
.v3-map-modal-meta span { display: flex; align-items: center; gap: 5px; }
.v3-map-modal-price-wrap { text-align: right; flex-shrink: 0; }
.v3-map-modal-from { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 2px; }
.v3-map-modal-price { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--fg); }
.v3-map-modal-enquire {
    display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
    padding: 10px 22px; background: var(--accent); color: white;
    font-family: var(--font-body); font-size: 13px; font-weight: 600;
    border: none; border-radius: 8px; cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(251,165,4,0.35);
    letter-spacing: 0.02em;
}
.v3-map-modal-enquire:hover { background: #e09400; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(251,165,4,0.45); }
.v3-map-modal-enquire:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(251,165,4,0.3); }

/* ── ANIMATED TRAVELLING DOTS ── */
.hsj-route-dot { background: transparent !important; border: none !important; }
.hsj-dot-inner {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #FBA504;
    box-shadow: 0 0 0 3px rgba(251,165,4,0.25), 0 0 10px rgba(251,165,4,0.6);
    animation: hsjDotPulse 1.4s ease-in-out infinite;
}
@keyframes hsjDotPulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 0 0 3px rgba(251,165,4,0.25), 0 0 10px rgba(251,165,4,0.5); }
    50%       { transform: scale(1.35); box-shadow: 0 0 0 5px rgba(251,165,4,0.15), 0 0 18px rgba(251,165,4,0.7); }
}

/* ── MOBILE HERO INLINE VIDEO ──(hidden — corner thumbnail used instead) */
.v3-hero-video-inline { display: none !important; }

@media (max-width: 576px) {
  .v3-hero-video-inline {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
  }

  .v3-hero-video-inline:hover { background: rgba(255,255,255,0.18); }

  .v3-hero-video-inline-thumb {
    width: 80px;
    height: 52px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .v3-hero-video-inline-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
  }

  .v3-hero-video-inline-play {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .v3-hero-video-inline-label {
    flex: 1;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-align: left;
    letter-spacing: 0.03em;
    font-family: var(--font-body);
  }
}

/* ══════════════════════════════════════════════════════════
   PDF DOWNLOAD BUTTON (screen only)
   ══════════════════════════════════════════════════════════ */
.v3-pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    color: #374151;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: border-color 0.18s, color 0.18s, background 0.18s;
    margin-bottom: 14px;
}
.v3-pdf-btn:hover {
    border-color: #FBA504;
    color: #FBA504;
    background: rgba(251,165,4,0.03);
}
.v3-pdf-btn svg { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   PRINT / PDF STYLES
   ══════════════════════════════════════════════════════════ */

/* Print header — hidden on screen, shown in print */
.v3-print-header { display: none; }

@media print {

    /* ── Page setup ── */
    @page {
        size: A4;
        margin: 12mm 14mm 14mm 14mm;
    }
    @page :first { margin-top: 8mm; }

    /* ── Global resets ── */
    *, *::before, *::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    html, body {
        overflow: visible !important;
        background: #fff !important;
    }

    /* ── Hide everything not needed in PDF ── */
    #header,
    #header-sticky,
    .header-sticky,
    nav,
    footer,
    #footer,
    .v3-sticky-nav,
    .v3-sidebar,
    .v3-gallery,
    .v3-video-section,
    #videos,
    #reviews,
    .v3-reviews-section,
    .v3-related,
    .v3-map-modal,
    .v3-map-click-overlay,
    .v3-route-map-wrap,
    .v3-pdf-btn,
    .v3-hero-scroll-hint,
    .v3-hero-down-arrow,
    .hsj-sticky-bar,
    .v3-day-chevron,
    .v3-map-view-btn,
    [data-toggle="modal"],
    .btn-enquiry,
    .v3-enquiry-btn,
    .v3-booking-actions,
    .v3-group-discount-toggle,
    .v3-pricing-table,
    .v3-expert-card,
    .v3-booking-trust,
    .v3-booking-card,
    .cookie-consent,
    .back-to-top,
    script,
    iframe { display: none !important; }

    /* ── Print header ── */
    .v3-print-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 10px;
        margin-bottom: 14px;
        border-bottom: 2.5px solid #FBA504;
    }
    .v3-print-logo { height: 36px; width: auto; object-fit: contain; }
    .v3-print-header-meta {
        text-align: right;
        font-size: 10px;
        color: #6b7280;
        line-height: 1.6;
        font-family: Arial, sans-serif;
    }

    /* ── Hero: compact for print ── */
    .v3-hero {
        min-height: 200px !important;
        max-height: 220px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        page-break-after: avoid;
    }
    .v3-hero-content { padding: 0 20px 20px !important; }
    .v3-hero-title { font-size: 24px !important; }
    .v3-hero-pills { gap: 6px !important; }
    .v3-hero-pill { font-size: 10px !important; padding: 3px 8px !important; }
    .v3-hero-badge-wrap { top: 12px !important; right: 12px !important; }

    /* ── Layout: single column, no sidebar ── */
    .tour-page-v3 { padding: 0 !important; }
    .v3-layout {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    .v3-main {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    /* ── Sections ── */
    .v3-section {
        margin-bottom: 18px !important;
        padding-bottom: 0 !important;
        page-break-inside: avoid;
    }
    .v3-section-heading {
        font-size: 16px !important;
        margin-bottom: 10px !important;
        padding-bottom: 6px !important;
        border-bottom: 1px solid #e5e7eb;
    }
    .v3-section-heading em { font-style: italic; color: #FBA504; }

    /* ── Quick facts ── */
    .v3-quick-facts {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }
    .v3-fact-item { padding: 10px 12px !important; background: #fafafa !important; }
    .v3-fact-label { font-size: 9px !important; }
    .v3-fact-value { font-size: 12px !important; }
    .v3-fact-icon { width: 14px !important; height: 14px !important; }

    /* ── Overview text ── */
    .v3-prose p { font-size: 11px !important; line-height: 1.65 !important; color: #374151 !important; }
    .v3-prose h2, .v3-prose h3 { font-size: 13px !important; }
    .v3-highlights-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
    .v3-hl-item { font-size: 11px !important; padding: 6px 10px !important; }

    /* ── Itinerary: force all days open ── */
    .v3-day-row { page-break-inside: avoid !important; background: transparent !important; }
    .v3-day-desc {
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
        margin-top: 6px !important;
        font-size: 11px !important;
        line-height: 1.6 !important;
        color: #4b5563 !important;
    }
    .v3-day-desc p { font-size: 11px !important; color: #4b5563 !important; margin-bottom: 4px !important; }
    .v3-day-body { padding: 10px 8px 10px 12px !important; border-bottom: 1px solid #f3f4f6 !important; }
    .v3-day-name { font-size: 12px !important; font-weight: 600 !important; }
    .v3-day-circle { width: 26px !important; height: 26px !important; font-size: 9px !important; }
    .v3-day-chips { margin-top: 4px !important; gap: 4px !important; }
    .v3-day-chip { font-size: 9px !important; padding: 2px 6px !important; }
    .v3-day-row::before { left: 35px !important; }
    .v3-itinerary-grid { border-radius: 6px !important; }

    /* ── Includes / Excludes ── */
    .v3-inc-split { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .v3-inc-col-label { font-size: 11px !important; }
    .v3-inc-text { font-size: 11px !important; }
    .v3-inc-row { gap: 6px !important; padding: 4px 0 !important; }
    .v3-inc-badge { width: 16px !important; height: 16px !important; flex-shrink: 0 !important; }

    /* ── Equipment ── */
    .v3-equip-items-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 5px !important; }
    .v3-equip-item { font-size: 10px !important; padding: 6px 8px !important; }
    .v3-equip-tab { font-size: 11px !important; padding: 6px 10px !important; }
    .v3-equip-check-icon { width: 16px !important; height: 16px !important; }

    /* ── FAQ ── */
    .v3-faq-answer { display: block !important; max-height: none !important; font-size: 11px !important; }
    .v3-faq-item { page-break-inside: avoid !important; }
    .v3-faq-q { font-size: 12px !important; }

    /* ── Route destinations bar (map preview) ── */
    .v3-route-destinations {
        border: 1px solid #e5e7eb !important;
        border-radius: 6px !important;
    }
    .v3-rd-name { font-size: 11px !important; }
    .v3-rd-badge { font-size: 9px !important; }

    /* ── Print footer on each page ── */
    .tour-page-v3::after {
        content: "Himalayan Social Journey  ·  hsj.com.np  ·  info@hsj.com.np  ·  +977 9810650405";
        display: block;
        text-align: center;
        font-size: 9px;
        color: #9ca3af;
        border-top: 1px solid #e5e7eb;
        padding-top: 8px;
        margin-top: 20px;
        font-family: Arial, sans-serif;
    }

}

/* ============================================================
   Altitude Profile Chart
   ============================================================ */
.v3-alt-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.v3-alt-stats {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 0;
}
.v3-alt-stat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 140px;
    color: var(--fg-muted);
}
.v3-alt-stat svg {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--accent);
}
.v3-alt-stat-val {
    font-size: 18px;
    font-weight: 600;
    color: var(--fg);
    line-height: 1.1;
    font-family: var(--font-display);
}
.v3-alt-stat-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fg-muted);
    margin-top: 2px;
}
.v3-alt-stat-day {
    font-size: 12px;
    color: var(--fg-muted);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}
.v3-alt-stat-divider {
    width: 1px;
    background: var(--border);
    margin: 0 24px;
    align-self: stretch;
}
.v3-alt-chart-outer {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    background: #fff;
    padding: 12px 52px 8px 52px;
    min-height: 220px;
    overflow: visible;
}
.v3-alt-svg {
    display: block;
    width: 100%;
    height: 200px;
    overflow: visible;
    cursor: crosshair;
}
/* SVG elements */
.v3-alt-area {
    fill: url(#altGrad);
}
.v3-alt-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.v3-alt-dot {
    fill: #fff;
    stroke: var(--accent);
    stroke-width: 2;
    cursor: pointer;
    transition: r 0.1s;
}
.v3-alt-dot--active {
    fill: var(--accent);
}
.v3-alt-crosshair {
    stroke: var(--accent);
    stroke-width: 1;
    stroke-dasharray: 4 3;
    opacity: 0.5;
}
#hsj-alt-grid line {
    stroke: var(--border);
    stroke-width: 1;
}
/* Y-axis labels */
.v3-alt-y-axis {
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 8px;
    width: 48px;
    pointer-events: none;
}
.v3-alt-y-axis span {
    position: absolute;
    right: 6px;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--fg-muted);
    white-space: nowrap;
    font-family: var(--font-body);
}
/* X-axis labels */
.v3-alt-x-axis {
    position: relative;
    height: 22px;
    padding: 0 52px;
    margin-top: 2px;
}
.v3-alt-x-axis span {
    position: absolute;
    transform: translateX(-50%);
    font-size: 10.5px;
    color: var(--fg-muted);
    font-family: var(--font-body);
    white-space: nowrap;
}
/* Tooltip */
.v3-alt-tooltip {
    display: none;
    position: absolute;
    background: #1f2937;
    color: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    pointer-events: none;
    z-index: 10;
    min-width: 140px;
    max-width: 200px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.v3-alt-tt-day {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2px;
}
.v3-alt-tt-title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 4px;
}
.v3-alt-tt-alt {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-display);
}

/* ── Altitude responsive ── */
@media (max-width: 900px) {
    .v3-alt-stat-day { max-width: 140px; }
    .v3-alt-stat-divider { margin: 0 16px; }
}
@media (max-width: 680px) {
    .v3-alt-stats {
        padding: 14px 16px;
        gap: 12px 0;
    }
    .v3-alt-stat-divider { display: none; }
    /* 3 stats side-by-side on tablet/large phone */
    .v3-alt-stat {
        flex: 0 0 33.333%;
        min-width: 0;
        gap: 7px;
    }
    .v3-alt-stat-val { font-size: 15px; }
    .v3-alt-stat-lbl { font-size: 10px; }
    .v3-alt-stat-day { font-size: 11px; max-width: 100%; }
}
@media (max-width: 480px) {
    /* Stack into 2-column grid on small phones */
    .v3-alt-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px 14px;
    }
    /* Hide 3rd stat divider (there are none, but keep rule) */
    .v3-alt-stat { flex: unset; min-width: 0; }
    .v3-alt-chart-outer {
        padding: 10px 36px 8px 36px;
        min-height: 160px;
    }
    .v3-alt-svg { height: 150px; }
    .v3-alt-y-axis { width: 34px; }
    .v3-alt-y-axis span { font-size: 9px; right: 4px; }
    .v3-alt-x-axis { padding: 0 36px; }
    .v3-alt-x-axis span { font-size: 9.5px; }
    .v3-alt-tooltip { min-width: 120px; font-size: 11px; padding: 6px 10px; }
    .v3-alt-tt-alt { font-size: 13px; }
}

/* ============================================================
   Weather Chart
   ============================================================ */
.v3-weather-wrap {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.v3-weather-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: #fff;
}
.v3-weather-tab {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fg-muted);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    font-family: var(--font-body);
    text-align: center;
    white-space: nowrap;
}
.v3-weather-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.v3-weather-tab:hover:not(.active) {
    color: var(--fg);
}
.v3-weather-panel {
    display: none;
    padding: 20px 24px 16px;
}
.v3-weather-panel.active { display: block; }
.v3-weather-chart-wrap {
    position: relative;
    height: 220px;
    width: 100%;
}
.v3-weather-canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.v3-weather-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    justify-content: flex-end;
}
.v3-weather-unit-btn {
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: #fff;
    color: var(--fg-muted);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.15s;
}
.v3-weather-unit-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.v3-weather-note {
    font-size: 11px;
    color: var(--fg-muted);
    margin-top: 8px;
    text-align: center;
}
.v3-weather-best-months {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.v3-weather-month-pill {
    font-size: 11.5px;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid var(--border);
    font-family: var(--font-body);
    color: var(--fg-muted);
    background: #fff;
}
.v3-weather-month-pill.best {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
    font-weight: 500;
}
.v3-weather-month-pill.ok {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}
.v3-weather-month-pill.avoid {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* Season cards grid */
.v3-weather-seasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ── Weather responsive ── */
@media (max-width: 680px) {
    .v3-weather-panel { padding: 16px 16px 12px; }
    .v3-weather-chart-wrap { height: 190px; }
    .v3-weather-tab { font-size: 12px; padding: 10px 12px; }
}
@media (max-width: 480px) {
    .v3-weather-panel { padding: 12px 12px 10px; }
    .v3-weather-chart-wrap { height: 165px; }
    .v3-weather-tab { font-size: 11.5px; padding: 9px 8px; }
    .v3-weather-note { font-size: 10.5px; }
    .v3-weather-seasons-grid { grid-template-columns: 1fr; gap: 10px; }
    .v3-weather-toggle { margin-top: 8px; }
}

/* ============================================================
   Alternative Itinerary Callout
   ============================================================ */
.v3-alt-itinerary-callout {
    margin-top: 24px;
    background: #fffbf0;
    border: 1.5px solid #FBA504;
    border-radius: 12px;
    padding: 20px 22px;
}
.v3-alt-itin-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #92600a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}
.v3-alt-itin-header svg {
    color: #FBA504;
    flex-shrink: 0;
}
.v3-alt-itin-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.v3-alt-itin-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid #fde9b0;
    border-radius: 8px;
    padding: 14px 16px;
}
.v3-alt-itin-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #fff7e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FBA504;
}
.v3-alt-itin-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.v3-alt-itin-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.v3-alt-itin-badge {
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: #FBA504;
    border-radius: 20px;
    padding: 2px 8px;
    letter-spacing: 0.03em;
}
.v3-alt-itin-card-desc {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
}
.v3-alt-itin-link {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: #FBA504;
    text-decoration: none;
    margin-top: 2px;
}
.v3-alt-itin-link:hover {
    text-decoration: underline;
    color: #d4890a;
}
@media (max-width: 680px) {
    .v3-alt-itin-options { grid-template-columns: 1fr; }
    .v3-alt-itinerary-callout { padding: 16px; }
}
