/* ==========================================================================
   JGG Header (Oct 2026 design) — [jgg_header] shortcode
   Sits in the site's 1260px content width. Proportions come from the 1920px
   design (scaled ×0.76), then snapped to whole pixels on an 8px-based scale.
   Geist 600, Phosphor Bold icons. Foxiz shows its own mobile header at <=1024px.
   ========================================================================== */

/* Variable Geist (100–900, the same files as the place profiles) so in-between weights such as
   640 render exactly; the theme's Geist only has 400/500/600/700, which would round 640 up to 700.
   Private family name so the theme's @font-face rules can't override it. SIL OFL 1.1. */
@font-face {
	font-family: "Geist JGH";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/geist-latin-wght-normal.woff2) format("woff2-variations"), url(fonts/geist-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Geist JGH";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(fonts/geist-latin-ext-wght-normal.woff2) format("woff2-variations"), url(fonts/geist-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.jgh {
	--jgh-ink: #000;
	--jgh-yellow: #F6EB4A;
	--jgh-rule: #E5E5E5;
	--jgh-sep: #EEEEEE;
	--jgh-hover: #F7F7F7;
	position: relative;
	z-index: 1001;
	background: #fff;
	color: var(--jgh-ink);
	font-family: "Geist", sans-serif;
	font-weight: 600;
	-webkit-font-smoothing: antialiased;
}
.jgh *,
.jgh *::before,
.jgh *::after { box-sizing: border-box; }

/* Neutralise the Elementor container/widget wrapping the shortcode */
.header-template-inner .e-con:has(.jgh),
.header-template-inner .e-con:has(.jgh) > .e-con-inner,
.header-template-inner .elementor-section:has(.jgh) .elementor-column-wrap,
.header-template-inner .elementor-section:has(.jgh) .elementor-widget-wrap { padding: 0 !important; margin: 0 !important; gap: 0 !important; max-width: none !important; }
.header-template-inner .elementor-widget-shortcode:has(.jgh),
.header-template-inner .elementor-widget-shortcode:has(.jgh) .elementor-shortcode { width: 100%; margin: 0 !important; padding: 0 !important; }

/* Resets against theme/Elementor button & link styles */
.jgh a,
.jgh button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--jgh-ink);
	font: inherit;
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
	text-decoration: none;
	min-height: 0;
	height: auto;
	cursor: pointer;
}
.jgh a:hover, .jgh a:focus, .jgh button:hover, .jgh button:focus { color: var(--jgh-ink); background: none; box-shadow: none; }
.jgh a:focus-visible, .jgh button:focus-visible { outline: 2px solid var(--jgh-ink); outline-offset: 4px; }
.jgh ul { list-style: none; margin: 0; padding: 0; }
.jgh li { margin: 0; padding: 0; }
.jgh h1 { margin: 0; padding: 0; font-size: inherit; line-height: 1; }
.jgh .jgh-icon { display: block; flex: none; fill: currentColor; max-width: none; }

/* Same edges as the page content: 1260px, 20px gutters below that. */
.jgh__inner {
	width: calc(100% - 40px);
	max-width: 1260px;
	margin: 0 auto;
}

/* ---------- Top row ----------
   92px row: 60px logo with 16px above and below. Every item in the row is
   centred on the same line; spacing is on an 8px-based scale. */
.jgh__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 92px;
}
.jgh__brand { flex: none; }
.jgh__logo { display: block; }
/* !important: Elementor's ".elementor img { height: auto; max-width: 100% }" reset can load after this file. */
.jgh .jgh__logo img { display: block; width: auto !important; height: 60px !important; max-width: none !important; max-height: none !important; object-fit: contain; border: 0; }

.jgh__utils { display: flex; align-items: center; align-self: stretch; }

.jgh .jgh__util {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
.jgh__util .jgh__label { display: block; position: relative; top: var(--jgh-label-nudge, 0); }
.jgh .jgh__util--lang { gap: 4px; }
.jgh__util--lang .jgh-icon { transition: transform .15s ease; }
.jgh__lang.is-open .jgh__util--lang .jgh-icon { transform: rotate(180deg); }

.jgh__sep {
	display: block;
	flex: none;
	width: 1px;
	height: 22px;
	margin: 0 16px;
	background: var(--jgh-sep);
}

.jgh .jgh__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	gap: 1px;
	height: 36px;
	margin-left: 28px;
	padding: 0 18px 0 17px;
	background: var(--jgh-ink);
	color: var(--jgh-yellow);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.jgh .jgh__cta:hover,
.jgh .jgh__cta:focus-visible { background: var(--jgh-yellow); color: var(--jgh-ink); }
/* Arrow sized and spaced from the mockup, relative to the cap height: ink as tall as the caps,
   centred on them, ~7px after the text, ~21px of room on the right (the 17px box has ~3px of
   empty space each side, hence the 1px gap and 18px padding). */
.jgh .jgh__cta-arrow { display: block; flex: none; position: relative; top: -.5px; width: 17px; height: 17px; max-width: none; transition: transform .15s ease; }
.jgh .jgh__cta:hover .jgh__cta-arrow { transform: translateX(2px); }

/* Hover (top row): a 1.5px underline draws in under the label. */
.jgh__util .jgh__label { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 4px; margin-bottom: -4px; transition: background-size .15s ease; }
.jgh__util:hover .jgh__label { background-size: 100% 1.5px; }

/* ---------- Nav row ----------
   42px between 1.5px rules. Items spread edge to edge with a 24px inset each side. */
.jgh__nav {
	border-top: 1.5px solid var(--jgh-rule);
	border-bottom: 1.5px solid var(--jgh-rule);
}
.jgh .jgh__navlist {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	height: 42px;
	padding: 0 24px;
}
.jgh__navitem { position: relative; display: flex; align-items: stretch; }
.jgh .jgh__navlink {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: "Geist JGH", "Geist", sans-serif;
	font-size: 17px;
	font-weight: 640;
	white-space: nowrap;
}
.jgh__navlink > span { position: relative; top: var(--jgh-label-nudge, 0); }
.jgh .jgh__navlink .jgh-icon { transition: transform .15s ease; }
.jgh__navitem.is-open .jgh__navlink .jgh-icon { transform: rotate(180deg); }

/* ---------- Dropdowns ----------
   Menus open flush against the rule below their trigger, text lined up with it. */
.jgh__lang { position: relative; display: flex; align-items: center; align-self: stretch; }
.jgh .jgh__menu {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 200px;
	padding: 8px 0;
	background: #fff;
	border: 1px solid var(--jgh-ink);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
	z-index: 20;
}
.jgh .jgh__menu--lang { min-width: 176px; }
.jgh .jgh__menu--sub { top: calc(100% + 1px); }
.jgh .is-open > .jgh__menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .15s ease, transform .15s ease, visibility 0s;
}
.jgh .jgh__menu a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
	white-space: nowrap;
}
.jgh .jgh__menu a:hover,
.jgh .jgh__menu a:focus-visible { background: var(--jgh-hover); outline-offset: -4px; }
.jgh__menu a[aria-current="true"]::after { content: ""; width: 6px; height: 6px; margin-left: auto; background: var(--jgh-ink); }
.jgh__mono { min-width: 20px; font-family: "Geist Mono", monospace; font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Search panel ---------- */
.jgh__search {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--jgh-rule);
	padding: 16px 0;
}
.jgh__search[hidden] { display: none; }
.jgh__searchform {
	display: flex;
	align-items: center;
	gap: 12px;
	width: calc(100% - 40px);
	max-width: 1260px;
	margin: 0 auto;
}
.jgh__searchform .jgh-icon { width: 20px; height: 20px; }
.jgh__searchform input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-bottom: 1px solid var(--jgh-ink);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--jgh-ink);
	font-family: "Geist", sans-serif;
	font-size: 17px;
	font-weight: 500;
	outline: none;
}
.jgh__searchform input[type="search"]::placeholder { color: #8A8A8A; }
.jgh .jgh__searchsubmit {
	height: 36px;
	padding: 0 16px;
	background: var(--jgh-ink);
	color: var(--jgh-yellow);
	font-size: 15px;
	letter-spacing: .01em;
	font-weight: 700;
	text-transform: uppercase;
}
.jgh .jgh__searchsubmit:hover { background: var(--jgh-yellow); color: var(--jgh-ink); }
.jgh .jgh__searchclose { display: flex; padding: 6px; }

/* ---------- Narrower desktops (1025–1180px) ---------- */
@media (max-width: 1180px) {
	.jgh__sep { margin: 0 12px; }
	.jgh .jgh__cta { margin-left: 20px; }
	.jgh .jgh__navlist { padding: 0 8px; }
}

/* Nav: the place-profile tab bar — a 3px bar along the bottom line. Black for the current
   section and an open dropdown, light grey on hover. */
.jgh .jgh__navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; transition: background-color .15s ease; }
.jgh .jgh__navlink:hover::after { background: #CFCFCF; }
.jgh .jgh__navlink[aria-current="page"]::after,
.jgh .jgh__navitem.is-open > .jgh__navlink::after { background: var(--jgh-ink); }

/* Top-row icons drawn a little lighter now they're smaller (2.5px at 24px ≈ 2.25px at 22px). */
@media (min-width: 1025px) {
	.jgh[data-jgh] { --jgh-icon-weight: 2.25px; --jgh-caret-weight: 1.85px; }
}

/* Search, bag and user share one line weight (matched to the bag, which reads best
   against Geist 600). Carets are a touch lighter so they stay secondary to the labels. */
.jgh { --jgh-icon-weight: 2.5px; --jgh-caret-weight: 2px; }
.jgh .jgh-icon--stroke.jgh-icon--caret-down { stroke-width: var(--jgh-caret-weight); }
.jgh .jgh-icon--stroke { fill: none; stroke: currentColor; stroke-width: var(--jgh-icon-weight); stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

/* ==========================================================================
   Mobile & tablet (<=1024px) — replaces Foxiz's own mobile header.
   Top row: logo, Book a Tour (always visible), menu button.
   Second row: swipeable sections with a yellow bar under the current one.
   Menu: search, sections (Cities & Areas expands), Shop / Log in, languages, socials.
   ========================================================================== */
.jgh__burger,
.jgh__panel { display: none; }

/* Foxiz hides header templates and shows its own mobile header at <=1024px; swap that when this header is in use. */
@media (max-width: 1024px) {
	.header-template-inner:has(.jgh) { display: block !important; }
	#header-template-holder:has(.jgh) .header-mobile { display: none !important; }
}

@media (max-width: 1024px) {
	.jgh__inner { width: calc(100% - 32px); }

	/* Top row */
	.jgh__top { height: 68px; }
	.jgh .jgh__logo img { height: 44px !important; }
	.jgh__utils { margin-left: auto; }
	.jgh .jgh__util,
	.jgh__sep,
	.jgh__lang { display: none; }
	.jgh .jgh__cta { height: 36px; margin-left: 0; padding: 0 15px 0 14px; font-size: 13px; }
	.jgh .jgh__cta-arrow { width: 15px; height: 15px; }

	.jgh .jgh__burger {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 44px;
		height: 44px;
		margin: 0 -8px 0 8px;
	}
	.jgh__burger svg { display: block; fill: none; stroke: currentColor; stroke-width: var(--jgh-icon-weight); stroke-linecap: round; }
	.jgh__burger line { vector-effect: non-scaling-stroke; }
	.jgh__burger .jgh__burger-close,
	.jgh__burger[aria-expanded="true"] .jgh__burger-open { display: none; }
	.jgh__burger[aria-expanded="true"] .jgh__burger-close { display: block; }

	/* Swipeable section row, edge to edge */
	.jgh__nav { margin: 0 -16px; }
	.jgh .jgh__navlist {
		justify-content: flex-start;
		gap: 28px;
		height: 44px;
		padding: 0 16px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.jgh .jgh__navlist::-webkit-scrollbar { display: none; }
	.jgh .jgh__navlist::after { content: ""; flex: none; width: 1px; } /* keeps the right padding when scrolled to the end */
	.jgh__navitem--has-sub { margin-right: 0; }
	.jgh .jgh__navlink { position: relative; font-size: 16px; }
	.jgh__navlink > span,
	.jgh__navlink:hover > span,
	.jgh .jgh__navlink[aria-current="page"] > span { background-size: 0 0; }
	.jgh .jgh__navlink[aria-current="page"]::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 0; height: 3px; background: var(--jgh-yellow); }
	.jgh .jgh__menu--sub { display: none; }

	/* No desktop search panel on mobile (search lives in the menu) */
	.jgh__search { display: none !important; }

	/* Menu panel */
	.jgh .jgh__panel:not([hidden]) {
		display: block;
		position: fixed;
		top: var(--jgh-panel-top, 68px);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1002;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		background: #fff;
		border-top: 1px solid var(--jgh-rule);
	}
	.jgh__panel-inner { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }

	.jgh__msearch {
		display: flex;
		align-items: center;
		gap: 12px;
		height: 50px;
		padding: 0 6px 0 14px;
		border: 1px solid #D4D4D4;
	}
	.jgh__msearch:focus-within { border-color: var(--jgh-ink); }
	.jgh__msearch .jgh-icon { width: 22px; height: 22px; }
	.jgh__msearch input[type="search"] {
		flex: 1;
		min-width: 0;
		height: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: var(--jgh-ink);
		font-family: "Geist", sans-serif;
		font-size: 17px; /* 16px+ stops iOS zooming in on focus */
		font-weight: 500;
		outline: none;
		-webkit-appearance: none;
		appearance: none;
	}
	.jgh__msearch input[type="search"]::placeholder { color: #8A8A8A; opacity: 1; }
	.jgh__msearch input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
	.jgh .jgh__msearch-go { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; }

	.jgh__mlist { margin-top: 20px !important; border-top: 1px solid var(--jgh-rule); }
	.jgh__mitem { border-bottom: 1px solid var(--jgh-rule); }
	.jgh .jgh__mlink {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		width: 100%;
		min-height: 56px;
		font-size: 20px;
		font-weight: 600;
		text-align: left;
	}
	.jgh .jgh__mlink .jgh__arrow,
	.jgh .jgh__mlink .jgh-icon { flex: none; width: 22px; height: 22px; }
	.jgh .jgh__mlink .jgh-icon--caret-down { transition: transform .2s ease; }
	.jgh .jgh__mlink[aria-expanded="true"] .jgh-icon--caret-down { transform: rotate(180deg); }
	.jgh .jgh__mlink[aria-current="page"] > span { box-shadow: inset 0 -3px 0 var(--jgh-yellow); }
	.jgh__msub { padding: 0 0 12px !important; }
	.jgh .jgh__msub a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 44px;
		padding-left: 16px;
		font-size: 17px;
		font-weight: 500;
	}
	.jgh .jgh__msub .jgh__arrow { width: 18px; height: 18px; margin-right: 2px; }

	.jgh__mrow { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--jgh-rule); }
	.jgh__mrow--account { display: grid; grid-template-columns: 1fr 1fr; }
	.jgh .jgh__mrow--account a {
		display: flex;
		align-items: center;
		gap: 14px;
		min-height: 64px;
		font-size: 18px;
		font-weight: 600;
	}
	.jgh .jgh__mrow--account a + a { padding-left: 24px; border-left: 1px solid var(--jgh-rule); }
	.jgh .jgh__mrow--account .jgh-icon { width: 28px; height: 28px; }
	.jgh .jgh__mrow--account a + a .jgh-icon { width: 26px; height: 26px; }

	.jgh__mrow--lang { gap: 8px; }
	.jgh .jgh__mrow--lang a {
		display: flex;
		align-items: center;
		height: 40px;
		padding: 0 12px;
		font-size: 18px;
		font-weight: 600;
	}
	.jgh .jgh__mrow--lang a:first-child { margin-left: -12px; }
	.jgh .jgh__mrow--lang a[aria-current="true"] { margin-left: 0; background: var(--jgh-yellow); }

	.jgh__mrow--social { justify-content: space-between; gap: 16px; border-bottom: 0; }
	.jgh__follow { font-size: 16px; font-weight: 600; }
	.jgh__mrow--social ul { display: flex; align-items: center; gap: 6px; margin-right: -8px !important; }
	.jgh .jgh__mrow--social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
	.jgh .jgh__mrow--social .jgh-icon { width: 26px; height: 26px; }

	html.jgh-locked,
	html.jgh-locked body { overflow: hidden; }
}

@media (max-width: 359px) {
	.jgh .jgh__cta-arrow { display: none; }
	.jgh .jgh__cta { padding: 0 12px; }
}
