/**
 * Breadcrumb (.breadcrumb-nk) — horizontal swipe on small screens.
 */

@media (max-width: 991.98px) {
	.breadcrumb-nk {
		width: 100%;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		touch-action: pan-x;
		margin-bottom: 16px !important;
	}

	/* Product page uses tighter rhythm via single-product-mobile.css */
	body.single-product .detail-product-four .breadcrumb-nk {
		margin-bottom: 10px !important;
	}

	.breadcrumb-nk::-webkit-scrollbar {
		display: none;
		height: 0;
		width: 0;
	}

	.breadcrumb-nk > ul {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center;
		width: max-content;
		min-width: 100%;
		margin: 0;
		padding: 0 2px 2px;
		gap: 0;
		list-style: none;
	}

	.breadcrumb-nk > ul > li {
		flex: 0 0 auto;
		white-space: nowrap;
		max-width: none;
	}

	.breadcrumb-nk > ul > li a {
		white-space: nowrap;
	}
}
