/* =====================================================================
   Lang menu 2026 – nový výber krajiny pre starú hlavičku (všetky stromy)
   Vzhľad = výber krajiny z novej hlavičky (mega_menu2026.css, .mm26-country), bez telefónu.
   Markup:  panel #lm26 z langmenu2026.typoscript (page.1026), obsah = HTML elementy s regiónmi (mm26-region)
            na stránke „Lang Menu“ (konštanta langMenuPID), lib.lang_menu2026.
   Správanie: script/lang_menu2026.js – otvára ho staré tlačidlo jazyka (.lang-lightbox-trigger-off / -trigger).
   Vlajka #lm26-flag (.lm26-flag-btn) pred hamburgerom – len pod 1201 px, kde stará hlavička tlačidlo jazyka nemá.
   Desktop >= 1000px: biely panel pod hlavičkou cez celú šírku. Mobil < 1000px: celá obrazovka s nadpisom.
   ===================================================================== */

body header .header-wrap .mobile-header-lang {
	display:none !important;
}

@font-face {
	font-family: 'lm26-montserrat';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/montserrat2026/montserrat-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'lm26-montserrat';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/montserrat2026/montserrat-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- základ ---------- */
body .lm26 {
	--lm26-blue: #0a6fe6;
	position: fixed;
	left: 0;
	right: 0;
	top: 60px;
	bottom: 0;
	z-index: 600;
	overflow-y: auto;
	background: #fff;
	color: #111;
	font-family: 'lm26-montserrat', Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}
body .lm26[hidden] { display: none; }
body .lm26 *,
body .lm26 *::before,
body .lm26 *::after { box-sizing: border-box; }
body .lm26 ul { list-style: none; margin: 0; padding: 0; }
body .lm26 li { margin: 0; padding: 0; border: 0; }
body .lm26 li::before { display: none; }
body .lm26 a { font-family: inherit; text-decoration: none; text-transform: none; background: none; transition: color .15s, background-color .2s; }
body .lm26 button { font-family: inherit; }
body .lm26 button:focus:not(:focus-visible) { outline: none; box-shadow: none; }
body .lm26 a:focus-visible,
body .lm26 button:focus-visible { outline: 2px solid #6ea8ff; outline-offset: 2px; }

/* ---------- vlajka v hlavičke (stará hlavička má tlačidlo jazyka až od 1201 px) ---------- */
body .lm26-flag-btn { display: none; }
@media (max-width: 1200px) {
	body header .lm26-flag-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: none;
		align-self: flex-start;
		width: 40px;
		height: 24px; /* stred na 20 px = stred 40 px lišty (ako Get a Quote a hamburger) */
		margin: 0 2px 0 0;
		padding: 0;
		background: none;
		border: 0;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	body header .lm26-flag-btn img { display: block; width: 28px; height: 17px; border-radius: 3px; object-fit: cover; }
	body header .lm26-flag-btn:focus:not(:focus-visible) { outline: none; }
}

/* ---------- desktop ---------- */
body .lm26-inner { position: relative; max-width: 1480px; margin: 0 auto; padding: 18px 40px 60px; }
/* krížik je sticky – pri posúvaní zoznamu krajín ostáva stále hore vpravo */
body .lm26-head {
	position: -webkit-sticky;
	position: sticky;
	top: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	pointer-events: none;
}
body .lm26-title { display: none; }
body .lm26-close {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 -12px 0 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f1f1;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
	color: #111;
	cursor: pointer;
	pointer-events: auto;
}
body .lm26-close svg { width: 18px; height: 18px; }
body .lm26-close:hover { background: #e4e4e4; }
/* obsah z CMS: každý HTML element má obal div.frame – pre mriežku ho "zrušíme" */
body .lm26-grid > .frame,
body .lm26-grid > div:not([class]) { display: contents; }
/* Úzky ľavý stĺpec (ostatné regióny) + Europe vpravo (.mm26-region--wide, 3 stĺpce).
   Poradie v HTML (CMS) je Americas, Europe, Middle-East, Asia Pacific (mobil má vlastné poradie – viď nižšie). */
body .lm26-grid {
	margin-top: -2px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	grid-template-rows: auto auto auto 1fr;
	grid-auto-flow: column dense;
	gap: 0 80px;
	align-items: start;
}
body .lm26 .mm26-region { grid-column: 1; margin-bottom: 44px; }
body .lm26 .mm26-region--wide { grid-column: 2; grid-row: 1 / 5; }
body .lm26 .mm26-region-name { font-size: 20px; font-weight: 600; color: #111; letter-spacing: -0.01em; }
body .lm26 .mm26-region-list { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 36px; }
body .lm26 .mm26-region-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .lm26 .mm26-region-list li { margin: 0 -12px; padding: 10px 12px; border-radius: 8px; transition: background-color .15s; }
body .lm26 .mm26-region-list li:hover { background: #f2f2f2; }
body .lm26 .mm26-cty { display: block; font-size: 14.5px; font-weight: 600; color: #111; }
body .lm26 .mm26-langs { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
body .lm26 .mm26-langs a { font-size: 12.5px; font-weight: 500; color: #666; }
body .lm26 .mm26-cty:hover,
body .lm26 .mm26-langs a:hover { color: var(--lm26-blue); }
/* riadky len pre mobil (napr. „België / Nederlands“) */
body .lm26 .mm26-region-list li.mm26-cty-m { display: none; }
/* spodok s telefónom (element novej hlavičky) sa tu nezobrazuje */
body .lm26 .mm26-country-foot { display: none; }

/* ---------- mobil (cez celú obrazovku, nad hlavičkou) ---------- */
@media (max-width: 999px) {
	body .lm26 { top: 0 !important; z-index: 12000000001; overscroll-behavior: contain; }
	body .lm26-inner { padding: calc(32px + env(safe-area-inset-top, 0px)) 20px 44px; }
	body .lm26-head { position: static; justify-content: space-between; pointer-events: auto; }
	body .lm26-title { display: block; color: #111; font-size: 19px; font-weight: 700; line-height: 1.3; }
	body .lm26-close { width: 48px; height: 48px; margin: 0 -10px 0 0; border-radius: 0; background: none; box-shadow: none; color: #1d1d1f; }
	body .lm26-close svg { width: 28px; height: 28px; }
	body .lm26-close:hover { background: none; }
	body .lm26-close:active { opacity: .5; }
	/* 2 stĺpce: hore vedľa seba .mm26-region--top (Americas, Middle-East), pod nimi Europe, Asia Pacific */
	body .lm26-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-flow: row; gap: 0 16px; margin-top: 6px; }
	body .lm26 .mm26-region,
	body .lm26 .mm26-region--wide { grid-column: 1 / -1; grid-row: auto; order: 4; margin: 18px 0 0; }
	body .lm26 .mm26-region--top { grid-column: auto; order: 1; }
	body .lm26 .mm26-region--wide { order: 3; }
	body .lm26 .mm26-region-name { color: #111; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
	body .lm26 .mm26-region-list,
	body .lm26 .mm26-region-list--3 { margin-top: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
	body .lm26 .mm26-region--top .mm26-region-list { grid-template-columns: minmax(0, 1fr); }
	body .lm26 .mm26-region-list li { margin: 0; padding: 0; border-bottom: 1px solid #f0f0f0; border-radius: 0; }
	body .lm26 .mm26-region-list li:hover { background: none; }
	body .lm26 .mm26-region-list li.mm26-cty-m { display: block; }
	body .lm26 .mm26-region-list li.mm26-cty-d { display: none; }
	body .lm26 .mm26-region-list li.mm26-cty-end { order: 1; }
	body .lm26 .mm26-region-list li.mm26-cty-last { order: 2; }
	body .lm26 .mm26-cty { display: flex; align-items: center; min-height: 50px; padding: 6px 0; color: #333; font-size: 14.5px; font-weight: 400; line-height: 1.3; -webkit-tap-highlight-color: transparent; }
	body .lm26 .mm26-cty:active { color: var(--lm26-blue); }
	body .lm26 .mm26-langs { display: none; }
}
/* zamknutý scroll stránky pod otvoreným panelom na mobile */
@media (max-width: 999px) {
	html.lm26-lock,
	html.lm26-lock body { overflow: hidden !important; }
}
