/* =============================================================
   HSJ Travel Mega Menu — Full Replacement
   3-layer header: utility bar + main nav + mega panels
   ============================================================= */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --hsj-navy:        #1A4B89;
  --hsj-dk:          #0C1E38;
  --hsj-amber:       #FBA504;
  --hsj-amber-dk:    #e09400;
  --hsj-white:       #ffffff;
  --hsj-off:         #f7f8fa;
  --hsj-border:      #e8ecf0;
  --hsj-text:        #1e293b;
  --hsj-muted:       #64748b;
  --hsj-serif:       'Cormorant Garamond', 'Georgia', serif;
  --hsj-sans:        'Outfit', 'Poppins', system-ui, sans-serif;
  --hsj-util-h:      34px;
  --hsj-nav-h:       68px;
  --hsj-header-tot:  calc(var(--hsj-util-h) + var(--hsj-nav-h));
  --hsj-radius:      6px;
  --hsj-shadow:      0 8px 32px rgba(12,30,56,.13);
  --hsj-trans:       .22s cubic-bezier(.4,0,.2,1);
}

/* ── Hide legacy top bar (replaced by hsj-util) ─────────── */
.hsj-top-bar { display: none !important; }

/* ── Reset helpers ─────────────────────────────────────────── */
.hsj-util *,
.hsj-nav *,
.hsj-mega-wrap *,
.hsj-drawer *,
.hsj-overlay {
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   1. UTILITY BAR
═══════════════════════════════════════════════════════════ */
.hsj-util {
  height: var(--hsj-util-h);
  background: #09579d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-family: var(--hsj-sans);
  font-size: 12px;
  color: rgba(255,255,255,.78);
  position: relative;
  z-index: 901;
  transition: height var(--hsj-trans), opacity var(--hsj-trans), transform var(--hsj-trans);
  overflow: hidden;
  will-change: height, opacity;
}

.hsj-util.hidden {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.hsj-util a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .15s;
  font-size: 12px;
  white-space: nowrap;
}
.hsj-util a:hover { color: var(--hsj-amber); }

.hsj-util-left,
.hsj-util-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hsj-util-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.22);
  flex-shrink: 0;
}

/* TripAdvisor badge */
.hsj-util-ta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  white-space: nowrap;
}
.hsj-util-ta svg { color: #34e0a1; flex-shrink: 0; }

/* WhatsApp link */
.hsj-util-wa {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hsj-util-wa svg { color: #25d366; }

/* Currency button */
.hsj-util-currency {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  color: rgba(255,255,255,.78);
  font-family: var(--hsj-sans);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.hsj-util-currency:hover {
  border-color: var(--hsj-amber);
  color: var(--hsj-amber);
}
.hsj-util-currency img {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 1px;
}
.hsj-util-currency svg { opacity: .6; }

/* ═══════════════════════════════════════════════════════════
   2. MAIN NAV
═══════════════════════════════════════════════════════════ */
.hsj-nav {
  height: var(--hsj-nav-h);
  background: var(--hsj-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-family: var(--hsj-sans);
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--hsj-trans), border-color var(--hsj-trans);
}

.hsj-nav.scrolled {
  box-shadow: 0 2px 20px rgba(12,30,56,.12);
  border-bottom-color: var(--hsj-border);
}

/* ── Logo ── */
.hsj-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.hsj-logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.hsj-logo-img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.hsj-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hsj-logo-name {
  font-family: var(--hsj-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--hsj-dk);
  letter-spacing: -.2px;
  white-space: nowrap;
}
.hsj-logo-name em {
  font-style: italic;
  color: var(--hsj-amber);
}

.hsj-logo-sub {
  font-family: var(--hsj-sans);
  font-size: 9.5px;
  font-weight: 400;
  color: var(--hsj-muted);
  letter-spacing: .3px;
  white-space: nowrap;
  margin-top: 1px;
}

/* ── Nav list ── */
.hsj-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.hsj-nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.hsj-nav-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  height: 100%;
  background: none;
  border: none;
  font-family: var(--hsj-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hsj-text);
  cursor: pointer;
  transition: color var(--hsj-trans);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}

.hsj-nav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--hsj-amber);
  transform: scaleX(0);
  transition: transform var(--hsj-trans);
}

.hsj-nav-btn:hover,
.hsj-nav-item.open .hsj-nav-btn {
  color: var(--hsj-navy);
}

.hsj-nav-item.open .hsj-nav-btn::after,
.hsj-nav-btn:hover::after {
  transform: scaleX(1);
}

.hsj-nav-chevron {
  transition: transform var(--hsj-trans);
  opacity: .55;
  flex-shrink: 0;
}
.hsj-nav-item.open .hsj-nav-chevron { transform: rotate(180deg); opacity: .85; }

/* ── Right controls ── */
.hsj-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hsj-nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--hsj-border);
  border-radius: 50%;
  color: var(--hsj-text);
  cursor: pointer;
  transition: border-color var(--hsj-trans), color var(--hsj-trans), background var(--hsj-trans);
}
.hsj-nav-search-btn:hover,
.hsj-nav-search-btn.active {
  border-color: var(--hsj-navy);
  color: var(--hsj-navy);
  background: var(--hsj-off);
}

.hsj-nav-divider {
  width: 1px;
  height: 22px;
  background: var(--hsj-border);
  flex-shrink: 0;
}

.hsj-nav-phone {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--hsj-text);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}
.hsj-nav-phone:hover { color: var(--hsj-navy); }
.hsj-nav-phone svg { color: var(--hsj-navy); flex-shrink: 0; }

.hsj-nav-plan {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  height: 38px;
  background: var(--hsj-amber);
  color: var(--hsj-dk);
  text-decoration: none;
  font-family: var(--hsj-sans);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: .2px;
  transition: background var(--hsj-trans), transform var(--hsj-trans);
  white-space: nowrap;
}
.hsj-nav-plan:hover {
  background: var(--hsj-amber-dk);
  transform: translateY(-1px);
}

/* Hamburger */
.hsj-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--hsj-border);
  border-radius: var(--hsj-radius);
  cursor: pointer;
  padding: 0;
}
.hsj-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--hsj-text);
  border-radius: 2px;
  transition: all .2s;
}

/* ═══════════════════════════════════════════════════════════
   3. MEGA PANEL WRAPPER
═══════════════════════════════════════════════════════════ */
.hsj-mega-wrap {
  position: fixed;
  top: var(--hsj-header-tot);
  left: 0;
  right: 0;
  z-index: 899;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}

.hsj-mega-wrap.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

/* ── Individual panel ── */
.hsj-mega-panel {
  display: none;
  background: var(--hsj-white);
  box-shadow: var(--hsj-shadow);
  width: 100%;
}

.hsj-mega-panel.active {
  display: flex;
  flex-direction: column;
}

/* Panel search row */
.hsj-panel-search {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 32px;
  border-bottom: 1px solid var(--hsj-border);
  background: var(--hsj-off);
  position: relative;
  width: 100%;
  flex-wrap: wrap;
}

/* Mega menu search results dropdown */
.hsj-panel-results {
  background: var(--hsj-white, #fff) !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin-top: 0 !important;
  z-index: 1000;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 12px 32px rgba(12,30,56,.15) !important;
  border: 1px solid var(--hsj-border);
  border-top: none;
  max-height: 420px;
  overflow-y: auto;
}
.hsj-panel-results .version_search_3_results_header {
  padding: 10px 16px;
  background: var(--hsj-navy) !important;
}
.hsj-panel-results .version_search_3_results_title { display: none; }
.hsj-panel-results .version_search_3_results_count {
  font-size: 12px;
  color: rgba(255,255,255,.8);
  margin: 0;
}
.hsj-panel-results .version_search_3_results_list {
  padding: 8px 0 !important;
  background: var(--hsj-white);
}

.hsj-panel-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 460px;
  background: var(--hsj-white);
  border: 1.5px solid var(--hsj-border);
  border-radius: 8px;
  padding: 0 14px;
  height: 36px;
  transition: border-color .15s, box-shadow .15s;
}
.hsj-panel-search-inner:focus-within {
  border-color: var(--hsj-navy);
  box-shadow: 0 0 0 3px rgba(26,75,137,.08);
}

.hsj-panel-search-inner svg { color: var(--hsj-muted); flex-shrink: 0; }

.hsj-panel-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--hsj-sans);
  font-size: 13px;
  color: var(--hsj-text);
  background: transparent;
}
.hsj-panel-search-input::placeholder { color: var(--hsj-muted); }

.hsj-panel-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hsj-panel-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--hsj-navy);
  background: rgba(26,75,137,.09);
  border: 1px solid rgba(26,75,137,.15);
  border-radius: 6px;
  padding: 3px 10px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.hsj-panel-tag:hover {
  background: var(--hsj-navy);
  color: var(--hsj-white);
  border-color: var(--hsj-navy);
}

/* Panel body */
.hsj-panel-body {
  display: flex;
  gap: 0;
  padding: 0 0 0 32px;
  max-height: 480px;
}

/* Columns area */
.hsj-mega-cols {
  display: flex;
  flex: 1;
  gap: 0;
  padding: 22px 0 24px;
  overflow: hidden;
}

.hsj-mega-col {
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid var(--hsj-border);
  opacity: 0;
  transform: translateY(6px);
  animation: colIn .26s ease forwards;
  min-width: 0;
}
.hsj-mega-col:first-child { padding-left: 4px; }
.hsj-mega-col:last-of-type { border-right: none; }

/* Stagger delays */
.hsj-mega-col:nth-child(1) { animation-delay: .03s; }
.hsj-mega-col:nth-child(2) { animation-delay: .07s; }
.hsj-mega-col:nth-child(3) { animation-delay: .11s; }
.hsj-mega-col:nth-child(4) { animation-delay: .15s; }

@keyframes colIn {
  to { opacity: 1; transform: none; }
}

/* Category heading */
.hsj-cat {
  font-family: var(--hsj-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--hsj-navy);
  opacity: .7;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(26,75,137,.12);
}

/* Sub-category heading */
.hsj-subcat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--hsj-muted);
  margin: 14px 0 6px;
}

/* Link list */
.hsj-mlinks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hsj-mlinks li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hsj-mlinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 7px 8px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  color: var(--hsj-text);
  transition: background .12s, color .12s, padding-left .12s;
  gap: 6px;
}
.hsj-mlinks a:hover {
  background: rgba(26,75,137,.07);
  color: var(--hsj-navy);
  padding-left: 12px;
}

.hsj-mlinks-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

/* Badges */
.hsj-lbadge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 2px 6px;
  line-height: 1.4;
  flex-shrink: 0;
}
.hsj-lbadge--pop {
  background: rgba(251,165,4,.18);
  color: #a06000;
}
.hsj-lbadge--new {
  background: rgba(16,185,129,.14);
  color: #0a7a55;
}

/* Price */
.hsj-lprice {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hsj-navy);
  flex-shrink: 0;
  white-space: nowrap;
}

/* "All X →" link */
.hsj-mlinks .hsj-all-link {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--hsj-border);
}
.hsj-mlinks .hsj-all-link a {
  color: var(--hsj-navy);
  font-weight: 600;
  font-size: 12px;
}
.hsj-mlinks .hsj-all-link a:hover {
  background: rgba(26,75,137,.08);
  padding-left: 10px;
}

/* ── Featured card ── */
.hsj-mega-feat {
  width: 220px;
  min-height: 280px;
  flex-shrink: 0;
  background: var(--hsj-dk);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--hsj-white);
  transition: transform .2s ease;
}
.hsj-mega-feat:hover { transform: scale(1.02); }
.hsj-mega-feat:hover .hsj-mega-feat-img { opacity: .65; }

.hsj-mega-feat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  transition: opacity .2s ease;
}

.hsj-mega-feat-body {
  position: relative;
  z-index: 1;
  padding: 20px 18px;
  background: linear-gradient(to top, rgba(12,30,56,.95) 0%, rgba(12,30,56,.4) 60%, transparent 100%);
}

.hsj-mega-feat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--hsj-amber);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hsj-mega-feat-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--hsj-amber);
  border-radius: 2px;
}

.hsj-mega-feat-title {
  font-family: var(--hsj-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--hsj-white);
  margin-bottom: 6px;
}

.hsj-mega-feat-meta {
  font-size: 11px;
  color: rgba(255,255,255,.68);
  line-height: 1.5;
  margin-bottom: 2px;
}

.hsj-mega-feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hsj-amber);
  letter-spacing: .2px;
}

/* ═══════════════════════════════════════════════════════════
   4. MOBILE DRAWER
═══════════════════════════════════════════════════════════ */
.hsj-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,30,56,.5);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.hsj-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.hsj-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 90vw;
  background: var(--hsj-white);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hsj-drawer.open { transform: translateX(0); }

.hsj-drw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hsj-border);
  flex-shrink: 0;
  gap: 12px;
}

.hsj-drw-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.hsj-drw-logo-name {
  font-family: var(--hsj-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--hsj-dk);
}
.hsj-drw-logo-name em {
  font-style: italic;
  color: var(--hsj-amber);
}

.hsj-drw-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid var(--hsj-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--hsj-text);
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}

/* Drawer search */
.hsj-drw-search {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hsj-border);
  flex-shrink: 0;
}
.hsj-drw-search-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--hsj-off);
  border: 1px solid var(--hsj-border);
  border-radius: 20px;
  padding: 0 14px;
  height: 38px;
}
.hsj-drw-search-inner svg { color: var(--hsj-muted); flex-shrink: 0; }
.hsj-drw-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--hsj-sans);
  font-size: 13px;
  color: var(--hsj-text);
}
.hsj-drw-search-input::placeholder { color: var(--hsj-muted); }

/* Drawer nav */
.hsj-drw-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.hsj-drw-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  font-family: var(--hsj-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--hsj-text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background .12s;
}
.hsj-drw-btn:hover { background: var(--hsj-off); color: var(--hsj-navy); }

.hsj-drw-chevron {
  transition: transform .18s;
  opacity: .5;
  flex-shrink: 0;
}
.hsj-drw-item.open .hsj-drw-chevron { transform: rotate(180deg); opacity: .8; }

.hsj-drw-sub {
  display: none;
  padding: 4px 0 8px 16px;
  background: var(--hsj-off);
  border-top: 1px solid var(--hsj-border);
}
.hsj-drw-item.open .hsj-drw-sub { display: block; }

/* Drawer sub-section heading */
.hsj-drw-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--hsj-navy);
  opacity: .6;
  margin: 12px 16px 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--hsj-border);
}
.hsj-drw-heading:first-child { margin-top: 4px; }

.hsj-drw-sub a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--hsj-muted);
  text-decoration: none;
  transition: color .12s;
}
.hsj-drw-sub a:hover { color: var(--hsj-navy); }

/* Drawer link with meta (duration + badge) */
.hsj-drw-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hsj-drw-link-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hsj-drw-link-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.hsj-drw-duration {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}
.hsj-drw-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 1px 5px;
  line-height: 1.5;
}
.hsj-drw-badge--pop {
  background: rgba(251,165,4,.18);
  color: #a06000;
}
.hsj-drw-badge--new {
  background: rgba(16,185,129,.14);
  color: #0a7a55;
}
.hsj-drw-all {
  color: var(--hsj-navy) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  margin-top: 2px;
  padding-top: 6px !important;
  border-top: 1px solid var(--hsj-border);
}

/* Drawer footer */
.hsj-drw-foot {
  padding: 14px 16px;
  border-top: 1px solid var(--hsj-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.hsj-drw-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  background: var(--hsj-amber);
  color: var(--hsj-dk);
  text-decoration: none;
  font-family: var(--hsj-sans);
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: .2px;
}
.hsj-drw-plan:hover { background: var(--hsj-amber-dk); }

/* ═══════════════════════════════════════════════════════════
   5. PLAN MY TRIP MODAL
═══════════════════════════════════════════════════════════ */
.hsj-plan-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(12,30,56,.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.hsj-plan-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.hsj-plan-modal {
  background: var(--hsj-white);
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 24px 20px;
  position: relative;
  box-shadow: 0 20px 48px rgba(12,30,56,.22);
  transform: translateY(10px) scale(.98);
  transition: transform .22s ease;
}
.hsj-plan-overlay.open .hsj-plan-modal {
  transform: none;
}

/* Close button */
.hsj-plan-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--hsj-border);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--hsj-muted);
  transition: background .15s, color .15s;
}
.hsj-plan-close:hover {
  background: var(--hsj-off);
  color: var(--hsj-text);
}

/* Header */
.hsj-plan-head {
  text-align: center;
  margin-bottom: 18px;
}
.hsj-plan-icon {
  width: 40px;
  height: 40px;
  background: rgba(251,165,4,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hsj-amber);
  margin: 0 auto 10px;
}
.hsj-plan-icon svg { width: 20px; height: 20px; }
.hsj-plan-title {
  font-family: var(--hsj-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--hsj-dk);
  margin: 0 0 4px;
  line-height: 1.2;
}
.hsj-plan-subtitle {
  font-size: 12.5px;
  color: var(--hsj-muted);
  margin: 0;
  line-height: 1.4;
}

/* Form */
.hsj-plan-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hsj-plan-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hsj-plan-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hsj-plan-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--hsj-text);
  font-family: var(--hsj-sans);
}
.hsj-plan-label span { color: var(--hsj-amber); }

.hsj-plan-input {
  width: 100%;
  height: 36px;
  padding: 0 11px;
  border: 1.5px solid var(--hsj-border);
  border-radius: 7px;
  font-family: var(--hsj-sans);
  font-size: 13px;
  color: var(--hsj-text);
  background: var(--hsj-white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.hsj-plan-input::placeholder { font-size: 11.5px; color: #aab4c0; }
.hsj-plan-input:focus {
  border-color: var(--hsj-navy);
  box-shadow: 0 0 0 3px rgba(26,75,137,.1);
}
.hsj-plan-input.error { border-color: #e53e3e; }
.hsj-plan-textarea {
  height: auto;
  padding: 8px 11px;
  resize: vertical;
  min-height: 70px;
}

.hsj-plan-err {
  font-size: 11px;
  color: #e53e3e;
  min-height: 14px;
}

.hsj-plan-submit {
  height: 40px;
  background: var(--hsj-amber);
  color: var(--hsj-dk);
  border: none;
  border-radius: 7px;
  font-family: var(--hsj-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  letter-spacing: .2px;
  transition: background .15s, transform .12s;
  margin-top: 2px;
}
.hsj-plan-submit:hover { background: var(--hsj-amber-dk); }
.hsj-plan-submit:active { transform: scale(.98); }
.hsj-plan-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.hsj-plan-note {
  text-align: center;
  font-size: 11px;
  color: var(--hsj-muted);
  margin: 0;
}

/* Success state */
.hsj-plan-success {
  display: none;
  text-align: center;
  padding: 20px 0 10px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hsj-plan-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16,185,129,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a7a55;
}
.hsj-plan-success h3 {
  font-family: var(--hsj-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--hsj-dk);
  margin: 0;
}
.hsj-plan-success p {
  font-size: 13.5px;
  color: var(--hsj-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .hsj-plan-modal { padding: 28px 20px 22px; }
  .hsj-plan-row--2 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   6. RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1060px) {
  .hsj-nav-list { display: none; }
  .hsj-hamburger { display: flex; }
  .hsj-nav-phone { display: none; }
  .hsj-nav-divider { display: none; }
  .hsj-mega-wrap { display: none; }
}

@media (max-width: 640px) {
  .hsj-util { display: none; }
  .hsj-nav { padding: 0 14px; }
  .hsj-nav-plan { padding: 0 12px; font-size: 12px; }
  .hsj-logo-text { display: none; }
}

@media (min-width: 641px) and (max-width: 1060px) {
  .hsj-util { padding: 0 16px; }
  .hsj-util-left .hsj-util-sep:last-of-type,
  .hsj-util-left a:last-of-type { display: none; }
}

/* ── Drawer search results ── */
.hsj-drw-results {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1200;
  max-height: 50vh;
  overflow-y: auto;
  background: var(--hsj-white);
  box-shadow: 0 8px 24px rgba(12,30,56,.15);
  border-radius: 0 0 8px 8px;
}
.hsj-drw-search { position: relative; }

/* ── Drawer nav — defensive overrides for mobile ── */
.hsj-drawer .hsj-drw-nav {
  display: block !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 0 !important;
}
.hsj-drawer .hsj-drw-item {
  display: block !important;
  visibility: visible !important;
}
.hsj-drawer .hsj-drw-btn {
  display: flex !important;
  visibility: visible !important;
  color: var(--hsj-text) !important;
}

/* ── Panel search live result items ─────────────────────────── */
.hsj-panel-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  text-decoration: none;
  color: var(--hsj-text, #16314f);
  border-bottom: 1px solid var(--hsj-border, #e8edf3);
  transition: background 0.12s;
}
.hsj-panel-result-item:last-of-type { border-bottom: none; }
.hsj-panel-result-item:hover { background: #f5f8fc; }

.hsj-panel-result-img {
  width: 44px;
  height: 34px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #e8edf3;
}
.hsj-panel-result-img--empty { background: #e8edf3; }

.hsj-panel-result-info {
  flex: 1;
  min-width: 0;
}
.hsj-panel-result-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--hsj-navy, #16314f);
}
.hsj-panel-result-dur {
  font-size: 0.75rem;
  color: var(--hsj-muted, #8a9bb0);
}
.hsj-panel-result-price {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hsj-panel-result-price span {
  font-size: 0.65rem;
  color: var(--hsj-muted, #8a9bb0);
  letter-spacing: 0.04em;
}
.hsj-panel-result-price strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--hsj-navy, #16314f);
}
.hsj-panel-result-all {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.84rem;
  color: var(--hsj-navy, #16314f);
  text-decoration: none;
  border-top: 1px solid var(--hsj-border, #e8edf3);
  background: var(--hsj-off, #f7f9fc);
  transition: color 0.12s;
}
.hsj-panel-result-all:hover { color: var(--hsj-amber, #FBA504); }
.hsj-panel-result-all strong { color: var(--hsj-navy, #16314f); }
