/**
 * Breadcrumbs for Elementor – Frontend Styles
 */

.bfe-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	line-height: 1.6;
	max-width: 100%;
}

.bfe-breadcrumbs .bfe-item {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.bfe-breadcrumbs .bfe-item a {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.bfe-breadcrumbs .bfe-item.bfe-current {
	font-weight: 600;
}

.bfe-breadcrumbs .bfe-separator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	pointer-events: none;
	opacity: 0.7;
}

.bfe-breadcrumbs .bfe-separator svg {
	width: 1em;
	height: 1em;
	display: block;
}

.bfe-breadcrumbs .bfe-home-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bfe-breadcrumbs .bfe-home-icon svg {
	width: 1em;
	height: 1em;
	display: block;
}

/* Horizontal scroll fallback when nowrap is set on small screens. */
.bfe-breadcrumbs[style*="nowrap"] {
	scrollbar-width: thin;
}
.bfe-breadcrumbs[style*="nowrap"]::-webkit-scrollbar {
	height: 4px;
}
.bfe-breadcrumbs[style*="nowrap"]::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 2px;
}

/* Editor preview hint */
.elementor-editor-active .bfe-breadcrumbs:empty::before {
	content: "Breadcrumbs (preview unavailable)";
	opacity: 0.5;
	font-style: italic;
}
