/*
 * BM Real Estate — Header ([bm_rlst_header])
 * ==================================================================
 *   0. SETTINGS — heights, colours, glass. CHANGE THE LOOK HERE.
 *   1. The bar (fixed) + the spacer under it (same height → no gaps)
 *   2. Logo
 *   3. Menu (desktop) + dropdowns
 *   4. Tools: heart, language, account, ☰
 *   5. The ☰ panel (tablets / phones)
 *   6. Breakpoints
 *   7. Admin bar, print, reduced motion
 *
 * THE ONE RULE: the bar's height is a fixed number per screen size
 * (--bm-rlst-hdr-h) and the spacer uses the SAME number. Nothing in the
 * bar may change its height (the menu stays on one line; below 1180px
 * the ☰ panel takes over). That is why there is no JS measuring and no
 * gap under the header any more.
 *
 * Selectors are .bm-rlst-wrap / doubled classes and list :hover/:focus
 * next to the base rule, so the Elementor kit's "a" / "button" colours
 * never repaint them (README gotcha 11).
 * ================================================================== */

/* ==================================================================
   0. SETTINGS
   ================================================================== */
:root {
	--bm-rlst-hdr-h:        84px;   /* bar height on desktop (the spacer follows) */
	--bm-rlst-hdr-logo:     68px;   /* logo height — always inside the bar (it never covers the page) */
	--bm-rlst-hdr-logo-sm:  68px;   /* logo height once scrolled (same = the logo doesn't change) */
	--bm-rlst-hdr-bg:       rgba(250, 249, 247, .74);  /* the "transparent" glass */
	--bm-rlst-hdr-bg-solid: rgba(250, 249, 247, .97);  /* browsers without blur */
	--bm-rlst-hdr-blur:     14px;
	--bm-rlst-hdr-text:     #4a4040;                   /* menu text (9.6:1 on the bar) */
	--bm-rlst-hdr-line:     var(--bm-rlst-accent);     /* underline of the hovered / current item */
	--bm-rlst-hdr-icon:     var(--bm-rlst-accent);     /* the account icon (orange, as before) */
	--bm-rlst-hdr-shadow:   0 1px 0 rgba(60, 45, 30, .05), 0 6px 20px rgba(60, 45, 30, .08);
	--bm-rlst-hdr-top:      0px;    /* set by the admin bar rules below */
	--bm-rlst-hdr-z:        9990;   /* under our windows (99991+) and WordPress' admin bar */
}
@media (max-width: 1179px) {
	:root {
		--bm-rlst-hdr-h:       72px;
		--bm-rlst-hdr-logo:    56px;
		--bm-rlst-hdr-logo-sm: 56px;
	}
}
@media (max-width: 640px) {
	:root {
		--bm-rlst-hdr-h:       64px;
		--bm-rlst-hdr-logo:    48px;
		--bm-rlst-hdr-logo-sm: 48px;
	}
}

/* Links to #something on the page stop under the bar, not behind it. */
html { scroll-padding-top: calc(var(--bm-rlst-hdr-h) + var(--bm-rlst-hdr-top) + 12px); }

/* ==================================================================
   1. BAR + SPACER
   ================================================================== */
/* The Elementor / JetThemeCore boxes around the shortcode add nothing:
   their own padding, margin, height or background would push the page
   down by a few pixels (a gap again) or tint the glass. With this the
   template is exactly as tall as the spacer, whatever its settings. */
:where(.elementor, .e-con, .e-con-inner, .elementor-section, .elementor-container, .elementor-column,
	.elementor-widget-wrap, .elementor-element, .elementor-widget-container, .elementor-shortcode,
	.jet-theme-core-location, .site-header):has(.bm-rlst-hdr-root) {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	transform: none !important;   /* a transform would make "fixed" stick to the box instead of the screen */
}
.bm-rlst-wrap.bm-rlst-hdr-root {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}
.bm-rlst-wrap .bm-rlst-hdr-space {
	display: block;
	height: var(--bm-rlst-hdr-h);
	margin: 0;
	padding: 0;
}
.bm-rlst-wrap .bm-rlst-hdr {
	position: fixed;
	top: var(--bm-rlst-hdr-top);
	left: 0;
	right: 0;
	z-index: var(--bm-rlst-hdr-z);
	height: var(--bm-rlst-hdr-h);
	margin: 0;
	padding: 0;
	background: var(--bm-rlst-hdr-bg-solid);
	box-shadow: var(--bm-rlst-hdr-shadow);
	color: var(--bm-rlst-hdr-text);
	font-family: var(--bm-rlst-font);
	transition: background-color .25s ease, box-shadow .25s ease;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.bm-rlst-wrap .bm-rlst-hdr {
		background: var(--bm-rlst-hdr-bg);
		-webkit-backdrop-filter: blur(var(--bm-rlst-hdr-blur)) saturate(160%);
		backdrop-filter: blur(var(--bm-rlst-hdr-blur)) saturate(160%);
	}
}
.bm-rlst-wrap .bm-rlst-hdr__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 32px;
}

/* ==================================================================
   2. LOGO — always inside the bar, centred. (Until 0.22.0 it hung
   below the bar at the top of the page; on some pages that covered
   the content. To make it shrink on scroll again, give
   --bm-rlst-hdr-logo-sm a smaller value than --bm-rlst-hdr-logo.)
   ================================================================== */
.bm-rlst-wrap .bm-rlst-hdr__logo,
.bm-rlst-wrap .bm-rlst-hdr__logo:hover,
.bm-rlst-wrap .bm-rlst-hdr__logo:focus {
	flex: none;
	align-self: center;
	display: block;
	margin: 0;
	line-height: 0;
	text-decoration: none;
	border-radius: 50%;
	outline: none;
	box-shadow: none;
}
.bm-rlst-wrap .bm-rlst-hdr__logo:focus-visible { outline: 3px solid var(--bm-rlst-accent); outline-offset: 3px; }
.bm-rlst-wrap .bm-rlst-hdr__logo img {
	display: block;
	width: auto !important;          /* Elementor's ".elementor img" sizes */
	height: var(--bm-rlst-hdr-logo) !important;
	max-width: none;
	border-radius: 50%;
	filter: drop-shadow(0 4px 10px rgba(40, 30, 20, .18));
	transition: height .25s ease;
}
.bm-rlst-wrap .bm-rlst-hdr.is-scrolled .bm-rlst-hdr__logo img { height: var(--bm-rlst-hdr-logo-sm) !important; }
.bm-rlst-wrap .bm-rlst-hdr__name { font-size: 20px; font-weight: 800; color: var(--bm-rlst-hdr-text); line-height: var(--bm-rlst-hdr-h); white-space: nowrap; }

/* ==================================================================
   3. MENU (desktop)
   ================================================================== */
.bm-rlst-wrap .bm-rlst-hdr__nav {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: flex-end;
	height: 100%;
}
.bm-rlst-wrap .bm-rlst-hdr__menu,
.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bm-rlst-wrap .bm-rlst-hdr__menu {
	display: flex;
	align-items: stretch;
	gap: 4px;
	height: 100%;
}
.bm-rlst-wrap .bm-rlst-hdr__menu > li {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
}
.bm-rlst-wrap .bm-rlst-hdr__menu a,
.bm-rlst-wrap .bm-rlst-hdr__menu a:visited,
.bm-rlst-wrap .bm-rlst-hdr__menu a:hover,
.bm-rlst-wrap .bm-rlst-hdr__menu a:focus {
	color: var(--bm-rlst-hdr-text);
	text-decoration: none;
	box-shadow: none;
}
.bm-rlst-wrap .bm-rlst-hdr__menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 100%;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1;
	white-space: nowrap;   /* never two lines → the bar never grows */
	outline: none;
}
/* The orange line under the hovered / current item. */
.bm-rlst-wrap .bm-rlst-hdr__menu > li > a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: calc(50% - 18px);
	height: 2px;
	border-radius: 2px;
	background: var(--bm-rlst-hdr-line);
	transform: scaleX(0);
	transition: transform .2s ease;
}
.bm-rlst-wrap .bm-rlst-hdr__menu > li.current-menu-item > a::after,
.bm-rlst-wrap .bm-rlst-hdr__menu > li.current-menu-ancestor > a::after,
.bm-rlst-wrap .bm-rlst-hdr__menu > li > a:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) {
	.bm-rlst-wrap .bm-rlst-hdr__menu > li:hover > a::after { transform: scaleX(1); }
}
.bm-rlst-wrap .bm-rlst-hdr__menu > li > a:focus-visible { outline: 2px solid var(--bm-rlst-hdr-text); outline-offset: -6px; border-radius: 8px; }

/* Small ▾ after a parent item. */
.bm-rlst-wrap .bm-rlst-hdr__menu > li.menu-item-has-children > a::before {
	content: '';
	order: 2;
	width: 6px;
	height: 6px;
	margin: -3px 0 0 4px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg);
}

/* Dropdown */
.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu {
	position: absolute;
	top: calc(50% + 22px);
	left: 0;
	z-index: 2;
	min-width: 230px;
	padding: 8px;
	border: 1px solid var(--bm-rlst-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(40, 30, 20, .14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
/* An invisible bridge, so the mouse can travel from the item to the list. */
.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.bm-rlst-wrap .bm-rlst-hdr__menu > li:has(:focus-visible) > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .18s ease, transform .18s ease;
}
@media (hover: hover) {
	.bm-rlst-wrap .bm-rlst-hdr__menu > li:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity .18s ease, transform .18s ease;
	}
}
.bm-rlst-wrap .bm-rlst-hdr__menu > li:last-child > .sub-menu,
.bm-rlst-wrap .bm-rlst-hdr__menu > li:nth-last-child(2) > .sub-menu { left: auto; right: 0; }
.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu li { margin: 0; }
.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	outline: none;
}
.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu .current-menu-item > a { font-weight: 700; }
.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu a:focus-visible { background: var(--bm-rlst-soft); }
@media (hover: hover) {
	.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu a:hover { background: var(--bm-rlst-soft); }
}

/* ==================================================================
   4. TOOLS
   ================================================================== */
.bm-rlst-wrap .bm-rlst-hdr__tools {
	flex: none;
	display: flex;
	align-items: center;
	gap: 6px;
}
.bm-rlst-wrap .bm-rlst-hdr__fav { display: inline-flex; }
.bm-rlst-wrap .bm-rlst-hdr__fav .bm-rlst-fav-counter { width: 44px; height: 44px; color: var(--bm-rlst-hdr-text); }

.bm-rlst-wrap .bm-rlst-hdr__langs { display: flex; align-items: center; }
.bm-rlst-wrap .bm-rlst-hdr__lang,
.bm-rlst-wrap .bm-rlst-hdr__lang:visited,
.bm-rlst-wrap .bm-rlst-hdr__lang:hover,
.bm-rlst-wrap .bm-rlst-hdr__lang:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 10px;
	border-radius: 10px;
	color: var(--bm-rlst-hdr-text);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
	outline: none;
}
.bm-rlst-wrap .bm-rlst-hdr__lang:focus-visible { outline: 2px solid var(--bm-rlst-hdr-text); outline-offset: 0; }
@media (hover: hover) {
	.bm-rlst-wrap .bm-rlst-hdr__lang:hover { background: rgba(0, 0, 0, .05); }
}
.bm-rlst-wrap .bm-rlst-hdr__flag {
	display: block;
	width: 24px !important;
	height: 16px !important;
	max-width: none;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}
.bm-rlst-wrap .bm-rlst-hdr__lang svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.bm-rlst-wrap .bm-rlst-hdr__account,
.bm-rlst-wrap .bm-rlst-hdr__account:visited,
.bm-rlst-wrap .bm-rlst-hdr__account:hover,
.bm-rlst-wrap .bm-rlst-hdr__account:focus,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger:hover,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger:focus,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger:active {
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bm-rlst-hdr-text);
	box-shadow: none;
	outline: none;
	text-decoration: none;
	cursor: pointer;
}
.bm-rlst-wrap .bm-rlst-hdr__account,
.bm-rlst-wrap .bm-rlst-hdr__account:visited,
.bm-rlst-wrap .bm-rlst-hdr__account:hover,
.bm-rlst-wrap .bm-rlst-hdr__account:focus { color: var(--bm-rlst-hdr-icon); }
.bm-rlst-wrap .bm-rlst-hdr__account svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bm-rlst-wrap .bm-rlst-hdr__account:focus-visible,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger:focus-visible { outline: 2px solid var(--bm-rlst-hdr-text); outline-offset: 0; }
@media (hover: hover) {
	.bm-rlst-wrap .bm-rlst-hdr__account:hover,
	.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger:hover { background: rgba(0, 0, 0, .05); }
}
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger { display: none; }

/* ==================================================================
   5. THE ☰ PANEL — over the whole screen; the page behind doesn't
   scroll while it is open (header.js).
   ================================================================== */
.bm-rlst-wrap .bm-rlst-hdr-panel {
	position: fixed;
	inset: var(--bm-rlst-hdr-top) 0 0 0;
	z-index: calc(var(--bm-rlst-hdr-z) + 1);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fbfaf8;
	color: var(--bm-rlst-hdr-text);
	font-family: var(--bm-rlst-font);
	animation: bm-rlst-hdr-in .22s ease;
}
.bm-rlst-wrap .bm-rlst-hdr-panel[hidden] { display: none; }
@keyframes bm-rlst-hdr-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.bm-rlst-wrap .bm-rlst-hdr-panel__top {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--bm-rlst-hdr-h);
	padding: 0 16px 0 20px;
	border-bottom: 1px solid var(--bm-rlst-line);
}
.bm-rlst-wrap .bm-rlst-hdr-panel__logo { line-height: 0; }
.bm-rlst-wrap .bm-rlst-hdr-panel__logo img { height: var(--bm-rlst-hdr-logo-sm) !important; width: auto !important; max-width: none; border-radius: 50%; }
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__close,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__close:hover,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__close:focus,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__close:active {
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bm-rlst-soft);
	color: var(--bm-rlst-hdr-text);
	box-shadow: none;
	outline: none;
	cursor: pointer;
}
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__close:focus-visible { outline: 2px solid var(--bm-rlst-hdr-text); outline-offset: 2px; }
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.bm-rlst-wrap .bm-rlst-hdr-panel__nav { flex: 1 0 auto; padding: 8px 20px; }
.bm-rlst-wrap .bm-rlst-hdr-panel__menu,
.bm-rlst-wrap .bm-rlst-hdr-panel__menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.bm-rlst-wrap .bm-rlst-hdr-panel__menu > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	border-bottom: 1px solid var(--bm-rlst-line);
}
.bm-rlst-wrap .bm-rlst-hdr-panel__menu a,
.bm-rlst-wrap .bm-rlst-hdr-panel__menu a:visited,
.bm-rlst-wrap .bm-rlst-hdr-panel__menu a:hover,
.bm-rlst-wrap .bm-rlst-hdr-panel__menu a:focus {
	color: var(--bm-rlst-hdr-text);
	text-decoration: none;
	box-shadow: none;
	outline: none;
}
.bm-rlst-wrap .bm-rlst-hdr-panel__menu > li > a {
	flex: 1;
	display: flex;
	align-items: center;
	min-height: 60px;
	padding: 8px 0;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}
.bm-rlst-wrap .bm-rlst-hdr-panel__menu .current-menu-item > a { color: var(--bm-rlst-title); box-shadow: inset 3px 0 0 var(--bm-rlst-accent); padding-left: 12px; }
.bm-rlst-wrap .bm-rlst-hdr-panel__menu a:focus-visible { outline: 2px solid var(--bm-rlst-hdr-text); outline-offset: 2px; border-radius: 6px; }

/* Submenus: open by default (works without JS); header.js folds them
   behind a ▾ button once it runs. */
.bm-rlst-wrap .bm-rlst-hdr-panel__menu .sub-menu { flex: 0 0 100%; padding: 0 0 12px 14px; }
.bm-rlst-wrap.bm-rlst-hdr-root.is-js .bm-rlst-hdr-panel__menu li:not(.is-open) > .sub-menu { display: none; }
.bm-rlst-wrap .bm-rlst-hdr-panel__menu .sub-menu a {
	display: flex;
	align-items: center;
	min-height: 48px;
	font-size: 17px;
	font-weight: 500;
}
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__sub,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__sub:hover,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__sub:focus,
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__sub:active {
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	flex: none;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bm-rlst-hdr-text);
	box-shadow: none;
	outline: none;
	cursor: pointer;
}
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__sub:focus-visible { outline: 2px solid var(--bm-rlst-hdr-text); }
.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr-panel__sub svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform .2s ease; }
.bm-rlst-wrap .bm-rlst-hdr-panel__menu li.is-open > .bm-rlst-hdr-panel__sub svg { transform: rotate(180deg); }

.bm-rlst-wrap .bm-rlst-hdr-panel__foot {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
}
.bm-rlst-wrap .bm-rlst-hdr__langs--panel { flex-wrap: wrap; gap: 8px; }
/* The language is always in the bar (every screen size), so the panel
   doesn't repeat it. */
.bm-rlst-wrap .bm-rlst-hdr-panel__foot .bm-rlst-hdr__langs--panel { display: none; }
.bm-rlst-wrap .bm-rlst-hdr__langs--panel .bm-rlst-hdr__lang,
.bm-rlst-wrap .bm-rlst-hdr__langs--panel .bm-rlst-hdr__lang:hover,
.bm-rlst-wrap .bm-rlst-hdr__langs--panel .bm-rlst-hdr__lang:focus,
.bm-rlst-wrap .bm-rlst-hdr-panel__link,
.bm-rlst-wrap .bm-rlst-hdr-panel__link:visited,
.bm-rlst-wrap .bm-rlst-hdr-panel__link:hover,
.bm-rlst-wrap .bm-rlst-hdr-panel__link:focus {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--bm-rlst-line);
	border-radius: 14px;
	background: #fff;
	color: var(--bm-rlst-hdr-text);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
}
.bm-rlst-wrap .bm-rlst-hdr__langs--panel .bm-rlst-hdr__lang { flex: 1; }
.bm-rlst-wrap .bm-rlst-hdr-panel__link svg { width: 22px; height: 22px; fill: none; stroke: var(--bm-rlst-hdr-icon); stroke-width: 2; stroke-linecap: round; }
.bm-rlst-wrap .bm-rlst-hdr-panel__call,
.bm-rlst-wrap .bm-rlst-hdr-panel__call:visited,
.bm-rlst-wrap .bm-rlst-hdr-panel__call:hover,
.bm-rlst-wrap .bm-rlst-hdr-panel__call:focus {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 16px;
	border-radius: 14px;
	background: var(--bm-rlst-accent);
	color: var(--bm-rlst-on-accent);   /* dark on orange: 7.8:1 */
	font-size: 17px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: none;
}
.bm-rlst-wrap .bm-rlst-hdr-panel__call svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.bm-rlst-wrap .bm-rlst-hdr-panel__foot a:focus-visible { outline: 2px solid var(--bm-rlst-hdr-text); outline-offset: 2px; }

/* The page behind the open panel doesn't scroll. */
html.bm-rlst-hdr-locked,
html.bm-rlst-hdr-locked body { overflow: hidden; }

/* ==================================================================
   6. BREAKPOINTS
   1180px+   logo · menu · heart · flag · account
   < 1180    logo · heart · flag · account · ☰  (menu in the panel)
   < 641     logo · heart · flag · ☰            (account in the panel)
   ================================================================== */
@media (min-width: 1180px) {
	/* The panel is only for smaller screens; if it was left open while
	   the window grew, hide it. */
	.bm-rlst-wrap .bm-rlst-hdr-panel { display: none !important; }
}
@media (max-width: 1179px) {
	.bm-rlst-wrap .bm-rlst-hdr__inner { gap: 12px; padding: 0 20px; }
	.bm-rlst-wrap .bm-rlst-hdr__nav { visibility: hidden; }  /* keeps the tools on the right */
	.bm-rlst-wrap .bm-rlst-hdr__nav > * { display: none; }
	.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger,
	.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger:hover,
	.bm-rlst-wrap.bm-rlst-hdr-root .bm-rlst-hdr__burger:focus { display: inline-grid; }
}
@media (max-width: 640px) {
	.bm-rlst-wrap .bm-rlst-hdr__inner { padding: 0 8px 0 14px; gap: 4px; }
	.bm-rlst-wrap .bm-rlst-hdr__tools .bm-rlst-hdr__account { display: none; }
	.bm-rlst-wrap .bm-rlst-hdr__tools { gap: 0; }
	/* The language stays in the bar, next to ☰ — seen at once. */
	.bm-rlst-wrap .bm-rlst-hdr__tools .bm-rlst-hdr__lang,
	.bm-rlst-wrap .bm-rlst-hdr__tools .bm-rlst-hdr__lang:hover,
	.bm-rlst-wrap .bm-rlst-hdr__tools .bm-rlst-hdr__lang:focus { gap: 6px; padding: 0 8px; font-size: 14px; }
}
@media (min-width: 641px) {
	/* tablets: the account is already in the bar */
	.bm-rlst-wrap .bm-rlst-hdr-panel__foot .bm-rlst-hdr-panel__link { display: none; }
}

/* FOR NOW: the account icon (bar) and "Ο λογαριασμός μου" (☰ panel)
   only for logged-in visitors. WordPress puts "logged-in" on <body>,
   so the page's HTML stays the same for everyone (cache-safe).
   When customers can log in: delete this rule — that's all. */
body:not(.logged-in) .bm-rlst-wrap .bm-rlst-hdr__account,
body:not(.logged-in) .bm-rlst-wrap .bm-rlst-hdr-panel__link { display: none !important; }

/* ==================================================================
   7. ADMIN BAR (logged in), PRINT, REDUCED MOTION
   WordPress' bar is 32px (46px below 783px) and fixed; below 601px it
   scrolls away with the page — header.js then follows it
   (--bm-rlst-hdr-top) so there's never a gap or an overlap.
   ================================================================== */
body.admin-bar { --bm-rlst-hdr-top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 782px) {
	body.admin-bar { --bm-rlst-hdr-top: var(--wp-admin--admin-bar--height, 46px); }
}
@media (max-width: 600px) {
	body.admin-bar { --bm-rlst-hdr-top: var(--bm-rlst-hdr-ab, 46px); }
}

@media print {
	.bm-rlst-wrap .bm-rlst-hdr { position: static; box-shadow: none; }
	.bm-rlst-wrap .bm-rlst-hdr-space,
	.bm-rlst-wrap .bm-rlst-hdr-panel,
	.bm-rlst-wrap .bm-rlst-hdr__tools { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.bm-rlst-wrap .bm-rlst-hdr,
	.bm-rlst-wrap .bm-rlst-hdr__logo img,
	.bm-rlst-wrap .bm-rlst-hdr__menu .sub-menu,
	.bm-rlst-wrap .bm-rlst-hdr__menu > li > a::after { transition: none; }
	.bm-rlst-wrap .bm-rlst-hdr-panel { animation: none; }
}
