/* ================================================================
   Sticky Nav Widget — stickyNav.css
   ================================================================ */

/* ── Placeholder (inserted by JS to prevent layout jump) ── */
.snav-placeholder {
	display: none;
}

/* ── Bar ── */
.snav-bar {
	position: relative;
    background: rgb(255 255 255);
	border-bottom: 1px solid #E4E1DB;
    border-top: 1px solid #E4E1DB;
	min-height: 56px;
	width: 100%;
	transition: box-shadow 0.2s ease;
}

.snav-bar.is-stuck {
	position: fixed;
	/* Offset per rezoluție, setat din Elementor prin --snav-sticky-top (responsive). */
	top: var(--snav-sticky-top, 0px);
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ── Inner container ── */
.snav-inner {
	max-width: 100%;
	height: 100%;
	padding: 0 24px;
	display: flex;
	align-items: stretch;
	min-height: inherit;
}

/* ── List ── */
.snav-list {
	display: flex;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
	width: 100%;
}

/* ── Item ── */
.snav-item {
	display: flex;
	align-items: stretch;
}

/* Hidden when its target section has no content (set via JS) */
.snav-item[hidden] {
	display: none;
}

/* ── Link ── */
.snav-link {
	display: flex;
	align-items: center;
	padding: 6px 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #494949;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 0;
	border-bottom: 3px solid transparent;
	transition: color 0.18s, border-color 0.18s;
	position: relative;
	/* underline sits at the very bottom of the bar */
	margin-bottom: -1px; /* overlaps the bar's border-bottom */
}

.snav-link:hover {
	color: var(--e-global-color-secondary);
	text-decoration: none;
	border-bottom-color: var(--e-global-color-secondary);
}

.snav-link.is-active {
	color: var(--light-blue);
	border-bottom-color: var(--light-blue);
}

/* ── Mobile: horizontal scroll ── */
@media (max-width: 767px) {
	.snav-inner {
		padding: 0 12px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.snav-inner::-webkit-scrollbar {
		display: none;
	}

	.snav-list {
		flex-wrap: nowrap;
		gap: 0;
	}

	.snav-link {
		padding: 6px 12px;
		font-size: 11px;
	}
    .snav-link {
        text-transform: none;
    }
}
