/**
 * Ofcore visual breadcrumb.
 */

.ofcore-breadcrumb {
	padding: 16px 0;
	font-size: 12px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: var(--shell, var(--container-width, 1480px));
	margin: 0 auto;
	padding-left: var(--gutter, 20px);
	padding-right: var(--gutter, 20px);
}

.ofcore-breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	white-space: nowrap;
	gap: 0;
}

.ofcore-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	color: #999;
}

.ofcore-breadcrumb__item a {
	color: #746c63;
	text-decoration: none;
	transition: color 0.15s;
}

.ofcore-breadcrumb__item a:hover {
	color: #1b1815;
	text-decoration: underline;
}

.ofcore-breadcrumb__item span[aria-current] {
	color: #1b1815;
	font-weight: 500;
}

.ofcore-breadcrumb__sep {
	margin: 0 8px;
	color: #ccc;
}

/* Hide theme PDP breadcrumb to avoid duplicates when plugin is active */
body.ofcore-breadcrumb-active .pdp-breadcrumb {
	display: none !important;
}

@media (max-width: 640px) {
	.ofcore-breadcrumb {
		font-size: 11px;
		padding: 10px 16px;
	}
}
