/* NextHouse Strony: stały pasek menu na telefonie */
.nh-mbar { display: none; }
@media (max-width: 960px) {
	.nh-mbar {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 9990;
		box-sizing: border-box;
		height: calc(64px + env(safe-area-inset-top, 0px));
		padding: env(safe-area-inset-top, 0px) 18px 0;
		background: #1a1109;
		border-bottom: 1px solid rgba(154, 124, 79, .3);
		box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
		transform: translateY(-105%);
		visibility: hidden;
		transition: transform .28s ease, visibility 0s linear .28s;
	}
	.nh-mbar.is-on { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
	.nh-mbar a, .nh-mbar button { -webkit-tap-highlight-color: transparent; }
	.nh-mbar-logo { display: flex; align-items: center; height: 100%; }
	.nh-mbar-logo img { display: block; height: 40px; width: auto; max-width: 150px; object-fit: contain; }
	.nh-mbar-r { display: flex; align-items: center; gap: 10px; }
	.nh-mbar-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		background: transparent;
		border: 1px solid rgba(255, 255, 255, .18);
		border-radius: 6px;
		color: #fff !important;
		cursor: pointer;
		text-decoration: none;
		transition: background .2s, border-color .2s;
	}
	.nh-mbar-btn:hover, .nh-mbar-btn:focus-visible { background: rgba(154, 124, 79, .18); border-color: #9a7c4f; color: #fff !important; }
	.nh-mbar-btn:focus-visible { outline: 2px solid #c5b89a; outline-offset: 2px; }
	.nh-mbar-btn svg { display: block; }
	.admin-bar .nh-mbar { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .nh-mbar { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.nh-mbar, .nh-mbar.is-on { transition: none; }
}
@media print { .nh-mbar { display: none !important; } }

/* Otwarte menu: strona pod spodem stoi w miejscu */
html.nh-menu-lock, html.nh-menu-lock body { overscroll-behavior: none; }
body.nh-menu-lock { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
.nh-mobile-panel { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* Przy otwartym menu przycisk „Ustawienia cookies” nie zasłania menu */
html.nh-menu-lock #nhcc-reopen { display: none !important; }
