/* Becomeyoo Anchor Nav Menu Widget */
.bew-anm {
	position: relative;
	width: 100%;
}

.bew-anm-bar {
	background-color: #ffffff;
	transition: box-shadow 0.3s ease;
}

.bew-anm-bar.bew-anm--sticky {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 999;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bew-anm-bar.bew-anm--sticky.bew-anm--sticky-bottom {
	bottom: 0;
	top: auto;
}

.bew-anm-bar.bew-anm--sticky.bew-anm--sticky-top {
	top: 0;
	bottom: auto;
}

/* Placeholder to prevent layout jump */
.bew-anm-placeholder {
	display: none;
}

.bew-anm-placeholder.bew-anm-placeholder--active {
	display: block;
}

.bew-anm-items {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 44px;
	padding: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* Hide scrollbar but keep functionality */
.bew-anm-items::-webkit-scrollbar {
	display: none;
}

.bew-anm-item {
	position: relative;
	display: inline-block;
	white-space: nowrap;
	text-decoration: none !important;
	color: #333333;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	padding-bottom: 4px;
	transition: color 0.2s ease;
	background: none !important;
	background-color: transparent !important;
}

.bew-anm-item:hover {
	color: #EB801D;
	text-decoration: none !important;
	background: none !important;
	background-color: transparent !important;
}

.bew-anm-item:focus,
.bew-anm-item:active {
	text-decoration: none !important;
	outline: none;
	background: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

/* Active state */
.bew-anm-item.bew-anm-item--active {
	color: #EB801D;
}

/* Underline for active item */
.bew-anm--underline .bew-anm-item::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background-color: transparent;
	transition: background-color 0.2s ease;
}

.bew-anm--underline .bew-anm-item.bew-anm-item--active::after {
	background-color: #EB801D;
}

/* Sticky: center items — !important to override Elementor inline styles */
.bew-anm-bar.bew-anm--sticky .bew-anm-items {
	justify-content: center !important;
}

/* Mobile: hide inline menu if set, sticky scrollable */
@media (max-width: 767px) {
	/* Hide inline menu on mobile if option set */
	.bew-anm--hide-mobile .bew-anm-bar:not(.bew-anm--sticky) {
		display: none;
	}

	/* Sticky on mobile: scrollable, left-aligned */
	.bew-anm-bar.bew-anm--sticky .bew-anm-items {
		justify-content: flex-start !important;
		padding: 10px 16px;
	}
}
