/* Czysty styl menu głównego (.nd-nav) — dopasowany do ciepłej palety Nedds24.pl */
.nd-navbar-sticky {
	position: sticky;
	top: 0;
	z-index: 990;
	background: rgba(24, 22, 19, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid #6b563c;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.nd-mobile-toggle {
	display: none !important;
}

.nd-nav {
	display: flex;
	align-items: center;
	min-height: 46px;
}

.nd-nav-list {
	list-style: none;
	margin: 0;
	padding: 5px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	width: 100%;
}

.nd-nav-list > li {
	position: relative;
}

.nd-nav-list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border-radius: 6px;
	color: #e6dfd5 !important;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.nd-nav-list > li > a i {
	color: #c59b60;
	transition: color 0.2s ease;
}

/* Aktywny stan otwartego menu (dla JS) */
.nd-nav-list > li.nd-has-sub.nd-sub-open > a {
	background: rgba(141, 109, 71, 0.24);
	border-color: #8d6d47;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.nd-nav-list > li.nd-has-sub.nd-sub-open > a i {
	color: #e2b879;
}

/* Wyróżnione ikony pozycji specjalnych */
.nd-nav-video i { color: #ffb300 !important; }
.nd-nav-premium i { color: #a2fefd !important; filter: drop-shadow(0 0 4px rgba(162, 254, 253, 0.4)); }
.nd-nav-support i { color: #22c55e !important; }

.nd-arrow {
	font-size: 9px;
	color: #c59b60;
	opacity: 0.8;
	margin-left: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nd-has-sub.nd-sub-open .nd-arrow {
	transform: rotate(180deg);
	opacity: 1;
}

.nd-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 210px;
	background: #1c1a17;
	border: 1px solid #6b563c;
	border-top: 2px solid #e2b879;
	border-radius: 7px;
	padding: 6px;
	margin: 0;
	list-style: none;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px);
	transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 999;
}

.nd-dropdown::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	height: 8px;
}

/* Widoczność podmenu po dodaniu klasy przez JS */
.nd-has-sub.nd-sub-open > .nd-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.nd-dropdown li {
	margin: 0;
	padding: 0;
}

.nd-dropdown li a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 12px;
	border-radius: 5px;
	color: #d6cfc7 !important;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.nd-dropdown li a i {
	color: #c59b60;
	font-size: 12px;
	transition: transform 0.15s ease, color 0.15s ease;
}

/* Efekty najechania (:hover) wyłącznie dla urządzeń z myszką (komputery) */
@media (hover: hover) and (pointer: fine) {
	.nd-nav-list > li > a:hover,
	.nd-nav-list > li.nd-has-sub:hover > a {
		background: rgba(141, 109, 71, 0.24);
		border-color: #8d6d47;
		color: #ffffff !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	}

	.nd-nav-list > li > a:hover i,
	.nd-nav-list > li.nd-has-sub:hover > a i {
		color: #e2b879;
	}

	.nd-nav-video:hover {
		border-color: rgba(255, 179, 0, 0.45) !important;
		background: rgba(255, 179, 0, 0.1) !important;
	}

	.nd-nav-premium:hover {
		border-color: rgba(162, 254, 253, 0.45) !important;
		background: rgba(162, 254, 253, 0.08) !important;
	}

	.nd-nav-support:hover {
		border-color: rgba(34, 197, 94, 0.45) !important;
		background: rgba(34, 197, 94, 0.1) !important;
	}

	.nd-has-sub:hover .nd-arrow {
		transform: rotate(180deg);
		opacity: 1;
	}

	.nd-has-sub:hover > .nd-dropdown {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.nd-dropdown li a:hover {
		background: #8d6d47;
		color: #ffffff !important;
		padding-left: 15px;
	}

	.nd-dropdown li a:hover i {
		color: #ffffff;
		transform: scale(1.15);
	}
}
