
		.pt-header-widgets { display: flex !important; align-items: center !important; flex-direction: row !important; gap: 12px !important; overflow: visible !important; }
		.pt-header-widgets > .pt-header-widget { margin: 0 !important; padding: 0 !important; flex: 0 0 auto !important; }
		.pt-header-widgets .pt-header-widget.pt-header-widget__button { padding-left: 0 !important; }
		.pt-header-widget__search { order: 1 !important; }
		.fenix-lang-widget { order: 2 !important; margin: 0 !important; }
		.pt-header-widget__darkmode { order: 3 !important; }
		.pt-header-widget__button { order: 4 !important; }
		.fenix-lang-widget, .fenix-lang-switcher-wrap, .blogsy-widget-wrapper.fenix-lang-switcher-wrap { overflow: visible !important; position: relative !important; }
		.fenix-lang-switcher { position: relative !important; z-index: 100000 !important; }
		a.fenix-custom-lang-btn.fenix-lang-current,
		button.fenix-custom-lang-btn.fenix-lang-current {
			display: flex !important; align-items: center !important; justify-content: center !important;
			width: 42px !important; height: 42px !important; border-radius: 50% !important;
			background: var(--wp--preset--color--card-bg, #ffffff) !important;
			border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important;
			color: var(--wp--preset--color--heading, #333) !important;
			cursor: pointer !important; transition: all 0.3s ease !important;
			padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; font: inherit !important;
			text-decoration: none !important; position: relative !important; z-index: 100001 !important;
			pointer-events: auto !important;
		}
		a.fenix-custom-lang-btn.fenix-lang-current .lang-text,
		button.fenix-custom-lang-btn.fenix-lang-current .lang-text {
			font-weight: 800 !important; font-size: 14px !important; line-height: 1 !important; font-family: inherit !important;
		}
		a.fenix-custom-lang-btn.fenix-lang-current:hover,
		button.fenix-custom-lang-btn.fenix-lang-current:hover {
			border-color: var(--wp--preset--color--accent, #216be9) !important;
			color: var(--wp--preset--color--accent, #216be9) !important;
			box-shadow: 0 4px 12px rgba(33, 107, 233, 0.15) !important; transform: translateY(-2px) !important;
		}
		html[scheme="dark"] a.fenix-custom-lang-btn.fenix-lang-current,
		html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current {
			background: var(--wp--preset--color--card-bg, #2a2a2a) !important;
			border-color: var(--pt-border-color, #444) !important; color: #767676 !important;
		}
		html[scheme="dark"] a.fenix-custom-lang-btn.fenix-lang-current:hover,
		html[scheme="dark"] button.fenix-custom-lang-btn.fenix-lang-current:hover {
			border-color: var(--wp--preset--color--accent, #216be9) !important;
			color: var(--wp--preset--color--accent, #216be9) !important;
		}
		.fenix-lang-dropdown {
			position: absolute !important; top: calc(100% + 8px) !important;
			left: 50% !important; right: auto !important; transform: translateX(-50%) !important;
			display: none !important; flex-direction: column !important; flex-wrap: nowrap !important;
			gap: 2px !important; padding: 6px !important;
			min-width: 210px !important; max-width: 280px !important;
			max-height: min(320px, 60vh) !important;
			overflow-x: hidden !important; overflow-y: auto !important;
			-webkit-overflow-scrolling: touch !important;
			scrollbar-width: thin !important;
			scrollbar-color: var(--wp--preset--color--accent, #216be9) transparent !important;
			z-index: 100001 !important;
			background: var(--wp--preset--color--card-bg, #fff) !important;
			border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important;
			border-radius: 12px !important;
			box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
			box-sizing: border-box !important;
		}
		.fenix-lang-dropdown.is-open { display: flex !important; }
		.fenix-lang-dropdown[hidden]:not(.is-open) { display: none !important; }
		.fenix-lang-dropdown::-webkit-scrollbar { width: 6px !important; }
		.fenix-lang-dropdown::-webkit-scrollbar-thumb {
			background: var(--wp--preset--color--accent, #216be9) !important; border-radius: 6px !important;
		}
		.fenix-lang-switcher .fenix-lang-option {
			display: flex !important; align-items: center !important; gap: 10px !important;
			width: 100% !important; min-height: 42px !important; height: auto !important;
			padding: 8px 12px !important; border: none !important; border-radius: 8px !important;
			background: transparent !important; color: var(--wp--preset--color--heading, #333) !important;
			font: inherit !important; text-align: left !important; cursor: pointer !important;
			box-shadow: none !important; transform: none !important; box-sizing: border-box !important;
			transition: background 0.2s ease, color 0.2s ease !important;
		}
		.fenix-lang-switcher .fenix-lang-option:hover {
			background: rgba(33, 107, 233, 0.08) !important;
			color: var(--wp--preset--color--accent, #216be9) !important;
			transform: none !important; box-shadow: none !important;
		}
		.fenix-lang-switcher .fenix-lang-option.is-active {
			background: rgba(33, 107, 233, 0.12) !important;
			color: var(--wp--preset--color--accent, #216be9) !important;
		}
		.fenix-lang-flag {
			flex-shrink: 0 !important; width: 22px !important; height: 22px !important;
			border-radius: 50% !important; object-fit: cover !important;
			box-shadow: 0 0 0 1px var(--wp--preset--color--border-color, #eaeaea) !important;
			pointer-events: none !important;
		}
		.fenix-lang-name, .fenix-lang-dropdown font, .fenix-lang-dropdown .fenix-lang-name font {
			font-size: 14px !important; font-weight: 600 !important; line-height: 1.25 !important;
			white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
			background: transparent !important;
		}
		html[scheme="dark"] .fenix-lang-dropdown {
			background: var(--wp--preset--color--card-bg, #272c31) !important;
			border-color: var(--wp--preset--color--border-color, #444) !important;
			box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45) !important;
		}
		html[scheme="dark"] .fenix-lang-switcher .fenix-lang-option { color: #e0e0e0 !important; }
		@media (max-width: 768px) {
			button.fenix-custom-lang-btn.fenix-lang-current { width: 38px !important; height: 38px !important; }
			button.fenix-custom-lang-btn.fenix-lang-current .lang-text { font-size: 13px !important; }
			.fenix-lang-dropdown { min-width: 190px !important; max-height: min(260px, 50vh) !important; }
		}

		/* Кнопка темы — как кнопка языка: круглая 42px, одна иконка (луна/солнце),
		   без «таблетки»/ползунка. Иконка переключается по текущей схеме. */
		.dark-mode-switcher {
			display: flex !important; align-items: center !important; justify-content: center !important;
			width: 42px !important; height: 42px !important; min-width: 42px !important; border-radius: 50% !important;
			background: var(--wp--preset--color--card-bg, #ffffff) !important;
			border: 2px solid var(--wp--preset--color--border-color, #eaeaea) !important;
			color: var(--wp--preset--color--heading, #333) !important;
			cursor: pointer !important; transition: all 0.3s ease !important;
			padding: 0 !important; margin: 0 !important; box-sizing: border-box !important; position: relative !important;
		}
		.dark-mode-switcher:hover {
			border-color: var(--wp--preset--color--accent, #216be9) !important;
			color: var(--wp--preset--color--accent, #216be9) !important;
			box-shadow: 0 4px 12px rgba(33, 107, 233, 0.15) !important; transform: translateY(-2px) !important;
		}
		/* Убираем пунктирную обводку (фокус/таб) вокруг кнопки темы. */
		.dark-mode-switcher,
		.dark-mode-switcher:focus,
		.dark-mode-switcher:focus-visible,
		.dark-mode-switcher:hover,
		.dark-mode-switcher .switcher-wrap:focus,
		.dark-mode-switcher *:focus { outline: none !important; }
		html[scheme="dark"] .dark-mode-switcher {
			background: var(--wp--preset--color--card-bg, #2a2a2a) !important;
			border-color: var(--pt-border-color, #444) !important; color: #767676 !important;
		}
		html[scheme="dark"] .dark-mode-switcher:hover {
			border-color: var(--wp--preset--color--accent, #216be9) !important;
			color: var(--wp--preset--color--accent, #216be9) !important;
		}
		/* Контейнер иконок: одна по центру, без фона/ползунка. */
		.dark-mode-switcher .switcher-wrap {
			display: flex !important; align-items: center !important; justify-content: center !important;
			position: static !important; width: auto !important; height: auto !important; min-width: 0 !important;
			padding: 0 !important; margin: 0 !important; background: none !important; border: none !important;
			box-shadow: none !important; transform: none !important;
		}
		.dark-mode-switcher .switcher-wrap::before,
		.dark-mode-switcher .switcher-wrap::after { content: none !important; display: none !important; }
		.dark-mode-switcher .switcher-wrap .light-icon,
		.dark-mode-switcher .switcher-wrap .dark-icon {
			position: static !important; align-items: center !important; justify-content: center !important;
			width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important;
			inset: auto !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important;
			transform: none !important; opacity: 1 !important; background: none !important;
		}
		.dark-mode-switcher .blogsy-svg-icon,
		.dark-mode-switcher .blogsy-svg-icon svg { display: block !important; width: 22px !important; height: 22px !important; }
		/* Иконка показывает ТЕКУЩУЮ тему: светлая → солнце (.light-icon),
		   тёмная → месяц (.dark-icon). */
		.dark-mode-switcher .switcher-wrap .light-icon { display: flex !important; }
		.dark-mode-switcher .switcher-wrap .dark-icon { display: none !important; }
		html[scheme="dark"] .dark-mode-switcher .switcher-wrap .light-icon { display: none !important; }
		html[scheme="dark"] .dark-mode-switcher .switcher-wrap .dark-icon { display: flex !important; }
		/* Системная схема (scheme=device) — по предпочтению ОС. */
		@media (prefers-color-scheme: dark) {
			html[scheme="device"] .dark-mode-switcher .switcher-wrap .light-icon { display: none !important; }
			html[scheme="device"] .dark-mode-switcher .switcher-wrap .dark-icon { display: flex !important; }
		}
		/* На мобильных кнопка языка (это <a>) остаётся 42px, поэтому держим
		   кнопку темы тоже 42px — иначе она выглядела меньше. */
		@media (max-width: 768px) {
			.dark-mode-switcher { width: 42px !important; height: 42px !important; min-width: 42px !important; }
			.dark-mode-switcher .blogsy-svg-icon,
			.dark-mode-switcher .blogsy-svg-icon svg { width: 22px !important; height: 22px !important; }
		}

		.gt_switcher_wrapper, #gt_float_wrapper,
		.gtranslate_wrapper:not(.fenix-lang-switcher-wrap .gtranslate_wrapper) {
			position: fixed !important; left: -9999px !important; width: 1px !important; height: 1px !important;
			overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; z-index: -1 !important;
		}
		html.fenix-hard-lock .fenix-lang-switcher,
		html.fenix-hard-lock .fenix-lang-switcher .fenix-lang-dropdown,
		html.fenix-hard-lock .fenix-lang-switcher .fenix-lang-option,
		html.fenix-hard-lock .fenix-lang-switcher .fenix-lang-option * { pointer-events: auto !important; }
	