.smm-wrap {
	position: relative;
}

.smm-hamburger {
	display: none;
	background: none;
	border: none;
	padding: 10px;
	cursor: pointer;
}

.smm-hamburger-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #fe6900;
	margin: 5px 0;
}

.smm-menu,
.smm-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.smm-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	background: #000000;
	padding: 0 20px;
}

.smm-menu li {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.smm-menu > li > a {
	text-decoration: none;
	color: #ffffff;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 16px 0;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	transition: color 0.15s ease;
}

.smm-menu > li > a:hover,
.smm-menu > li.current-menu-item > a,
.smm-menu > li.current_page_item > a,
.smm-menu > li.current-menu-ancestor > a {
	color: #fe6900;
}

.smm-label {
	flex: 1;
}

.smm-caret-wrap {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	margin-left: auto;
	padding-left: 8px;
}

.smm-caret-wrap svg {
	transition: transform 0.15s ease;
}

.smm-caret-right {
	color: #444448;
}

/* panel podmenu - ten sam styl na kazdym poziomie zagniezdzenia */
.smm-panel {
	position: absolute;
	top: 100%;
	left: 0;
	background: #ffffff;
	border: 1px solid #ececec;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
	padding: 8px;
	min-width: 260px;
	z-index: 999;
	display: none;
}

/* podmenu drugiego i kolejnych poziomow wysuwa sie w bok, nie w dol */
.smm-menu .smm-panel .smm-panel {
	top: -8px;
	left: 100%;
	margin-left: 6px;
}

.smm-menu li:hover > .smm-panel,
.smm-menu li:focus-within > .smm-panel {
	display: block;
}

.smm-list {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.smm-item {
	margin: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.smm-link {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.15s ease;
}

.smm-link:hover {
	background-color: #f6f6f7;
}

.smm-icon-wrap {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.smm-icon-wrap.has-icon {
	border-radius: 4px;
	background: #f0f4fa;
}

.smm-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.smm-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.smm-title {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	white-space: nowrap;
}

.smm-desc {
	font-size: 12px;
	color: #8a8a8e;
	margin-top: 1px;
	white-space: nowrap;
}

/* pozycja rozwinieta - strzalka sie obraca, panel sie pokazuje */
.smm-menu li.smm-open > a .smm-caret {
	transform: rotate(180deg);
}

.smm-menu li.smm-open > a .smm-caret-right {
	transform: rotate(90deg);
}

.smm-menu li.smm-open > .smm-panel {
	display: block;
}

.smm-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
}

.smm-drawer-close {
	display: none;
	background: none;
	border: none;
	padding: 14px 16px;
	margin-left: auto;
	cursor: pointer;
	color: #ffffff;
	align-items: center;
	justify-content: center;
}

@media (max-width: 782px) {
	.smm-hamburger {
		display: block;
	}

	.smm-overlay {
		display: none;
	}

	.smm-wrap.smm-mobile-open .smm-overlay {
		display: block;
	}

	.smm-nav {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 280px;
		max-width: 85vw;
		overflow-y: auto;
		background: #000000;
		z-index: 10001;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
	}

	.smm-wrap.smm-mobile-open .smm-nav {
		transform: translateX(0);
	}

	.smm-drawer-close {
		display: flex;
	}

	.smm-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0;
	}

	.smm-menu > li {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.smm-menu > li > a {
		padding: 14px 16px;
	}

	.smm-panel,
	.smm-menu .smm-panel .smm-panel {
		position: static;
		box-shadow: none;
		border: none;
		min-width: 0;
		width: 100%;
		flex-basis: 100%;
		margin-left: 0;
		display: none;
		padding: 0 0 8px 20px;
		background: #ffffff;
	}

	.smm-menu li.smm-open > .smm-panel {
		display: block;
	}

	.smm-item {
		padding: 0 8px;
	}

	.smm-title,
	.smm-desc {
		white-space: normal;
	}
}
