/* Smart header: desktop sticky bar + mobile orange bar slide away on scroll down, back on scroll up. */
.sticky-holder.sticky { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; will-change: transform; }
body.mr-hdr-hide .sticky-holder.sticky { transform: translateY(-115%); }
body.mr-hdr-show .sticky-holder.sticky { transform: none; box-shadow: 0 10px 30px rgba(30,21,20,.14); }

@media (max-width: 1024px) {
	body.mr-hdr-past .mobile-header { padding-bottom: 51px; } /* keeps the page from jumping when the bar becomes fixed */
	body.mr-hdr-past .mobile-header-b { position: fixed; top: 0; left: 0; right: 0; z-index: 999; transform: translateY(-115%); transition: transform .35s cubic-bezier(.2,.7,.2,1); box-shadow: 0 8px 24px rgba(30,21,20,.18); }
	body.mr-hdr-past.mr-hdr-show .mobile-header-b { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.sticky-holder.sticky, body.mr-hdr-past .mobile-header-b { transition: none; }
}

/* Phone menu: visible arrow on items with sub-pages (theme's mask icon did not render) */
.mobile-menu li.menu-item-has-children > button.arrow-down { display: flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #FFF4EE !important; }
.mobile-menu li.menu-item-has-children > button.arrow-down::after { content: "" !important; -webkit-mask: none !important; mask: none !important; background: none !important; width: 9px !important; height: 9px !important; border-right: 2.5px solid #C2410C !important; border-bottom: 2.5px solid #C2410C !important; transform: rotate(45deg) translate(-2px, -2px) !important; transition: transform .25s; }
.mobile-menu li.menu-item-has-children > button.arrow-down.active::after { transform: rotate(225deg) translate(-2px, -2px) !important; }
/* Floating WhatsApp / Plan-my-trip buttons step aside while the phone menu is open */
body.showing-main-menu-modal .mr-wa, body.showing-main-menu-modal .mrtp-launch { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
/* No sideways scrolling anywhere: the theme parks hidden dropdown menus ~160,000px to the right */
html { overflow-x: clip; }
@supports not (overflow-x: clip) { html { overflow-x: hidden; } }

/* =====================================================================
   NEW HEADER (14 Nov 2026, owner request): no contact top bar, floating glass bar
   that sits over the home-page photos, animated links + button, logo intro (mr-header.js).
   Glass effect is on ::before so the theme's fixed pop-ups (menu, search) keep working.
   ===================================================================== */
#masthead .header-m { display: none !important; }
#masthead { background: linear-gradient(180deg, #FFF4EE 0%, #fff 100%); }
body.mr-home2 #masthead { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
#masthead .header-b { background: transparent !important; padding: 16px 0 !important; }
#masthead .header-b > .container, .sticky-holder > .container { position: relative; isolation: isolate; border-radius: 20px; padding: 10px 14px 10px 22px !important; align-items: center; }
#masthead .header-b > .container::before, .sticky-holder > .container::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
	border: 1px solid rgba(255,255,255,.7); box-shadow: 0 14px 40px rgba(30,21,20,.16), inset 0 1px 0 rgba(255,255,255,.9); }
body.mr-home2 #masthead .header-b > .container::before { background: rgba(255,255,255,.8); box-shadow: 0 18px 50px rgba(0,0,0,.28); }
#masthead .header-b .custom-logo, .sticky-holder .custom-logo { max-height: 54px !important; width: auto !important; }
/* entrance: bar drops in, links follow one by one */
@keyframes mr-hdr-drop { from { opacity: 0; transform: translateY(-26px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mr-hdr-item { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
#masthead .header-b > .container { animation: mr-hdr-drop .8s cubic-bezier(.2,.8,.2,1) both; }
#masthead .header-b .primary-menu-container > ul > li, #masthead .header-b .btn-book { animation: mr-hdr-item .6s cubic-bezier(.2,.8,.2,1) both; }
#masthead .header-b .primary-menu-container > ul > li:nth-child(1) { animation-delay: .25s; }
#masthead .header-b .primary-menu-container > ul > li:nth-child(2) { animation-delay: .32s; }
#masthead .header-b .primary-menu-container > ul > li:nth-child(3) { animation-delay: .39s; }
#masthead .header-b .primary-menu-container > ul > li:nth-child(4) { animation-delay: .46s; }
#masthead .header-b .primary-menu-container > ul > li:nth-child(5) { animation-delay: .53s; }
#masthead .header-b .primary-menu-container > ul > li:nth-child(6) { animation-delay: .6s; }
#masthead .header-b .btn-book { animation-delay: .7s; }
/* links: dark text, orange underline grows from the middle */
#masthead .primary-menu-container > ul > li > a, .sticky-holder .primary-menu-container > ul > li > a { position: relative; color: #1E1514 !important; font-weight: 600 !important; font-size: 15.5px !important; transition: color .25s; }
#masthead .primary-menu-container > ul > li > a::before, .sticky-holder .primary-menu-container > ul > li > a::before { content: ""; position: absolute; left: 50%; right: 50%; bottom: 8px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, #F04E10, #FFB020); transition: left .3s cubic-bezier(.2,.8,.2,1), right .3s cubic-bezier(.2,.8,.2,1); }
#masthead .primary-menu-container > ul > li:hover > a, .sticky-holder .primary-menu-container > ul > li:hover > a { color: #C2410C !important; }
#masthead .primary-menu-container > ul > li:hover > a::before, .sticky-holder .primary-menu-container > ul > li:hover > a::before { left: 0; right: 0; }
body.home #masthead .primary-menu-container > ul > li:first-child > a { color: #C2410C !important; }
body.home #masthead .primary-menu-container > ul > li:first-child > a::before { left: 0; right: 0; }
/* sub-menus: rounded card */
#masthead .primary-menu-container ul ul, .sticky-holder .primary-menu-container ul ul { border-radius: 14px; box-shadow: 0 18px 40px rgba(30,21,20,.18) !important; border: 1px solid #F3E7E1; overflow: hidden; }
/* "Plan My Trip" button: orange gradient pill with a light sweep */
#masthead .btn-book .btn-primary, .sticky-holder .btn-book .btn-primary { position: relative; overflow: hidden; border-radius: 999px !important; padding: 13px 26px !important; font-weight: 700 !important; border: 0 !important;
	background: linear-gradient(135deg, #F04E10 0%, #C2410C 100%) !important; color: #fff !important; box-shadow: 0 10px 24px rgba(194,65,12,.35); transition: transform .25s, box-shadow .25s; }
#masthead .btn-book .btn-primary::after, .sticky-holder .btn-book .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: mr-btn-sweep 4.5s ease-in-out 2s infinite; }
#masthead .btn-book .btn-primary:hover, .sticky-holder .btn-book .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(194,65,12,.45); }
@keyframes mr-btn-sweep { 0%, 70% { left: -60%; } 100% { left: 130%; } }
/* scroll-up bar: same floating glass look */
.sticky-holder.sticky { background: transparent !important; box-shadow: none !important; padding-top: 10px; }
body.mr-hdr-show .sticky-holder.sticky { box-shadow: none !important; }

/* ---------- phones & tablets: one floating glass bar (logo + search + menu) ---------- */
@media (max-width: 1024px) {
	.mobile-header { position: fixed !important; top: 10px !important; left: 10px; right: 10px; z-index: 990; display: flex !important; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 14px !important; border-radius: 18px; background: transparent !important;
		transition: top .4s cubic-bezier(.2,.75,.2,1); }
	.mobile-header::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); border: 1px solid rgba(255,255,255,.75); box-shadow: 0 12px 34px rgba(30,21,20,.2); animation: mr-fade-in .6s ease both; }
	@keyframes mr-fade-in { from { opacity: 0; } to { opacity: 1; } }
	body.mr-home2 .mobile-header::before { background: rgba(255,255,255,.9); }
	.mobile-header .mobile-header-t, .mobile-header .mobile-header-t .container, .mobile-header .mobile-header-b { background: transparent !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; width: auto !important; max-width: none !important; min-height: 0 !important; }
	.mobile-header .mobile-header-t { flex: 1 1 auto; min-width: 0; }
	.mobile-header .custom-logo { max-height: 42px !important; width: auto !important; display: block; }
	.mobile-header .site-title-description { display: none !important; }
	.mobile-header .srch-moblop-wrap { display: flex !important; align-items: center; gap: 8px; padding: 0 !important; background: transparent !important; }
	.mobile-header .header-search-btn { width: 42px; height: 42px; border-radius: 50% !important; background: #FFF4EE !important; display: flex !important; align-items: center; justify-content: center; padding: 0 !important; border: 0 !important; }
	.mobile-header .header-search-btn svg { fill: #C2410C !important; width: 16px; height: 16px; }
	.mobile-header .mob-menu-op-txt { display: none !important; }
	.mobile-header .mobile-menu-op-wrap, .mobile-header .mobile-search-wrap { display: flex; align-items: center; padding: 0 !important; margin: 0 !important; }
	.mobile-header .mobile-menu-opener { width: 46px !important; height: 42px !important; border-radius: 14px !important; background: linear-gradient(135deg, #F04E10, #C2410C) !important; box-shadow: 0 8px 18px rgba(194,65,12,.35); position: relative; padding: 0 !important; border: 0 !important; }
	.mobile-header .mobile-menu-opener { background: linear-gradient(#fff,#fff) center 13px / 20px 2.5px no-repeat, linear-gradient(#fff,#fff) center 20px / 20px 2.5px no-repeat, linear-gradient(#fff,#fff) center 27px / 20px 2.5px no-repeat, linear-gradient(135deg, #F04E10, #C2410C) !important; }
	.mobile-header .mobile-menu-opener span, .mobile-header .mobile-menu-opener::before, .mobile-header .mobile-menu-opener::after { display: none !important; }
	.mobile-header .search-toggle-form { display: none !important; }
	body.showing-search-modal .mobile-header .search-toggle-form { display: block !important; position: fixed !important; left: 10px; right: 10px; top: 84px; z-index: 1000; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 18px 40px rgba(30,21,20,.25); height: auto; }
	/* hide when scrolling down, come back when scrolling up (classes from mr-header.js) */
	body.mr-hdr-past .mobile-header { padding-bottom: 8px !important; }
	body.mr-hdr-past .mobile-header-b { position: static !important; transform: none !important; box-shadow: none !important; }
	body.mr-hdr-past.mr-hdr-hide .mobile-header { top: -100px !important; }
	/* pages other than the home: leave room for the floating bar */
	body:not(.mr-home2) #page { padding-top: 80px; }
	body.showing-main-menu-modal .mobile-header, body.showing-search-modal .mobile-header { top: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
	#masthead .header-b > .container, #masthead .header-b .primary-menu-container > ul > li, #masthead .header-b .btn-book { animation: none !important; }
	#masthead .btn-book .btn-primary::after { animation: none; }
}

/* ---------- logo intro (5 s, first visit / refresh / logo click – mr-header.js) ---------- */
.custom-logo-link.mrl-on { position: relative; display: inline-block; }
.custom-logo-link.mrl-on > img.custom-logo { opacity: 0; }
.mrl-p { position: absolute !important; left: 0; top: 0; width: 100% !important; height: 100% !important; max-height: none !important; pointer-events: none; }
.mrl-icon { clip-path: inset(0 65% 0 0); transform-origin: 17% 70%; animation: mrl-icon 1.3s cubic-bezier(.2,.9,.25,1.25) .1s both, mrl-sun 1.6s ease-in-out 3s 1; }
.mrl-mount { clip-path: inset(0 10% 50% 34%); animation: mrl-mount 1s cubic-bezier(.2,.8,.2,1) .8s both; }
.mrl-rang { clip-path: inset(50% 0 0 34%); animation: mrl-rang 1s cubic-bezier(.2,.8,.2,1) 1.3s both; }
.mrl-tm { clip-path: inset(0 0 68% 90%); transform-origin: 94% 15%; animation: mrl-tm .6s cubic-bezier(.3,1.6,.4,1) 2.2s both; }
.mrl-glow { position: absolute; left: 1%; top: -10%; width: 32%; height: 120%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,140,60,.75) 0%, rgba(240,78,16,.25) 45%, rgba(240,78,16,0) 70%); filter: blur(4px); animation: mrl-glow 5s ease-in-out both; }
.mrl-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.95) 50%, transparent 62%) no-repeat; background-size: 250% 100%; background-position: 160% 0;
	-webkit-mask: var(--mrl-src) center / 100% 100% no-repeat; mask: var(--mrl-src) center / 100% 100% no-repeat; animation: mrl-shine 1.1s ease-in-out 2.7s both, mrl-shine2 1.1s ease-in-out 3.9s both; }
@keyframes mrl-icon { 0% { opacity: 0; clip-path: inset(100% 65% 0 0); transform: translateY(40%) scale(.5) rotate(-30deg); } 60% { opacity: 1; } 100% { opacity: 1; clip-path: inset(0 65% 0 0); transform: none; } }
@keyframes mrl-sun { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 10px rgba(240,78,16,.9)) brightness(1.12); } }
@keyframes mrl-mount { from { opacity: 0; clip-path: inset(0 90% 50% 34%); transform: translateX(-14px); filter: blur(6px); } to { opacity: 1; clip-path: inset(0 10% 50% 34%); transform: none; filter: none; } }
@keyframes mrl-rang { from { opacity: 0; clip-path: inset(50% 0 0 100%); transform: translateX(16px); filter: blur(6px); } to { opacity: 1; clip-path: inset(50% 0 0 34%); transform: none; filter: none; } }
@keyframes mrl-tm { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
@keyframes mrl-glow { 0% { opacity: 0; transform: scale(.3); } 18% { opacity: 1; transform: scale(1.15); } 40% { opacity: .35; transform: scale(1); } 65% { opacity: .9; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes mrl-shine { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@keyframes mrl-shine2 { from { background-position: 160% 0; } to { background-position: -60% 0; } }

/* =====================================================================
   SEARCH (16 Nov 2026, owner): desktop search button turned on (theme mod ed_header_search);
   one clear search card for desktop + phones – dark readable text, orange Search button, close ×.
   ===================================================================== */
#masthead .header-search-btn, .sticky-holder .header-search-btn { width: 42px; height: 42px; border-radius: 50% !important; background: #FFF4EE !important; border: 0 !important; display: flex !important; align-items: center; justify-content: center; padding: 0 !important; margin-left: 6px; cursor: pointer; }
#masthead .header-search-btn svg, .sticky-holder .header-search-btn svg { width: 16px; height: 16px; fill: #C2410C !important; }
#masthead .header-search-btn:hover, .sticky-holder .header-search-btn:hover { background: #FFE6D9 !important; }

/* the card */
body.showing-search-modal .search-toggle-form.active,
body.showing-search-modal .mobile-header .search-toggle-form { display: block !important; position: fixed !important; z-index: 100000 !important; top: 96px !important; left: 50% !important; right: auto !important; bottom: auto !important; transform: translateX(-50%) !important;
	width: min(680px, calc(100vw - 24px)) !important; height: auto !important; max-height: none !important; padding: 18px !important; margin: 0 !important; background: #fff !important; border-radius: 18px !important; box-shadow: 0 22px 60px rgba(30,21,20,.28) !important; opacity: 1 !important; visibility: visible !important; }
.search-toggle-form .header-search-inner { position: relative; width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; background: transparent !important; }
.search-toggle-form .search-form { display: flex !important; align-items: center; gap: 8px; width: 100% !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.search-toggle-form .search-form > label { flex: 1 1 auto; min-width: 0; display: block !important; margin: 0 !important; }
.search-toggle-form .search-field { width: 100% !important; height: 50px !important; padding: 0 18px !important; border: 1.5px solid #E5DDD8 !important; border-radius: 999px !important; background: #FAF7F5 !important; color: #1E1514 !important; -webkit-text-fill-color: #1E1514 !important; opacity: 1 !important; font-size: 16px !important; line-height: 50px !important; box-shadow: none !important; }
.search-toggle-form .search-field::placeholder { color: #8A7F7B !important; -webkit-text-fill-color: #8A7F7B !important; opacity: 1 !important; }
.search-toggle-form .search-field:focus { outline: none !important; border-color: #F04E10 !important; background: #fff !important; }
.search-toggle-form .search-submit { position: static !important; flex: 0 0 auto; width: auto !important; height: 50px !important; padding: 0 22px !important; margin: 0 !important; border: 0 !important; border-radius: 999px !important; background: linear-gradient(135deg, #F04E10, #C2410C) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 15px !important; font-weight: 700 !important; text-indent: 0 !important; line-height: 50px !important; cursor: pointer; opacity: 1 !important; visibility: visible !important; }
.search-toggle-form .btn-form-close { display: flex !important; align-items: center; justify-content: center; position: absolute !important; top: -32px !important; right: -32px !important; left: auto !important; width: 34px !important; height: 34px !important; padding: 0 !important; border-radius: 50% !important; background: #1E1514 !important; border: 2px solid #fff !important; box-shadow: 0 6px 16px rgba(0,0,0,.25); cursor: pointer; }
.search-toggle-form .btn-form-close::before, .search-toggle-form .btn-form-close::after { content: "" !important; position: absolute !important; top: 50% !important; left: 50% !important; width: 14px !important; height: 2px !important; margin: 0 !important; background: #fff !important; border: 0 !important; transform: translate(-50%, -50%) rotate(45deg) !important; }
.search-toggle-form .btn-form-close::after { transform: translate(-50%, -50%) rotate(-45deg) !important; }
@media (max-width: 1024px) {
	body.showing-search-modal .mobile-header .search-toggle-form { top: 84px !important; padding: 14px !important; }
	.search-toggle-form .search-submit { padding: 0 16px !important; }
	.search-toggle-form .btn-form-close { top: -26px !important; right: -6px !important; }
}
/* entrance animation: keep no transform after it ends, so the fixed search card is placed against the screen */
#masthead .header-b > .container { animation-fill-mode: backwards !important; }
.search-toggle-form .search-submit { -webkit-mask: none !important; mask: none !important; background-size: auto !important; }
.search-toggle-form .search-submit { transform: none !important; top: auto !important; bottom: auto !important; align-self: center; }
.search-toggle-form .search-form > .screen-reader-text { flex: 0 0 auto !important; }
.search-toggle-form .search-field { flex: 1 1 auto; min-width: 0; }

/* Fix 21 Nov 2026: the search "submit" (forced visible above) stayed clickable while the search panel was hidden,
   sitting over the "About" menu item on desktop – clicking About ran an empty search. Closed panel = nothing clickable. */
body:not(.showing-search-modal) .search-toggle-form,
body:not(.showing-search-modal) .search-toggle-form * { visibility: hidden !important; pointer-events: none !important; }
