/* ==========================================================================
   IMGLOME global header · topbar + floating crystal pill + Products mega menu
   Markup: header-imglome.php · Behaviour: header.js
   Every rule is scoped to .imglome-topbar, #imglome-header or
   .imglome-skip-link; nothing here styles bare elements. The ID scope is
   deliberate: Electro styles `button:not(…)×5` at (0,5,1) specificity.

   Page-level z-index scale
     80–100   page sticky bars (Home / Almacenamiento section controllers)
     900      #imglome-header (rail, backdrop, mega menu, sheets)
     1000+    Electro dropdowns & overlay, PhotoSwipe (1500), lightboxes and
              popups (9999+), WordPress admin bar (99999)
   ========================================================================== */

:root {
	--imglome-header-z: 900;
	/* Anchor offset below the compact sticky pill (header.js refines both). */
	--imglome-header-offset: 88px;
	--imglome-header-stuck: 82px;
}

html:has(> body.imglome-has-header) {
	scroll-padding-top: var(--imglome-header-offset);
}

.imglome-topbar,
#imglome-header {
	--ih-ink: #0a1b33;
	--ih-text: #273c58;
	--ih-muted: #5f7189;
	--ih-blue: #1463d8;
	--ih-line: rgba(10, 27, 51, 0.09);
	--ih-tint: rgba(20, 99, 216, 0.07);
	--ih-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ih-fast: 200ms;
	--ih-slow: 280ms;
	--ih-gutter: clamp(24px, 4.2vw, 72px);
	--ih-pill-h: 74px;
	--ih-pill-h-compact: 62px;
	--ih-rail-pad: 12px;
	--ih-logo-h: 42px;
	--ih-logo-h-compact: 36px;
	--ih-search-w: clamp(272px, 19vw, 300px);
	--ih-glass-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 0 0 1px rgba(10, 27, 51, 0.045),
		0 2px 6px rgba(10, 27, 51, 0.035),
		0 14px 34px -16px rgba(10, 27, 51, 0.18),
		0 18px 46px -24px rgba(20, 99, 216, 0.34);
	--ih-panel-shadow:
		0 0 0 1px rgba(10, 27, 51, 0.05),
		0 8px 20px -10px rgba(10, 27, 51, 0.12),
		0 26px 60px -22px rgba(10, 27, 51, 0.3),
		0 30px 70px -34px rgba(20, 99, 216, 0.38);
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.imglome-topbar *,
#imglome-header * {
	box-sizing: border-box;
}

#imglome-header button {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	min-height: 0;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

#imglome-header .imglome-icon {
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
}

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

.imglome-skip-link {
	position: fixed;
	z-index: 100001;
	top: 10px;
	left: 10px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(10, 27, 51, 0.2);
	color: #0a1b33;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-160%);
}

.imglome-skip-link:focus {
	transform: none;
	color: #0a1b33;
	outline: 2px solid #1463d8;
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */

.imglome-topbar {
	position: relative;
	height: 34px;
	background: transparent;
	color: var(--ih-text);
	font-size: 12.5px;
	line-height: 1;
}

.imglome-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(1560px, calc(100% - 2 * clamp(16px, 4vw, 66px)));
	height: 100%;
	margin: 0 auto;
}

.imglome-topbar .imglome-icon {
	display: block;
	flex: none;
	width: 16px;
	height: 16px;
}

.imglome-topbar__lead {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	margin: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.imglome-topbar__lead span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.imglome-topbar__lead .imglome-icon {
	color: var(--ih-blue);
}

.imglome-topbar__list {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.6vw, 42px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.imglome-topbar__item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	white-space: nowrap;
}

.imglome-topbar__item .imglome-icon {
	width: 17px;
	height: 17px;
	color: #3b5374;
}

/* --------------------------------------------------------------------------
   Sticky rail + crystal pill
   -------------------------------------------------------------------------- */

#imglome-header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: var(--imglome-header-z);
	box-sizing: border-box;
	/* Constant height: compaction happens inside, so the page never shifts. */
	height: calc(var(--ih-pill-h) + 2 * var(--ih-rail-pad));
	margin: 0;
	padding: var(--ih-rail-pad) 0;
	color: var(--ih-ink);
	pointer-events: none;
}

.admin-bar #imglome-header {
	top: 32px;
}

#imglome-header .imglome-header-pill {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	width: min(1372px, calc(100% - 2 * var(--ih-gutter)));
	height: var(--ih-pill-h);
	margin: 0 auto;
	padding: 0 18px 0 40px;
	border-radius: 999px;
	pointer-events: auto;
	transition: height var(--ih-slow) var(--ih-ease);
}

/* Glass lives on a pseudo-element so the mega menu and sheets can blur the
   page themselves (a backdrop-filter parent would isolate them). */
#imglome-header .imglome-header-pill::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.74));
	box-shadow: var(--ih-glass-shadow);
	-webkit-backdrop-filter: blur(24px) saturate(155%);
	backdrop-filter: blur(24px) saturate(155%);
	transition: background var(--ih-slow) var(--ih-ease), box-shadow var(--ih-slow) var(--ih-ease);
}

#imglome-header.is-scrolled .imglome-header-pill {
	height: var(--ih-pill-h-compact);
}

#imglome-header.is-scrolled .imglome-header-pill::before {
	/* Denser over dark heroes so the pill keeps reading as white glass. */
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.87));
	-webkit-backdrop-filter: blur(26px) saturate(170%) brightness(1.06);
	backdrop-filter: blur(26px) saturate(170%) brightness(1.06);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 0 0 1px rgba(10, 27, 51, 0.06),
		0 4px 10px rgba(10, 27, 51, 0.05),
		0 18px 38px -16px rgba(10, 27, 51, 0.24),
		0 20px 50px -24px rgba(20, 99, 216, 0.4);
}

#imglome-header :is(a, button, input):focus-visible {
	outline: 2px solid #2f7cf0;
	outline-offset: 2px;
}

/* Logo ------------------------------------------------------------------- */

#imglome-header .imglome-header__logo {
	display: flex;
	flex: none;
	align-items: center;
	margin-right: clamp(28px, 3.2vw, 56px);
	border-radius: 10px;
	text-decoration: none;
}

#imglome-header .imglome-header__logo-img {
	display: block;
	width: auto;
	max-width: none;
	height: var(--ih-logo-h);
	transition: height var(--ih-slow) var(--ih-ease);
}

#imglome-header.is-scrolled .imglome-header__logo-img {
	height: var(--ih-logo-h-compact);
}

#imglome-header .imglome-header__logo-text {
	color: var(--ih-ink);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* Navigation ------------------------------------------------------------- */

#imglome-header .imglome-nav {
	display: flex;
	flex: none;
	align-self: stretch;
}

#imglome-header .imglome-nav__list {
	display: flex;
	align-items: stretch;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#imglome-header .imglome-nav__item {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

#imglome-header .imglome-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	background: transparent;
	color: var(--ih-ink);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.006em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition:
		color var(--ih-fast) var(--ih-ease),
		background-color var(--ih-fast) var(--ih-ease),
		transform var(--ih-fast) var(--ih-ease);
}

#imglome-header .imglome-nav__link .imglome-icon {
	width: 16px;
	height: 16px;
	margin-right: -3px;
	opacity: 0.8;
}

#imglome-header .imglome-nav__link:hover {
	background: var(--ih-tint);
	color: var(--ih-blue);
	transform: translateY(-1px);
}

#imglome-header .imglome-nav__link[aria-current="page"],
#imglome-header .imglome-nav__item.is-current > .imglome-nav__link,
#imglome-header .imglome-nav__trigger[aria-expanded="true"] {
	color: var(--ih-blue);
}

#imglome-header .imglome-nav__link[aria-current="page"]::after,
#imglome-header .imglome-nav__item.is-current > .imglome-nav__link::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	transform: translateX(-50%);
}

#imglome-header .imglome-nav__cta {
	display: none;
}

/* Products mega menu (desktop) ------------------------------------------- */

#imglome-header .imglome-mega {
	--ih-caret-x: 58px;
	position: absolute;
	top: calc(100% + 8px);
	left: -14px;
	display: grid;
	grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr);
	width: 652px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: var(--ih-panel-shadow);
	-webkit-backdrop-filter: blur(26px) saturate(160%);
	backdrop-filter: blur(26px) saturate(160%);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition:
		opacity var(--ih-fast) var(--ih-ease),
		transform 220ms var(--ih-ease),
		visibility 0s linear 220ms;
}

/* Hover bridge across the gap between the pill and the panel. */
#imglome-header .imglome-mega::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 22px;
}

#imglome-header .imglome-nav__item--mega.is-open > .imglome-mega {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition:
		opacity var(--ih-fast) var(--ih-ease),
		transform 220ms var(--ih-ease),
		visibility 0s;
}

#imglome-header .imglome-mega__caret {
	position: absolute;
	top: -7px;
	left: calc(var(--ih-caret-x) - 7px);
	width: 14px;
	height: 14px;
	border-top-left-radius: 3px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: -1px -1px 0 rgba(10, 27, 51, 0.05);
	transform: rotate(45deg);
}

#imglome-header .imglome-mega__list {
	display: grid;
	align-content: start;
	gap: 3px;
	margin: 0;
	padding: 0 16px 0 0;
	border-right: 1px solid var(--ih-line);
	list-style: none;
}

#imglome-header .imglome-mega__list > li {
	margin: 0;
	padding: 0;
}

#imglome-header .imglome-mega__row {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 16px;
	padding: 10px 10px 10px 8px;
	border-radius: 14px;
	color: var(--ih-ink);
	text-decoration: none;
	transition: background-color var(--ih-fast) var(--ih-ease);
}

#imglome-header .imglome-mega__row:hover,
#imglome-header .imglome-mega__row:focus-visible {
	background: rgba(20, 99, 216, 0.055);
	color: var(--ih-ink);
}

#imglome-header .imglome-mega__thumb {
	display: block;
	width: 62px;
	height: 54px;
}

#imglome-header .imglome-mega__thumb-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

#imglome-header .imglome-mega__copy {
	min-width: 0;
}

#imglome-header .imglome-mega__copy strong {
	display: block;
	color: var(--ih-ink);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

#imglome-header .imglome-mega__copy small {
	display: block;
	margin-top: 4px;
	color: var(--ih-muted);
	font-size: 13px;
	line-height: 1.35;
}

#imglome-header .imglome-mega__row .imglome-icon {
	width: 18px;
	height: 18px;
	color: #8a98ab;
	transition: transform var(--ih-fast) var(--ih-ease), color var(--ih-fast) var(--ih-ease);
}

#imglome-header .imglome-mega__row:hover .imglome-icon,
#imglome-header .imglome-mega__row:focus-visible .imglome-icon {
	color: var(--ih-blue);
	transform: translateX(3px);
}

#imglome-header .imglome-mega__feature {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 2px 2px 4px 18px;
}

#imglome-header .imglome-mega__feature-media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 148px;
	margin-bottom: 18px;
	overflow: hidden;
	border-radius: 14px;
	background: radial-gradient(120% 95% at 28% 18%, #f6f9fc 0%, #e6eef6 58%, #d9e4ef 100%);
}

#imglome-header .imglome-mega__feature-img {
	display: block;
	width: 84%;
	max-width: 84%;
	height: 84%;
	max-height: 84%;
	object-fit: contain;
	filter: drop-shadow(0 10px 14px rgba(10, 27, 51, 0.16));
}

#imglome-header .imglome-mega__feature-title {
	margin: 0 0 8px;
	padding: 0 4px;
	color: var(--ih-ink);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.016em;
	line-height: 1.28;
}

#imglome-header .imglome-mega__feature-text {
	margin: 0 0 16px;
	padding: 0 4px;
	color: var(--ih-text);
	font-size: 13.5px;
	line-height: 1.5;
}

#imglome-header .imglome-mega__feature-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	margin-top: auto;
	padding: 2px 4px;
	border-radius: 8px;
	color: var(--ih-blue);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

#imglome-header .imglome-mega__feature-link:hover {
	color: #0d4fb8;
}

#imglome-header .imglome-mega__feature-link .imglome-icon {
	width: 17px;
	height: 17px;
	transition: transform var(--ih-fast) var(--ih-ease);
}

#imglome-header .imglome-mega__feature-link:hover .imglome-icon {
	transform: translateX(3px);
}

/* Actions: divider, search, cart, CTA ----------------------------------- */

#imglome-header .imglome-header__actions {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	min-width: 0;
	gap: 12px;
	margin-left: auto;
	padding-left: 20px;
}

#imglome-header .imglome-header__divider {
	width: 1px;
	height: 28px;
	margin-right: 6px;
	background: var(--ih-line);
}

#imglome-header .imglome-header__icon-btn {
	position: relative;
	display: inline-grid;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--ih-ink);
	place-items: center;
	text-decoration: none;
	transition: background-color var(--ih-fast) var(--ih-ease), color var(--ih-fast) var(--ih-ease);
}

#imglome-header .imglome-header__icon-btn:hover,
#imglome-header .imglome-header__icon-btn[aria-expanded="true"] {
	background: var(--ih-tint);
	color: var(--ih-blue);
}

#imglome-header .imglome-header__icon-btn .imglome-icon {
	width: 21px;
	height: 21px;
}

#imglome-header .imglome-header__search-toggle,
#imglome-header .imglome-header__menu-toggle {
	display: none;
}

#imglome-header .imglome-header__cart[hidden] {
	display: none !important;
}

#imglome-header .imglome-header__cart-count {
	position: absolute;
	top: 3px;
	right: 2px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--ih-blue);
	box-shadow: 0 0 0 2px #fff;
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 17px;
	text-align: center;
}

/* Inline search is the only element that yields space (e.g. when the cart shows). */
#imglome-header .imglome-search {
	position: relative;
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	min-width: 176px;
	width: var(--ih-search-w);
	height: 42px;
	margin: 0;
	padding: 0;
}

#imglome-header .imglome-search > .imglome-icon {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 16px;
	width: 18px;
	height: 18px;
	color: var(--ih-ink);
	pointer-events: none;
	transform: translateY(-50%);
}

#imglome-header .imglome-search .twitter-typeahead {
	display: block !important;
	width: 100%;
}

#imglome-header form.imglome-search input.imglome-search__input {
	display: block;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 14px 0 44px;
	border: 1px solid rgba(10, 27, 51, 0.075);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: inset 0 1px 2px rgba(10, 27, 51, 0.04);
	color: var(--ih-ink);
	font: inherit;
	font-size: 13.5px;
	line-height: 1;
	text-overflow: ellipsis;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition:
		border-color var(--ih-fast) var(--ih-ease),
		box-shadow var(--ih-fast) var(--ih-ease),
		background-color var(--ih-fast) var(--ih-ease);
}

#imglome-header form.imglome-search input.imglome-search__input::placeholder {
	color: #7b8ba0;
	opacity: 1;
}

#imglome-header form.imglome-search input.imglome-search__input:hover {
	border-color: rgba(10, 27, 51, 0.12);
}

#imglome-header form.imglome-search input.imglome-search__input:focus {
	border-color: rgba(20, 99, 216, 0.45);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(20, 99, 216, 0.12);
}

#imglome-header form.imglome-search input.imglome-search__input::-webkit-search-decoration,
#imglome-header form.imglome-search input.imglome-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

/* Electro live search results (typeahead) */
#imglome-header .imglome-search .tt-menu {
	top: calc(100% + 10px) !important;
	right: 0 !important;
	left: auto !important;
	width: max(100%, 360px);
	max-height: min(60vh, 440px);
	margin: 0;
	padding: 8px;
	overflow-y: auto;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: var(--ih-panel-shadow);
	-webkit-backdrop-filter: blur(22px) saturate(150%);
	backdrop-filter: blur(22px) saturate(150%);
}

#imglome-header .imglome-search .tt-suggestion {
	margin: 0;
	padding: 0;
}

#imglome-header .imglome-search .tt-suggestion a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 7px 10px;
	border-radius: 12px;
	color: var(--ih-ink);
	font-size: 13.5px;
	line-height: 1.35;
	text-decoration: none;
}

#imglome-header .imglome-search .tt-suggestion.tt-cursor a,
#imglome-header .imglome-search .tt-suggestion a:hover {
	background: rgba(20, 99, 216, 0.06);
}

#imglome-header .imglome-search .tt-suggestion img {
	flex: none;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 8px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

#imglome-header .imglome-search .tt-suggestion .media-body p {
	margin: 0;
}

#imglome-header .imglome-search .tt-highlight {
	color: var(--ih-blue);
	font-weight: 600;
}

#imglome-header .imglome-search .empty-message {
	padding: 12px 14px;
	color: var(--ih-muted);
	font-size: 13.5px;
}

/* CTA */
#imglome-header .imglome-header__cta,
#imglome-header .imglome-nav__cta {
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	background: linear-gradient(115deg, #0b4fc0 0%, #1a6fe3 50%, #3aa2ef 100%);
	background-position: 0% 50%;
	background-size: 170% 100%;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		0 1px 2px rgba(11, 79, 192, 0.3),
		0 10px 24px -10px rgba(20, 99, 216, 0.72);
	color: #fff;
	font-weight: 600;
	letter-spacing: -0.005em;
	text-decoration: none;
	white-space: nowrap;
	transition:
		transform var(--ih-fast) var(--ih-ease),
		box-shadow var(--ih-fast) var(--ih-ease),
		background-position 320ms var(--ih-ease);
}

#imglome-header .imglome-header__cta {
	display: inline-flex;
	flex: none;
	height: 44px;
	padding: 0 20px 0 22px;
	font-size: 15px;
}

#imglome-header .imglome-header__cta:hover,
#imglome-header .imglome-nav__cta:hover {
	background-position: 100% 50%;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.32),
		0 2px 4px rgba(11, 79, 192, 0.28),
		0 14px 30px -12px rgba(20, 99, 216, 0.8);
	color: #fff;
	transform: translateY(-1px);
}

#imglome-header .imglome-header__cta:active,
#imglome-header .imglome-nav__cta:active {
	transform: translateY(0);
}

#imglome-header .imglome-header__cta .imglome-icon,
#imglome-header .imglome-nav__cta .imglome-icon {
	width: 17px;
	height: 17px;
	transition: transform var(--ih-fast) var(--ih-ease);
}

#imglome-header .imglome-header__cta:hover .imglome-icon,
#imglome-header .imglome-nav__cta:hover .imglome-icon {
	transform: translateX(2px);
}

#imglome-header .imglome-header__menu-toggle .imglome-icon--close,
#imglome-header .imglome-header__menu-toggle[aria-expanded="true"] .imglome-icon--menu {
	display: none;
}

#imglome-header .imglome-header__menu-toggle[aria-expanded="true"] .imglome-icon--close {
	display: block;
}

#imglome-header .imglome-header__backdrop {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: rgba(6, 20, 40, 0.2);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	pointer-events: auto;
	transition: opacity var(--ih-slow) var(--ih-ease), visibility 0s linear var(--ih-slow);
}

/* --------------------------------------------------------------------------
   Floating panels shared by compact search and the mobile sheet
   -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
	#imglome-header .imglome-header__search-toggle {
		display: inline-grid;
	}

	#imglome-header .imglome-search {
		position: absolute;
		top: calc(100% + 10px);
		right: 10px;
		width: min(420px, calc(100vw - 32px));
		height: auto;
		padding: 10px;
		border: 1px solid rgba(255, 255, 255, 0.8);
		border-radius: 28px;
		background: rgba(255, 255, 255, 0.95);
		box-shadow: var(--ih-panel-shadow);
		-webkit-backdrop-filter: blur(24px) saturate(155%);
		backdrop-filter: blur(24px) saturate(155%);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition:
			opacity var(--ih-fast) var(--ih-ease),
			transform 220ms var(--ih-ease),
			visibility 0s linear 220ms;
	}

	#imglome-header.is-search-open .imglome-search {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition:
			opacity var(--ih-fast) var(--ih-ease),
			transform 220ms var(--ih-ease),
			visibility 0s;
	}

	#imglome-header .imglome-search > .imglome-icon {
		left: 27px;
	}

	#imglome-header form.imglome-search input.imglome-search__input {
		height: 48px;
		font-size: 16px; /* no iOS zoom on focus */
	}

	#imglome-header .imglome-search .tt-menu {
		top: calc(100% + 16px) !important;
		right: -10px !important;
		width: calc(100% + 20px);
	}
}

/* Desktop tiers ---------------------------------------------------------- */

@media (min-width: 1280px) and (max-width: 1439px) {
	#imglome-header {
		--ih-gutter: clamp(24px, 3vw, 44px);
		--ih-logo-h: 39px;
		--ih-logo-h-compact: 34px;
	}

	#imglome-header .imglome-header-pill {
		padding-left: 32px;
	}

	#imglome-header .imglome-header__logo {
		margin-right: 26px;
	}

	#imglome-header .imglome-nav__list {
		gap: 2px;
	}

	#imglome-header .imglome-nav__link {
		padding: 0 13px;
	}

	#imglome-header .imglome-header__actions {
		gap: 10px;
	}

	#imglome-header .imglome-search {
		--ih-search-w: 268px;
	}

	#imglome-header form.imglome-search input.imglome-search__input {
		font-size: 13px;
	}

	#imglome-header .imglome-header__cta {
		padding: 0 18px 0 20px;
	}
}

@media (min-width: 1100px) and (max-width: 1279px) {
	#imglome-header {
		--ih-gutter: 32px;
		--ih-logo-h: 39px;
		--ih-logo-h-compact: 34px;
	}

	#imglome-header .imglome-header-pill {
		padding-left: 32px;
	}

	#imglome-header .imglome-header__logo {
		margin-right: 26px;
	}

	#imglome-header .imglome-nav__list {
		gap: 2px;
	}

	#imglome-header .imglome-nav__link {
		padding: 0 13px;
	}

	#imglome-header .imglome-header__actions {
		gap: 8px;
	}

	#imglome-header .imglome-header__cta {
		padding: 0 18px 0 20px;
	}
}

/* --------------------------------------------------------------------------
   Tablet & mobile: logo · search · (Cotizar) · menu, navigation in a sheet
   -------------------------------------------------------------------------- */

@media (max-width: 1099px) {
	:root {
		--imglome-header-offset: 80px;
		--imglome-header-stuck: 74px;
	}

	#imglome-header {
		--ih-gutter: 24px;
		--ih-pill-h: 62px;
		--ih-pill-h-compact: 56px;
		--ih-rail-pad: 10px;
		--ih-logo-h: 34px;
		--ih-logo-h-compact: 31px;
	}

	#imglome-header .imglome-header-pill {
		padding: 0 9px 0 24px;
	}

	#imglome-header .imglome-header__logo {
		margin-right: auto;
	}

	#imglome-header .imglome-header__divider {
		display: none;
	}

	#imglome-header .imglome-header__actions {
		gap: 4px;
		padding-left: 12px;
	}

	#imglome-header .imglome-header__menu-toggle {
		display: inline-grid;
	}

	#imglome-header .imglome-header__cta {
		height: 40px;
		margin: 0 4px;
		padding: 0 17px 0 18px;
		font-size: 14px;
	}

	#imglome-header .imglome-search {
		right: 0;
		left: 0;
		width: auto;
	}

	#imglome-header .imglome-nav {
		position: absolute;
		top: calc(100% + 10px);
		right: 0;
		left: 0;
		flex-direction: column;
		align-self: auto;
		max-height: var(--ih-sheet-max, calc(100vh - 120px));
		padding: 10px;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		border: 1px solid rgba(255, 255, 255, 0.8);
		border-radius: 28px;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: var(--ih-panel-shadow);
		-webkit-backdrop-filter: blur(26px) saturate(160%);
		backdrop-filter: blur(26px) saturate(160%);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition:
			opacity var(--ih-fast) var(--ih-ease),
			transform 240ms var(--ih-ease),
			visibility 0s linear 240ms;
	}

	#imglome-header.is-nav-open .imglome-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition:
			opacity var(--ih-fast) var(--ih-ease),
			transform 240ms var(--ih-ease),
			visibility 0s;
	}

	#imglome-header.is-nav-open .imglome-header__backdrop {
		opacity: 1;
		visibility: visible;
		transition: opacity var(--ih-slow) var(--ih-ease), visibility 0s;
	}

	#imglome-header .imglome-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	#imglome-header .imglome-nav__item {
		display: block;
		border-bottom: 1px solid var(--ih-line);
	}

	#imglome-header .imglome-nav__item:last-child {
		border-bottom: 0;
	}

	#imglome-header .imglome-nav__link {
		display: flex;
		justify-content: space-between;
		width: 100%;
		height: 56px;
		padding: 0 14px;
		border-radius: 16px;
		font-size: 17px;
		font-weight: 550;
	}

	#imglome-header .imglome-nav__link:hover {
		transform: none;
	}

	#imglome-header .imglome-nav__link .imglome-icon {
		width: 20px;
		height: 20px;
		margin-right: 0;
	}

	#imglome-header .imglome-nav__trigger[aria-expanded="true"] .imglome-icon {
		transform: scaleY(-1);
	}

	/* In the sheet the blue label alone marks the current section. */
	#imglome-header .imglome-nav__link[aria-current="page"]::after,
	#imglome-header .imglome-nav__item.is-current > .imglome-nav__link::after {
		display: none;
	}

	#imglome-header .imglome-mega {
		position: static;
		display: none;
		width: auto;
		padding: 0 0 10px;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}

	#imglome-header .imglome-nav__item--mega.is-open > .imglome-mega {
		display: block;
		transition: none;
	}

	#imglome-header .imglome-mega::before,
	#imglome-header .imglome-mega__caret,
	#imglome-header .imglome-mega__feature-media,
	#imglome-header .imglome-mega__feature-title,
	#imglome-header .imglome-mega__feature-text {
		display: none;
	}

	#imglome-header .imglome-mega__list {
		gap: 2px;
		padding: 0;
		border: 0;
	}

	#imglome-header .imglome-mega__row {
		grid-template-columns: 50px minmax(0, 1fr) 16px;
		gap: 14px;
		padding: 8px 10px 8px 6px;
	}

	#imglome-header .imglome-mega__thumb {
		width: 50px;
		height: 44px;
	}

	#imglome-header .imglome-mega__feature {
		padding: 6px 10px 2px 14px;
	}

	#imglome-header .imglome-nav__cta {
		display: flex;
		flex: none;
		justify-content: center;
		height: 54px;
		margin: 12px 2px 2px;
		font-size: 16px;
	}
}

/* Tablet: sheet and search become a panel under the actions. */
@media (min-width: 600px) and (max-width: 1099px) {
	#imglome-header .imglome-nav,
	#imglome-header .imglome-search {
		right: 0;
		left: auto;
		width: min(440px, 100%);
	}
}

@media (max-width: 1179px) {
	.imglome-topbar__lead {
		display: none;
	}

	.imglome-topbar__inner {
		justify-content: center;
	}
}

@media (max-width: 699px) {
	.imglome-topbar {
		height: 30px;
		font-size: 12px;
	}

	.imglome-topbar__item:not(.is-compact) {
		display: none;
	}
}

@media (max-width: 599px) {
	#imglome-header {
		--ih-gutter: 12px;
		--ih-pill-h: 58px;
		--ih-pill-h-compact: 56px;
		--ih-logo-h: 31px;
		--ih-logo-h-compact: 29px;
	}

	#imglome-header .imglome-header-pill {
		padding: 0 7px 0 18px;
	}

	#imglome-header .imglome-header__cta {
		display: none;
	}

	#imglome-header .imglome-nav,
	#imglome-header .imglome-search {
		top: calc(100% + 8px);
		border-radius: 26px;
	}
}

@media screen and (max-width: 782px) {
	.admin-bar #imglome-header {
		top: 46px;
	}
}

@media screen and (max-width: 600px) {
	/* The admin bar scrolls away on small screens. */
	.admin-bar #imglome-header {
		top: 0;
	}
}

/* --------------------------------------------------------------------------
   Page integrations: sticky bars stick below the pill instead of under it
   -------------------------------------------------------------------------- */

@media (max-width: 1279px) {
	body.imglome-has-header .wh-section-controller.is-stuck,
	body.imglome-has-header .imglome-home-v2-3 .wh-section-controller:not(.is-stuck) {
		top: var(--imglome-header-stuck);
	}
}

body.imglome-has-header .ih2-section-nav {
	top: var(--imglome-header-stuck);
}

/* --------------------------------------------------------------------------
   Preferences & fallbacks
   -------------------------------------------------------------------------- */

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	#imglome-header .imglome-header-pill::before {
		background: rgba(255, 255, 255, 0.97);
	}

	#imglome-header.is-scrolled .imglome-header-pill::before,
	#imglome-header .imglome-mega,
	#imglome-header .imglome-search .tt-menu {
		background: #fff;
	}
}

@media (max-width: 1279px) {
	@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
		#imglome-header .imglome-search,
		#imglome-header .imglome-nav {
			background: #fff;
		}
	}
}

@media (prefers-reduced-transparency: reduce) {
	#imglome-header .imglome-header-pill::before,
	#imglome-header .imglome-mega,
	#imglome-header .imglome-search .tt-menu {
		background: #fff;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	#imglome-header *,
	#imglome-header *::before,
	#imglome-header *::after {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
		animation: none !important;
	}

	#imglome-header .imglome-nav__link:hover,
	#imglome-header .imglome-header__cta:hover {
		transform: none;
	}
}

@media (forced-colors: active) {
	#imglome-header .imglome-header-pill::before,
	#imglome-header .imglome-mega,
	#imglome-header .imglome-search,
	#imglome-header .imglome-nav {
		border: 1px solid CanvasText;
	}
}

@media print {
	.imglome-topbar,
	#imglome-header {
		display: none;
	}
}
