/* Global Header & Footer for Elementor – frontend */

:root {
	--hfb-top: 0px;
	--hfb-ease: cubic-bezier(.4, 0, .2, 1);
	--hfb-speed: .3s;
}
body.admin-bar { --hfb-top: 32px; }
@media (max-width: 782px) { body.admin-bar { --hfb-top: 46px; } }
@media (max-width: 600px) { body.admin-bar { --hfb-top: 0px; } }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* ============ HEADER ============ */
.hfb-header {
	position: relative;
	width: 100%;
	z-index: var(--hfb-z, 999);
	transition:
		background-color var(--hfb-speed) var(--hfb-ease),
		box-shadow var(--hfb-speed) var(--hfb-ease),
		transform .35s var(--hfb-ease),
		-webkit-backdrop-filter var(--hfb-speed),
		backdrop-filter var(--hfb-speed);
}
.hfb-header > .elementor { width: 100%; }

/* Sticky + átlátszó eszközönként */
@media (min-width: 1025px) {
	.hfb-sticky-on-desktop { position: sticky; top: var(--hfb-top); }
	.hfb-transparent-on-desktop { position: absolute; top: var(--hfb-top); left: 0; right: 0; }
	.hfb-transparent-on-desktop.hfb-sticky-on-desktop { position: fixed; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.hfb-sticky-on-tablet { position: sticky; top: var(--hfb-top); }
	.hfb-transparent-on-tablet { position: absolute; top: var(--hfb-top); left: 0; right: 0; }
	.hfb-transparent-on-tablet.hfb-sticky-on-tablet { position: fixed; }
}
@media (max-width: 767px) {
	.hfb-sticky-on-mobile { position: sticky; top: var(--hfb-top); }
	.hfb-transparent-on-mobile { position: absolute; top: var(--hfb-top); left: 0; right: 0; }
	.hfb-transparent-on-mobile.hfb-sticky-on-mobile { position: fixed; }
}

/* Görgetett állapot */
.hfb-header.hfb-has-scrolled-bg.is-scrolled { background-color: var(--hfb-scrolled-bg); }
.hfb-header.hfb-shadow.is-scrolled { box-shadow: 0 6px 24px -8px rgba(0, 0, 0, .18); }
.hfb-header.hfb-blur.is-scrolled {
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
}
.hfb-header.hfb-sticky--smart.is-hidden { transform: translateY(calc(-100% - var(--hfb-top))); }

/* Zsugorodás: a legfelső konténer/szekció függőleges paddingja csökken */
.hfb-header.hfb-shrink > .elementor > .e-con,
.hfb-header.hfb-shrink > .elementor > .elementor-section {
	transition: padding var(--hfb-speed) var(--hfb-ease), min-height var(--hfb-speed) var(--hfb-ease);
}
.hfb-header.hfb-shrink.is-scrolled > .elementor > .e-con,
.hfb-header.hfb-shrink.is-scrolled > .elementor > .elementor-section {
	padding-top: var(--hfb-shrink-pad, 8px) !important;
	padding-bottom: var(--hfb-shrink-pad, 8px) !important;
	min-height: 0 !important;
}

/* Nyitott mobil menü / kereső alatt ne legyen transform/blur (fixed elemek miatt) */
.hfb-header.hfb-menu-open {
	transform: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

/* Lábléc mindig alul */
body.hfb-footer-bottom { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.hfb-footer-bottom > * { flex-shrink: 0; }
body.hfb-footer-bottom > #hfb-footer { margin-top: auto; }

html.hfb-lock { overflow: hidden; }

/* ============ LOGÓ ============ */
.hfb-logo { display: flex; align-items: center; }
.hfb-logo a { display: inline-flex; align-items: center; text-decoration: none; }
.hfb-logo img { display: block; height: auto; max-width: 100%; transition: width var(--hfb-speed) var(--hfb-ease), opacity var(--hfb-speed), filter var(--hfb-speed); }
.hfb-logo__text { font-size: 1.4em; font-weight: 700; line-height: 1.1; }
.hfb-logo--has-alt .hfb-logo__img--scrolled { display: none; }
.hfb-header.is-scrolled .hfb-logo--has-alt .hfb-logo__img:not(.hfb-logo__img--scrolled) { display: none; }
.hfb-header.is-scrolled .hfb-logo--has-alt .hfb-logo__img--scrolled { display: block; }

/* ============ OLDALNÉV ============ */
.hfb-site-title__name { margin: 0; line-height: 1.2; }
.hfb-site-title__name a { color: inherit; text-decoration: none; transition: color var(--hfb-speed); }
.hfb-site-title__tagline { margin: 0; opacity: .8; }

/* ============ COPYRIGHT ============ */
.hfb-copyright p { margin: 0; }
.hfb-copyright a { transition: color var(--hfb-speed); }

/* ============ MENÜ ============ */
.hfb-nav {
	--hfb-link: inherit;
	--hfb-link-hover: var(--hfb-pointer);
	--hfb-pointer: currentColor;
	--hfb-pointer-w: 2px;
	--hfb-item-px: 14px;
	--hfb-item-py: 10px;
	--hfb-gap: 0px;
	--hfb-item-radius: 0px;
	--hfb-sub-bg: #fff;
	--hfb-sub-link: #1f2328;
	--hfb-sub-w: 220px;
	--hfb-sub-radius: 10px;
	--hfb-sub-offset: 0px;
	--hfb-toggle-size: 24px;
	--hfb-toggle-color: currentColor;
	--hfb-panel-bg: #fff;
	--hfb-panel-link: #1f2328;
	--hfb-panel-w: min(360px, 86vw);
	--hfb-panel-py: 12px;
	--hfb-panel-divider: rgba(0, 0, 0, .08);
	--hfb-overlay: rgba(0, 0, 0, .45);
	display: flex;
	align-items: center;
	justify-content: var(--hfb-align, flex-start);
	position: relative;
}
.hfb-nav__panel { width: 100%; }

.hfb-menu, .hfb-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.hfb-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--hfb-gap);
	justify-content: var(--hfb-align, flex-start);
}
.hfb-nav--vertical .hfb-menu { flex-direction: column; align-items: stretch; }
.hfb-menu li { position: relative; }
.hfb-menu > li { display: flex; align-items: center; }

.hfb-menu a {
	display: block;
	position: relative;
	padding: var(--hfb-item-py) var(--hfb-item-px);
	color: var(--hfb-link);
	background: var(--hfb-link-bg, transparent);
	border-radius: var(--hfb-item-radius);
	text-decoration: none;
	line-height: 1.3;
	transition: color var(--hfb-speed), background-color var(--hfb-speed);
}
.hfb-menu > li > a:hover,
.hfb-menu > li > a:focus-visible,
.hfb-menu > li:hover > a { color: var(--hfb-link-hover); background: var(--hfb-link-bg-hover, var(--hfb-link-bg, transparent)); }
.hfb-menu > .current-menu-item > a,
.hfb-menu > .current-menu-ancestor > a,
.hfb-menu > .current_page_item > a { color: var(--hfb-link-active, var(--hfb-link-hover)); background: var(--hfb-link-bg-active, var(--hfb-link-bg, transparent)); }

/* Gomb reset (Hello gomb stílusai ellen) */
.hfb-nav button, .hfb-nav button:hover, .hfb-nav button:focus,
.hfb-search button, .hfb-search button:hover, .hfb-search button:focus {
	background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 0;
	color: inherit; font: inherit; line-height: 1; min-height: 0; cursor: pointer; text-transform: none;
}
.hfb-nav button:focus-visible, .hfb-search button:focus-visible, .hfb-btt:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Pointer effektek – csak asztali nézet, első szint */
.hfb-nav:not(.is-mobile).hfb-nav--pointer-underline .hfb-menu > li > a::after,
.hfb-nav:not(.is-mobile).hfb-nav--pointer-overline .hfb-menu > li > a::after {
	content: ""; position: absolute; left: var(--hfb-item-px); right: var(--hfb-item-px);
	height: var(--hfb-pointer-w); background: var(--hfb-pointer);
	transform: scaleX(0); transform-origin: center; transition: transform var(--hfb-speed) var(--hfb-ease);
}
.hfb-nav--pointer-underline .hfb-menu > li > a::after { bottom: calc(var(--hfb-item-py) / 2 - var(--hfb-pointer-w) / 2); }
.hfb-nav--pointer-overline .hfb-menu > li > a::after { top: 0; }
.hfb-nav:not(.is-mobile) .hfb-menu > li > a:hover::after,
.hfb-nav:not(.is-mobile) .hfb-menu > li:hover > a::after,
.hfb-nav:not(.is-mobile) .hfb-menu > li > a:focus-visible::after,
.hfb-nav:not(.is-mobile) .hfb-menu > .current-menu-item > a::after,
.hfb-nav:not(.is-mobile) .hfb-menu > .current-menu-ancestor > a::after { transform: scaleX(1); opacity: 1; }

.hfb-nav--pointer-background { --hfb-item-radius: 999px; }
.hfb-nav:not(.is-mobile).hfb-nav--pointer-background .hfb-menu > li > a:hover,
.hfb-nav:not(.is-mobile).hfb-nav--pointer-background .hfb-menu > li:hover > a,
.hfb-nav:not(.is-mobile).hfb-nav--pointer-background .hfb-menu > .current-menu-item > a {
	background: var(--hfb-link-bg-hover, rgba(127, 127, 127, .14));
}
.hfb-nav:not(.is-mobile).hfb-nav--pointer-dot .hfb-menu > li > a::after {
	content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
	border-radius: 50%; background: var(--hfb-pointer); opacity: 0; transform: scale(0);
	transition: transform var(--hfb-speed), opacity var(--hfb-speed);
}

/* Almenü nyíl */
.hfb-sub-toggle {
	display: inline-flex !important; align-items: center; justify-content: center;
	margin-left: calc(var(--hfb-item-px) * -0.6) !important; padding: 4px !important;
	color: var(--hfb-link) !important; font-size: .8em !important;
}
.hfb-sub-toggle svg { transition: transform var(--hfb-speed) var(--hfb-ease); }
.hfb-menu li.is-open > .hfb-sub-toggle svg { transform: rotate(180deg); }
.hfb-nav--no-indicator:not(.is-mobile) .hfb-menu > li > .hfb-sub-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hfb-menu .sub-menu .hfb-sub-toggle { color: var(--hfb-sub-link) !important; margin-left: 0 !important; margin-right: 8px !important; }

/* Lenyíló almenü – asztali */
.hfb-nav:not(.is-mobile) .sub-menu {
	position: absolute; top: 100%; left: 0; z-index: 20;
	min-width: var(--hfb-sub-w);
	margin-top: var(--hfb-sub-offset);
	padding: 8px 0;
	background: var(--hfb-sub-bg);
	border-radius: var(--hfb-sub-radius);
	box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .05);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s var(--hfb-ease), transform .2s var(--hfb-ease), visibility .2s;
}
.hfb-nav:not(.is-mobile) .sub-menu::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--hfb-sub-offset);
}
.hfb-nav:not(.is-mobile) .sub-menu .sub-menu { top: -8px; left: 100%; margin: 0 0 0 4px; }
.hfb-nav:not(.is-mobile) .sub-menu .sub-menu::before { right: 100%; left: auto; top: 0; bottom: 0; width: 4px; height: auto; }
.hfb-nav:not(.is-mobile) li.hfb-sub--flip > .sub-menu { left: auto; right: 0; }
.hfb-nav:not(.is-mobile) .sub-menu li.hfb-sub--flip > .sub-menu { left: auto; right: 100%; margin: 0 4px 0 0; }

.hfb-nav--sub-hover:not(.is-mobile) li:hover > .sub-menu,
.hfb-nav--sub-hover:not(.is-mobile) li:focus-within > .sub-menu,
.hfb-nav:not(.is-mobile) li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.hfb-nav:not(.is-mobile) .sub-menu li { display: flex; align-items: center; justify-content: space-between; }
.hfb-nav:not(.is-mobile) .sub-menu a {
	flex: 1; padding: 9px 18px; color: var(--hfb-sub-link); border-radius: 0; background: transparent; white-space: nowrap;
}
.hfb-nav:not(.is-mobile) .sub-menu a:hover,
.hfb-nav:not(.is-mobile) .sub-menu a:focus-visible,
.hfb-nav:not(.is-mobile) .sub-menu .current-menu-item > a {
	color: var(--hfb-sub-link-hover, var(--hfb-link-hover)); background: var(--hfb-sub-bg-hover, rgba(127, 127, 127, .08));
}
.hfb-nav:not(.is-mobile) .sub-menu .hfb-sub-toggle svg { transform: rotate(-90deg); }

/* Hamburger gomb */
.hfb-nav__toggle, .hfb-nav__close, .hfb-nav__overlay { display: none !important; }
.hfb-nav.is-mobile .hfb-nav__toggle {
	display: inline-flex !important; align-items: center; gap: 10px;
	padding: 8px !important; color: var(--hfb-toggle-color) !important;
	background: var(--hfb-toggle-bg, transparent) !important; border-radius: 8px !important;
	position: relative; z-index: 3;
}
.hfb-nav__toggle-label { font-weight: 600; font-size: .95em; }
.hfb-burger { position: relative; display: block; width: var(--hfb-toggle-size); height: var(--hfb-toggle-size); }
.hfb-burger span, .hfb-burger span::before, .hfb-burger span::after {
	position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
	transition: transform var(--hfb-speed) var(--hfb-ease), background-color var(--hfb-speed), top var(--hfb-speed);
}
.hfb-burger span { top: 50%; margin-top: -1px; }
.hfb-burger span::before, .hfb-burger span::after { content: ""; }
.hfb-burger span::before { top: calc(var(--hfb-toggle-size) * -0.3); }
.hfb-burger span::after { top: calc(var(--hfb-toggle-size) * 0.3); }
.hfb-nav.is-open .hfb-burger span { background: transparent; }
.hfb-nav.is-open .hfb-burger span::before { top: 0; transform: rotate(45deg); }
.hfb-nav.is-open .hfb-burger span::after { top: 0; transform: rotate(-45deg); }

/* Mobil mód */
.hfb-nav.is-mobile { justify-content: var(--hfb-toggle-align, flex-end); }
.hfb-nav.is-mobile .hfb-nav__panel {
	position: fixed; z-index: calc(var(--hfb-z, 999) + 2);
	background: var(--hfb-panel-bg);
	overflow-y: auto; overscroll-behavior: contain;
	visibility: hidden;
	transition: transform .35s var(--hfb-ease), opacity .25s var(--hfb-ease), visibility .35s;
}
.hfb-nav.is-mobile.is-open .hfb-nav__panel { visibility: visible; }

/* Off-canvas */
.hfb-nav--m-offcanvas.is-mobile .hfb-nav__panel {
	top: var(--hfb-top); bottom: 0; right: 0; width: var(--hfb-panel-w);
	padding: 72px 24px 32px; transform: translateX(100%);
	box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .3);
}
.hfb-nav--m-offcanvas.hfb-nav--side-left.is-mobile .hfb-nav__panel { right: auto; left: 0; transform: translateX(-100%); box-shadow: 20px 0 60px -20px rgba(0, 0, 0, .3); }
.hfb-nav--m-offcanvas.is-mobile.is-open .hfb-nav__panel { transform: none; }
.hfb-nav--m-offcanvas.is-mobile .hfb-nav__overlay {
	display: block !important; position: fixed; inset: 0; z-index: calc(var(--hfb-z, 999) + 1);
	background: var(--hfb-overlay); opacity: 0; transition: opacity .3s;
}
.hfb-nav--m-offcanvas.is-mobile .hfb-nav__overlay[hidden] { display: none !important; }
.hfb-nav--m-offcanvas.is-mobile.is-open .hfb-nav__overlay { opacity: 1; }

/* Lenyíló */
.hfb-nav--m-dropdown.is-mobile .hfb-nav__panel {
	top: var(--hfb-drop-top, 64px); left: 0; right: 0;
	max-height: calc(100vh - var(--hfb-drop-top, 64px)); max-height: calc(100dvh - var(--hfb-drop-top, 64px));
	padding: 8px 20px 20px; opacity: 0; transform: translateY(-10px);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3);
}
.hfb-nav--m-dropdown.is-mobile.is-open .hfb-nav__panel { opacity: 1; transform: none; }

/* Teljes képernyő */
.hfb-nav--m-fullscreen.is-mobile .hfb-nav__panel {
	inset: 0; top: var(--hfb-top); display: flex; align-items: center; justify-content: center;
	padding: 72px 24px; opacity: 0; transform: scale(1.03);
}
.hfb-nav--m-fullscreen.is-mobile.is-open .hfb-nav__panel { opacity: 1; transform: none; }
.hfb-nav--m-fullscreen.is-mobile .hfb-menu { align-items: center; width: 100%; }
.hfb-nav--m-fullscreen.is-mobile .hfb-menu > li { justify-content: center; border: 0 !important; }
.hfb-nav--m-fullscreen.is-mobile .hfb-menu > li > a { flex: 0 1 auto; font-size: 1.5em; text-align: center; }

.hfb-nav.is-mobile .hfb-nav__close {
	display: inline-flex !important; position: absolute; top: 18px; right: 18px; padding: 8px !important;
	color: var(--hfb-panel-link) !important;
}
.hfb-nav--m-dropdown.is-mobile .hfb-nav__close { display: none !important; }
.hfb-nav--side-left .hfb-nav__close { right: auto; left: auto; }
.hfb-nav--m-offcanvas.hfb-nav--side-left.is-mobile .hfb-nav__close { right: 18px; }

/* Mobil menüpontok */
.hfb-nav.is-mobile .hfb-menu { flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; }
.hfb-nav.is-mobile .hfb-menu li { display: flex; flex-wrap: wrap; align-items: center; }
.hfb-nav.is-mobile .hfb-menu > li { border-bottom: 1px solid var(--hfb-panel-divider); }
.hfb-nav.is-mobile .hfb-menu a {
	flex: 1; padding: var(--hfb-panel-py) 4px; color: var(--hfb-panel-link); background: transparent; border-radius: 0;
}
.hfb-nav.is-mobile .hfb-menu a:hover,
.hfb-nav.is-mobile .hfb-menu .current-menu-item > a { color: var(--hfb-panel-link-hover, var(--hfb-link-hover)); }
.hfb-nav.is-mobile .hfb-sub-toggle {
	width: 44px; height: 44px; margin: 0 !important; color: var(--hfb-panel-link) !important; font-size: 1em !important;
}
.hfb-nav.is-mobile .sub-menu { display: none; width: 100%; padding: 0 0 10px 14px; }
.hfb-nav.is-mobile li.is-open > .sub-menu { display: block; animation: hfb-fade .25s var(--hfb-ease); }
.hfb-nav.is-mobile .sub-menu a { padding-top: calc(var(--hfb-panel-py) * .7); padding-bottom: calc(var(--hfb-panel-py) * .7); opacity: .9; }

/* JS előtti állapot: ne villanjon az asztali menü mobilon */
@media (max-width: 1024px) { .hfb-nav--bp-tablet:not(.is-ready) .hfb-nav__panel { display: none; } }
@media (max-width: 767px) { .hfb-nav--bp-mobile:not(.is-ready) .hfb-nav__panel { display: none; } }
.hfb-nav--bp-always:not(.is-ready) .hfb-nav__panel { display: none; }

.hfb-notice { padding: 12px 16px; border: 1px dashed #93003c; color: #93003c; font-size: 13px; border-radius: 4px; }

/* ============ KERESŐ ============ */
.hfb-search {
	--hfb-s-icon: currentColor;
	--hfb-s-icon-size: 20px;
	--hfb-s-width: 260px;
	--hfb-s-bg: #fff;
	--hfb-s-text: #1f2328;
	--hfb-s-border: rgba(0, 0, 0, .15);
	--hfb-s-radius: 999px;
	--hfb-s-overlay: rgba(12, 12, 14, .94);
	display: flex; align-items: center; position: relative;
}
.hfb-search__form {
	display: flex; align-items: center; width: var(--hfb-s-width); max-width: 100%; margin: 0;
	background: var(--hfb-s-bg); border: 1px solid var(--hfb-s-border); border-radius: var(--hfb-s-radius);
	overflow: hidden; transition: border-color var(--hfb-speed), box-shadow var(--hfb-speed);
}
.hfb-search__form:focus-within { border-color: var(--hfb-s-text); box-shadow: 0 0 0 3px rgba(127, 127, 127, .15); }
.hfb-search .hfb-search__input, .hfb-search .hfb-search__input:focus {
	flex: 1; min-width: 0; margin: 0; padding: 10px 16px; border: 0; border-radius: 0; outline: 0; box-shadow: none;
	background: transparent; color: var(--hfb-s-text); font-size: inherit;
}
.hfb-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hfb-search .hfb-search__submit { display: inline-flex; align-items: center; padding: 0 14px !important; height: 100%; color: var(--hfb-s-text) !important; font-size: 18px !important; }
.hfb-search .hfb-search__toggle { display: inline-flex; padding: 6px !important; color: var(--hfb-s-icon) !important; font-size: var(--hfb-s-icon-size) !important; transition: opacity var(--hfb-speed); }
.hfb-search .hfb-search__toggle:hover { opacity: .7; }

.hfb-search--icon .hfb-search__drop {
	position: absolute; top: calc(100% + 12px); inset-inline-end: 0; z-index: calc(var(--hfb-z, 999) + 3);
	animation: hfb-drop .2s var(--hfb-ease);
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .18));
}
.hfb-search--fullscreen .hfb-search__drop {
	position: fixed; inset: 0; z-index: calc(var(--hfb-z, 999) + 10);
	display: flex; align-items: center; justify-content: center;
	background: var(--hfb-s-overlay); animation: hfb-fade .25s var(--hfb-ease);
}
.hfb-search__drop[hidden] { display: none !important; }
.hfb-search--fullscreen .hfb-search__form { --hfb-s-width: min(720px, 90vw); border-radius: 14px; }
.hfb-search--fullscreen .hfb-search__input { padding: 18px 24px !important; font-size: clamp(18px, 3vw, 26px) !important; }
.hfb-search--fullscreen .hfb-search__close { position: absolute; top: 24px; right: 24px; color: #fff !important; padding: 8px !important; }

/* ============ VISSZA A TETEJÉRE ============ */
.hfb-btt {
	position: fixed; bottom: 24px; right: 24px; z-index: var(--hfb-z, 999);
	width: 46px; height: 46px; padding: 0; border: 0; display: grid; place-items: center;
	background: var(--hfb-btt-bg, #111); color: var(--hfb-btt-color, #fff);
	box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .3s, transform .3s var(--hfb-ease), visibility .3s, filter .2s;
}
.hfb-btt:hover, .hfb-btt:focus { background: var(--hfb-btt-bg, #111); color: var(--hfb-btt-color, #fff); filter: brightness(1.2); }
.hfb-btt.is-visible { opacity: 1; visibility: visible; transform: none; }
.hfb-btt--left { right: auto; left: 24px; }
.hfb-btt--circle { border-radius: 50%; }
.hfb-btt--rounded { border-radius: 12px; }
.hfb-btt--square { border-radius: 0; }

/* ============ OLVASÁSI SÁV ============ */
.hfb-progress { position: fixed; top: var(--hfb-top); left: 0; right: 0; height: var(--hfb-progress-h, 3px); z-index: calc(var(--hfb-z, 999) + 5); pointer-events: none; }
.hfb-progress span { display: block; height: 100%; background: var(--hfb-progress, #3b82f6); transform: scaleX(var(--hfb-p, 0)); transform-origin: 0 50%; }

@keyframes hfb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hfb-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.hfb-header, .hfb-nav *, .hfb-search *, .hfb-btt, .hfb-logo img { transition: none !important; animation: none !important; }
}
