/* Forcelab Mega Menu – мобилно меню (до 1100 px) */

.fl-mm-m {
	--m-bg: #111;
	--m-bg2: #1c1c1c;
	--m-line: rgba(255, 255, 255, .09);
	--m-text: #fefefe;
	--m-muted: #939393;
	--m-accent: #dc3c23;
	--m-font: Inter, "IBM Plex Sans", Arial, sans-serif;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: var(--flmm-mtop, 80px);
	z-index: 1000;
	display: none;
	background: var(--m-bg);
	color: var(--m-text);
	font-family: var(--m-font);
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
}
.fl-mm-m.is-open {
	display: block;
	animation: flmmMIn .22s ease-out both;
}
@keyframes flmmMIn {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}
@media (min-width: 1101px) {
	.fl-mm-m {
		display: none !important;
	}
}

html.fl-mm-m-lock,
html.fl-mm-m-lock body {
	overflow: hidden !important;
	overscroll-behavior: none;
}
/* Старото мобилно меню на темата не се показва, докато новото е включено. */
.fl-mm-m-on .archive-header .mobile-content .mobile-menu-body {
	display: none !important;
}

.fl-mm-m *,
.fl-mm-m *::before,
.fl-mm-m *::after {
	box-sizing: border-box;
}
.fl-mm-m a {
	color: inherit;
	text-decoration: none;
}
.fl-mm-m button:where(:not([class*="dgwt-wcas"])) { /* :where – без допълнителна тежест */
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
	cursor: pointer;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	border-radius: 0;
	min-height: 0;
}
.fl-mm-m ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Екрани (плъзгат се настрани) ---------- */
.fl-mm-m__viewport {
	position: relative;
	width: 100%;
	height: 100%;
}
.fl-mm-m__panel {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 18px 20px calc(28px + env(safe-area-inset-bottom));
	background: var(--m-bg);
	transform: translateX(100%);
	transition: transform .28s cubic-bezier(.2, .7, .2, 1);
	visibility: hidden;
}
.fl-mm-m__panel.is-active {
	transform: none;
	visibility: visible;
}
.fl-mm-m__panel[data-panel="root"] {
	transform: translateX(-28%);
}
.fl-mm-m__panel[data-panel="root"].is-active {
	transform: none;
}
.fl-mm-m__panel.is-leaving {
	visibility: visible;
}

/* ---------- Търсене ---------- */
.fl-mm-m__search {
	position: relative;
	margin: 0 0 14px;
}
form.fl-mm-m__search input[type=search] {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 52px 0 18px;
	border: 1px solid var(--m-line);
	border-radius: 90px;
	background: var(--m-bg2);
	color: var(--m-text);
	font: 500 16px/1 var(--m-font); /* 16px – iPhone не зумва */
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
form.fl-mm-m__search input[type=search]::placeholder {
	color: var(--m-muted);
}
form.fl-mm-m__search input[type=search]:focus {
	outline: none;
	border-color: var(--m-accent);
}
form.fl-mm-m__search button {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--m-accent);
	color: #fff;
}

/* FiboSearch (същата търсачка като в хедъра) – тъмен вид */
.fl-mm-m__search--fibo .dgwt-wcas-search-wrapp {
	max-width: none !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}
.fl-mm-m__search--fibo .dgwt-wcas-sf-wrapp {
	background: none !important;
	padding: 0 !important;
}
.fl-mm-m .fl-mm-m__search--fibo input[type=search].dgwt-wcas-search-input {
	height: 48px !important;
	margin: 0 !important;
	padding: 0 52px 0 18px !important;
	border: 1px solid var(--m-line) !important;
	border-radius: 90px !important;
	background: var(--m-bg2) !important;
	color: var(--m-text) !important;
	font: 500 16px/1 var(--m-font) !important; /* 16px – iPhone не зумва */
	box-shadow: none !important;
}
.fl-mm-m .fl-mm-m__search--fibo input[type=search].dgwt-wcas-search-input::placeholder {
	color: var(--m-muted) !important;
	opacity: 1;
}
.fl-mm-m .fl-mm-m__search--fibo input[type=search].dgwt-wcas-search-input:focus {
	border-color: var(--m-accent) !important;
	outline: none !important;
}
.fl-mm-m .fl-mm-m__search--fibo .dgwt-wcas-search-submit {
	top: 4px !important;
	right: 4px !important;
	left: auto !important;
	width: 40px !important;
	height: 40px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: var(--m-accent) !important;
	color: #fff !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transform: none !important;
}
.fl-mm-m .fl-mm-m__search--fibo .dgwt-wcas-search-submit svg path,
.fl-mm-m .fl-mm-m__search--fibo .dgwt-wcas-search-submit svg {
	fill: #fff !important;
}
.fl-mm-m .fl-mm-m__search--fibo .dgwt-wcas-search-submit::before {
	display: none !important;
}
.fl-mm-m .fl-mm-m__search--fibo .dgwt-wcas-preloader {
	right: 52px !important;
}
/* Хиксчето за изчистване – светло, за да се вижда на тъмния фон */
.fl-mm-m .fl-mm-m__search--fibo .dgwt-wcas-close svg path {
	fill: var(--m-muted) !important;
}
/* Резултатите се показват над отвореното меню. */
html.fl-mm-m-lock .dgwt-wcas-suggestions-wrapp {
	z-index: 100000 !important;
}

/* ---------- Главни точки ---------- */
.fl-mm-m__top > li {
	border-bottom: 1px solid var(--m-line);
}
.fl-mm-m .fl-mm-m__go {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 60px;
	padding: 14px 0;
	font: 800 22px/1.1 var(--m-font);
	letter-spacing: .01em;
	text-transform: uppercase;
	text-align: left;
	color: var(--m-text);
}
.fl-mm-m .fl-mm-m__go:active {
	color: var(--m-accent);
}
.fl-mm-m__chev {
	flex: 0 0 auto;
	color: var(--m-muted);
}

/* ---------- Долу ---------- */
.fl-mm-m__foot {
	margin-top: 26px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.fl-mm-m .fl-mm-m__acc {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font: 700 16px/1.2 var(--m-font);
}
.fl-mm-m__info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}
.fl-mm-m__info li a {
	font: 500 14px/1.3 var(--m-font);
	color: var(--m-muted);
}
.fl-mm-m__social ul {
	display: flex;
	gap: 14px;
}
.fl-mm-m__social img,
.fl-mm-m__social svg {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

/* ---------- Подекран ---------- */
.fl-mm-m__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 6px;
}
.fl-mm-m .fl-mm-m__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 40px;
	margin-left: -6px;
	font: 600 15px/1 var(--m-font);
	color: var(--m-muted);
}
.fl-mm-m .fl-mm-m__all {
	font: 700 13px/1 var(--m-font);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--m-text);
	border-bottom: 2px solid var(--m-accent);
	padding-bottom: 3px;
}
.fl-mm-m__title {
	margin: 4px 0 14px;
	font: 800 28px/1.1 var(--m-font);
	text-transform: uppercase;
	color: var(--m-text);
}

/* Сгъваеми секции */
.fl-mm-m__sec {
	border-top: 1px solid var(--m-line);
}
.fl-mm-m__sec:last-child {
	border-bottom: 1px solid var(--m-line);
}
.fl-mm-m .fl-mm-m__sec-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 54px;
	padding: 14px 0;
	font: 700 14px/1.2 var(--m-font);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-align: left;
	color: var(--m-text);
}
.fl-mm-m__pm {
	position: relative;
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}
.fl-mm-m__pm::before,
.fl-mm-m__pm::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 6px;
	height: 2px;
	background: var(--m-accent);
	transition: transform .2s ease;
}
.fl-mm-m__pm::after {
	transform: rotate(90deg);
}
.fl-mm-m__sec.is-open .fl-mm-m__pm::after {
	transform: rotate(0deg);
}
.fl-mm-m__sec-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .25s ease;
}
.fl-mm-m__sec.is-open .fl-mm-m__sec-body {
	grid-template-rows: 1fr;
}
.fl-mm-m__sec-body > ul {
	overflow: hidden;
	min-height: 0;
	padding: 0 !important;
	visibility: hidden; /* затворена секция: връзките не се фокусират с Tab */
	transition: visibility 0s linear .25s;
}
.fl-mm-m__sec.is-open .fl-mm-m__sec-body > ul {
	visibility: visible;
	transition-delay: 0s;
}
/* Отстъпът е вътре в списъка, за да се скрива заедно с него. */
.fl-mm-m__links > li:last-child {
	padding-bottom: 10px;
}
.fl-mm-m__links a {
	display: block;
	padding: 10px 0;
	font: 500 17px/1.3 var(--m-font);
	color: var(--m-text);
}
.fl-mm-m__links a:active {
	color: var(--m-accent);
}

/* Бутон */
.fl-mm-m .fl-mm-m__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 20px 0 0;
	min-height: 50px;
	padding: 0 22px;
	border: 1px solid var(--m-text);
	border-radius: 90px;
	font: 700 14px/1 var(--m-font);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.fl-mm-m .fl-mm-m__btn:active {
	background: var(--m-accent);
	border-color: var(--m-accent);
}

/* Карти – лента с плъзгане */
.fl-mm-m__cards {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 62%;
	gap: 8px;
	margin: 24px -20px 0;
	padding: 0 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 20px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.fl-mm-m__cards::-webkit-scrollbar {
	display: none;
}
.fl-mm-m .fl-mm-m__card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 6px;
	background: var(--m-bg2);
	scroll-snap-align: start;
}
.fl-mm-m__card-img,
.fl-mm-m__card-ph {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: 0;
	transition: opacity .3s ease;
}
.fl-mm-m__card-img.is-loaded {
	opacity: 1;
}
.fl-mm-m__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .8) 100%);
}
.fl-mm-m__card-title {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 14px;
	z-index: 1;
	font: 800 16px/1.15 var(--m-font);
	text-transform: uppercase;
	text-align: center;
	color: #fff;
}
.fl-mm-m__card-title::after {
	content: "";
	display: block;
	width: 26px;
	height: 2px;
	margin: 8px auto 0;
	background: var(--m-accent);
}

@media (prefers-reduced-motion: reduce) {
	.fl-mm-m,
	.fl-mm-m * {
		animation: none !important;
		transition: none !important;
	}
}
