/* LHARI Island 1.2.0 - floating header + bottom navigation on phones and touch tablets
 * (<=767px, or touch-only screens up to 1366px wide and at least 600px tall; phones in landscape,
 * laptops and desktops keep the site's navigation).
 * Child-theme module: inc/lhari-island.php prints the markup, assets/js/lhari-island.js enhances it.
 * Theme button/link styles (Hello Elementor reset, Elementor kit) are neutralised with a
 * zero-specificity !important reset below; component rules that must win add !important too
 * and come later in this file, so they take precedence over the reset. */

.lhi {
	--lhi-bg: rgba(14, 14, 15, 0.94);
	--lhi-fg: #fff;
	--lhi-dim: rgba(255, 255, 255, 0.55);
	--lhi-line: rgba(255, 255, 255, 0.08);
	--lhi-soft: rgba(255, 255, 255, 0.1);
	--lhi-ok: #9be0a8;
	--lhi-font: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--lhi-morph: cubic-bezier(0.3, 1.15, 0.5, 1);
	--lhi-out: cubic-bezier(0.22, 1, 0.36, 1);
	--lhi-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--lhi-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	font-family: var(--lhi-font);
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) and (hover: hover), (min-width: 768px) and (pointer: fine), (min-width: 768px) and (pointer: none), (min-width: 768px) and (max-height: 599px), (min-width: 1367px) {
	.lhi { display: none !important; }
}

/* ---- how the rest of the site makes room (phones and touch tablets) ---- */
@media (max-width: 767px), (max-width: 1366px) and (min-height: 600px) and (hover: none) and (pointer: coarse) {
	:root { --lhi-top: calc(64px + env(safe-area-inset-top, 0px)); }

	/* Replaced on mobile by the island header and bar (desktop keeps them). */
	body.lhi-on #topbar,
	body.lhi-on .norbu-promo-bar,
	body.lhi-on .norbu-global-nav,
	body.lhi-on .norbu-global-search,
	body.lhi-on .norbu-global-search-form,
	body.lhi-on .norbu-floating-bag,
	body.lhi-on .norbu-cart-toast { display: none !important; }

	/* Replaced on mobile too: the Custom Studio page's own brand bar. */
	body.lhi-on .lhari-custom-header { display: none !important; }

	/* Space for the floating buttons (top) and island (bottom). Pages that open with a picture
	 * (home hero, collection hero, page banner) run it full-bleed under the buttons instead. */
	body.lhi-on { padding-top: calc(40px + env(safe-area-inset-top, 0px)) !important; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important; }
	body.lhi-product { padding-top: calc(8px + env(safe-area-inset-top, 0px)) !important; }
	body.lhi-home,
	body.lhi-on:not(.lhi-product):has(.norbu-series-hero),
	body.lhi-on:not(.lhi-product):not(.archive):not(.search):has(.norbu-page-ambient-hero) { padding-top: 0 !important; }
	body.lhi-cart, body.lhi-checkout, body.lhi-thanks { padding-bottom: env(safe-area-inset-bottom, 0px) !important; }
	body.lhi-product .norbu-page-ambient-hero { display: none !important; }
	body.admin-bar .lhi-head { top: 46px; }

	/* Sticky series tabs would sit under the buttons; let them scroll with the page. */
	body.lhi-on .norbu-series-nav { position: static !important; top: auto !important; }

	/* Tawk's own launcher bubble and message preview: chat opens from the island instead. Hidden here rather
	 * than only through Tawk_API.hideWidget(), which Tawk makes available about a second after the bubble
	 * has already appeared. The open chat window lives in a different container and is unaffected. */
	body.lhi-on #min-widget,
	body.lhi-on #message-preview { display: none !important; }

	/* Full-screen gallery, and no page scrolling behind an open card. */
	body.norbu-gallery-open .lhi,
	html:has(.pswp--open) .lhi { visibility: hidden !important; }
	html.lhi-lock, html.lhi-lock body { overflow: hidden !important; }
	body.lhi-on { scroll-padding-top: var(--lhi-top); }
}

.lhi *, .lhi *::before, .lhi *::after { box-sizing: border-box; }

/* ---- reset against theme styles (all states) ---- */
.lhi :where(button, a, input, b, em, span, label, form, nav, div) {
	font-family: var(--lhi-font) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}
.lhi :where(button, a) {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	width: auto;
	line-height: 1.2 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	text-decoration: none !important;
	text-align: inherit;
	white-space: normal;
	cursor: pointer;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-appearance: none;
	appearance: none;
	transition: transform 220ms var(--lhi-spring), background-color 200ms ease, color 260ms ease !important;
}
.lhi :where(button, a):active { transform: scale(0.93); }
.lhi :where(button, a, input):focus-visible { outline: 2px solid var(--lhi-ok) !important; outline-offset: 2px; }
.lhi input:not([type="checkbox"]):not([type="radio"]):focus-visible { outline: none !important; } /* fields show focus themselves */
.lhi svg { display: block; width: 22px; height: 22px; fill: none !important; stroke: currentColor !important; stroke-linecap: round; stroke-linejoin: round; }
.lhi img { display: block; max-width: none !important; object-fit: cover; background: #2a2722; border: 0 !important; box-shadow: none !important; }
.lhi b { font-weight: 500 !important; }

/* ---- floating header: wordmark + separate glass buttons, no bar ---- */
.lhi-head {
	position: fixed !important;
	left: 0;
	right: 0;
	top: 0;
	z-index: 10008;
	height: calc(56px + env(safe-area-inset-top, 0px));
	padding: calc(14px + env(safe-area-inset-top, 0px)) 14px 0 16px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	pointer-events: none;
	color: #1a1814;
	transition: color 450ms ease;
}
.lhi-head.is-hero { color: #fff; }
.lhi-head-side { display: flex; align-items: center; gap: 8px; }
.lhi-f {
	display: block;
	pointer-events: auto;
	transition: transform 520ms cubic-bezier(0.34, 1.4, 0.64, 1) var(--lhi-d, 0ms), opacity 300ms ease var(--lhi-d, 0ms);
}
.lhi-head.is-hidden .lhi-f { transform: translateY(-14px) scale(0.6); opacity: 0; pointer-events: none; }
.lhi-hbtn {
	width: 42px;
	height: 42px;
	border-radius: 21px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: rgba(250, 248, 244, 0.84) !important;
	box-shadow: 0 6px 18px rgba(17, 17, 17, 0.12), inset 0 0 0 1px rgba(17, 17, 17, 0.06) !important;
	-webkit-backdrop-filter: blur(18px) saturate(1.6);
	backdrop-filter: blur(18px) saturate(1.6);
}
.lhi-head.is-hero .lhi-hbtn { background: rgba(20, 18, 15, 0.3) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important; }
.lhi-hbtn svg { width: 21px; height: 21px; stroke-width: 1.7; }
.lhi-hbtn[data-back] svg { stroke-width: 1.9; }
.lhi-mark {
	pointer-events: auto;
	height: 42px;
	display: flex !important;
	align-items: center;
	padding-left: 0.32em !important;
	margin-left: -0.32em !important;
	font-family: "Cormorant Garamond", "LHARI Serif Fallback", Georgia, serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	letter-spacing: 0.32em !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	text-shadow: 0 0 14px rgba(245, 240, 232, 0.9);
	transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease, color 450ms ease !important;
}
.lhi-head.is-hero .lhi-mark { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.lhi-head.is-hidden .lhi-mark { transform: translateY(-10px); opacity: 0; pointer-events: none; }
/* App screens: the back button of the page underneath gives way to the wordmark (home); a screen with its own
 * back button (a piece, a later Custom step) keeps the corner for it. */
.lhi-head .lhi-mark-app { display: none !important; }
html.lha-on .lhi-head .lhi-f:has(> [data-back]), html.lha-on .lhi-head [data-back] { display: none !important; }
html.lha-on .lhi-head .lhi-mark-app { display: flex !important; }
html.lha-on.lha-has-back .lhi-head .lhi-mark { opacity: 0; pointer-events: none; } /* also the plain wordmark (Custom Studio's later steps) */
.lhi-secure {
	height: 36px;
	padding: 0 14px 0 12px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 500;
	color: #3d3831;
	background: rgba(250, 248, 244, 0.84);
	box-shadow: 0 6px 18px rgba(17, 17, 17, 0.1), inset 0 0 0 1px rgba(17, 17, 17, 0.06);
	-webkit-backdrop-filter: blur(18px) saturate(1.6);
	backdrop-filter: blur(18px) saturate(1.6);
}
.lhi-secure svg { width: 14px; height: 14px; stroke-width: 1.8; }

/* ---- dim layer behind an expanded island ---- */
.lhi-dim {
	position: fixed;
	inset: 0;
	z-index: 10009;
	background: rgba(20, 18, 15, 0.28);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 420ms var(--lhi-out);
}
.lhi.is-open .lhi-dim { opacity: 1; pointer-events: auto; }

/* ---- the island ---- */
.lhi-island {
	position: fixed !important;
	left: 0;
	right: 0;
	bottom: var(--lhi-bottom);
	margin: 0 auto;
	z-index: 10010;
	width: 280px;
	height: 60px;
	border-radius: 30px;
	overflow: hidden;
	color: var(--lhi-fg);
	background: var(--lhi-bg);
	-webkit-backdrop-filter: blur(20px) saturate(1.4);
	backdrop-filter: blur(20px) saturate(1.4);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.18), inset 0 0 0 1px var(--lhi-line);
	transition: width 600ms var(--lhi-morph), height 600ms var(--lhi-morph), border-radius 600ms var(--lhi-morph);
	will-change: width, height;
	contain: layout paint; /* its size changes stay inside it: the page never re-lays out for a morph */
}
.lhi-island.is-morphing { -webkit-backdrop-filter: none; backdrop-filter: none; }

.lhi[data-mode="buy"] .lhi-island { width: min(358px, calc(100vw - 32px)); height: 68px; border-radius: 34px; }
.lhi[data-mode="buy"] .lhi-buy { width: min(358px, calc(100vw - 32px)); }

.lhi-body { position: absolute; left: 0; top: 0; }
.lhi-body > * { animation: lhi-fade 260ms ease 60ms both; }
.lhi-body > .lhi-card { animation: none; }
.lhi-body.lhi-static > *, .lhi-body.lhi-static .lhi-rise { animation: none !important; }

@keyframes lhi-fade { from { opacity: 0; filter: blur(6px); transform: scale(0.96); } to { opacity: 1; filter: none; transform: none; } }
@keyframes lhi-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.lhi-rise { animation: lhi-rise 380ms var(--lhi-out) both; }

/* ---- bar ---- */
.lhi-row {
	position: relative;
	width: 280px;
	height: 60px;
	padding: 0 10px;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	touch-action: none;
}
.lhi-tab { position: relative; display: flex !important; align-items: center; justify-content: center; height: 60px; color: rgba(255, 255, 255, 0.72) !important; }
.lhi-tab.is-active { color: #111 !important; }
.lhi-tab .lhi-dock { display: block; position: relative; transform-origin: 50% 70%; }
.lhi-tab svg { width: 23px; height: 23px; stroke-width: 1.7; }
.lhi-ind {
	position: absolute;
	top: 8px;
	left: 14px;
	width: 44px;
	height: 44px;
	border-radius: 22px;
	background: #fff;
	transform: scale(0);
	transition: left 520ms var(--lhi-spring), transform 380ms var(--lhi-spring);
}
.lhi-badge {
	position: absolute;
	top: -6px;
	left: 14px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: #fff;
	color: #111 !important;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
	box-shadow: 0 0 0 2px #0e0e0f;
	transition: transform 300ms var(--lhi-spring);
}
.lhi-badge.is-bump { transform: scale(1.4); }

/* ---- mini ---- */
.lhi-mini { width: 112px; height: 48px; display: flex !important; align-items: center; justify-content: center; gap: 14px; color: #fff !important; }
.lhi-mini svg { width: 20px; height: 20px; stroke-width: 1.8; }
.lhi-mini-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.18); }
.lhi-mini-bag { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }

/* ---- buy (product pages) ---- */
.lhi-buy { height: 68px; padding: 0 10px 0 12px; display: flex; align-items: center; gap: 12px; }
.lhi-buy-img { width: 44px !important; height: 44px !important; border-radius: 12px; flex-shrink: 0; }
.lhi-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lhi-meta b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.lhi-meta span { font-size: 12.5px; color: var(--lhi-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lhi-circle { position: relative; width: 44px; height: 44px; border-radius: 22px !important; background: var(--lhi-soft) !important; color: #fff !important; display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; }
.lhi-circle svg { width: 20px; height: 20px; stroke-width: 1.7; }
.lhi-circle .lhi-badge { top: 2px; left: auto; right: 2px; min-width: 16px; height: 16px; line-height: 16px; font-size: 10px; box-shadow: none; }
.lhi-pill { height: 46px; padding: 0 20px !important; border-radius: 23px !important; background: #fff !important; color: #111 !important; font-size: 14.5px !important; font-weight: 600 !important; flex-shrink: 0; white-space: nowrap !important; display: inline-flex !important; align-items: center; }
.lhi-pill[disabled] { opacity: 0.6; }
.lhi-pill.is-out { opacity: 1; background: rgba(255, 255, 255, .22) !important; color: rgba(255, 255, 255, .75) !important; letter-spacing: .04em; }

/* ---- toast ---- */
.lhi-toast { height: 72px; padding: 0 22px 0 14px; display: flex; align-items: center; gap: 12px; }
.lhi-toast img { width: 46px !important; height: 46px !important; border-radius: 23px; flex-shrink: 0; }
.lhi-toast .lhi-meta span:first-child { color: var(--lhi-ok); font-size: 12px; font-weight: 500; }
.lhi-toast .lhi-meta b { font-size: 15px; }
.lhi-toast.is-error .lhi-meta span:first-child { color: #ffb4a8; }
.lhi-toast-price { font-size: 15px; font-weight: 600; flex-shrink: 0; color: #fff; }

/* ---- cards ---- */
.lhi-card { display: flex; flex-direction: column; padding: 18px 12px 12px; }
.lhi-head-row { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 12px; }
.lhi-title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em !important; color: #fff; }
.lhi-title em { font-style: normal; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.lhi-x { width: 32px; height: 32px; border-radius: 16px !important; background: var(--lhi-soft) !important; color: #fff !important; display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; }
.lhi-x svg { width: 13px; height: 13px; stroke-width: 2.4; }
.lhi-item { min-height: 60px !important; display: flex !important; align-items: center; gap: 12px; padding: 0 8px !important; border-radius: 14px !important; text-align: left !important; color: #fff !important; width: 100%; }
.lhi-item:hover { background: rgba(255, 255, 255, 0.05) !important; }
.lhi-thumb { width: 44px !important; height: 44px !important; border-radius: 12px; flex-shrink: 0; overflow: hidden; display: block; }
.lhi-thumb img { width: 100% !important; height: 100% !important; }
.lhi-item .lhi-meta b { font-size: 15.5px; }
.lhi-aside { font-size: 12.5px; color: var(--lhi-dim); flex-shrink: 0; }
.lhi-cta { margin-top: auto !important; height: 46px; border-radius: 23px !important; background: #fff !important; color: #111 !important; font-size: 14.5px !important; font-weight: 600 !important; display: flex !important; align-items: center; justify-content: center; }

/* ---- search ---- */
.lhi-card.is-search { padding-top: 14px; gap: 12px; }
.lhi-search-row { display: flex; align-items: center; gap: 8px; margin: 0; }
.lhi-field { flex: 1 1 auto; height: 46px; border-radius: 23px; background: var(--lhi-soft); display: flex; align-items: center; gap: 10px; padding: 0 16px; margin: 0; }
.lhi-field svg { width: 18px; height: 18px; stroke-width: 1.8; color: rgba(255, 255, 255, 0.6); flex-shrink: 0; }
.lhi-field input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	height: 44px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #fff !important;
	font-size: 16px !important;
	line-height: 44px !important;
	padding: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
}
.lhi .lhi-field input:focus, .lhi .lhi-field input:focus-visible { outline: none !important; }
.lhi-field:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.lhi-field input::placeholder { color: rgba(255, 255, 255, 0.4) !important; opacity: 1; }
.lhi-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.lhi-cancel { height: 44px; padding: 0 6px !important; font-size: 14.5px !important; color: rgba(255, 255, 255, 0.75) !important; flex-shrink: 0; }
.lhi-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px; }
.lhi-chip { height: 32px; padding: 0 12px !important; border-radius: 16px !important; border: 1px solid rgba(255, 255, 255, 0.16) !important; font-size: 13px !important; color: rgba(255, 255, 255, 0.85) !important; }
.lhi-label { font-size: 12px; color: rgba(255, 255, 255, 0.45); padding: 2px 8px 0; }
.lhi-results { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; scrollbar-width: none; display: flex; flex-direction: column; }
.lhi-results::-webkit-scrollbar { display: none; }
.lhi-empty { padding: 20px 8px; font-size: 14px; color: var(--lhi-dim); }
.lhi-link { align-self: flex-start; font-size: 13px !important; color: rgba(255, 255, 255, 0.7) !important; padding: 6px 8px !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* ---- bag ---- */
.lhi-card.is-bag { padding: 18px 16px 16px; }
.lhi-card.is-bag .lhi-head-row { padding: 0 0 12px; }
.lhi-ship { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.lhi-track { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.lhi-track i { display: block; height: 4px; border-radius: 2px; background: var(--lhi-ok); transition: width 700ms var(--lhi-out); }
.lhi-lines { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.lhi-lines::-webkit-scrollbar { display: none; }
.lhi-line { height: 80px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--lhi-line); }
.lhi-line img { width: 56px !important; height: 56px !important; border-radius: 14px; flex-shrink: 0; }
.lhi-line-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lhi-line-name { display: block !important; font-size: 14.5px !important; font-weight: 500 !important; color: #fff !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }
.lhi-line-size { display: block; margin-top: -3px; font-size: 12px; color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* the chosen size of a piece made in sizes */
.lhi-line-row { display: flex; align-items: center; justify-content: space-between; }
.lhi-step { display: flex; align-items: center; height: 30px; border-radius: 15px; background: var(--lhi-soft); color: #fff; }
.lhi-step button { width: 34px; height: 30px; font-size: 16px !important; line-height: 30px !important; text-align: center !important; color: #fff !important; }
.lhi-step button[disabled] { opacity: 0.35; }
.lhi-step span { min-width: 14px; text-align: center; font-size: 13.5px; font-weight: 600; }
.lhi-line-total { font-size: 14.5px; font-weight: 600; color: #fff; }
.lhi-foot { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--lhi-line); }
.lhi-sum { display: flex; align-items: baseline; justify-content: space-between; }
.lhi-sum span { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.lhi-sum b { font-size: 20px; font-weight: 600 !important; color: #fff; }
.lhi-foot .lhi-cta { height: 50px; border-radius: 25px !important; font-size: 15.5px !important; margin-top: 0 !important; }
.lhi-foot .lhi-link { align-self: center; }
.lhi-card.is-busy .lhi-lines { opacity: 0.6; pointer-events: none; transition: opacity 200ms ease; }
.lhi-center { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-size: 15px; color: rgba(255, 255, 255, 0.6); }
.lhi-center .lhi-cta { margin-top: 0 !important; padding: 0 20px !important; height: 44px; }

/* ---- ask ---- */
.lhi-glyph { width: 40px; height: 40px; border-radius: 20px; background: var(--lhi-soft); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lhi-glyph svg { width: 19px; height: 19px; stroke-width: 1.6; }
.lhi-glyph.is-primary { background: #fff; color: #111; }

/* ---- flyer ---- */
.lhi-fly { position: fixed; left: 0; top: 0; z-index: 10020; pointer-events: none; }
.lhi-fly img { width: 64px !important; height: 64px !important; border-radius: 32px; border: 2px solid #fff !important; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important; }

.lhi-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.lhi-f, .lhi-mark, .lhi-island, .lhi-dim, .lhi-ind, .lhi-badge, .lhi-track i { transition: none !important; }
	.lhi :where(button, a) { transition: none !important; }
	.lhi-body > *, .lhi-rise { animation: none !important; }
}

/* ---- page-to-page: header and island stay put while the page underneath cross-fades
 * (Chrome 126+, Safari 18.2+; other browsers just load normally) ---- */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference), (max-width: 1366px) and (min-height: 600px) and (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	.lhi-head { view-transition-name: lhi-head; }
	.lhi-island { view-transition-name: lhi-island; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; }
	::view-transition-group(lhi-island) { animation-duration: 520ms; animation-timing-function: cubic-bezier(0.3, 1.15, 0.5, 1); }
}

@media print { .lhi { display: none !important; } }
