/* Shared styles for the whole site: pop-ups, photo gallery and the phone layout. */
img { max-width: 100%; }
.itg-modal[hidden] { display: none !important; }
.itg-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(12, 22, 30, 0.62); display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; }
.itg-dialog { background: #FFFFFF; border-radius: 20px; width: 100%; max-width: 760px; max-height: calc(100vh - 48px); overflow: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); position: relative; font-family: 'Figtree', system-ui, sans-serif; color: #16232E; }
.itg-dialog header { position: sticky; top: 0; background: #FFFFFF; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid #EAE4DA; z-index: 2; }
.itg-dialog h2 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 24px; color: #1B3547; }
.itg-close { width: 44px; height: 44px; border: 0; border-radius: 999px; background: #F6F3EE; font-size: 22px; line-height: 1; cursor: pointer; color: #16232E; }
.itg-body { padding: 20px 24px 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.itg-body label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: #33424E; }
.itg-body input, .itg-body textarea { height: 44px; padding: 0 12px; border: 1px solid #DDD6CB; border-radius: 10px; font-size: 15px; font-family: inherit; box-sizing: border-box; }
.itg-body textarea { height: auto; padding: 10px 12px; resize: vertical; }
.itg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 12px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.itg-btn-primary { background: #E0A100; color: #1B3547; border: 0; }
.itg-btn-primary:hover { background: #C98F00; color: #1B3547; }
.itg-btn-dark { background: #1B3547; color: #FFFFFF; border: 0; }
.itg-btn-ghost { background: #FFFFFF; color: #1B3547; border: 2px solid #1B3547; }
.itg-contact-option { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px; border: 1px solid #DDD6CB; border-radius: 14px; text-decoration: none; color: #16232E; background: #FFFFFF; cursor: pointer; text-align: left; font-family: inherit; width: 100%; box-sizing: border-box; }
.itg-contact-option:hover { border-color: #1768B8; color: #16232E; }
.itg-contact-option .ic { width: 44px; height: 44px; border-radius: 12px; background: #EEF3F6; display: flex; align-items: center; justify-content: center; }
.itg-contact-option strong { display: block; font-size: 16px; }
.itg-contact-option span.sub { display: block; font-size: 14px; color: #55616B; margin-top: 2px; }

/* photo gallery (lightbox) */
.itg-lightbox { position: fixed; inset: 0; z-index: 1100; background: #080E14; display: flex; flex-direction: column; }
.itg-lightbox[hidden] { display: none; }
.itg-lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: #FFFFFF; font-family: 'Figtree', system-ui, sans-serif; font-size: 15px; }
.itg-lb-top button { width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; font-size: 22px; cursor: pointer; }
.itg-lb-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 72px; }
.itg-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; }
.itg-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #16232E; font-size: 26px; cursor: pointer; }
.itg-lb-prev { left: 12px; } .itg-lb-next { right: 12px; }
.itg-lb-caption { color: #C6D3DC; text-align: center; font-family: 'Figtree', system-ui, sans-serif; font-size: 14px; padding: 8px 20px 0; min-height: 20px; }
.itg-lb-thumbs { display: flex; gap: 8px; padding: 12px 20px 18px; overflow-x: auto; justify-content: center; }
.itg-lb-thumbs img { width: 84px; height: 60px; object-fit: cover; border-radius: 6px; opacity: 0.55; cursor: pointer; flex-shrink: 0; border: 2px solid transparent; }
.itg-lb-thumbs img.on { opacity: 1; border-color: #E0A100; }
[data-gallery-index] { cursor: zoom-in; }

/* sticky "book" bar for phones on tour pages */
.itg-mobile-bar { display: none; }

/* menu button, only shown on phones */
.itg-menu-btn { display: none; }

/* ---------- Phone and small tablet layout ---------- */
@media (max-width: 900px) {
  body { overflow-x: hidden; }
  header[style*="64px"] { height: auto !important; min-height: 64px; padding: 10px 16px !important; flex-wrap: wrap; gap: 10px; position: relative; }
  header[style*="64px"] > nav { display: none !important; }
  body.menu-open header[style*="64px"] > nav { display: flex !important; flex-direction: column; gap: 0 !important; width: 100%; order: 3; border-top: 1px solid #EAE4DA; padding-top: 6px; }
  body.menu-open header[style*="64px"] > nav a { padding: 12px 4px; border-bottom: 1px solid #F0EBE3; }
  header[style*="64px"] > a:first-child img { width: 42px !important; height: 42px !important; }
  /* the name and the line under it: direct children only, so the coloured "Travel Guide" half of the name keeps the size of the name */
  header[style*="64px"] > a:first-child > span > span:first-child { font-size: 18px !important; }
  header[style*="64px"] > a:first-child > span > span:last-child { font-size: 9px !important; letter-spacing: 1px !important; }
  header[style*="64px"] > a:last-child, header[style*="64px"] > button:last-child { display: none !important; }
  header[style*="64px"] { padding-right: 72px !important; }
  .itg-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #DDD6CB; border-radius: 12px; background: #FFFFFF; cursor: pointer; }

  section[style*="64px"], div[style*="padding"][style*="64px"], main[style*="64px"], footer[style*="64px"], nav[style*="64px"] { padding-left: 16px !important; padding-right: 16px !important; }
  footer[style*="64px"] { flex-direction: column; gap: 10px; }
  [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="grid-column: span"] { grid-column: auto !important; grid-row: auto !important; }
  [style*="display: flex"][style*="justify-content: space-between"] { flex-wrap: wrap; gap: 12px; }
  [style*="width: 340px"], [style*="width: 360px"], [style*="width: 420px"], [style*="width: 440px"], [style*="width: 460px"] { width: 100% !important; }
  [style*="width: 1440px"] { width: 100% !important; max-width: 100% !important; height: auto !important; min-height: 100vh; box-sizing: border-box; }
  form[style*="width: 1000px"], [style*="width: 1000px"], [style*="width: 900px"], [style*="width: 820px"], [style*="width: 760px"], [style*="width: 720px"] { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
  form[style*="display: flex"] { flex-direction: column; align-items: stretch !important; }
  form[style*="display: flex"] > label { width: 100% !important; }
  [style*="display: flex"][style*="gap: 8px; align-items: center"] { flex-wrap: wrap; }
  span[style*="display: flex; gap: 8px; align-items: center"] { max-width: 100%; }
  [style*="width: 220px"], [style*="width: 180px"], [style*="width: 280px"], [style*="width: 300px"] { max-width: 100%; }
  [style*="min-height: 3"], [style*="min-height: 4"], [style*="min-height: 5"], [style*="min-height: 6"] { min-height: 0 !important; }
  [style*="height: 640px"], [style*="height: 600px"], [style*="height: 560px"], [style*="height: 520px"], [style*="height: 500px"] { height: auto !important; min-height: 420px; }
  h1 { font-size: 34px !important; line-height: 1.15 !important; }
  h2 { font-size: 25px !important; line-height: 1.2 !important; }
  p { font-size: 17px; }
  [style*="font-size: 20px; line-height"] { font-size: 17px !important; }
  aside { position: static !important; }
  aside[aria-label="Filters"] { display: none !important; }
  body.filters-open aside[aria-label="Filters"] { display: flex !important; }
  .itg-filter-btn { display: inline-flex !important; }

  /* tour pages */
  .tour-gallery { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; height: 260px !important; gap: 8px !important; padding-left: 16px !important; padding-right: 16px !important; }
  .tour-gallery > img { flex: 0 0 86%; height: 100% !important; scroll-snap-align: center; }
  .tour-layout { gap: 28px !important; }
  .tour-layout > aside { order: -1; }
  .stop summary, .stop > div { grid-template-columns: 32px 72px minmax(0, 1fr) !important; gap: 10px !important; }
  .stop summary img, .stop > div img, .stop summary span[style*="width: 120px"], .stop > div span[style*="width: 120px"] { width: 72px !important; height: 56px !important; }
  .stop summary .more { display: none; }
  .stop > div > div:has(> img) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
  .stop > div > div:has(> img) img { width: 100% !important; height: 100px !important; }
  .itg-mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #FFFFFF; border-top: 1px solid #DDD6CB; box-shadow: 0 -6px 18px rgba(22, 35, 46, 0.1); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; font-family: 'Figtree', system-ui, sans-serif; }
  .itg-mobile-bar .itg-btn { height: 48px; }
  body.has-mobile-bar { padding-bottom: 76px; }
  .itg-modal { padding: 0; align-items: flex-end; }
  .itg-dialog { max-height: 92vh; border-radius: 20px 20px 0 0; }
  .itg-lb-stage { padding: 0 8px; }
  .itg-lb-nav { width: 42px; height: 42px; font-size: 22px; }
  .itg-lb-thumbs { justify-content: flex-start; }
}
@media (min-width: 901px) { .itg-filter-btn { display: none !important; } }
@media (max-width: 900px) {
  #app span[style*="display: flex; gap: 8px; align-items: center;"] { flex-wrap: wrap; min-width: 0; }
  #app div[style*="display: flex"][style*="gap: 24px"] { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  #app [style*="grid-template-columns: repeat(4, minmax(0, 1fr))"]:not(.tour-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 18px !important; }
}
/* small booking box that follows you down the page */
.book-mini { transition: opacity .2s ease, transform .2s ease; }
.book-mini.is-hidden { opacity: 0; transform: translateY(-8px); pointer-events: none; }
#book .bokunWidget iframe { min-height: 520px; }
@media (max-width: 900px) { .book-mini { display: none !important; } }

/* currency picker in the top menu */
.itg-cur { height: 40px; padding: 0 10px; margin-right: 10px; border: 1px solid #DDD6CB; border-radius: 999px; background: #FFFFFF; color: #16232E; font: 600 14px 'Figtree', system-ui, sans-serif; cursor: pointer; }
@media (max-width: 900px) { .itg-cur { height: 36px; margin-right: 6px; font-size: 13px; } }

/* ---- Favourites and My trip ---- */
.itg-heart { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255,255,255,0.94); box-shadow: 0 2px 8px rgba(12,22,30,0.22); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: transform .12s ease; }
.itg-heart:hover { transform: scale(1.08); }
.itg-heart svg, .itg-mytrip svg, .itg-save-big svg { fill: none; stroke: #1B3547; stroke-width: 2; }
.itg-heart.on svg, .itg-save-big.on svg { fill: #E0474C; stroke: #E0474C; }
.itg-heart:focus-visible, .itg-save-big:focus-visible, .itg-mytrip:focus-visible { outline: 3px solid #1768B8; outline-offset: 2px; }
.itg-mytrip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; margin-right: 10px; border: 1px solid #DDD6CB; border-radius: 999px; background: #FFFFFF; color: #16232E; font: 600 14px 'Figtree', system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.itg-mytrip-n { min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: #E0474C; color: #FFFFFF; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.itg-mytrip-n[hidden] { display: none; }
.itg-save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0; }
.itg-save-big { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid #DDD6CB; border-radius: 999px; background: #FFFFFF; color: #16232E; font: 600 15px 'Figtree', system-ui, sans-serif; cursor: pointer; }
.itg-save-big.on { border-color: #E0474C; }
.itg-save-plan { font: 600 15px 'Figtree', system-ui, sans-serif; color: #1768B8; text-decoration: none; }
.itg-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 1100; background: #1B3547; color: #FFFFFF; padding: 12px 18px; border-radius: 12px; font: 600 15px 'Figtree', system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,0.25); transition: opacity .2s, transform .2s; }
.itg-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.itg-toast a { color: #9FD0FF; }
@media (max-width: 900px) { .itg-mytrip { height: 36px; padding: 0 10px; margin-right: 6px; } .itg-mytrip-t { display: none; } }
/* site header (also inside the Tours / Multi-day page boards): logo left, menu in the middle, My trip / currency / Talk to a local together on the right */
@media (min-width: 901px) {
  :is(body, #app > div) > header { justify-content: flex-start !important; gap: 0; }
  :is(body, #app > div) > header > a:first-child { flex-shrink: 0; }
  :is(body, #app > div) > header > nav { margin: 0 auto !important; padding: 0 16px; }
  :is(body, #app > div) > header > nav a { white-space: nowrap; }
  :is(body, #app > div) > header > a[data-contact], :is(body, #app > div) > header > a[href="#talk"] { white-space: nowrap; flex-shrink: 0; }
  :is(body, #app > div) > header .itg-cur, :is(body, #app > div) > header .itg-mytrip { flex-shrink: 0; }
}
@media (min-width: 901px) and (max-width: 1640px) {
  :is(body, #app > div) > header > nav { gap: 20px !important; }
}
@media (min-width: 901px) and (max-width: 1380px) { .itg-mytrip-t { display: none; } .itg-mytrip { padding: 0 10px; } }
@media (min-width: 901px) and (max-width: 1560px) {
  :is(body, #app > div) > header { padding: 0 24px !important; }
  :is(body, #app > div) > header > nav { gap: 14px !important; font-size: 14px !important; padding: 0 10px; }
  :is(body, #app > div) > header > a:first-child img { width: 44px !important; height: 44px !important; }
  :is(body, #app > div) > header > a:first-child > span > span:first-child { font-size: 19px !important; }
  :is(body, #app > div) > header > a:first-child > span > span:last-child { font-size: 9px !important; letter-spacing: 1.2px !important; }
  :is(body, #app > div) > header > a[data-contact], :is(body, #app > div) > header > a[href="#talk"] { padding: 10px 14px !important; font-size: 14px !important; }
  .itg-cur { margin-right: 8px; padding: 0 6px; }
}
@media (min-width: 901px) and (max-width: 1260px) {
  :is(body, #app > div) > header > a:first-child > span > span:last-child { display: none; }
  :is(body, #app > div) > header > nav { gap: 12px !important; font-size: 13.5px !important; }
  :is(body, #app > div) > header > nav a[href="/trip-finder/"] { display: none; }
}
@media (min-width: 901px) and (max-width: 1100px) { :is(body, #app > div) > header > nav a[href="/locations/"] { display: none; } }
@media (min-width: 901px) and (max-width: 1010px) { :is(body, #app > div) > header > a:first-child > span { display: none !important; } }
.itg-mytrip-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; border-radius: 999px; background: #1B3547; color: #FFFFFF; font: 700 15px 'Figtree', system-ui, sans-serif; text-decoration: none; box-shadow: 0 10px 28px rgba(12,22,30,0.3); }
.itg-mytrip-float[hidden] { display: none; }
.itg-mytrip-float svg { fill: #E0474C; stroke: #E0474C; stroke-width: 2; }
.itg-mytrip-float .itg-mytrip-n { background: #FFFFFF; color: #1B3547; }
.itg-mytrip-float:focus-visible { outline: 3px solid #9FD0FF; outline-offset: 2px; }
@media (max-width: 900px) { .itg-mytrip-float { right: 14px; bottom: 14px; height: 46px; } }
@media (max-width: 900px) { .itg-toast { bottom: 76px; max-width: calc(100vw - 32px); } }

/* Tours and Multi-day pages: their header sits inside a 1440px page box; stretch it across the window like every other page */
html, body { overflow-x: clip; }
#app > div > header, #app > div > footer { width: 100vw; margin-left: calc(50% - 50vw) !important; margin-right: 0 !important; box-sizing: border-box; }

/* ---------- Filters on category pages and Multi-day trips (filters.js) ---------- */
.flt { font-family: 'Figtree', system-ui, sans-serif; color: #16232E; min-width: 0; }
.flt-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.flt-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; background: #FFFFFF; border: 1px solid #DDD6CB; border-radius: 16px; padding: 18px 18px 8px; box-sizing: border-box; overscroll-behavior: contain; }
.flt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #EAE4DA; }
.flt-head h2 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 600; color: #1B3547; }
.flt-clear { border: 0; background: none; padding: 4px 0; font: 700 14px 'Figtree', system-ui, sans-serif; color: #1768B8; text-decoration: underline; cursor: pointer; }
.flt-x, .flt-done { display: none; }
.flt-g { border: 0; margin: 0; padding: 14px 0 10px; border-bottom: 1px solid #EAE4DA; min-width: 0; }
.flt-g:last-of-type { border-bottom: 0; }
.flt-g legend { padding: 0 0 8px; font-size: 15px; font-weight: 700; color: #1B3547; float: left; width: 100%; }
.flt-opt { clear: both; display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; line-height: 1.3; color: #16232E; cursor: pointer; }
.flt-opt input { width: 17px; height: 17px; margin: 0; flex-shrink: 0; accent-color: #1B3547; cursor: pointer; }
.flt-lab { flex: 1; min-width: 0; }
.flt-n { font-size: 12.5px; color: #8A949C; }
.flt-zero { opacity: 0.45; }
.flt-more { display: none; }
.flt-all .flt-more { display: flex; }
.flt-showmore { clear: both; display: block; margin-top: 4px; border: 0; background: none; padding: 4px 0; font: 700 13.5px 'Figtree', system-ui, sans-serif; color: #1768B8; cursor: pointer; }
.flt-opt:has(input:focus-visible) { outline: 3px solid #1768B8; outline-offset: 2px; border-radius: 4px; }
.flt-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.flt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 16px; }
.flt-count { color: #55616B; }
.flt-count strong { color: #16232E; }
.flt-sortl { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #55616B; }
.flt-sort { height: 38px; padding: 0 10px; border: 1px solid #DDD6CB; border-radius: 10px; background: #FFFFFF; font: 600 14px 'Figtree', system-ui, sans-serif; color: #16232E; }
.flt-open { display: none; }
.flt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.flt-chips[hidden] { display: none; }
.flt-chips button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid #B9D3EC; border-radius: 999px; background: #EEF5FC; font: 600 13.5px 'Figtree', system-ui, sans-serif; color: #1B3547; cursor: pointer; }
.flt-chips .flt-clear-chip { border-color: transparent; background: none; color: #1768B8; text-decoration: underline; }
.flt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.flt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.flt-grid > [hidden] { display: none !important; }
.flt-empty { padding: 40px; background: #FFFFFF; border: 1px dashed #C9C0B2; border-radius: 18px; text-align: center; }
.flt-empty[hidden] { display: none; }
.flt-empty h3 { margin: 0 0 8px; font-family: 'Fraunces', Georgia, serif; font-size: 24px; color: #1B3547; }
.flt-empty p { margin: 0 0 14px; font-size: 16px; color: #33424E; }
.flt-empty .flt-clear { padding: 11px 18px; background: #E0A100; color: #1B3547; border-radius: 12px; text-decoration: none; }
/* tour card (same look as the Tours page) */
.flt-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #DDD6CB; border-radius: 16px; overflow: hidden; text-decoration: none; color: #16232E; }
.flt-card:hover { border-color: #B9C6CF; box-shadow: 0 6px 18px rgba(18,58,90,0.10); }
.flt-pic { position: relative; display: block; height: 190px; background: #D9E1E6; }
.flt-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flt-badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; background: #FFFFFF; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #123A5A; }
.flt-cb { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.flt-where { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; color: #1768B8; text-transform: uppercase; }
.flt-t { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 19px; line-height: 1.25; color: #1B3547; }
.flt-sub { font-size: 14px; color: #55616B; line-height: 1.4; }
.flt-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #33424E; }
.flt-meta svg { flex-shrink: 0; }
.flt-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #EAE4DA; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.flt-price { display: flex; flex-direction: column; }
.flt-pl { font-size: 12px; color: #55616B; }
.flt-price strong { font-size: 18px; }
.flt-cta { padding: 10px 14px; background: #E0A100; color: #1B3547; border-radius: 12px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.flt-kind-on { border: 2.5px solid #1B3547 !important; box-shadow: 0 6px 18px rgba(18, 58, 90, 0.12); margin: 0 !important; }
@media (max-width: 1250px) { .flt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .flt-body { grid-template-columns: minmax(0, 1fr); }
  .flt-open { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: #1B3547; color: #FFFFFF; font: 700 15px 'Figtree', system-ui, sans-serif; cursor: pointer; }
  .flt-side { display: none; }
  body.flt-sheet { overflow: hidden; }
  body.flt-sheet .flt-side { display: block; position: fixed; inset: 0; top: 0; max-height: none; z-index: 1200; border-radius: 0; border: 0; padding: 0 18px 90px; }
  body.flt-sheet .flt-head { position: sticky; top: 0; background: #FFFFFF; padding: 16px 0 12px; z-index: 1; }
  .flt-x { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #DDD6CB; border-radius: 999px; background: #FFFFFF; font-size: 22px; cursor: pointer; }
  body.flt-sheet .flt-done { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; height: 52px; border: 0; border-radius: 14px; background: #E0A100; color: #1B3547; font: 700 16px 'Figtree', system-ui, sans-serif; cursor: pointer; }
  .flt-opt { padding: 8px 0; font-size: 16px; }
  .flt-sortl { margin-left: auto; }
}
@media (max-width: 600px) { .flt-grid { grid-template-columns: minmax(0, 1fr); } .flt-count { order: 3; width: 100%; } }

/* ---------- website message forms (contact.php) ---------- */
.itg-form { display: flex; flex-direction: column; gap: 12px; }
.itg-form[hidden] { display: none; }
.itg-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #33424E; }
.itg-form input, .itg-form textarea { font: 400 16px 'Figtree', system-ui, sans-serif; padding: 10px 12px; border: 1px solid #C9C0B2; border-radius: 10px; background: #FFFFFF; color: #16232E; box-sizing: border-box; width: 100%; }
.itg-form input:focus-visible, .itg-form textarea:focus-visible { outline: 3px solid #1768B8; outline-offset: 1px; }
.itg-extra { padding: 10px 12px; border-radius: 10px; background: #EEF5FC; border: 1px solid #B9D3EC; font-size: 14px; font-weight: 600; color: #1B3547; }
.itg-extra[hidden] { display: none; }
.itg-form-note { margin: 0; font-size: 15px; line-height: 1.5; }
.itg-form-note:empty { display: none; }
.itg-form-note.ok { padding: 10px 12px; border-radius: 10px; background: #E3F2E8; color: #1E5B37; }
.itg-form-note.err { padding: 10px 12px; border-radius: 10px; background: #FFF1E6; color: #8A3B00; }
.itg-form-note a { color: inherit; font-weight: 700; }
button[disabled] { opacity: 0.7; cursor: progress; }
.itg-form textarea, .itg-body textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; }
/* cookie banner */
.itg-cookies { position: fixed; left: 20px; bottom: 20px; z-index: 1150; max-width: 460px; box-sizing: border-box; padding: 18px 20px; background: #FFFFFF; border: 1px solid #DDD6CB; border-radius: 16px; box-shadow: 0 14px 40px rgba(12,22,30,0.22); font: 400 15px/1.5 'Figtree', system-ui, sans-serif; color: #16232E; display: flex; flex-direction: column; gap: 12px; }
.itg-cookies p { margin: 0; }
.itg-cookies a { color: #1768B8; font-weight: 600; }
.itg-cookies div { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.itg-cookies button { height: 42px; padding: 0 16px; border-radius: 999px; font: 700 14.5px 'Figtree', system-ui, sans-serif; cursor: pointer; border: 1px solid #1B3547; }
.itg-ck-no { background: #FFFFFF; color: #1B3547; }
.itg-ck-yes { background: #1B3547; color: #FFFFFF; }
.itg-cookies button:focus-visible { outline: 3px solid #1768B8; outline-offset: 2px; }
@media (max-width: 600px) { .itg-cookies { left: 10px; right: 10px; bottom: 10px; max-width: none; } .itg-cookies div { justify-content: stretch; } .itg-cookies button { flex: 1; } }

/* ---------- "Tours & activities" panel in the menu: by activity, by region, by trip type ---------- */
.itg-mega { display: none; }
.itg-mega ul { list-style: none; margin: 0; padding: 0; }
.itg-mega-link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
body.mega-open .itg-mega-link::after { transform: translateY(1px) rotate(225deg); }
.itg-mega-col > strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: #55616B; }
.itg-mega a[href="/trip-finder/"] { display: inline-block !important; }
@media (min-width: 901px) {
  :is(body, #app > div) > header { position: relative; }
  body.mega-open > header, body.mega-open #app > div > header { z-index: 1200; }
  body.mega-open .itg-mega { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-top: 1px solid #EAE4DA; border-bottom: 1px solid #DDD6CB; box-shadow: 0 22px 34px rgba(22, 35, 46, 0.14); font-size: 15.5px; font-weight: 500; text-align: left; }
  .itg-mega-in { max-width: 1240px; margin: 0 auto; padding: 28px 40px 18px; box-sizing: border-box; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 44px; }
  .itg-mega-col > strong { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #EAE4DA; }
  .itg-mega-col ul { columns: 2; column-gap: 28px; }
  .itg-mega-col li { break-inside: avoid; }
  .itg-mega a { display: block; padding: 7px 0; font-size: 15.5px; line-height: 1.3; color: #16232E; text-decoration: none; white-space: normal !important; }
  .itg-mega a:hover, .itg-mega a:focus-visible { color: #1768B8; text-decoration: underline; }
  .itg-mega-foot { max-width: 1240px; margin: 0 auto; padding: 14px 40px 22px; box-sizing: border-box; display: flex; gap: 28px; align-items: center; }
  .itg-mega-foot a { display: inline-block; font-weight: 700; color: #1768B8; }
  .itg-mega-foot a.itg-mega-all { padding: 11px 20px; background: #1B3547; color: #FFFFFF; border-radius: 999px; }
  .itg-mega-foot a.itg-mega-all:hover { color: #FFFFFF; text-decoration: none; background: #123A5A; }
}
@media (max-width: 900px) {
  body.menu-open header[style*="64px"] > nav > a.itg-mega-link { display: flex; justify-content: space-between; align-items: center; }
  body.menu-open header[style*="64px"] > nav > a.itg-mega-link::after { margin-right: 8px; }
  body.menu-open.mega-open header[style*="64px"] > nav .itg-mega { display: flex; flex-direction: column; padding: 4px 0 12px 14px; border-bottom: 1px solid #F0EBE3; background: #FAF8F4; margin: 0 -16px; padding-left: 30px; padding-right: 16px; font-weight: 500; }
  .itg-mega-in { display: flex; flex-direction: column; }
  .itg-mega-col > strong { padding: 14px 0 4px; }
  .itg-mega-col ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  body.menu-open header[style*="64px"] > nav .itg-mega a { display: block; padding: 9px 0; border-bottom: 0; font-size: 15px; line-height: 1.3; text-decoration: none; color: #16232E; }
  .itg-mega-foot { order: -1; display: flex; flex-direction: column; padding-top: 4px; }
  body.menu-open header[style*="64px"] > nav .itg-mega .itg-mega-foot a { font-weight: 700; color: #1768B8; }
}
/* chips with category links (tour pages and category pages) */
@media (max-width: 900px) { .itg-catlinks a { font-size: 14px !important; padding: 8px 13px !important; } }

/* ---- Card photo gallery (Multi-day trips cards): arrows on mouse hover, swipe on touch, dots. Extra photos load only when used. ---- */
.mg-pic { touch-action: pan-y; }
.mg-pic img.mg-x { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .18s ease; }
.mg-pic img.mg-x.on { opacity: 1; }
.mg-pic > span { z-index: 2; } /* the label and the days tag stay on top of every photo */
.mg-a { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 32px; height: 32px; border: 0; padding: 0; border-radius: 999px; background: rgba(255,255,255,0.94); box-shadow: 0 2px 8px rgba(12,22,30,0.25); display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .15s ease; }
.mg-a svg { width: 16px; height: 16px; fill: none; stroke: #1B3547; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mg-prev { left: 8px; } .mg-next { right: 8px; }
.mg-a:focus-visible { opacity: 1; outline: 3px solid #1768B8; outline-offset: 2px; }
@media (hover: hover) { .mg-pic:hover .mg-a { opacity: 1; } .mg-a:hover { background: #fff; } }
@media (hover: none) { .mg-a { display: none; } }
.mg-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; display: flex; gap: 5px; pointer-events: none; }
.mg-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.6); box-shadow: 0 0 3px rgba(12,22,30,0.45); }
.mg-dots i.on { background: #fff; }

/* sticky header: stays at the top, slides away when scrolling down, returns when scrolling up */
:is(body, #app > div) > header.itg-sticky, header.itg-sticky { position: sticky !important; top: 0; z-index: 1000; transition: transform .25s ease; will-change: transform; }
header.itg-sticky.itg-hide { transform: translateY(-100%); box-shadow: none; }
header.itg-sticky:not(.itg-hide) { box-shadow: 0 2px 10px rgba(22,35,46,.08); }
body.menu-open header.itg-sticky { max-height: 100vh; overflow-y: auto; }
html { scroll-padding-top: calc(var(--itg-hh, 0px) + 12px); }
aside[style*="sticky"], .book-mini[style*="sticky"], #book[style*="sticky"] { top: calc(var(--itg-hh, 0px) + 20px) !important; transition: top .25s ease; }
.itg-mytrip-float, .itg-cartfloat { display: none !important; }
@media (prefers-reduced-motion: reduce) { header.itg-sticky, aside[style*="sticky"] { transition: none; } }

/* layout shift (14 Oct 2026): the cart button, My trip link and currency picker are in the page from the start (build step in altfix.py), so the header does not change size when the scripts run */
.itg-cartbtn{display:inline-flex;align-items:center;gap:8px;margin-left:12px;padding:9px 14px;background:#fff;border:1px solid #DDD6CB;border-radius:999px;color:#16232E;font:700 15px Figtree,system-ui,sans-serif;cursor:pointer}
.itg-cartbtn .n{min-width:22px;height:22px;padding:0 6px;display:inline-grid;place-items:center;background:#1768B8;color:#fff;border-radius:999px;font-size:13px}
.itg-cartbtn .n[hidden]{display:none}
@media (max-width:900px){.itg-cartbtn{margin-left:0;padding:8px 12px}.itg-cartbtn .w{display:none}}
.itg-cur { width: 98px; box-sizing: border-box; }
@media (max-width: 900px) { .itg-cur { width: 92px; } }
/* the booking calendar is added by a script: keep its place so the sidebar below it does not jump */
#book .bokunWidget { min-height: 560px; }
.itg-cookies { contain: layout; }
@media (min-width:901px) and (max-width:1599px){header[style*="64px"]{height:auto !important;flex-wrap:wrap;padding:10px 24px 0 !important;row-gap:4px;justify-content:flex-start !important}header[style*="64px"]>a:first-child{margin-right:auto}header[style*="64px"]>nav{order:3;width:100%;justify-content:center;gap:28px !important;border-top:1px solid #EAE4DA;padding:10px 0 12px !important;margin-top:8px !important}header[style*="64px"] .itg-cartbtn{margin-left:6px}}

.flt-grp { position: absolute; bottom: 12px; left: 12px; padding: 5px 11px; background: #1B3547; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #FFFFFF; }
.flt-grp-private { background: #E0A100; color: #1B3547; }
@media (max-width: 640px) { .planbox { padding: 12px 14px !important; gap: 8px !important; } .planbox strong { font-size: 16px !important; } .planbox > span > span { font-size: 13.5px !important; line-height: 1.4 !important; } .planbox a { padding: 9px 14px !important; font-size: 14px !important; } }
