/*
 * Vendix Header & Footer Builder — shared front-end rules.
 * Each layout adds its own rules scoped to #vxhf-<id> (row heights, colors,
 * element sizes). Logical properties keep left-to-right and right-to-left
 * layouts the same.
 */

/* Block themes add a flow gap above every top-level block; the bar sits flush. */
.vxhf {
	position: relative;
	z-index: 50;
	margin-block: 0;
	font-size: 15px;
	line-height: 1.4;
}

/* An open side panel or search layer sits in <body> (see "Side panel and search layer"), so it is listed with .vxhf. */
.vxhf *,
.vxhf *::before,
.vxhf *::after,
.vxhf-panel *,
.vxhf-panel *::before,
.vxhf-panel *::after,
.vxhf-searchlayer *,
.vxhf-searchlayer *::before,
.vxhf-searchlayer *::after {
	box-sizing: border-box;
}

.vxhf a,
.vxhf-panel a,
.vxhf-searchlayer a {
	color: inherit;
	text-decoration: none;
}

.vxhf a:hover,
.vxhf a:focus-visible,
.vxhf-panel a:hover,
.vxhf-panel a:focus-visible {
	color: var(--vxhf-hover, inherit);
}

/* Layout -------------------------------------------------------------- */

.vxhf--aside {
	display: grid;
}

/*
 * The aside slant (--vxhf-aside-skew from the layout) cuts the edge toward the
 * bar: the right edge on left-to-right pages, the left edge on right-to-left ones.
 */
.vxhf__aside {
	--vxhf-aside-clip: polygon(0 0, 100% 0, calc(100% - var(--vxhf-aside-skew, 0px)) 100%, 0 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
}

[dir="rtl"] .vxhf__aside {
	--vxhf-aside-clip: polygon(0 0, 100% 0, 100% 100%, var(--vxhf-aside-skew, 0px) 100%);
}

.vxhf__rows {
	min-width: 0;
}

/* A mega menu panel opens under the whole row, so the row is its containing block. */
.vxhf__inner {
	position: relative;
	display: flex;
	align-items: center;
	padding-inline: var(--vxhf-pad, 24px);
}

.vxhf__inner.is-boxed {
	max-width: calc(var(--vxhf-width, 1280px) + 2 * var(--vxhf-pad, 24px));
	margin-inline: auto;
}

.vxhf__col {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-self: stretch;
	min-width: 0;
}

.vxhf__col.is-start {
	justify-content: flex-start;
}

.vxhf__col.is-center {
	justify-content: center;
}

.vxhf__col.is-end {
	justify-content: flex-end;
}

.vxhf__col.is-between {
	justify-content: space-between;
}

.vxhf__col.is-stack {
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
}

.vxhf__col.is-stack.is-center {
	align-items: center;
}

.vxhf__col.is-stack.is-end {
	align-items: flex-end;
}

.vxhf-e {
	display: flex;
	align-items: center;
	min-width: 0;
}

.vxhf-icon {
	display: block;
	flex: none;
	width: 22px;
	height: 22px;
}

.vxhf-empty {
	padding: 2px 8px;
	border: 1px dashed currentColor;
	border-radius: 4px;
	font-size: 12px;
	opacity: .7;
}

/* Sticky, transparent ------------------------------------------------- */

.vxhf--sticky {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.vxhf--sticky .vxhf__inner {
	transition: min-height .25s ease;
}

.vxhf--sticky.is-hidden {
	transform: translateY(-100%);
}

/* Links to a spot on the page (#reviews) land below a sticky header: vxhf.js publishes its height, 0 while a smart header is hidden. */
html:has(.vxhf--sticky) {
	scroll-padding-block-start: calc(var(--wp-admin--admin-bar--height, 0px) + var(--vxhf-sticky-height, 0px));
}

.vxhf--transparent {
	position: absolute;
	inset-inline: 0;
	top: var(--wp-admin--admin-bar--height, 0px);
}

.vxhf--transparent.vxhf--sticky {
	position: fixed;
}

/*
 * Up to 600px the admin bar scrolls away with the page: a sticky header in the flow sticks at the
 * top of the window. A transparent one scrolls with the page and the admin bar until it sticks
 * (is-stuck, vxhf.js, only once the bar has gone), then it is fixed at the top of the window.
 */
@media (max-width: 600px) {
	.vxhf--sticky:not(.vxhf--transparent),
	.vxhf--transparent.vxhf--sticky.is-stuck {
		top: 0;
	}

	.admin-bar .vxhf--transparent.vxhf--sticky:not(.is-stuck) {
		position: absolute;
	}

	html:has(.vxhf--sticky) {
		scroll-padding-block-start: var(--vxhf-sticky-height, 0px);
	}
}

/* Logo, text ---------------------------------------------------------- */

.vxhf-logo {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
}

/* A logo wider than its column (a phone header with icons) scales down instead of covering them. */
.vxhf-logo__img {
	display: block;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.vxhf-logo__text {
	font-weight: 700;
	line-height: 1;
}

.vxhf-text p,
.vxhf-copyright {
	margin: 0;
}

/* Menu ---------------------------------------------------------------- */

.vxhf-menu {
	position: relative;
}

.vxhf-menu__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vxhf-menu__list li {
	position: relative;
	margin: 0;
}

.vxhf-menu__list > li > a {
	display: inline-flex;
	align-items: center;
	padding-block: 8px;
}

.vxhf-menu__list .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-inline-start: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.vxhf-menu__list .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: -16px;
	z-index: 10;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
	color: var(--vendix-color-text, #374151);
	text-transform: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.vxhf-menu__list .sub-menu .sub-menu {
	top: -8px;
	inset-inline-start: 100%;
}

.vxhf-menu__list .sub-menu a {
	display: block;
	padding: 8px 18px;
	font-size: .93em;
}

.vxhf-menu__list li:hover > .sub-menu,
.vxhf-menu__list li:focus-within > .sub-menu,
.vxhf-menu__list li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* Escape closed it (vxhf.js) while the focus stays on its link. */
.vxhf-menu__list li.is-closed > .sub-menu {
	opacity: 0;
	visibility: hidden;
}

/* Badges after a menu item or a listed link ("New", "Sale"); dark text where white would be too faint. */
.vxhf-tag {
	display: inline-block;
	margin-inline-start: 6px;
	padding: 1px 6px;
	border-radius: 999px;
	background: var(--vendix-color-primary, var(--vt-accent, #d71920));
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .02em;
	text-transform: uppercase;
	vertical-align: middle;
}

.vxhf-tag.is-secondary {
	background: var(--vendix-color-secondary, #111827);
}

/* On the Vendix theme accent (design system off) the theme's text for it. */
.vxhf-tag.is-accent {
	background: var(--vendix-color-accent, var(--vt-accent, #d8b25b));
	color: var(--vendix-color-secondary, var(--vt-accent-contrast, #111827));
}

.vxhf-tag.is-success {
	background: var(--vendix-color-success, #16a34a);
	color: var(--vendix-color-secondary, #111827);
}

.vxhf-tag.is-warning {
	background: var(--vendix-color-warning, #d97706);
	color: var(--vendix-color-secondary, #111827);
}

.vxhf-tag.is-danger {
	background: var(--vendix-color-danger, #dc2626);
}

.vxhf-tag.is-info {
	background: var(--vendix-color-info, #2563eb);
}

/* Mega menu ------------------------------------------------------------ */

/* The wide panel is placed under the row (.vxhf__inner), not under its own item. */
.vxhf-menu.has-mega,
.vxhf-menu__list > li.vxhf-mega {
	position: static;
}

.vxhf-menu__list > .vxhf-mega > .vxhf-mega__panel {
	inset-inline: var(--vxhf-pad, 24px);
	display: grid;
	grid-template-columns: repeat(var(--vxhf-mega-cols, 4), minmax(0, 1fr));
	gap: 8px 32px;
	padding: 24px 28px;
}

.vxhf-mega--cols-1 {
	--vxhf-mega-cols: 1;
}

.vxhf-mega--cols-2 {
	--vxhf-mega-cols: 2;
}

.vxhf-mega--cols-3 {
	--vxhf-mega-cols: 3;
}

.vxhf-mega--cols-4 {
	--vxhf-mega-cols: 4;
}

.vxhf-mega--cols-5 {
	--vxhf-mega-cols: 5;
}

.vxhf-mega--cols-6 {
	--vxhf-mega-cols: 6;
}

/* Column headings with their links: always open inside the panel, hidden with it. */
.vxhf-menu__list > .vxhf-mega .sub-menu .sub-menu {
	position: static;
	min-width: 0;
	padding: 4px 0 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	opacity: 1;
	visibility: inherit;
	transform: none;
}

.vxhf-menu__list .vxhf-mega__panel a {
	padding: 6px 0;
}

.vxhf-menu__list .vxhf-mega__panel > li > a {
	font-weight: 600;
}

.vxhf-menu__list .vxhf-mega__panel .menu-item-has-children > a::after {
	content: none;
}

.vxhf-mega__template {
	grid-column: 1 / -1;
}

/* Two classes keep theme button rules (padding, nowrap, hover fill) off the header buttons. */
.vxhf .vxhf-menu__toggle,
.vxhf .vxhf-burger,
.vxhf .vxhf-iconbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	white-space: normal;
	cursor: pointer;
}

.vxhf .vxhf-menu__toggle {
	display: none;
}

.vxhf-iconbtn.is-circle {
	width: 44px;
	height: 44px;
	justify-content: center;
	border-radius: 50%;
	background: rgba(127, 127, 127, .12);
}

.vxhf-badge {
	position: absolute;
	top: -2px;
	inset-inline-end: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--vendix-color-primary, var(--vt-accent, #d71920));
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.vxhf-badge[hidden] {
	display: none;
}

/* Side panel and search layer ---------------------------------------- */

/*
 * vxhf.js moves an open panel or search layer to the end of <body>. Inside the
 * header it would stay in the header's stacking context (.vxhf, z-index 50)
 * and open under the admin bar and other fixed page tools. Its font size and
 * link rules therefore do not come from the header.
 */
.vxhf-panel,
.vxhf-searchlayer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(15, 23, 42, .45);
	font-size: 15px;
	line-height: 1.4;
}

.vxhf-panel[hidden],
.vxhf-searchlayer[hidden] {
	display: none;
}

.vxhf-panel__box {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: min(360px, 88vw);
	overflow-y: auto;
	padding: 64px 24px 24px;
	background: #ffffff;
	color: var(--vendix-color-text, #374151);
	box-shadow: 0 0 40px rgba(15, 23, 42, .2);
}

/* The panel side is a screen side, so it stays the same on RTL sites. */
.vxhf-panel.is-left .vxhf-panel__box {
	right: auto;
	left: 0;
}

.vxhf-panel__close {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	padding: 8px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.vxhf-panel__list,
.vxhf-panel__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vxhf-panel__list li {
	position: relative;
	border-bottom: 1px solid rgba(127, 127, 127, .18);
}

.vxhf-panel__list a {
	display: block;
	padding-block: 12px;
	padding-inline: 0 40px;
	font-size: 16px;
}

.vxhf-panel__list .sub-menu {
	display: none;
	padding-inline-start: 16px;
}

.vxhf-panel__list li.is-open > .sub-menu {
	display: block;
}

.vxhf-subtoggle {
	position: absolute;
	top: 6px;
	inset-inline-end: 0;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.vxhf-subtoggle .vxhf-icon {
	margin: auto;
	transition: transform .2s ease;
}

li.is-open > .vxhf-subtoggle .vxhf-icon {
	transform: rotate(180deg);
}

/* The room for the close button is at the end of the line, where the button sits. */
.vxhf-searchlayer__box {
	position: relative;
	max-width: 760px;
	margin: 12vh auto 0;
	padding-block: 28px;
	padding-inline: 28px 64px;
	border-radius: 12px;
	background: #ffffff;
	color: var(--vendix-color-text, #374151);
}

.vxhf-searchlayer__box .vxhf-search {
	width: 100%;
}

body.vxhf-locked {
	overflow: hidden;
}

/* Search field -------------------------------------------------------- */

.vxhf-search {
	display: flex;
	align-items: center;
	overflow: hidden;
	max-width: 100%;
	border: 1px solid var(--vendix-color-border, #d9dde5);
	border-radius: 6px;
	background: #ffffff;
}

.vxhf-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 14px;
	border: 0;
	background: transparent;
	color: var(--vendix-color-text, #374151);
	font: inherit;
	outline: none;
}

.vxhf-search button {
	display: inline-flex;
	padding: 8px 12px;
	border: 0;
	background: transparent;
	color: var(--vendix-color-text, #374151);
	cursor: pointer;
}

/* Button -------------------------------------------------------------- */

.vxhf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	border: 1.5px solid transparent;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	transition: filter .2s ease, opacity .2s ease;
}

.vxhf a.vxhf-btn:hover {
	color: inherit;
	filter: brightness(1.08);
}

.vxhf-btn.is-link {
	padding-inline: 0;
	border: 0;
}

/* Contact, location, language, social -------------------------------- */

.vxhf-contact {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vxhf-contact__icon.is-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}

.vxhf-contact__text {
	display: flex;
	flex-direction: column;
}

.vxhf-contact__title {
	font-weight: 600;
}

.vxhf-contact__value {
	opacity: .85;
}

/* Phone numbers keep their left-to-right order on right-to-left pages. */
.vxhf bdi[dir="ltr"] {
	direction: ltr;
	unicode-bidi: isolate;
}

.vxhf-location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}

.vxhf-location .vxhf-icon {
	width: 16px;
	height: 16px;
}

.vxhf-location .is-upper {
	text-transform: uppercase;
	letter-spacing: .02em;
}

.vxhf-lang {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
}

.vxhf-lang.is-pill {
	gap: 0;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(127, 127, 127, .25);
}

.vxhf-lang.is-pill a {
	padding: 3px 10px;
}

.vxhf-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.vxhf-social a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Small icons keep a 24 px touch area without changing the row spacing. */
.vxhf-social a::before {
	content: "";
	position: absolute;
	inset-block: min(0px, (100% - 24px) / 2);
	inset-inline: min(0px, (100% - 24px) / 2);
}

.vxhf-social.is-circle a {
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(127, 127, 127, .16);
}

.vxhf-social.is-pill a {
	padding: 8px 16px;
	border: 1px solid rgba(127, 127, 127, .3);
	border-radius: 999px;
}

/* Link list ----------------------------------------------------------- */

.vxhf-links__title {
	margin: 0 0 14px;
	font-weight: 600;
}

.vxhf-links__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vxhf-links.is-inline .vxhf-links__list {
	flex-direction: row;
	flex-wrap: wrap;
}

.vxhf-links__list a {
	opacity: .85;
}

.vxhf-links__list a:hover {
	opacity: 1;
}

/* Numbered large menu -------------------------------------------------- */

.vxhf-e--big_menu {
	flex: 1 1 100%;
	align-self: stretch;
}

.vxhf-bigmenu {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.1;
}

.vxhf-bigmenu a {
	display: flex;
	align-items: baseline;
	gap: .5em;
	padding-block: .25em;
}

.vxhf-bigmenu.has-lines li + li {
	border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

.vxhf-bigmenu.is-upper .vxhf-bigmenu__label {
	text-transform: uppercase;
}

.vxhf-bigmenu__num {
	font-size: max(12px, .35em);
}

/* Country or city picker ----------------------------------------------- */

.vxhf-region {
	position: relative;
}

.vxhf-region__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 24px;
	font-size: 13px;
	list-style: none;
	cursor: pointer;
}

.vxhf-region__btn::-webkit-details-marker {
	display: none;
}

.vxhf-region__btn .vxhf-icon {
	width: 16px;
	height: 16px;
}

.vxhf-region__btn .is-upper {
	text-transform: uppercase;
	letter-spacing: .02em;
}

.vxhf-region[open] .vxhf-region__btn .vxhf-icon:last-child {
	transform: rotate(180deg);
}

.vxhf-region__list {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	z-index: 10;
	min-width: 180px;
	margin: 6px 0 0;
	padding: 6px 0;
	list-style: none;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 32px color-mix(in srgb, var(--vendix-color-secondary, #111827) 14%, transparent);
	color: var(--vendix-color-text, #374151);
	font-size: 14px;
}

.vxhf-region__list a {
	display: block;
	padding: 8px 16px;
}

.vxhf-region__list a.is-active {
	color: var(--vendix-color-primary, var(--vt-accent, #d71920));
	font-weight: 600;
}

/* Newsletter ----------------------------------------------------------- */

.vxhf-e--newsletter {
	flex: 1 1 auto;
}

.vxhf-news {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.vxhf-news__title,
.vxhf-news__text {
	margin: 0;
}

.vxhf-news__title {
	font-size: 1.1em;
	font-weight: 600;
}

.vxhf-news__text {
	opacity: .85;
}

.vxhf-news__form {
	display: flex;
	gap: 8px;
	width: 100%;
}

.vxhf-news__form.is-stacked {
	flex-direction: column;
}

.vxhf-news__form input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--vendix-color-border, #d9dde5);
	border-radius: inherit;
	background: #ffffff;
	color: var(--vendix-color-text, #374151);
	font: inherit;
}

/* Two classes keep theme button rules off the form button. */
.vxhf .vxhf-news__form button {
	min-height: 44px;
	padding: 10px 20px;
	border: 0;
	font: inherit;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
}

/* Call to action band -------------------------------------------------- */

.vxhf-e--cta {
	flex: 1 1 100%;
	align-self: stretch;
}

.vxhf-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	width: 100%;
}

.vxhf-cta.is-center {
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.vxhf-cta.is-start {
	flex-direction: column;
	align-items: flex-start;
}

.vxhf-cta__body {
	min-width: 0;
	max-width: 720px;
}

.vxhf-cta__title {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
}

.vxhf-cta__text {
	margin: 8px 0 0;
	opacity: .9;
}

/* App store badges ----------------------------------------------------- */

.vxhf-apps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vxhf-apps.is-stack {
	flex-direction: column;
	align-items: flex-start;
}

.vxhf-app {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding-inline: 14px;
	border: 1px solid transparent;
	border-radius: 8px;
	line-height: 1.1;
}

.vxhf-apps.is-dark .vxhf-app {
	background: var(--vendix-color-bg-dark, #111827);
	color: #ffffff;
}

.vxhf-apps.is-light .vxhf-app {
	border-color: var(--vendix-color-border, #d9dde5);
	background: #ffffff;
	color: var(--vendix-color-heading, #111827);
}

.vxhf-apps.is-outline .vxhf-app {
	border-color: currentColor;
}

.vxhf-app .vxhf-icon {
	width: 24px;
	height: 24px;
}

.vxhf-app__text {
	display: flex;
	flex-direction: column;
}

.vxhf-app__text small {
	font-size: 10px;
	opacity: .85;
}

.vxhf-app__text strong {
	font-size: 16px;
	font-weight: 600;
}

/* Event card ----------------------------------------------------------- */

.vxhf-event {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding-block: 12px;
	padding-inline: 12px 18px;
	border-radius: 12px;
}

.vxhf-event__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	padding: 6px 8px;
	border-radius: 8px;
	color: #ffffff;
	line-height: 1.1;
}

.vxhf-event__date b {
	font-size: 20px;
}

.vxhf-event__date span {
	font-size: 11px;
	text-transform: uppercase;
}

.vxhf-event__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vxhf-event__label {
	font-size: 12px;
	opacity: .75;
}

.vxhf-event__title {
	font-weight: 600;
}

.vxhf-event__meta {
	font-size: 13px;
	opacity: .85;
}

/* Elementor template --------------------------------------------------- */

.vxhf-e--template {
	flex: 1 1 100%;
}

.vxhf-template {
	width: 100%;
}

.vxhf-image {
	display: block;
	max-width: 100%;
	height: auto;
}

.vxhf-divider,
.vxhf-spacer {
	display: block;
	flex: none;
}

/* Builder preview note (only inside the builder's preview frame) ------- */

.vxhf-preview-note {
	position: fixed;
	inset-inline: 16px;
	bottom: 16px;
	z-index: 100001;
	padding: 14px 18px;
	border-radius: 10px;
	background: #1d2327;
	color: #ffffff;
	font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}

/* Devices ------------------------------------------------------------- */

@media (min-width: 1025px) {
	.vxhf .vxhf-hide-desktop {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.vxhf .vxhf-hide-tablet {
		display: none;
	}
}

@media (max-width: 767px) {
	.vxhf .vxhf-hide-mobile {
		display: none;
	}

	.vxhf--footer .vxhf__inner {
		flex-direction: column;
		align-items: stretch;
	}

	/* The logo block is at most 40% wide on phones (layout CSS); less side space leaves room for the logo. */
	.vxhf__aside {
		padding: 8px 12px;
	}

	/* A mega menu that stays in the bar on phones (menu button turned off) shows one column. */
	.vxhf-menu__list > .vxhf-mega > .vxhf-mega__panel {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vxhf--sticky,
	.vxhf--sticky .vxhf__inner,
	.vxhf-menu__list .sub-menu {
		transition: none;
	}
}
