/* =====================================================================
   Cryoniq Lang Menu 2026 (WP plugin) – panel #lm26 ako výber krajiny na cryoniq.com.
   Prevzaté z cryoniq.com fileadmin/templates/css/lang_menu2026.css (bez vlajky a lišty EXT:lang),
   selektory "body .lm26" -> "#top .lm26" (Enfold: body#top, jeho pravidlá majú #top).
   Desktop >= 1000px: biely panel pod hlavičkou cez celú šírku. Mobil < 1000px: celá obrazovka s nadpisom.
   ===================================================================== */

@font-face {
	font-family: 'lm26-montserrat';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('fonts/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/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 ---------- */
#top .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;
}
#top .lm26[hidden] { display: none; }
#top .lm26 *,
#top .lm26 *::before,
#top .lm26 *::after { box-sizing: border-box; }
#top .lm26 ul { list-style: none; margin: 0; padding: 0; }
#top .lm26 li { margin: 0; padding: 0; border: 0; }
#top .lm26 li::before { display: none; }
#top .lm26 a { font-family: inherit; text-decoration: none; text-transform: none; background: none; transition: color .15s, background-color .2s; }
#top .lm26 button { font-family: inherit; }
#top .lm26 button:focus:not(:focus-visible) { outline: none; box-shadow: none; }
#top .lm26 a:focus-visible,
#top .lm26 button:focus-visible { outline: 2px solid #6ea8ff; outline-offset: 2px; }

/* ---------- desktop ---------- */
#top .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 */
#top .lm26-head {
	position: -webkit-sticky;
	position: sticky;
	top: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	pointer-events: none;
}
#top .lm26-title { display: none; }
#top .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;
}
#top .lm26-close svg { width: 18px; height: 18px; }
#top .lm26-close:hover { background: #e4e4e4; }
/* obsah z CMS: každý HTML element má obal div.frame – pre mriežku ho "zrušíme" */
#top .lm26-grid > .frame,
#top .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). */
#top .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;
}
#top .lm26 .mm26-region { grid-column: 1; margin-bottom: 44px; }
#top .lm26 .mm26-region--wide { grid-column: 2; grid-row: 1 / 5; }
#top .lm26 .mm26-region-name { font-size: 20px; font-weight: 600; color: #111; letter-spacing: -0.01em; }
#top .lm26 .mm26-region-list { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 36px; }
#top .lm26 .mm26-region-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#top .lm26 .mm26-region-list li { margin: 0 -12px; padding: 10px 12px; border-radius: 8px; transition: background-color .15s; }
#top .lm26 .mm26-region-list li:hover { background: #f2f2f2; }
/* enfold-child/style.css má a { color: inherit !important } → farby odkazov v paneli s !important */
#top .lm26 .mm26-cty { display: block; font-size: 14.5px; font-weight: 600; color: #111 !important; }
#top .lm26 .mm26-langs { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
#top .lm26 .mm26-langs a { font-size: 12.5px; font-weight: 500; color: #666 !important; }
#top .lm26 .mm26-cty:hover,
#top .lm26 .mm26-langs a:hover { color: var(--lm26-blue) !important; }
#top .lm26 .mm26-langs a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* riadky len pre mobil (napr. „België / Nederlands“) */
#top .lm26 .mm26-region-list li.mm26-cty-m { display: none; }
/* spodok s telefónom (element novej hlavičky) sa tu nezobrazuje */
#top .lm26 .mm26-country-foot { display: none; }

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

/* ---------- WP / Enfold ---------- */
/* desktop: nad obsahom a sticky prvkami Enfoldu, pod hlavičkou (top nastaví JS podľa spodku #header) */
#top .lm26 { z-index: 100000; }
@media (max-width: 999px) {
	#top .lm26 { z-index: 12000000001; }
}
/* pôvodný bočný panel krajín (enfold-child script.js) sa už neotvára – pre istotu skrytý aj s clonou */
#top .mobile-lang-submenu > .mobile-lang-submenu-holder,
#top #wrap_all .mobile-lang-submenu-clona { display: none !important; }
